CN110209301A - Touch screen scanning method, device, storage medium, touch chip and terminal - Google Patents
Touch screen scanning method, device, storage medium, touch chip and terminal Download PDFInfo
- Publication number
- CN110209301A CN110209301A CN201910458198.0A CN201910458198A CN110209301A CN 110209301 A CN110209301 A CN 110209301A CN 201910458198 A CN201910458198 A CN 201910458198A CN 110209301 A CN110209301 A CN 110209301A
- Authority
- CN
- China
- Prior art keywords
- touch screen
- scanned
- terminal
- touch
- power consumption
- 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/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/044—Digitisers, e.g. for touch screens or touch pads, characterised by the transducing means by capacitive means
Landscapes
- Engineering & Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Human Computer Interaction (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Position Input By Displaying (AREA)
- User Interface Of Digital Computer (AREA)
Abstract
The invention discloses a kind of touch screen scanning method, device, storage medium, touch chip and terminals.Wherein, this method comprises: application scenarios locating for detection terminal;According to application scenarios, judge whether low-power consumption mode is entered to the mode that the touch screen of terminal is scanned;In the case where the judgment result is yes, it is scanned using touch screen of the low-power consumption mode to terminal, wherein, low-power consumption mode is, relative to normal mode, less than the full frame of touch screen is scanned through in a frame time, normal mode is that the full frame of touch screen is scanned through in a frame time.The present invention solves touch screen scanning mode in the related technology and there is technical issues that.
Description
Technical field
The present invention relates to touch screen scanning technique fields, in particular to a kind of touch screen scanning method, device, deposit
Storage media, touch chip and terminal.
Background technique
Touch screen is widely applied on more and more electronic equipments, especially in portable mobile termianl field,
Touch screen has been a kind of main man-machine interaction mode.Touch device sends touch control detection signal first, and finger touches screen
It will lead to the variation of sensor capacitance afterwards, then touch device receives detection signal, finally according to each sensor capacitance value
Variation detects the position that finger touches.
Size of mobile terminals is smaller and smaller at present, and thickness is more and more thinner, and function is more and more, so battery becomes
The main bottleneck of mobile terminal application.In the case where battery technology is not broken through, the function of each chip in terminal how is reduced
Consume into main means to solve this problem.The man-machine interaction mode of mobile terminal is mainly grasped by touch screen at present
Make, so touch device needs are constantly scanned touch screen to judge user carries out which kind of operation, therefore, touch chip
Power consumption directly affect terminal use the time.Most of touch chip all uses phase under different application scenarios at present
It is scanned with this mode continually scanned for, will cause unnecessary power wastage in this way, reduced terminal and use the time.
For above-mentioned problem, currently no effective solution has been proposed.
Summary of the invention
The embodiment of the invention provides a kind of touch screen scanning method, device, storage medium, touch chip and terminal, with
At least solving touch screen scanning mode in the related technology there is technical issues that.
According to an aspect of an embodiment of the present invention, a kind of touch screen scanning method is provided, comprising: locating for detection terminal
Application scenarios;According to the application scenarios, whether the mode for judging that the touch screen to the terminal is scanned enters low function
Consumption mode;In the case where the judgment result is yes, it is scanned using touch screen of the low-power consumption mode to the terminal, wherein
The low-power consumption mode is, relative to normal mode, less than scanning through the full frame of the touch screen in a frame time, it is described just
Norm formula is that the full frame of the touch screen is scanned through in a frame time.
Optionally, before being scanned using low-power consumption mode to the touch screen of the terminal, further includes: described in use
Normal mode is scanned the touch screen of the terminal, wherein using the normal mode to the touch screen of the terminal into
Row scanning include: that a frame time is divided into N number of timeslice, scanned in each timeslice the touch screen part row or
Column, different timeslices scan the different row or column of the touch screen, scan through the full frame of the touch screen after N number of timeslice,
Wherein, N >=2.
Optionally, being scanned using touch screen of the low-power consumption mode to the terminal includes: in a frame time
N-th of timeslice scan through the full frame of the touch screen, wherein 1≤n≤N.
Optionally, after being scanned using low-power consumption mode to the touch screen of the terminal, further includes: scanned
As a result, wherein the scanning result is for identifying whether that there are touch operations;It is that there is no the feelings of touch operation in scanning result
Under condition, continue to be scanned the touch screen of the terminal using the low-power consumption mode;And/or scanning result be exist
In the case where touch operation, uses the normal mode instead and the touch screen of the terminal is scanned, to determine touch location
And it is reported to the processor of the terminal.
Optionally, according to the application scenarios, judge mode that the touch screen to the terminal is scanned whether into
After entering low-power consumption mode, further includes: continue to be scanned the touch screen of the terminal using the normal mode.
Optionally, according to the application scenarios, whether the mode for judging that the touch screen to the terminal is scanned enters
Low-power consumption mode includes: to determine in the case where the probability that the application scenarios have touch operation is greater than predetermined probability to institute
It states the mode that the touch screen of terminal is scanned and enters low-power consumption mode.
According to another aspect of an embodiment of the present invention, a kind of touch screen scanning means is additionally provided, comprising: the first module,
For detecting application scenarios locating for terminal;Second module, for judging the touch to the terminal according to the application scenarios
Shield whether the mode being scanned enters low-power consumption mode;Third module is yes for the judging result in second module
In the case where, it is scanned using touch screen of the low-power consumption mode to the terminal, wherein the low-power consumption mode is, relatively
In normal mode, less than the full frame of the touch screen is scanned through in a frame time, the normal mode is in a frame time
Scan through the full frame of the touch screen.
Optionally, the third module is also used to be scanned the touch screen of the terminal using low-power consumption mode
Before, it is scanned using touch screen of the normal mode to the terminal, wherein using the normal mode to the end
It includes: that a frame time is divided into N number of timeslice that the touch screen at end, which is scanned, and the touch screen is scanned in each timeslice
Part row or column, different timeslices scans the different row or column of the touch screen, scans through the touch after N number of timeslice
What is shielded is full frame, wherein and N >=2.
Optionally, the third module scans through the touch screen for n-th of timeslice in a frame time
It is full frame, wherein 1≤n≤N.
According to another aspect of an embodiment of the present invention, a kind of storage medium is additionally provided, the storage medium is stored with journey
Sequence, wherein controlled when described program is run by processor the processor execute it is any one of above-mentioned described in touch screen
Scan method.
According to another aspect of an embodiment of the present invention, a kind of touch chip is additionally provided, the touch chip includes processing
Unit, the processing unit is for running program, wherein described program executed when running it is any one of above-mentioned described in touch
Shield scan method.
According to another aspect of an embodiment of the present invention, a kind of terminal, including memory, processor, touch screen are additionally provided
With the touch chip of touch screen, wherein the memory is stored with program, and the touch chip includes processing unit, the place
Reason unit is for running described program, wherein described program executed when running it is any one of above-mentioned described in touch screen scanning
Method to obtain touch location on the touchscreen, and is reported to the processor and is handled.
In embodiments of the present invention, using application scenarios locating for detection terminal;According to the application scenarios, judge to institute
State whether the mode that the touch screen of terminal is scanned enters low-power consumption mode;In the case where the judgment result is yes, use is low
Power consumption mode is scanned the touch screen of the terminal, wherein the low-power consumption mode is, relative to normal mode, few
In scanning through the full frame of the touch screen in a frame time, the normal mode is that the touch screen is scanned through in a frame time
Full frame mode, select scanning mode to be scanned using according to application scenarios, can neatly reduce power consumption, in addition,
The touch screen of terminal is scanned using low-power consumption mode by application scenarios selection, i.e., using less than one under normal mode
A frame is scanned through in frame time, significantly reduces the purpose of power consumption consumed by scanning, so that realizing reduces touch chip
The technical effect of overall power, and then solve touch screen scanning mode in the related technology and there is technical issues that.
Detailed description of the invention
The drawings described herein are used to provide a further understanding of the present invention, constitutes part of this application, this hair
Bright illustrative embodiments and their description are used to explain the present invention, and are not constituted improper limitations of the present invention.In the accompanying drawings:
Fig. 1 is the flow chart of touch screen scanning method according to an embodiment of the present invention;
Fig. 2 is the flow chart of touch screen scanning method according to the preferred embodiment of the invention;
Fig. 3 is to divide in touch screen scanning method according to the preferred embodiment of the invention to the timeslice of each row of touch screen
Schematic diagram;
Fig. 4 is the signal that the timeslice of a frame time in touch screen scanning method according to the preferred embodiment of the invention divides
Figure;
Fig. 5 is the structural schematic diagram of touch screen scanning means according to an embodiment of the present invention.
Specific embodiment
In order to enable those skilled in the art to better understand the solution of the present invention, below in conjunction in the embodiment of the present invention
Attached drawing, technical scheme in the embodiment of the invention is clearly and completely described, it is clear that described embodiment is only
The embodiment of a part of the invention, instead of all the embodiments.Based on the embodiments of the present invention, ordinary skill people
The model that the present invention protects all should belong in member's every other embodiment obtained without making creative work
It encloses.
It should be noted that description and claims of this specification and term " first " in above-mentioned attached drawing, "
Two " etc. be to be used to distinguish similar objects, without being used to describe a particular order or precedence order.It should be understood that using in this way
Data be interchangeable under appropriate circumstances, so as to the embodiment of the present invention described herein can in addition to illustrating herein or
Sequence other than those of description is implemented.In addition, term " includes " and " having " and their any deformation, it is intended that cover
Cover it is non-exclusive include, for example, the process, method, system, product or equipment for containing a series of steps or units are not necessarily limited to
Step or unit those of is clearly listed, but may include be not clearly listed or for these process, methods, product
Or other step or units that equipment is intrinsic.
According to embodiments of the present invention, a kind of embodiment of touch screen scanning method is provided, it should be noted that in attached drawing
Process the step of illustrating can execute in a computer system such as a set of computer executable instructions, although also,
Logical order is shown in flow charts, but in some cases, can be executed with the sequence for being different from herein it is shown or
The step of description.
Fig. 1 is the flow chart of touch screen scanning method according to an embodiment of the present invention, as shown in Figure 1, this method includes such as
Lower step:
Step S102 detects application scenarios locating for terminal;
Step S104 judges whether enter low-power consumption to the mode that the touch screen of terminal is scanned according to application scenarios
Mode;
Step S106 is scanned using touch screen of the low-power consumption mode to terminal in the case where the judgment result is yes,
Wherein, low-power consumption mode is, relative to normal mode, to scan through the full frame of touch screen, normal mode being less than in a frame time
To scan through the full frame of touch screen in a frame time.
Through the above steps, scanning mode is selected to be scanned using foundation application scenarios, for example, for normally touching
Application scenarios under, touch screen is scanned using normal mode;And in some application scenarios not touched or touch less
Under, it selects low-power consumption mode to be scanned touch screen, therefore, can neatly reduce power consumption according to application scenarios.In addition, logical
It crosses application scenarios to determine when being scanned using low-power consumption mode, be scanned using touch screen of the low-power consumption mode to terminal,
I.e. using less than a frame is scanned through in the frame time under normal mode, the mesh of power consumption consumed by scanning is significantly reduced
, to realize the technical effect for reducing the overall power of touch chip, and then solve touch screen scanning side in the related technology
Formula there is technical issues that.
As a kind of optional embodiment, when detecting application scenarios locating for terminal, terminal may be in different
Application scenarios.For example, user, which plays game, user using mobile phone, sees video etc. using plate.Above-mentioned terminal is to pass through touch screen
The equipment that can be used for human-computer interaction, can be it is a plurality of types of, for example, smart phone, mobile plate, laptop etc..
Wherein, above-mentioned application scenarios can include but is not limited to standby mode, see video, object for appreciation game etc..
May also be different to the touch operation of terminal due to the difference of application scenarios as a kind of optional embodiment, because
This can also use different scanning modes when the touch screen to terminal is scanned.For example, for application scenes
(for example, standby mode, sees video), the operation to touch screen may be it is less or no, therefore, in this field
It can lack under scape and touch screen is scanned or is not scanned, to save power consumption.And for other application scenarios (ratios
Such as, game, chat, read books etc. are played), it is to need often to use touch screen, for this kind of application scenarios, it is necessary to use
Normal mode is scanned.Therefore, it can be first passed through before being scanned to touch screen for the suitable scanning mode of selection
Application scenarios locating for terminal judge whether enter low-power consumption mode, Ke Yishi to the mode that the touch screen of terminal is scanned
Now to the flexible choice of the corresponding touch screen scanning mode of different application scene, so be conducive to it is subsequent right in different ways
Touch screen scanning is handled, to not only guarantee the normal use of application, but also can effectively save power consumption.
As a kind of optional embodiment, in the related art, touch screen is scanned, is that setting is pre- at one
The full screen scanning that one frame of touch screen is completed in the fixed time, to be computed correctly finger position, thus will also result in unnecessary
Power wastage.In view of the above technical problems, in the embodiment of the present application, it determines using according to different scenes to touch screen difference
Scanning mode.For example, low-power consumption mode can be used less than normal in terminal standby or under seeing the application scenarios such as video
Some timeslice of the lower frame time of mode judges whether there is touch to full frame be scanned of touch screen, has touch in determination
In the case where, it reuses normal mode and is scanned thus to calculate finger position.Wherein, the full frame of touch screen is scanned
Not only it can also be and scan line by line by scanning line by line.It is touched using low-power consumption mode
Screen scanning can be saved effectively when user does not carry out touch operation to touch screen, also be scanned institute using normal mode
The power consumption of consumption reduces overall power in the case where not influencing user experience.
As a kind of optional embodiment, the case where judging result is into low-power consumption mode is being obtained according to application scenarios
Under, it is scanned using touch screen of the low-power consumption mode to terminal, wherein normal mode is that touch is scanned through in a frame time
What is shielded is full frame, and low-power consumption mode scans through the full frame of touch screen for normal mode, being less than in a frame time.Cause
And low-power consumption mode spends the time more less than normal mode to complete the scanning full frame to touch screen, saving does not have in user
When operating to touch screen, it is also scanned consumed power consumption, can thus substantially reduce the whole function of touch chip
Consumption.It is thereby achieved that selection enters or exits low-power consumption mode under different application scene, to realize the function of chip entirety
Consumption control.
Optionally, before being scanned using low-power consumption mode to the touch screen of terminal, further includes: use normal mode
The touch screen of terminal is scanned, wherein being scanned using touch screen of the normal mode to terminal includes: by a frame time
It is divided into N number of timeslice, the part row or column of touch screen scanning in each timeslice, different timeslice touch screen scannings
Different row or column scan through the full frame of touch screen after N number of timeslice, wherein and N >=2.
As a kind of optional embodiment, a frame time can be divided into several timeslices, for example, it may be at least two
A timeslice.In the specific implementation process, it for the quantity of timeslice and is not limited, needs to carry out according to application scenarios
It divides.
It scans complete touch screen in above-mentioned normal mode as a kind of optional embodiment and needs a frame time, by one
After frame time is divided into N number of timeslice, i.e., the full frame of touch screen is scanned through after N number of timeslice.And under low-power consumption mode, few
The scanning full frame to touch screen is completed in the time of a frame under normal mode, it can at one or more of N number of timeslice
The full frame of touch is scanned through in a timeslice.In addition, specific scanning mode can be in capable mode or in a manner of column
It is scanned.
As a kind of optional embodiment, the part row or column of touch screen scanning in each timeslice, i.e., by touch screen
Region division is carried out in the form of row or column, i.e., different timeslices corresponds to different row or column.For example, in first time
The first row of piece touch screen scanning, and so on, the line n in n-th of timeslice touch screen scanning, it is, of course, also possible to one
Multirow in a timeslice touch screen scanning.It is thereby achieved that in each timeslice touch screen scanning part row.It needs
Illustrate, realizes the mode and the part row of above-mentioned touch screen scanning of the part column of the touch screen scanning in each timeslice
Mode be it is similar, no longer discuss herein.
As a kind of optional embodiment, method can be used by being scanned using touch screen of the normal mode to terminal
One: a frame time being divided into N number of timeslice, the part row of touch screen scanning, different timeslices are swept in each timeslice
Not going together for touch screen is retouched, the full frame of touch screen is scanned through after N number of timeslice;Method two can also be used: a frame time is drawn
It is divided into N number of timeslice, the part column of touch screen scanning, the difference of different timeslice touch screen scannings in each timeslice
It arranges, scans through the full frame of touch screen after N number of timeslice.It should be noted that above two method may be implemented to touch screen
It is full frame be scanned, can according to need selected in specific application.
When being scanned using low-power consumption mode to the touch screen of terminal, various ways can also be used, for example, can be with
The scanning full frame to touch screen is completed in the time less than the frame under normal mode, for example, can be the one of N number of timeslice
The full frame of touch is scanned through in a or multiple timeslices (being less than N number of).It more preferably, can be in n-th of the time in a frame time
Piece scans through the full frame of touch screen, wherein 1≤n≤N.
As a kind of optional embodiment, it is scanned, that is, is existed using touch screen of the low-power consumption mode to optionally terminal
Some timeslice of a frame time under normal mode is scanned all row or column of touch screen, to complete to touch
Shield full frame scanning.If the time of N number of timeslice be it is equal, touch screen is scanned under low-power consumption mode,
Completion can be scanned to the full frame of touch screen in a timeslice, be equivalent to the 1/ of lower the spent power consumption of normal mode
N is greatly reduced relative to normal mode and is scanned spent power consumption.
As a kind of optional embodiment, it is scanned using touch screen of the low-power consumption mode to terminal, makes normal mode
The lower scanning for needing a frame time that could complete, only needs to want a timeslice under low-power consumption mode.Therefore, using above-mentioned low
Power consumption mode can be effectively reduced power consumption.
Optionally, it is scanned using touch screen of the low-power consumption mode to terminal when including: n-th in a frame time
Between piece scan through the full frame of touch screen, wherein 1≤n≤N.
As a kind of optional embodiment, under low-power consumption mode, can choose in a frame time n-th (1≤n≤
N) a timeslice is scanned all row or columns of screen simultaneously, and other timeslices are without any scan operation at this time.
Optionally, after being scanned using low-power consumption mode to the touch screen of terminal, further includes: obtain scanning knot
Fruit, wherein scanning result is for identifying whether that there are touch operations;Scanning result be there is no in the case where touch operation,
Continue to be scanned the touch screen of terminal using low-power consumption mode;And/or scanning result be there are touch operations the case where
Under, it uses normal mode instead and the touch screen of terminal is scanned, to determine touch location and be reported to the processor of terminal.
As a kind of optional embodiment, after being scanned using low-power consumption mode to the touch screen of terminal, according to sweeping
It retouches result to judge to obtain with the presence or absence of touch operation, and then is adjusted according to scan pattern of the judging result to touch screen.It is logical
Aforesaid way is crossed, can quickly determine that whether touch screen is touched, to carry out subsequent scan pattern adjustment operation.It needs
It is noted that the scan pattern of above-mentioned touch screen includes low-power consumption mode and normal mode.
As a kind of optional embodiment, being to continue to use there is no in the case where touch operation according to scanning result
Low-power consumption mode is scanned the touch screen of terminal, can make touch screen scanning in low power consumpting state in this way, save with
When family does not carry out touch operation to touch screen, it is also scanned spent power consumption.
As a kind of optional embodiment, being to use normal mode instead there are in the case where touch operation according to scanning result
Formula is scanned the touch screen of terminal, to determine touch location and be reported to the processor of terminal.By determining touch screen
After touching, the normal mode scanned using timeslice one by one can accurately calculate the touch location in the joints such as finger, from
And touch screen is utilized to realize human-computer interaction.
It can also be needed according to application to using low-power consumption as a kind of optional embodiment according to above-mentioned scanning result
Mode is adjusted with normal mode.Certainly, the subsequent operation taken for judging result can carry out according to actual needs
It is adjusted flexibly, it is not limited to the embodiment illustrated in above-described embodiment.
Optionally, according to application scenarios, judging whether low-power consumption is entered to the mode that the touch screen of terminal is scanned
After mode, further includes: if the determination result is NO, continue to sweep the touch screen of terminal using normal mode
It retouches.
The mode being scanned to the touch screen of terminal is judged according to application scenarios as a kind of optional embodiment
Whether enter after low-power consumption mode, if it is judged that can then continue not need to be scanned using low-power consumption mode
It is scanned using touch screen of the normal mode to terminal, to guarantee that touch screen is in the working condition of human-computer interaction.For example,
User's general touch screen scanning when watching video is in low-power consumption mode, but carries out since user travels frequently over finger touching
F.F., adjustment volume etc. continue to be scanned the touch screen of terminal using normal mode to guarantee user experience.
Optionally, according to application scenarios, judge whether low-power consumption mould is entered to the mode that the touch screen of terminal is scanned
Formula include: in the case where the probability that application scenarios have touch operation is greater than predetermined probability, determine to the touch screen of terminal into
The mode of row scanning enters low-power consumption mode.
As a kind of optional embodiment the general of touch operation can be had in application scenarios in specific application scenarios
In the case that rate is greater than predetermined probability, determine that the mode being scanned to the touch screen of terminal enters low-power consumption mode.Pass through meeting
There is the mode of the probability of touch operation to determine whether realizing into low-power consumption and using the opposite of low-power consumption to different application scene
Property.Which can be configured according to application demand, for example the operating habit of user, common software type and correspondence are soft
Operation behavior of part etc..
As a kind of optional embodiment, in application scenarios, if the probability of touch operation is greater than predetermined probability, it is determined that
It is normal mode to the mode that the touch screen of terminal is scanned;If the probability of touch operation is less than predetermined probability, it is determined that right
The mode that the touch screen of terminal is scanned is low-power consumption mode.Above-mentioned predetermined probability can be according to specific experience and applied field
Scape and flexibly set.Certainly, in the specific implementation process, it is not limited to above-mentioned illustrated embodiment.
The preferred embodiment of the invention is illustrated below.
Fig. 2 is the flow chart of touch screen scanning method according to the preferred embodiment of the invention, as shown in Fig. 2, specific implementation
Steps are as follows:
1, the N number of timeslice of touch chip point scans touch screen, a part of row of each timeslice scanning screen, when different
Between the different row of piece scanning screen, sweep complete screen after N number of timeslice, wherein N >=2;Fig. 3 is preferred embodiment according to the present invention
Touch screen scanning method in schematic diagram that the timeslice of each row of touch screen is divided, as shown in figure 3, each row of screen can be existed
It is divided under different time piece.
2, judge whether to need under different application scenarios to enter low-power consumption mode, if you do not need into then continue by
The scanning of a timeslice, on the contrary it is then into low-power consumption mode;
3, it under low-power consumption mode, can choose in a frame time all to screen in n-th (1≤n≤N) a timeslice
It goes while being scanned, other timeslices are without any scan operation;Fig. 4 is touch according to the preferred embodiment of the invention
Shield the schematic diagram that the timeslice of a frame time in scan method divides, as shown in figure 4, when a frame time can be divided into N number of
Between piece.
4, touch operation is judged whether there is, it is on the contrary then exit low if not continuing to be scanned under low-power consumption mode
Power consumption mode enters timeslice one by one and scans;
5, into timeslice one by one scanning after, each timeslice can the row different to screen be scanned, in this way may be used
To calculate position that finger specifically touches and be reported to processor.
The mode that timeslice scanning one by one can be used under normal use is scanned correctly to count to the every row of screen
Finger position is calculated, low-power consumption mode can be used under the standby or application such as see video in some timeslice of a frame to screen
All rows of curtain are scanned simultaneously to determine whether there is touch, reuse the mode of timeslice scanning one by one then to calculate finger position
It sets.Under low-power consumption mode, a frame, which is equivalent to, only scans a timeslice, and power consumption is essentially the 1/N under non-low-power consumption mode.This
Sample, which carries out touch-control scanning with different mode under different scenes, can substantially reduce the overall power of touch chip, and to user
The no any influence of experience.
Fig. 5 is the structural schematic diagram of touch screen scanning means according to an embodiment of the present invention, as shown in figure 5, the touch screen
Scanning means includes: the first module 52, the second module 54 and third module 56.The touch screen scanning means is carried out below detailed
Explanation.
First module 52, for detecting application scenarios locating for terminal;Second module 54 is connected to above-mentioned first module
52, for judging whether enter low-power consumption mode to the mode that the touch screen of terminal is scanned according to application scenarios;Third mould
Block 56 is connected to above-mentioned second module 54, for the judging result of the second module 54 be in the case where, using low-power consumption mould
Formula is scanned the touch screen of terminal, wherein low-power consumption mode is, relative to normal mode, to sweep being less than in a frame time
The full frame of touch screen is retouched, normal mode is that the full frame of touch screen is scanned through in a frame time.
Above-described embodiment selects scanning mode to be scanned using according to application scenarios, for example, for normally touching
Under application scenarios, touch screen is scanned using normal mode;And under some application scenarios for not touching or touching less,
Selection low-power consumption mode is scanned touch screen, therefore, can neatly reduce power consumption according to application scenarios.In addition, passing through
When application scenarios determination is scanned using low-power consumption mode, it is scanned using touch screen of the low-power consumption mode to terminal, i.e.,
Using less than a frame is scanned through in the frame time under normal mode, the purpose of power consumption consumed by scanning is significantly reduced,
To realize the technical effect for the overall power for reducing touch chip, and then solves touch screen scanning mode in the related technology and deposit
The power wastage the technical issues of.
As a kind of optional embodiment, when detecting application scenarios locating for terminal, terminal may be in different
Application scenarios.For example, user, which plays game, user using mobile phone, sees video etc. using plate.Above-mentioned terminal is to pass through touch screen
The equipment that can be used for human-computer interaction, can be it is a plurality of types of, for example, smart phone, mobile plate, laptop etc..
Wherein, above-mentioned application scenarios can include but is not limited to standby mode, see video, object for appreciation game etc..
May also be different to the touch operation of terminal due to the difference of application scenarios as a kind of optional embodiment, because
This can also use different scanning modes when the touch screen to terminal is scanned.For example, for application scenes
(for example, standby mode, sees video), the operation to touch screen may be it is less or no, therefore, in this field
It can lack under scape and touch screen is scanned or is not scanned, to save power consumption.And for other application scenarios (ratios
Such as, game, chat, read books etc. are played), it is to need often to use touch screen, for this kind of application scenarios, it is necessary to use
Normal mode is scanned.Therefore, it can be first passed through before being scanned to touch screen for the suitable scanning mode of selection
Application scenarios locating for terminal judge whether enter low-power consumption mode, Ke Yishi to the mode that the touch screen of terminal is scanned
Now to the flexible choice of the corresponding touch screen scanning mode of different application scene, so be conducive to it is subsequent right in different ways
Touch screen scanning is handled, to not only guarantee the normal use of application, but also can effectively save power consumption.
As a kind of optional embodiment, in the related art, touch screen is scanned, is that setting is pre- at one
The full screen scanning that one frame of touch screen is completed in the fixed time, to be computed correctly finger position, thus will also result in unnecessary
Power wastage.In view of the above technical problems, in the embodiment of the present application, it determines using according to different scenes to touch screen difference
Scanning mode.For example, low-power consumption mode can be used less than normal in terminal standby or under seeing the application scenarios such as video
Some timeslice of the lower frame time of mode judges whether there is touch to full frame be scanned of touch screen, has touch in determination
In the case where, it reuses normal mode and is scanned thus to calculate finger position.Wherein, the full frame of touch screen is scanned
Not only it can also be and scan line by line by scanning line by line.It is touched using low-power consumption mode
Screen scanning can be saved effectively when user does not carry out touch operation to touch screen, also be scanned institute using normal mode
The power consumption of consumption reduces overall power in the case where not influencing user experience.
As a kind of optional embodiment, the case where judging result is into low-power consumption mode is being obtained according to application scenarios
Under, it is scanned using touch screen of the low-power consumption mode to terminal, wherein normal mode is that touch is scanned through in a frame time
What is shielded is full frame, and low-power consumption mode scans through the full frame of touch screen for normal mode, being less than in a frame time.Cause
And low-power consumption mode spends the time more less than normal mode to complete the scanning full frame to touch screen, saving does not have in user
When operating to touch screen, it is also scanned consumed power consumption, can thus substantially reduce the whole function of touch chip
Consumption.It is thereby achieved that selection enters or exits low-power consumption mode under different application scene, to realize the function of chip entirety
Consumption control.
Optionally, third module 56 is also used to before being scanned using low-power consumption mode to the touch screen of terminal, is adopted
It is scanned with touch screen of the normal mode to terminal, wherein be scanned using touch screen of the normal mode to terminal and include:
One frame time is divided into N number of timeslice, the part row or column of touch screen scanning, different timeslices are swept in each timeslice
The different row or column of touch screen are retouched, scan through the full frame of touch screen after N number of timeslice, wherein N >=2.
Optionally, third module 56 scans through the full frame of touch screen for n-th of timeslice in a frame time,
In, 1≤n≤N.
According to another aspect of an embodiment of the present invention, a kind of storage medium is additionally provided, storage medium is stored with program,
In, when program is run by processor, control processor executes any one of above-mentioned touch screen scanning method.
According to another aspect of an embodiment of the present invention, a kind of touch chip is additionally provided, touch chip includes processing unit,
Processing unit is for running program, wherein program executes any one of above-mentioned touch screen scanning method when running.
According to another aspect of an embodiment of the present invention, a kind of terminal, including memory, processor, touch screen are additionally provided
With the touch chip of touch screen, wherein memory is stored with program, and touch chip includes processing unit, and processing unit is for transporting
Line program, wherein program executes any one of above-mentioned touch screen scanning method when running, to obtain touching on the touchscreen
Position is touched, and is reported to processor and is handled.
The serial number of the above embodiments of the invention is only for description, does not represent the advantages or disadvantages of the embodiments.
In the above embodiment of the invention, it all emphasizes particularly on different fields to the description of each embodiment, does not have in some embodiment
The part of detailed description, reference can be made to the related descriptions of other embodiments.
In several embodiments provided herein, it should be understood that disclosed technology contents can pass through others
Mode is realized.Wherein, the apparatus embodiments described above are merely exemplary, such as the division of the unit, Ke Yiwei
A kind of logical function partition, there may be another division manner in actual implementation, for example, multiple units or components can combine or
Person is desirably integrated into another system, or some features can be ignored or not executed.Another point, shown or discussed is mutual
Between coupling, direct-coupling or communication connection can be through some interfaces, the INDIRECT COUPLING or communication link of unit or module
It connects, can be electrical or other forms.
The unit as illustrated by the separation member may or may not be physically separated, aobvious as unit
The component shown may or may not be physical unit, it can and it is in one place, or may be distributed over multiple
On unit.It can some or all of the units may be selected to achieve the purpose of the solution of this embodiment according to the actual needs.
It, can also be in addition, the functional units in various embodiments of the present invention may be integrated into one processing unit
It is that each unit physically exists alone, can also be integrated in one unit with two or more units.Above-mentioned integrated list
Member both can take the form of hardware realization, can also realize in the form of software functional units.
If the integrated unit is realized in the form of SFU software functional unit and sells or use as independent product
When, it can store in a computer readable storage medium.Based on this understanding, technical solution of the present invention is substantially
The all or part of the part that contributes to existing technology or the technical solution can be in the form of software products in other words
It embodies, which is stored in a storage medium, including some instructions are used so that a computer
Equipment (can for personal computer, server or network equipment etc.) execute each embodiment the method for the present invention whole or
Part steps.And storage medium above-mentioned includes: that USB flash disk, read-only memory (ROM, Read-Only Memory), arbitrary access are deposited
Reservoir (RAM, Random Access Memory), mobile hard disk, magnetic or disk etc. be various to can store program code
Medium.
The above is only a preferred embodiment of the present invention, it is noted that for the ordinary skill people of the art
For member, various improvements and modifications may be made without departing from the principle of the present invention, these improvements and modifications are also answered
It is considered as protection scope of the present invention.
Claims (12)
1. a kind of touch screen scanning method characterized by comprising
Detect application scenarios locating for terminal;
According to the application scenarios, whether the mode for judging that the touch screen to the terminal is scanned enters low-power consumption mode;
In the case where the judgment result is yes, it is scanned using touch screen of the low-power consumption mode to the terminal, wherein described
Low-power consumption mode is, relative to normal mode, scans through the full frame of the touch screen, the normal mode being less than in a frame time
Formula is that the full frame of the touch screen is scanned through in a frame time.
2. the method according to claim 1, wherein using low-power consumption mode to the touch screen of the terminal into
Before row scanning, further includes:
It is scanned using touch screen of the normal mode to the terminal, wherein using the normal mode to the end
It includes: that a frame time is divided into N number of timeslice that the touch screen at end, which is scanned, and the touch screen is scanned in each timeslice
Part row or column, different timeslices scans the different row or column of the touch screen, scans through the touch after N number of timeslice
What is shielded is full frame, wherein and N >=2.
3. according to the method described in claim 2, it is characterized in that, being carried out using touch screen of the low-power consumption mode to the terminal
Scanning includes:
N-th of timeslice in a frame time scans through the full frame of the touch screen, wherein 1≤n≤N.
4. according to the method described in claim 3, it is characterized in that, using low-power consumption mode to the touch screen of the terminal into
After row scanning, further includes:
Obtain scanning result, wherein the scanning result is for identifying whether that there are touch operations;
It is that there is no in the case where touch operation, continue using touch of the low-power consumption mode to the terminal in scanning result
Screen is scanned;And/or in scanning result for there are in the case where touch operation, use the normal mode instead to the terminal
Touch screen be scanned, to determine touch location and be reported to the processor of the terminal.
5. according to the method described in claim 2, it is characterized in that, judging according to the application scenarios to the terminal
Whether the mode that touch screen is scanned enters after low-power consumption mode, further includes:
Continue to be scanned the touch screen of the terminal using the normal mode.
6. the method according to any one of claims 1 to 5, which is characterized in that according to the application scenarios, judge to institute
State mode that the touch screen of terminal is scanned whether into low-power consumption mode include:
In the case where the probability that the application scenarios have touch operation is greater than predetermined probability, the touch to the terminal is determined
Shield the mode being scanned and enters low-power consumption mode.
7. a kind of touch screen scanning means characterized by comprising
First module, for detecting application scenarios locating for terminal;
Second module, for according to the application scenarios, judge mode that the touch screen to the terminal is scanned whether into
Enter low-power consumption mode;
Third module, for the judging result of second module be in the case where, using low-power consumption mode to the end
The touch screen at end is scanned, wherein the low-power consumption mode is, relative to normal mode, to scan being less than in a frame time
The complete touch screen it is full frame, the normal mode be the full frame of the touch screen is scanned through in a frame time.
8. device according to claim 7, which is characterized in that
The third module is also used to before being scanned using low-power consumption mode to the touch screen of the terminal, using institute
It states normal mode to be scanned the touch screen of the terminal, wherein using the normal mode to the touch screen of the terminal
Being scanned includes: that a frame time is divided into N number of timeslice, scanned in each timeslice the touch screen part row or
Column, different timeslices scan the different row or column of the touch screen, scan through the full frame of the touch screen after N number of timeslice,
Wherein, N >=2.
9. device according to claim 8, which is characterized in that
The third module scans through the full frame of the touch screen for n-th of timeslice in a frame time,
In, 1≤n≤N.
10. a kind of storage medium, which is characterized in that the storage medium is stored with program, wherein in described program by processor
Touch screen scanning method described in any one of described processor perform claim requirement 1 to 6 is controlled when operation.
11. a kind of touch chip, which is characterized in that the touch chip includes processing unit, and the processing unit is for running
Program, wherein touch screen scanning method described in any one of perform claim requirement 1 to 6 when described program is run.
12. a kind of terminal, which is characterized in that the touch chip including memory, processor, touch screen and touch screen, wherein institute
It states memory and is stored with program, the touch chip includes processing unit, and the processing unit is used to run described program,
In, touch screen scanning method described in any one of perform claim requirement 1 to 6 when described program is run, to obtain touching
Touch location on screen, and be reported to the processor and handled.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910458198.0A CN110209301A (en) | 2019-05-29 | 2019-05-29 | Touch screen scanning method, device, storage medium, touch chip and terminal |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910458198.0A CN110209301A (en) | 2019-05-29 | 2019-05-29 | Touch screen scanning method, device, storage medium, touch chip and terminal |
Publications (1)
Publication Number | Publication Date |
---|---|
CN110209301A true CN110209301A (en) | 2019-09-06 |
Family
ID=67789373
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910458198.0A Pending CN110209301A (en) | 2019-05-29 | 2019-05-29 | Touch screen scanning method, device, storage medium, touch chip and terminal |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110209301A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113721785A (en) * | 2021-07-07 | 2021-11-30 | 荣耀终端有限公司 | Method for adjusting sampling rate of touch screen and electronic equipment |
Citations (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2002131720A (en) * | 2000-10-20 | 2002-05-09 | Rohm Co Ltd | Liquid crystal display device and driving method therefor |
US20110102360A1 (en) * | 2008-07-21 | 2011-05-05 | Inferpoint Systems Limited | Touch screen flat panel display |
US20140184539A1 (en) * | 2012-12-19 | 2014-07-03 | Lg Display Co., Ltd. | Display device with integrated touch screen and method for driving the same |
CN103970337A (en) * | 2013-10-21 | 2014-08-06 | 上海中航光电子有限公司 | Touch scanning method of touch screen and touch scanning control circuit and display device of touch screen |
CN105278729A (en) * | 2014-06-30 | 2016-01-27 | 乐金显示有限公司 | Display device with integrated touch screen |
CN105677074A (en) * | 2014-12-04 | 2016-06-15 | 苹果公司 | Coarse scan and targeted active mode scan for touch |
CN106526332A (en) * | 2016-10-25 | 2017-03-22 | 华南师范大学 | System and method for detecting capacitor of scanning line of capacitive touch screen |
CN107402625A (en) * | 2017-07-28 | 2017-11-28 | 广东欧珀移动通信有限公司 | Touch screen scanning method, device, terminal and computer-readable recording medium |
CN108664163A (en) * | 2018-04-26 | 2018-10-16 | 北京集创北方科技股份有限公司 | Control method and touch display system |
CN108920072A (en) * | 2018-06-21 | 2018-11-30 | Oppo广东移动通信有限公司 | Electronic device touchscreen control method, device, electronic equipment and storage medium |
CN109637414A (en) * | 2018-12-28 | 2019-04-16 | 厦门天马微电子有限公司 | A kind of display panel, drive circuit and its driving method, display device |
-
2019
- 2019-05-29 CN CN201910458198.0A patent/CN110209301A/en active Pending
Patent Citations (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2002131720A (en) * | 2000-10-20 | 2002-05-09 | Rohm Co Ltd | Liquid crystal display device and driving method therefor |
US20110102360A1 (en) * | 2008-07-21 | 2011-05-05 | Inferpoint Systems Limited | Touch screen flat panel display |
US20140184539A1 (en) * | 2012-12-19 | 2014-07-03 | Lg Display Co., Ltd. | Display device with integrated touch screen and method for driving the same |
CN103970337A (en) * | 2013-10-21 | 2014-08-06 | 上海中航光电子有限公司 | Touch scanning method of touch screen and touch scanning control circuit and display device of touch screen |
CN105278729A (en) * | 2014-06-30 | 2016-01-27 | 乐金显示有限公司 | Display device with integrated touch screen |
CN105677074A (en) * | 2014-12-04 | 2016-06-15 | 苹果公司 | Coarse scan and targeted active mode scan for touch |
CN106526332A (en) * | 2016-10-25 | 2017-03-22 | 华南师范大学 | System and method for detecting capacitor of scanning line of capacitive touch screen |
CN107402625A (en) * | 2017-07-28 | 2017-11-28 | 广东欧珀移动通信有限公司 | Touch screen scanning method, device, terminal and computer-readable recording medium |
CN108664163A (en) * | 2018-04-26 | 2018-10-16 | 北京集创北方科技股份有限公司 | Control method and touch display system |
CN108920072A (en) * | 2018-06-21 | 2018-11-30 | Oppo广东移动通信有限公司 | Electronic device touchscreen control method, device, electronic equipment and storage medium |
CN109637414A (en) * | 2018-12-28 | 2019-04-16 | 厦门天马微电子有限公司 | A kind of display panel, drive circuit and its driving method, display device |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113721785A (en) * | 2021-07-07 | 2021-11-30 | 荣耀终端有限公司 | Method for adjusting sampling rate of touch screen and electronic equipment |
CN113721785B (en) * | 2021-07-07 | 2022-08-12 | 荣耀终端有限公司 | Method for adjusting sampling rate of touch screen and electronic equipment |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106101848B (en) | A kind of barrage display methods and electronic equipment | |
CN105446673B (en) | The method and terminal device of screen display | |
CN108829327A (en) | Writing method and device of interactive intelligent equipment | |
CN106227520A (en) | A kind of application interface changing method and device | |
CN106325663B (en) | Mobile terminal and its screenshotss method | |
CN105955525B (en) | Touch track tracking, device and display equipment | |
CN101523331A (en) | Portable terminal and method for controlling the same | |
CN106649639A (en) | Page display method and device | |
CN108307068A (en) | Pair screen shows interface switching method, mobile terminal and storage medium | |
CN106125984A (en) | The touch-control processing method of a kind of mobile terminal and mobile terminal | |
CN107783833A (en) | A kind of management method and device of terminal background application | |
CN105892877A (en) | Multi-finger closing/opening gesture recognition method and device as well as terminal equipment | |
CN108196722A (en) | A kind of electronic equipment and its touch control method, computer readable storage medium | |
CN106462310B (en) | The method of the touch point of touch chip and touch chip detection touch screen | |
CN107317853A (en) | Method, device and system for displaying dynamic effect of message popup window | |
CN106951550A (en) | Data processing method, device and mobile terminal | |
CN107765853A (en) | Using method for closing, device, storage medium and electronic equipment | |
CN109542304A (en) | Show loading method, device, equipment and the storage medium of content | |
CN104572123B (en) | A kind of scenario generation method and device | |
CN110938969A (en) | Intelligent clothes washing method, device and equipment and washing machine | |
CN107391021A (en) | Recognition methods, device, storage medium and the mobile terminal of blank screen gesture | |
CN108733193A (en) | Method, apparatus, storage medium and the intelligent terminal of adjustment frame per second | |
CN110096329A (en) | A kind of display contents controlling method, electronic device and computer readable storage medium | |
CN107402804A (en) | Background process management-control method, device, storage medium and electronic equipment | |
CN103294175A (en) | Electronic device and method for electronic device to automatically switch input modes |
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 | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20190906 |