CN107102778A - A kind of detection method of touch screen and terminal - Google Patents
A kind of detection method of touch screen and terminal Download PDFInfo
- Publication number
- CN107102778A CN107102778A CN201710417221.2A CN201710417221A CN107102778A CN 107102778 A CN107102778 A CN 107102778A CN 201710417221 A CN201710417221 A CN 201710417221A CN 107102778 A CN107102778 A CN 107102778A
- Authority
- CN
- China
- Prior art keywords
- touch
- screen
- configured information
- barrier
- range sensor
- 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
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/03—Arrangements for converting the position or the displacement of a member into a coded form
- G06F3/041—Digitisers, e.g. for touch screens or touch pads, characterised by the transducing means
- G06F3/044—Digitisers, e.g. for touch screens or touch pads, characterised by the transducing means by capacitive means
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/03—Arrangements for converting the position or the displacement of a member into a coded form
- G06F3/041—Digitisers, e.g. for touch screens or touch pads, characterised by the transducing means
- G06F3/0416—Control or interface arrangements specially adapted for digitisers
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/03—Arrangements for converting the position or the displacement of a member into a coded form
- G06F3/041—Digitisers, e.g. for touch screens or touch pads, characterised by the transducing means
- G06F3/0416—Control or interface arrangements specially adapted for digitisers
- G06F3/0418—Control or interface arrangements specially adapted for digitisers for error correction or compensation, e.g. based on parallax, calibration or alignment
Landscapes
- Engineering & Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Human Computer Interaction (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- User Interface Of Digital Computer (AREA)
- Position Input By Displaying (AREA)
- Telephone Function (AREA)
Abstract
The present embodiments relate to touching technique field, more particularly to a kind of detection method of touch screen and terminal, the probability to reduce user misoperation.Touch controller periodically obtains configured information from range sensor in the embodiment of the present invention;If touch controller determines that the distance between barrier and touch-screen are less than first threshold according to configured information, during obtaining configured information from range sensor from current time to next time, contact action is not handled.When being less than first threshold due to the distance between barrier and touch-screen, mobile phone is in abnormal operating state, contact action during obtaining configured information from range sensor from current time to next time is due to maloperation caused by barrier percussion, therefore, when distance between barrier and touch-screen is less than first threshold, during obtaining configured information from range sensor from current time to next time, touch controller does not handle contact action during this.So as to alleviate the misoperation probability caused by the touch screen of barrier.
Description
The application is the China of entitled " a kind of detection method of touch screen and the terminal " that proposes on January 19th, 2015
The divisional application of application for a patent for invention 201510025699.1.
Technical field
The present invention relates to touching technique field, more particularly to a kind of detection method of touch screen and terminal.
Background technology
With the development of science and technology, the electronic product such as increasing mobile phone, tablet personal computer is used as it using capacitance touch screen
Screen.It is typically designed with gesture identification function, i.e. people on capacitance touch screen and marks different symbols on mobile phone screen representing
Different operational orders, is represented to wake up screen for example, marking " Z " on screen, and " C " is marked on screen and represents to open wechat
Deng.
The gesture identification function of capacitance touch screen brings facility, but also brings following problem.When the electricity will be carried
When the equipment for holding touch-screen is positioned in pocket, rubbed between the meeting of people's leg and touch-screen, so as to can mark on the touchscreen
Represent and order representated by the symbol is just performed after the symbol of various orders, the mobile phone automatic identification symbol.
Specifically, when the single-chip microcomputer in touch-screen has detected gesture operation, the single-chip microcomputer wakes up CPU and believes this
Breath reports CPU, and CPU is received after the message, and CPU notifies single-chip microcomputer to handle the gesture operation.
In such scheme, single-chip microcomputer detects gesture operation, is both needed to wake up CPU to be operated.If now user mobile phone
Be placed in pocket, due to walk during people leg and touch-screen friction it is more frequent, so as to cause single-chip microcomputer frequently to be called out
The CPU that wakes up is operated, and further increases the probability of maloperation.
In summary, a kind of detection method of touch screen and terminal are needed badly, the probability to reduce user misoperation.
The content of the invention
The embodiment of the present invention provides a kind of detection method of touch screen and terminal, the probability to reduce user misoperation.
The embodiment of the present invention provides a kind of detection method of touch screen, comprises the following steps:
Touch controller periodically obtains configured information from range sensor;
If touch controller determines that the distance between barrier and touch-screen are less than first threshold according to configured information, from current time
During obtaining configured information from range sensor to next time, contact action is not handled.
Preferably, if touch controller determines that the distance between barrier and touch-screen are less than first threshold according to configured information,
During then obtaining configured information from range sensor from current time to next time, contact action is not handled, is specifically included:
If touch controller determines that the distance between barrier and touch-screen are less than first threshold according to configured information, from current time
During obtaining configured information from range sensor to next time, into super low-power consumption working condition;
Under super low consumption working condition, then contact action is not handled.
Preferably, under super low consumption working condition, then not handling contact action, specifically include:
Under super low consumption working condition, if touch controller, which is detected, contact action on touch-screen, contact action is not handled.
Preferably, also including:
If touch controller determines that the distance between barrier and touch-screen are not less than first threshold according to configured information, if from it is current when
Between to next time from range sensor obtain configured information during, touch controller, which is detected, contact action on touch-screen, then handle touch
Screen operation.
Preferably, also including:
If touch controller determines that the distance between barrier and touch-screen are not less than first threshold according to configured information, into low work(
Consume working condition;
Under low consumption working condition, if touch controller, which is detected, contact action on touch-screen, contact action is handled.
Preferably, touch controller periodically obtains configured information from range sensor, specifically include:
If touch controller receives the information into low-power consumption working condition, enter according to the information for entering low-power consumption working condition
Low-power consumption working condition, and obtain configured information from range sensor in low-power consumption working condition periodical;Wherein, into low
The information of power consumption working condition is that processor CPU receives deep sleep state instruction, is prepared to enter into before deep sleep state
Send.
In summary, when being less than first threshold due to the distance between barrier and touch-screen, mobile phone is in improper work
Make state, the contact action during obtaining configured information from range sensor from current time to next time is due to barrier percussion
Caused maloperation, therefore, when distance between barrier and touch-screen is less than first threshold, from current time to next time from
During range sensor obtains configured information, touch controller does not handle contact action during this.So as to alleviate due to barrier
Touch screen caused by misoperation probability.
The embodiment of the present invention provides a kind of terminal, including:
Range sensor, for the distance between periodic scan barrier and touch-screen, between disturbance in judgement thing and touch-screen
Distance and first threshold relation;
Touch controller, obtains configured information, configured information is used to indicate barrier and touch-screen for periodicity from range sensor
The distance between relation with first threshold, if determining that the distance between barrier and touch-screen are less than first according to configured information
Threshold value, then during obtaining configured information from range sensor from current time to next time, do not handle contact action.
Preferably, also including:
Processor CPU, for receiving during deep sleep state instruction, sends the instruction of low-power consumption working condition to touch controller,
Deep sleep state is prepared to enter into afterwards;
Touch controller, specifically for:
Low-power consumption working condition is entered according to the information of the processor CPU low-power consumption working conditions sent, and in low-power consumption work
State periodical obtains configured information from range sensor.
Preferably, range sensor, specifically for:
If the distance between barrier and touch-screen are less than first threshold, configured information is set to low level, if barrier
It is not less than first threshold with the distance between touch-screen, then configured information is set to high level;
Touch controller, specifically for:
If determining that the distance between barrier and touch-screen are less than first threshold according to configured information, from current time to next time
During obtaining configured information from range sensor, into super low-power consumption working condition, under super low consumption working condition, if detecting
There is contact action on touch-screen, then do not perform contact action.
Preferably, touch controller is touch controller machine, universal input/output of the INT pins and touch controller of range sensor
GPIO pin is connected.
In the embodiment of the present invention, touch controller periodically obtains configured information from range sensor;If touch controller is according to instruction
Information determines that the distance between barrier and touch-screen are less than first threshold, then is obtained from current time to next time from range sensor
During taking configured information, contact action is not handled.When being less than first threshold due to the distance between barrier and touch-screen, mobile phone
In abnormal operating state, the contact action during obtaining configured information from range sensor from current time to next time be by
The maloperation caused by barrier percussion, therefore, when distance between barrier and touch-screen is less than first threshold, from current
During time to next time obtains configured information from range sensor, touch controller does not handle contact action during this.So as to mitigate
Misoperation probability caused by the touch screen of barrier.
Brief description of the drawings
Fig. 1 is system architecture schematic diagram used in the embodiment of the present invention;
A kind of detection method of touch screen schematic flow sheet that Fig. 2 is provided by the embodiment of the present invention;
Fig. 3 is a kind of structural representation of touch controller provided in an embodiment of the present invention;
Fig. 4 is a kind of structural representation of terminal provided in an embodiment of the present invention.
Embodiment
In order that the purpose of the present invention, technical scheme and beneficial effect are more preferably clear, below in conjunction with accompanying drawing and implementation
Example, the present invention will be described in further detail.It should be appreciated that specific embodiment described herein is only to explain this hair
It is bright, it is not intended to limit the present invention.
Fig. 1 illustrates system architecture used in the embodiment of the present invention.
The method that the embodiment of the present invention is provided is applied to be provided with touch-screen 101, touch controller 102 and range sensor
103 terminal, the terminal can be mobile phone terminal, tablet terminal etc..As shown in figure 1, the terminal also includes central processing unit
(Central Processing Unit, referred to as:CPU)104, range sensor 103 and CPU104 passes through serial data
(Serial Data, abbreviation SDA)Pin, serial clock(Serial Clock, abbreviation SCL)Pin, interrupt pin
(Interrupt, abbreviation INT)Connection, CPU104 is connected by SDA, SCL, INT pin with touch controller 102, range sensor
103 INT pins are exported with the universal input of touch controller 102(General Purpose Input Output, referred to as:
GPIO)Pin is connected.
The application scenarios of the embodiment of the present invention are that above-mentioned terminal is set to after standby resting state by user, and CPU is received
To deep sleep state instruction, begin preparing for entering deep-sleep, enter deep sleep state before notify range sensor,
The equipment such as touch controller enter low-power consumption working condition.Range sensor receives the information into low-power consumption working condition, then according to
Enter low-power consumption working condition according to the information for entering low-power consumption working condition.Touch controller is received into low-power consumption working condition
Information, then enter low-power consumption working condition according to the information for entering low-power consumption working condition.Some other equipment also enters low work(
Working condition is consumed, afterwards, CPU is completely into deep sleep state.
Range sensor enter low-power consumption working condition after, and between periodic scan barrier and touch-screen away from
From, and distance between barrier and touch-screen exports low level interrupt signal when being less than first threshold, barrier with
The distance between touch-screen exports the interrupt signal of high level when being not less than first threshold.CPU is in deep-sleep, not to this
The change of level is responded.
Touch controller enters after low-power consumption working condition, is obtained periodically from range sensor and indicates barrier with touching
Touch configured information of the distance between the screen with the relation of first threshold.The cycle may be configured as a few tens of milliseconds to hundreds of milliseconds.Touch
Control device and start GPIO pins, the pass for indicating the distance between barrier and touch-screen with first threshold is obtained from range sensor
During the configured information of system, power consumption value added is less than 1mA.The cycle time that touch controller reads configured information from range sensor gets over
Long, then power consumption is smaller, conversely, then power consumption is bigger.
When touch controller reads high level, it is believed that the distance between barrier and touch-screen are not less than first threshold, this
When touch controller think mobile phone be in normal operating conditions, itself will be set to low-power consumption working condition.In low-power consumption working condition
Under, touch controller can detect contact action, and can recognize the contact action, and next step can be carried out to the gesture operation after identification
Processing, for example, waking up CPU and by the information reporting to CPU.
When touch controller reads low level, it is believed that the distance between barrier and touch-screen are less than first threshold, now,
Terminal is likely to be positioned in pocket or in knapsack, and it is probably the mistake caused by the scraping of barrier now to occur contact action
Operation.Now the state of itself is set to the working condition of super low-power consumption by touch controller.Under super low-power consumption working condition, touch-control
Device is only capable of having detected contact action, when the meaning for not identifying the contact action, because touch controller can not recognize the touch screen
The meaning of operation, therefore the processing of next step will not be also carried out to the contact action.So as to alleviate the touch screen due to barrier
Caused equipment power dissipation, further extends the device standby time.
Preferably, the touch controller in the embodiment of the present invention can be touch controller machine, it can use on the GT970 for converging and pushing up, touch controller
GPIO pins can be chosen to be the OPT1 pins of the chip.Range sensor can select the grand ePL2182 of justice.
Fig. 2 illustrates a kind of detection method of touch screen that the embodiment of the present invention is provided.
Based on said system framework, the method that the embodiment of the present invention is provided be applied to be provided with touch-screen, touch controller with
And the terminal of range sensor, the terminal can be mobile phone terminal, PC terminals, tablet terminal etc..As shown in Fig. 2 including following step
Suddenly:
Step 201, touch controller periodically obtains configured information from range sensor;Configured information is used to indicate barrier and touch
Relation of the distance between the screen with first threshold;
Step 202, if the touch controller determines that the distance between barrier and touch-screen are less than first according to the configured information
Threshold value, then during obtaining configured information from range sensor from current time to next time, do not handle contact action.
In the embodiment of the present invention, when being less than first threshold due to the distance between barrier and touch-screen, mobile phone is in non-
Normal operating conditions, the contact action during obtaining configured information from range sensor from current time to next time is due to obstacle
Maloperation caused by thing percussion, therefore, when distance between barrier and touch-screen is less than first threshold, from current time to
During next time obtains configured information from range sensor, touch controller does not handle contact action during this.So as to alleviate due to
Misoperation probability caused by the touch screen of barrier.
Preferably, if touch controller determines that the distance between barrier and touch-screen are less than first threshold according to configured information,
During then obtaining configured information from range sensor from current time to next time, into super low-power consumption working condition;In super low consumption
Under working condition, then contact action is not handled.
Preferably, under super low consumption working condition, if touch controller, which is detected, contact action on touch-screen, not handling tactile
Screen operation.
Before above-mentioned steps 201, specifically, above-mentioned terminal is set to after standby resting state by user, and CPU connects
Deep sleep state instruction is received, begins preparing for entering deep-sleep, Distance-sensing is notified before deep sleep state is entered
The equipment such as device, touch controller enter low-power consumption working condition.Range sensor receives the information into low-power consumption working condition, then
Enter low-power consumption working condition according to the information for entering low-power consumption working condition.Touch controller is received into low-power consumption working condition
Information, then according to enter low-power consumption working condition information enter low-power consumption working condition.Some other equipment also enters low
Power consumption working condition, afterwards, CPU is completely into deep sleep state.
Range sensor enter low-power consumption working condition after, and between periodic scan barrier and touch-screen away from
From, and distance between barrier and touch-screen exports low level interrupt signal when being less than first threshold, barrier with
The distance between touch-screen exports the interrupt signal of high level when being not less than first threshold.CPU is in deep-sleep, not to this
The change of level is responded.
Touch controller enters after low-power consumption working condition, is obtained periodically from range sensor and indicates barrier with touching
Touch configured information of the distance between the screen with the relation of first threshold.The cycle may be configured as a few tens of milliseconds to hundreds of milliseconds.Touch
Control device and start GPIO pins, the pass for indicating the distance between barrier and touch-screen with first threshold is obtained from range sensor
During the configured information of system, power consumption value added is less than 1mA.The cycle time that touch controller reads configured information from range sensor gets over
Long, then power consumption is smaller, conversely, then power consumption is bigger.
Accordingly, touch controller periodically reads the interrupt signal of range sensor output, table when interrupt signal is low level
Show that the distance between barrier and touch-screen are less than first threshold, interrupt signal represented when being high level barrier and touch-screen it
Between distance be not less than first threshold.
If preferably, touch controller determines that the distance between barrier and touch-screen are not less than the first threshold according to configured information
Value, if during obtaining configured information from range sensor from current time to next time, touch controller, which is detected, touch screen on touch-screen
Operation, then handle contact action.
Or there is another preferably implementation, if touch controller according to configured information determine barrier and touch-screen it
Between distance be not less than first threshold, then into low-power consumption working condition;Under low consumption working condition, if touch controller detect it is tactile
Touching on screen has contact action, then handles contact action.
When touch controller reads high level, it is believed that the distance between barrier and touch-screen are not less than first threshold, this
When touch controller think mobile phone be in normal operating conditions, itself will be set to low-power consumption working condition.In low-power consumption working condition
Under, touch controller can detect contact action, and can recognize the contact action, and next step can be carried out to the gesture operation after identification
Processing, for example, waking up CPU and by the information reporting to CPU.Therefore, under low consumption working condition, if touch controller detects touch
There is contact action on screen, then handle contact action.
When touch controller reads low level, it is believed that the distance between barrier and touch-screen are less than first threshold, now,
Terminal is likely to be positioned in pocket or in knapsack, and it is probably the mistake caused by the scraping of barrier now to occur contact action
Operation.Now the state of itself is set to the working condition of super low-power consumption by touch controller.Under super low-power consumption working condition, touch-control
Device is only capable of having detected contact action, when the meaning for not identifying the contact action, because touch controller can not recognize the touch screen
The meaning of operation, therefore the processing of next step will not be also carried out to the contact action.So as to alleviate the touch screen due to barrier
Caused equipment power dissipation, further extends the device standby time.
In the embodiment of the present invention, touch controller periodically obtains configured information from range sensor;If touch controller is according to instruction
Information determines that the distance between barrier and touch-screen are less than first threshold, then is obtained from current time to next time from range sensor
During taking configured information, contact action is not handled.When being less than first threshold due to the distance between barrier and touch-screen, mobile phone
In abnormal operating state, the contact action during obtaining configured information from range sensor from current time to next time be by
The maloperation caused by barrier percussion, therefore, when distance between barrier and touch-screen is less than first threshold, from current
During time to next time obtains configured information from range sensor, touch controller does not handle contact action during this.So as to mitigate
Misoperation probability caused by the touch screen of barrier, and power consumption is reduce further, extend the device standby time.
Fig. 3 illustrates a kind of touch controller provided in an embodiment of the present invention.
Based on identical design, the embodiment of the present invention provides a kind of touch controller, as shown in figure 3, including the He of acquiring unit 301
Processing unit 302:
Acquiring unit 301, periodically obtains configured information from range sensor;
Processing unit 302, if determining that the distance between barrier and touch-screen are less than first threshold according to configured information, from working as
During preceding time to next time obtains configured information from range sensor, contact action is not handled.
Preferably, processing unit 302, specifically for:
If touch controller determines that the distance between barrier and touch-screen are less than first threshold according to configured information, from current time
During obtaining configured information from range sensor to next time, into super low-power consumption working condition;
Under super low consumption working condition, then contact action is not handled.
Preferably, processing unit 302, specifically for:
Under super low consumption working condition, if touch controller, which is detected, contact action on touch-screen, contact action is not handled.
Preferably, also including:
If touch controller determines that the distance between barrier and touch-screen are not less than first threshold according to configured information, if from it is current when
Between to next time from range sensor obtain configured information during, touch controller, which is detected, contact action on touch-screen, then handle touch
Screen operation.
Preferably, also including:
If touch controller determines that the distance between barrier and touch-screen are not less than first threshold according to configured information, into low work(
Consume working condition;
Under low consumption working condition, if touch controller, which is detected, contact action on touch-screen, contact action is handled.
Preferably, acquiring unit 301, specifically for:
If touch controller receives the information into low-power consumption working condition, enter according to the information for entering low-power consumption working condition
Low-power consumption working condition, and obtain configured information from range sensor in low-power consumption working condition periodical;Wherein, into low
The information of power consumption working condition is that CPU receives deep sleep state instruction, is sent before being prepared to enter into deep sleep state.
In the embodiment of the present invention, touch controller periodically obtains configured information from range sensor;If touch controller is according to instruction
Information determines that the distance between barrier and touch-screen are less than first threshold, then is obtained from current time to next time from range sensor
During taking configured information, contact action is not handled.When being less than first threshold due to the distance between barrier and touch-screen, mobile phone
In abnormal operating state, the contact action during obtaining configured information from range sensor from current time to next time be by
The maloperation caused by barrier percussion, therefore, when distance between barrier and touch-screen is less than first threshold, from current
During time to next time obtains configured information from range sensor, touch controller does not handle contact action during this.So as to mitigate
Misoperation probability caused by the touch screen of barrier, and power consumption is reduce further, extend the device standby time.
Fig. 4 illustrates a kind of terminal that the embodiment of the present invention is provided.
Based on identical design, the embodiments of the invention provide a kind of terminal, as shown in figure 4, including range sensor
401st, touch controller 402 and CPU403:
Range sensor 401, for the distance between periodic scan barrier and touch-screen, disturbance in judgement thing and touch-screen it
Between distance and first threshold relation;
Touch controller 402, obtains configured information, configured information is used to indicate barrier and touch for periodicity from range sensor
The distance between screen relation with first threshold, if determining that the distance between barrier and touch-screen are less than the according to configured information
One threshold value, then during obtaining configured information from range sensor from current time to next time, do not handle contact action.
Preferably, also including:
CPU403, for receiving during deep sleep state instruction, sends the instruction of low-power consumption working condition to touch controller, afterwards
It is prepared to enter into deep sleep state;
Touch controller 402, specifically for:
Low-power consumption working condition is entered according to the information of the CPU403 low-power consumption working conditions sent, and in low-power consumption working condition
Periodical obtains configured information from range sensor.
Preferably, range sensor 401, specifically for:
If the distance between barrier and touch-screen are less than first threshold, configured information is set to low level, if barrier
It is not less than first threshold with the distance between touch-screen, then configured information is set to high level;
Touch controller 402, specifically for:
If determining that the distance between barrier and touch-screen are less than first threshold according to configured information, from current time to next time
During obtaining configured information from range sensor, into super low-power consumption working condition, under super low consumption working condition, if detecting
There is contact action on touch-screen, then do not perform contact action.
Preferably, touch controller 402 is touch controller machine, universal input/output of the INT pins and touch controller of range sensor
GPIO pin is connected.
It can be seen from the above:In the embodiment of the present invention, touch controller periodically obtains from range sensor and indicates letter
Breath;If touch controller determines that the distance between barrier and touch-screen are less than first threshold according to configured information, from current time
During obtaining configured information from range sensor to next time, contact action is not handled.Due between barrier and touch-screen away from
During from less than first threshold, mobile phone is in abnormal operating state, obtains and indicates from range sensor from current time to next time
Contact action during information is due to maloperation caused by barrier percussion, therefore, between barrier and touch-screen away from
During from less than first threshold, during obtaining configured information from range sensor from current time to next time, touch controller is not handled
Contact action during this.So as to alleviate the misoperation probability caused by the touch screen of barrier, and it reduce further work(
Consumption, extends the device standby time.
It should be understood by those skilled in the art that, embodiments of the invention can be provided as method or computer program product.
Therefore, the present invention can be using the embodiment in terms of complete hardware embodiment, complete software embodiment or combination software and hardware
Form.Deposited moreover, the present invention can be used in one or more can use which includes the computer of computer usable program code
Storage media(Including but not limited to magnetic disk storage, CD-ROM, optical memory etc.)The shape of the computer program product of upper implementation
Formula.
The present invention is with reference to method according to embodiments of the present invention, equipment(System)And the flow of computer program product
Figure and/or block diagram are described.It should be understood that can be by every first-class in computer program instructions implementation process figure and/or block diagram
Journey and/or the flow in square frame and flow chart and/or block diagram and/or the combination of square frame.These computer programs can be provided
The processor of all-purpose computer, special-purpose computer, Embedded Processor or other programmable data processing devices is instructed to produce
A raw machine so that produced by the instruction of computer or the computing device of other programmable data processing devices for real
The device for the function of being specified in present one flow of flow chart or one square frame of multiple flows and/or block diagram or multiple square frames.
These computer program instructions, which may be alternatively stored in, can guide computer or other programmable data processing devices with spy
Determine in the computer-readable memory that mode works so that the instruction being stored in the computer-readable memory, which is produced, to be included referring to
Make the manufacture of device, the command device realize in one flow of flow chart or multiple flows and/or one square frame of block diagram or
The function of being specified in multiple square frames.
These computer program instructions can be also loaded into computer or other programmable data processing devices so that in meter
Series of operation steps is performed on calculation machine or other programmable devices to produce computer implemented processing, thus in computer or
The instruction performed on other programmable devices is provided for realizing in one flow of flow chart or multiple flows and/or block diagram one
The step of function of being specified in individual square frame or multiple square frames.
, but those skilled in the art once know basic creation although preferred embodiments of the present invention have been described
Property concept, then can make other change and modification to these embodiments.So, appended claims are intended to be construed to include excellent
Select embodiment and fall into having altered and changing for the scope of the invention.
Obviously, those skilled in the art can carry out the essence of various changes and modification without departing from the present invention to the present invention
God and scope.So, if these modifications and variations of the present invention belong to the scope of the claims in the present invention and its equivalent technologies
Within, then the present invention is also intended to including these changes and modification.
Claims (9)
1. a kind of detection method of touch screen, it is characterised in that comprise the following steps:
Processor CPU enters deep sleep state;
Touch controller periodically obtains configured information from range sensor;
If the touch controller determines that the distance between barrier and touch-screen are less than first threshold according to the configured information, from
During current time obtains configured information to next time from range sensor, contact action is not handled.
2. the method as described in claim 1, it is characterised in that if the touch controller determines to hinder according to the configured information
Hinder the distance between thing and touch-screen to be less than first threshold, then obtain configured information from current time to next time from range sensor
Period, contact action is not handled, specifically included:
If the touch controller determines that the distance between barrier and touch-screen are less than first threshold according to the configured information, from
During current time obtains configured information to next time from range sensor, into super low-power consumption working condition;
Under super low consumption working condition, then contact action is not handled.
3. method as claimed in claim 2, it is characterised in that described under super low consumption working condition, then do not handle touch screen behaviour
Make, specifically include:
Under super low consumption working condition, if the touch controller, which is detected, contact action on the touch-screen, touch screen is not handled
Operation.
4. the method as described in claim 1, it is characterised in that also include:
If the touch controller determines that the distance between barrier and touch-screen are not less than first threshold according to configured information, if from working as
During preceding time to next time obtains configured information from range sensor, the touch controller, which is detected, touch screen behaviour on the touch-screen
Make, then handle the contact action.
5. the method as described in claim 1, it is characterised in that be specifically:
The touch controller periodically obtains configured information by GPIO pins from range sensor, and the configured information is used to refer to
Show the relation of the distance between barrier and touch-screen with first threshold.
6. a kind of terminal, it is characterised in that including:
Range sensor, for the distance between periodic scan barrier and touch-screen, judges the barrier and touch-screen
The distance between relation with first threshold;
Processor CPU, for entering deep sleep state;
Touch controller, for obtaining configured information from range sensor according to periodicity, the configured information is used to indicate barrier
Relation with the distance between touch-screen with first threshold, if being determined according to the configured information between barrier and touch-screen
Distance is less than the first threshold, then during obtaining configured information from range sensor from current time to next time, does not handle tactile
Screen operation.
7. terminal as claimed in claim 6, it is characterised in that the range sensor, specifically for:
If the distance between barrier and described touch-screen are less than first threshold, configured information is set to low level, if barrier
Hinder the distance between thing and described touch-screen to be not less than first threshold, then configured information is set to high level.
8. terminal as claimed in claim 6, it is characterised in that the touch controller, specifically for:
If determining that the distance between barrier and touch-screen are less than the first threshold according to the configured information, from it is current when
Between to next time from range sensor obtain configured information during, into super low-power consumption working condition, under super low consumption working condition,
If detecting has contact action on the touch-screen, the contact action is not performed.
9. terminal as claimed in claim 6, it is characterised in that the pin of the range sensor is general with the touch controller
Input/output GPIO pin is connected.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710417221.2A CN107102778A (en) | 2015-01-19 | 2015-01-19 | A kind of detection method of touch screen and terminal |
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710417221.2A CN107102778A (en) | 2015-01-19 | 2015-01-19 | A kind of detection method of touch screen and terminal |
CN201510025699.1A CN104598078B (en) | 2015-01-19 | 2015-01-19 | A kind of detection method of touch screen and terminal |
Related Parent Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510025699.1A Division CN104598078B (en) | 2015-01-19 | 2015-01-19 | A kind of detection method of touch screen and terminal |
Publications (1)
Publication Number | Publication Date |
---|---|
CN107102778A true CN107102778A (en) | 2017-08-29 |
Family
ID=53123916
Family Applications (4)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710417205.3A Pending CN107168583A (en) | 2015-01-19 | 2015-01-19 | A kind of detection method of touch screen and terminal |
CN201710417221.2A Pending CN107102778A (en) | 2015-01-19 | 2015-01-19 | A kind of detection method of touch screen and terminal |
CN201710417374.7A Pending CN107132951A (en) | 2015-01-19 | 2015-01-19 | A kind of detection method of touch screen and terminal |
CN201510025699.1A Active CN104598078B (en) | 2015-01-19 | 2015-01-19 | A kind of detection method of touch screen and terminal |
Family Applications Before (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710417205.3A Pending CN107168583A (en) | 2015-01-19 | 2015-01-19 | A kind of detection method of touch screen and terminal |
Family Applications After (2)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710417374.7A Pending CN107132951A (en) | 2015-01-19 | 2015-01-19 | A kind of detection method of touch screen and terminal |
CN201510025699.1A Active CN104598078B (en) | 2015-01-19 | 2015-01-19 | A kind of detection method of touch screen and terminal |
Country Status (1)
Country | Link |
---|---|
CN (4) | CN107168583A (en) |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107449973B (en) * | 2017-08-14 | 2020-01-31 | 青岛海信移动通信技术股份有限公司 | terminal electromagnetic radiation detection method and device and terminal |
TWI774265B (en) * | 2021-03-12 | 2022-08-11 | 元太科技工業股份有限公司 | Driving circuit of display and operation method of timing controller |
Citations (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101951444A (en) * | 2010-09-29 | 2011-01-19 | 中兴通讯股份有限公司 | Method for realizing screen locking and unlocking of mobile terminal and mobile terminal |
CN102202133A (en) * | 2011-04-26 | 2011-09-28 | 深圳市嘉兰图设计有限公司 | Mobile terminal unlocking method and mobile terminal |
CN102508591A (en) * | 2010-09-16 | 2012-06-20 | 微软公司 | Prevention of accidental device activation |
CN102841684A (en) * | 2012-08-30 | 2012-12-26 | 北京小米科技有限责任公司 | Method, device and apparatus for preventing accidental operation |
CN103167151A (en) * | 2012-09-21 | 2013-06-19 | 深圳市金立通信设备有限公司 | Automatic screen-locking system and method for mobile phone placed in pocket |
CN103167128A (en) * | 2012-08-07 | 2013-06-19 | 深圳市金立通信设备有限公司 | System and method for achieving automatic sleep of mobile phone based on proximity sensor |
CN103902854A (en) * | 2014-03-18 | 2014-07-02 | 深圳创维数字技术股份有限公司 | Method and terminal for preventing misoperation |
US20140198944A1 (en) * | 2013-01-14 | 2014-07-17 | Qualcomm Incorporated | Use of emg for subtle gesture recognition on surfaces |
CN104007882A (en) * | 2014-05-27 | 2014-08-27 | 广东欧珀移动通信有限公司 | High-accuracy screen touch response method and device |
CN104169859A (en) * | 2013-12-11 | 2014-11-26 | 华为终端有限公司 | Screen control method, screen control device and touch terminal |
Family Cites Families (17)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN2663932Y (en) * | 2003-12-11 | 2004-12-15 | 西安理工大学 | A cargo transportation safety monitor |
KR101582687B1 (en) * | 2009-03-02 | 2016-01-05 | 엘지전자 주식회사 | Method for releasing locking in mobile terminal and mobile terminal using the same |
CN101997961A (en) * | 2009-08-12 | 2011-03-30 | 深圳市联创金格尔通讯设备有限公司 | Method and device for controlling screen interface of mobile phone based on acceleration sensor |
CN101950235B (en) * | 2010-08-23 | 2013-06-05 | 中兴通讯股份有限公司 | Method for sliding interface of touch screen and terminal |
CN202093543U (en) * | 2011-02-14 | 2011-12-28 | 深圳市远望谷信息技术股份有限公司 | Active electronic tag using three-axis acceleration transducer chip |
KR20130025230A (en) * | 2011-09-01 | 2013-03-11 | 엘지디스플레이 주식회사 | Display having touch sensor and touch judgement method thereof |
CN102684743A (en) * | 2012-04-20 | 2012-09-19 | 国网电力科学研究院 | Low-power-consumption dormancy activation communication power saving method for electric transmission lines |
CN103377353B (en) * | 2012-04-23 | 2018-04-17 | 富泰华工业(深圳)有限公司 | Electronic device and its touch screen guard method and protection system |
CN102902942A (en) * | 2012-09-12 | 2013-01-30 | 东信和平科技股份有限公司 | Method and system for controlling data transmission in 2.4GHz active radio frequency identification (RFID) tag |
CN103873641A (en) * | 2012-12-10 | 2014-06-18 | 柳松 | Method using distance sensor to make cellphone needless of touchscreen locking |
CN103902853B (en) * | 2012-12-25 | 2017-04-05 | 中国科学院深圳先进技术研究院 | Splice site identification method based on support vector machine |
CN103902112A (en) * | 2012-12-26 | 2014-07-02 | 联想(北京)有限公司 | Control method and electronic equipment |
CN103139389A (en) * | 2013-02-25 | 2013-06-05 | 上海斐讯数据通信技术有限公司 | Method of preventing wrong operation for mobile terminal and mobile terminal |
CN103217722A (en) * | 2013-03-13 | 2013-07-24 | 安徽工程大学 | Active type life detection instrument for seismic hazard |
JPWO2014196188A1 (en) * | 2013-06-06 | 2017-02-23 | パナソニックIpマネジメント株式会社 | Method for adjusting physical quantity sensor and physical quantity sensor |
CN103401992B (en) * | 2013-07-11 | 2015-08-12 | 广东欧珀移动通信有限公司 | The method of misoperation in mobile phone communication process is processed in conjunction with touch-screen |
CN104216518A (en) * | 2014-08-26 | 2014-12-17 | 深圳市金立通信设备有限公司 | Terminal control method |
-
2015
- 2015-01-19 CN CN201710417205.3A patent/CN107168583A/en active Pending
- 2015-01-19 CN CN201710417221.2A patent/CN107102778A/en active Pending
- 2015-01-19 CN CN201710417374.7A patent/CN107132951A/en active Pending
- 2015-01-19 CN CN201510025699.1A patent/CN104598078B/en active Active
Patent Citations (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102508591A (en) * | 2010-09-16 | 2012-06-20 | 微软公司 | Prevention of accidental device activation |
CN101951444A (en) * | 2010-09-29 | 2011-01-19 | 中兴通讯股份有限公司 | Method for realizing screen locking and unlocking of mobile terminal and mobile terminal |
CN102202133A (en) * | 2011-04-26 | 2011-09-28 | 深圳市嘉兰图设计有限公司 | Mobile terminal unlocking method and mobile terminal |
CN103167128A (en) * | 2012-08-07 | 2013-06-19 | 深圳市金立通信设备有限公司 | System and method for achieving automatic sleep of mobile phone based on proximity sensor |
CN102841684A (en) * | 2012-08-30 | 2012-12-26 | 北京小米科技有限责任公司 | Method, device and apparatus for preventing accidental operation |
CN103167151A (en) * | 2012-09-21 | 2013-06-19 | 深圳市金立通信设备有限公司 | Automatic screen-locking system and method for mobile phone placed in pocket |
US20140198944A1 (en) * | 2013-01-14 | 2014-07-17 | Qualcomm Incorporated | Use of emg for subtle gesture recognition on surfaces |
CN104169859A (en) * | 2013-12-11 | 2014-11-26 | 华为终端有限公司 | Screen control method, screen control device and touch terminal |
CN103902854A (en) * | 2014-03-18 | 2014-07-02 | 深圳创维数字技术股份有限公司 | Method and terminal for preventing misoperation |
CN104007882A (en) * | 2014-05-27 | 2014-08-27 | 广东欧珀移动通信有限公司 | High-accuracy screen touch response method and device |
Also Published As
Publication number | Publication date |
---|---|
CN107132951A (en) | 2017-09-05 |
CN104598078A (en) | 2015-05-06 |
CN104598078B (en) | 2017-07-11 |
CN107168583A (en) | 2017-09-15 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
TWI536157B (en) | Electronicapparatus and computer-readable medium | |
KR101242620B1 (en) | Method for processing a touch signal by the touch sensor controller and apparatus thereof | |
CN108496156B (en) | Awakening method, device and system of operating system | |
CN104142728B (en) | Electronic installation | |
CN106662970B (en) | Method and device for setting interruption threshold of fingerprint identifier and terminal equipment | |
CN103890689A (en) | Method for detecting wake conditions of a portable electronic device | |
US20120062520A1 (en) | Stylus modes | |
CN105739847A (en) | Intelligent electronic device and system and method for awakening screen of intelligent electronic device | |
CN105550640A (en) | Information processing method and electronic equipment | |
CN104598151A (en) | Recognition method and recognition device for blank screen gestures | |
CN103517304A (en) | Method and device for obtaining safe state of mobile terminal | |
CN104252254A (en) | Touch input source selecting method and electronic device | |
CN102968237A (en) | Method and device for processing capacitive touch screen | |
JP5942375B2 (en) | Information processing apparatus, information processing method, and computer program | |
CN104598078B (en) | A kind of detection method of touch screen and terminal | |
CN104077065A (en) | Method for displaying virtual keyboard by touch screen terminal and touch screen terminal | |
CN104850417B (en) | A kind of method and electronic equipment of information processing | |
CN103677604B (en) | A kind of method and device of information processing | |
CN109710111B (en) | False touch prevention method and electronic equipment | |
WO2018227475A1 (en) | Fingerprint chip detection method, device and system | |
CN104516570B (en) | Flip-type electronic device and calibration method thereof | |
CN102478995B (en) | Finger identification method and system | |
JP2011159123A (en) | Information processor, information input method, and program | |
CN107844211A (en) | Touch electronic device, touch processing device and touch processing method thereof | |
CN103593206A (en) | Electronic device and starting method thereof |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20170829 |
|
RJ01 | Rejection of invention patent application after publication |