CN109144224A - The power consumption optimization method and device of touch screen - Google Patents
The power consumption optimization method and device of touch screen Download PDFInfo
- Publication number
- CN109144224A CN109144224A CN201811124397.XA CN201811124397A CN109144224A CN 109144224 A CN109144224 A CN 109144224A CN 201811124397 A CN201811124397 A CN 201811124397A CN 109144224 A CN109144224 A CN 109144224A
- Authority
- CN
- China
- Prior art keywords
- touch screen
- data
- scanning
- close
- 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.)
- Granted
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F1/00—Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
- G06F1/26—Power supply means, e.g. regulation thereof
- G06F1/32—Means for saving power
- G06F1/3203—Power management, i.e. event-based initiation of a power-saving mode
- G06F1/3234—Power saving characterised by the action undertaken
- G06F1/325—Power saving in peripheral device
-
- 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
Abstract
The application proposes the power consumption optimization method and device of a kind of touch screen, wherein if method includes: that touch screen is in preset low-power consumption operative scenario, is determined according to the current application of terminal device from the scanning duration for holding data;It determines from the sweep time section for holding data according to close to reading data moment and scanning duration and stops sweep time section;The appearance data certainly of collection touch in sweep time section stop the appearance data certainly of touch screen scanning stopping sweep time section to optimize the power consumption of touch screen.Thus, on the one hand hold the scanning duration of data certainly according to the acquisition of terminal device current application adaptation, improve the service quality close to identification, on the other hand, sweep time section is determined according to data read cycle is held certainly, solve in the prior art continue poll scanning from hold data, and read cycle relative to the scan period it is longer cause part from hold data cannot be read into the technical issues of, save the power consumption of terminal device.
Description
Technical field
This application involves technical field of terminal device control more particularly to the power consumption optimization methods and dress of a kind of touch screen
It sets.
Background technique
With the progress of terminal device manufacturing technology, knowing close to event based on proximity sensor is may be implemented in terminal device
Other function, for example, in order to avoid the false triggering to touch screen, based on proximity sensor identification external object apart from touch screen away from
From, when being closer, then carry out accidentally synapsis reason etc..
In the related technology, it is obtained according to the read cycle full speed poll close to data close to data, for example controls infrared connect
Nearly sensor poll work obtains infrared proximity data, however, being read close to data acquisition cycle much smaller than system close to data
Period thus lead to multiple can not be read close to data and lead to the waste to the power consumption of terminal device.
Apply for content
The application is intended to solve at least some of the technical problems in related technologies.
The application first aspect embodiment proposes a kind of power consumption optimization method of touch screen, comprising the following steps: at end
When opening close to identification function of end equipment, determines whether the touch screen is in preset low-power consumption operative scenario;If described
Touch screen is in preset low-power consumption operative scenario, then is determined according to the current application of the terminal device from the scanning for holding data
Duration, wherein the scanning duration is less than close to the corresponding duration of data read cycle;According to close to reading data moment and institute
Scanning duration is stated to determine the sweep time section from appearance data and stop sweep time section;The acquisition in the sweep time section
The touch screen holds data certainly, in the stopping sweep time section stopping scanning touch screen from data are held to optimize
State the power consumption of touch screen.
The application second aspect embodiment proposes a kind of optimised power consumption device of touch screen, comprising: the first determining module,
For when opening close to identification function, determining whether the touch screen is in preset low-power consumption yard in terminal device
Scape;Second determining module is used for when the touch screen is in preset low-power consumption operative scenario, according to the terminal device
Current application is determined from the scanning duration for holding data, wherein when the scanning duration is less than corresponding close to data read cycle
It is long;Third determining module, for described from the scanning for holding data according to being determined close to reading data moment and the scanning duration
Period and stopping sweep time section;Scan control module, in sweep time section the acquisition touch screen from
Hold data, in the stopping sweep time section stopping scanning touch screen from data are held to optimize the function of the touch screen
Consumption.
The application third aspect embodiment proposes a kind of terminal device, including memory, processor and is stored in storage
On device and the computer program that can run on a processor, when the processor executes the computer program, realize as aforementioned
The power consumption optimization method of touch screen described in first aspect embodiment.
The application fourth aspect embodiment proposes a kind of computer readable storage medium, is stored thereon with computer journey
Sequence realizes the optimised power consumption of the touch screen as described in aforementioned first aspect embodiment when the computer program is executed by processor
Method.
Technical solution provided by the present application, include at least it is following the utility model has the advantages that
When opening close to identification function, determine whether touch screen is in preset low-power consumption yard in terminal device
Scape determines sweeping from appearance data according to the current application of terminal device if touch screen is in preset low-power consumption operative scenario
Retouch duration, wherein scanning duration is less than close to the corresponding duration of data read cycle, according to close to reading data moment and scanning
Duration determines from the sweep time section for holding data and stops sweep time section, finally, the collection touch in sweep time section
From data are held, in stopping sweep time section stopping touch screen scanning from data are held to optimize the power consumption of touch screen.A side as a result,
Face, from the scanning duration for holding data, improves the service quality close to identification, separately according to the adaptation acquisition of terminal device current application
On the one hand, it, to determine sweep time section, solves according to from appearance data read cycle and continues poll scanning in the prior art from appearance
Data, and read cycle is saved relative to scan period longer the technical issues of causing part that cannot be read into from appearance data
The power consumption of terminal device.
The additional aspect of the application and advantage will be set forth in part in the description, and will partially become from the following description
It obtains obviously, or recognized by the practice of the application.
Detailed description of the invention
The application is above-mentioned and/or additional aspect and advantage will become from the following description of the accompanying drawings of embodiments
Obviously and it is readily appreciated that, in which:
Fig. 1 is the flow chart according to the power consumption optimization method of the touch screen of the application one embodiment;
Fig. 2-1 is the application scenarios schematic diagram according to the power consumption optimization method of the touch screen of the application one embodiment;
Fig. 2-2 is the application scenarios schematic diagram according to the power consumption optimization method of the touch screen of the application another embodiment;
Fig. 3 is the floor map of the terminal device of the application certain embodiments;
Fig. 4 is a schematic cross-section of the terminal device of the application certain embodiments;
Fig. 5 is another schematic cross-section of the terminal device of the application certain embodiments;
Fig. 6 is the structural schematic diagram according to the optimised power consumption device of the touch screen of the application one embodiment;And
Fig. 7 is the structural schematic diagram according to the optimised power consumption device of the touch screen of the application another embodiment.
Specific embodiment
Embodiments herein is described below in detail, examples of the embodiments are shown in the accompanying drawings, wherein from beginning to end
Same or similar label indicates same or similar element or element with the same or similar functions.Below with reference to attached
The embodiment of figure description is exemplary, it is intended to for explaining the application, and should not be understood as the limitation to the application.
It is previously mentioned for above-mentioned background technique, terminal device is much larger than the scan period close to data read cycle, leads
Can not being all effectively read close to data for poll scanning is caused, leads to the wasting of resources, to be unfavorable for terminal device power consumption
Reduced processing.
In order to solve the above-mentioned technical problem, present applicant proposes a kind of power consumption optimization methods of touch screen, in the method,
Propose it is a kind of virtual proximity sensor is registered as based on touch screen, by read touch screen capacitance data it is close to realize
The detection mode of event can be registered as touch screen element close to event detection member in hardware abstraction layer in actual operation
Part, the registration process are registered touch screen element as virtual proximity sensor, are eliminated and are sensed to physical access
The register flow path of device takes full advantage of original hardware resource, and avoids the aperture to terminal device, has adapted to comprehensive screen
The developing direction of terminal device, also, determine that scanning close to the time of data, avoids the wave of scan data according to read cycle
Take, save the power consumption of terminal device, improves the cruising ability of terminal device.
Wherein, the touch screen in the embodiment of the present application be from mutually one capacitance plate, can detecte on touch screen from
Hold data and mutual tolerance data, the judgement close to event is accurately carried out based on the combination from appearance data and mutual tolerance data.Wherein, it examines
Consider higher from the detection sensitivity for holding data, is based primarily upon and carries out judgement close to event from holding data, also, according to terminal
The acquisition of equipment current application adaptation is from the detection duration for holding data, real while ensure that the accuracy that detecting event determines
Rational utilization and the distribution of resource are showed.
Below with reference to the accompanying drawings the power consumption optimization method and device of the touch screen of the embodiment of the present application are described.
Fig. 1 is according to the flow chart of the power consumption optimization method of the touch screen of the application one embodiment, as shown in Figure 1, should
Method includes:
Step 101, when opening close to identification function, determine whether touch screen is in preset low-power consumption in terminal device
Operative scenario.
It should be noted that preset low-power consumption operative scenario includes that no user finger touches or touch the touches such as appearance pen
Proximity test scene.
Specifically, can according to touch screen it is current close to data, it is determined whether there is finger to touch touch screen etc., if not having
There is finger touch, it is determined that current scene is preset low-power consumption scene.
In one embodiment of the application, since there is corresponding relationship close to data and close to distance, thus, according to touching
Touch screen close to data, determine to touch screen close to distance, determine it close to whether distance is greater than preset threshold by determining
Whether preset low-power consumption operative scenario is in, when being greater than preset threshold close to distance, it is determined that it is in preset low function
Consume scene.
Step 102, it if touch screen is in preset low-power consumption operative scenario, is determined according to the current application of terminal device
From the scanning duration for holding data, wherein scanning duration is less than close to the corresponding duration of data read cycle.
Specifically, if touch screen is in preset low-power consumption operative scenario, show to reduce the scan frequency close to data
Have no effect on close to service, for example, when preset low-power consumption scene be detect the presence of barrier it is close when, reduce close to data
Scan frequency, have no effect on disturbance in judgement object close to event.
In order to reduce the terminal device power consumption under low-power consumption operative scenario, preset low-power consumption work is in touch screen
When scene, determined according to the current application of terminal device from the scanning duration for holding data, wherein scanning duration is less than close to data
The corresponding duration of read cycle, relative to entirely close in data read cycle persistently scanning from holding close to data, it is clear that function
Consumption is reduced.In addition, it is to be understood that currently running application is different on terminal device in practical implementation,
Then it is different to the requirement close to event detection sensitivity, for example, (for example once being detected based on the game class application close to induction
Change to close to i.e. progress light color to build fantasy coloured effect) highest, base may be required to the detection sensitivity close to event
There is the higher application for accidentally touching risk in phone etc., may be more demanding to the detection sensitivity close to event, based on wechat etc.
The accidentally touching lower application of risk, may be more low to the detection sensitivity requirement close to event, thus, in embodiments herein
In, it is required to meet different application to the difference close to event detection sensitivity, constructs and wrap previously according to lot of experimental data
Having contained can obtain and answer with the current of terminal device according to preset database using with the corresponding relationship for embodying scanning duration
With corresponding scanning duration.
It should be noted that being determined according to the current application of terminal device from appearance data according to the difference of application scenarios
The mode for scanning duration is different, and example is as follows:
Example one:
It scans duration and corresponds to one frame of scanning from the duration for holding data, for example, a length of 16ms when the scanning of default, close to number
It is 66ms according to read cycle, then the scanning duration corresponds to the duration after extending to 16ms, and the duration after the extension is less than 66ms.
Specifically, pre-establishing the application identities comprising terminal device and scanning from pair for holding duration required for data
The database that should be related to inquires preset database according to the application identities of the current application of terminal device, obtains and currently answers
With one frame of corresponding scanning from duration required for data is held, for example, the current application A's of terminal device answers as shown in Fig. 2-1
Preset database is inquired with mark, it is a length of when obtaining one frame of scanning corresponding with current application from required for appearance data
20ms then will be extended for 20ms by 16ms from the sweep time for holding data.
Example two:
Duration is scanned corresponding to scanning from duration required for the frame number for holding data, for example, one frame of scanning of default holds certainly
The when a length of 16ms of data is 66ms close to data read cycle, then scanning duration, to correspond to scanning multiframe corresponding from data are held
Duration, the duration be obviously the integral multiple of 16ms and be less than 66ms.
Specifically, pre-establishing the application identities comprising terminal device and scanning from scanning frame number required for appearance data
The database of corresponding relationship inquires preset database according to the application identities of the current application of terminal device, obtains and current
Using duration required for corresponding scanning frame number, for example, as shown in Fig. 2-2, the application identities of the current application A of terminal device
Preset database is inquired, obtaining scanning frame number corresponding with current application is 1 frame, then a length of 16ms when corresponding scanning, then
Data will be held certainly from 16ms a length of when the sweep time for holding data being limited to 1 frame of scanning.
Certainly, in one embodiment of the application, however, it is determined that touch screen is in preset close to identification activation yard
Scape, for example, touch the scene of touch screen in finger, then according to default scan period continuous collecting touch screen close to data,
Including at this point, ensure that the precision close to data acquisition, improving the essence that touch coordinate determines from data and mutual tolerance data are held
Accuracy.
Step 103, it determines from the sweep time section for holding data and stops according to close to reading data moment and scanning duration
Sweep time section.
Step 104, sweep time section in collection touch from hold data, stop sweep time section stop scanning touching
Touch the power consumption for optimizing touch screen from appearance data of screen.
Specifically, determine that the sweep time section for holding data certainly and stopping are swept according to close to reading data moment and scanning duration
The period is retouched, with the appearance data certainly of the collection touch in sweep time section, stops touch screen scanning stopping sweep time section
From data are held, to reduce the power consumption of scan time optimization touch screen, for example, as shown in Fig. 2-1 and 2-2, sweep time section
It is reduced, it can be clearly seen that stop scanning under low-power consumption operative scenario, substantially reduce scanning duration, terminal is set
Standby power consumption is optimized.
It is emphasized that possible its, which can not achieve, to be stopped sweeping completely for the Operational Mechanisms of some terminal devices
It retouches, for this terminal device, it can be understood as the state with lower frequency scanning close to data is to stop the state of scanning.
In order to enable those skilled in the art is more apparent from the structure of the terminal device of the embodiment of the present application, under
Face combines the structure of terminal device of the specific example to the application in some possible examples to be illustrated, and is described as follows:
Fig. 3-Fig. 5 is please referred to, the application embodiment provides a kind of terminal device 100.Terminal device 100 includes touching
Shield 103 (target hardware elements), proximity sensor element 16, optical inductor 5 and processor 23, touch screen 103 includes display layer
13, display layer 13 includes viewing area 1311, and proximity sensor element 16 is arranged below viewing area 1311, reduces end as a result,
The aperture of end equipment, proximity sensor element 16 are used to emit infrared light and receive the infrared light being reflected by the object with detection object
To the distance of terminal device 100.
The embodiment of the present application is that mobile phone is applied as an example with terminal device 100.Mobile phone is by being positioned proximate to sense
For device element 16 to determine the distance between mobile phone and barrier and make corresponding adjustment, erroneous operation by the user can be prevented and has
Conducive to the electricity for saving mobile phone.When user answer or make a phone call and by mobile phone close to head when, proximity sensor element
16 by calculating the time generation detection information that transmitter issues infrared light and receiver receives reflected infrared light, processing
Device 23 closes display layer 13 according to the detection information.When mobile phone is far from head, processor 23 is again according to proximity sensor member
The detection information that part 16 is fed back reopens display layer 13.
In some embodiments, display layer 13 includes OLED display layer.
Specifically, OLED display layer has good translucency, can preferably penetrate visible light and infrared light.Therefore,
OLED display layer can nor affect on the transmitting of proximity sensor element 16 and receive infrared in the case where showing content effect
Light.Display layer 13 can also use Micro LED display layer, and Micro LED display layer equally has to visible light and infrared light
Good light transmittance.Certainly, these display layers are only used as illustrative and embodiments herein is not limited to this.In addition, aobvious
Show that layer 13 is settable on the housing 20.In this example, the detection close to event is not carried out with infrared proximity transducer, originally shown
In example, it is only used to a kind of structure that application is suitable for the terminal device of the embodiment of the present application
Referring to Fig. 5, in some embodiments, touch display screen 103 further includes euphotic cover plate 11 and touch control layer 12.Thoroughly
Light cover board 11 is arranged in touch control layer 12, and touch control layer 12 is arranged on display layer 13, and the upper surface 131 of display layer 13 is towards touch-control
Layer 12, euphotic cover plate 11 and touch control layer 12 are all larger than 90% to visible light transmittance rate and infrared light transmittance.
Specifically, touch control layer 12 is mainly used for receiving user input signal and being transmitted to circuit board carrying out data processing, from
And obtain the specific location that user touches touch control layer 12.It should be pointed out that the setting of touch control layer 12 can refer on display layer 13
Be that touch control layer 12 is contacted with display layer 13, for example, In-Cell On-Cell coating technique can be used, by touch control layer 12
It is bonded with display layer 13, can effectively mitigate the weight of display layer 13 and reduces the integral thickness of display layer 13.Touch-control
12 setting of layer also also refers to touch control layer 12 on display layer 13 and is arranged above display layer 13, and is spaced with display layer 13.
In addition, being arranged euphotic cover plate 11 in touch control layer 12, it can be effectively protected touch control layer 12 and its internal structure,
Avoid damage of the external forces to touch control layer 12 and display layer 13.Euphotic cover plate 11 and touch control layer 12 are to visible light and infrared
The light transmittance of light is all larger than 90%, not only contributes to display layer 13 and preferably shows content effect, and also helps setting and exist
Proximity sensor element 16 under display layer 13 steadily emits and receives infrared light, ensure that proximity sensor element 16 just
Often work.
In embodiments herein, touch control layer 12 is made of capacitor board, thus, can be in the implementation of the application
Touch screen 103 is registered as into virtual-sensor element, when screen is in bright screen state, the capacitor that is detected by touch control layer 12
Faint variable quantity determine close to event, wherein the electrod-array that includes in capacitor board may be implemented from the inspection for holding data
It surveys, the detection of mutual tolerance data also may be implemented.
To sum up, the power consumption optimization method of the touch screen of the embodiment of the present application, in being opened close to identification function for terminal device
When, determine whether touch screen is in preset low-power consumption operative scenario, if touch screen is in preset low-power consumption operative scenario,
It is determined according to the current application of terminal device from the scanning duration for holding data, wherein scanning duration was less than close to reading data week
Phase corresponding duration determines from the sweep time section for holding data according to close to reading data moment and scanning duration and stops scanning
Period, finally, sweep time section in collection touch from hold data, stop sweep time section stop touch screen scanning
From data are held to optimize the power consumption of touch screen.Data are on the one hand held according to the adaptation acquisition of terminal device current application certainly as a result,
Scanning duration, improve close to identification service quality, on the other hand, according to from hold data read cycle come when determining scanning
Between section, solve and continue poll scanning in the prior art from holding data, and read cycle longer leads to portion relative to the scan period
Divide from the technical issues of data cannot be read into is held, saves the power consumption of terminal device.
In order to realize above-described embodiment, the application also proposes that a kind of optimised power consumption device of touch screen, Fig. 6 are according to this Shen
Please one embodiment touch screen optimised power consumption device structural schematic diagram, as shown in fig. 6, the optimised power consumption of the touch screen fills
It sets including the first determining module 1000, the second determining module 2000, third determining module 3000 and scan control module 4000.
Wherein, the first determining module 1000, for when opening close to identification function, determining that touch screen is in terminal device
It is no to be in preset low-power consumption operative scenario.
Second determining module 2000 is used for when touch screen is in preset low-power consumption operative scenario, according to terminal device
Current application determine from the scanning duration for holding data, wherein scanning duration is less than close to the corresponding duration of data read cycle.
Third determining module 3000, for determining according to close to reading data moment and scanning duration from the scanning for holding data
Period and stopping sweep time section.
Scan control module 4000, for the appearance data certainly of the collection touch in sweep time section, when stopping scanning
Between section stop touch screen scanning from data are held to optimize the power consumption of touch screen.
In one embodiment of the application, as shown in fig. 7, third determining module 3000 includes the first determination unit
3100, the second determination unit 3200 and third determination unit 3300.
Wherein, the first determination unit 3100, for by distance close to the reading data moment when it is a length of scanning duration when
It is determined as at quarter scanning start time.
Second determination unit 3200, when for scanning moment to the period close to the reading data moment to be determined as scanning
Between section.
Third determination unit 3300 stops sweep time section for the Non-scanning mode period to be determined as.
It should be noted that the explanation of the aforementioned power consumption optimization method embodiment to touch screen, is also applied for this Shen
Please embodiment touch screen optimised power consumption device, realization principle is similar, and details are not described herein.
To sum up, the optimised power consumption device of the touch screen of the embodiment of the present application, in being opened close to identification function for terminal device
When, determine whether touch screen is in preset low-power consumption operative scenario, if touch screen is in preset low-power consumption operative scenario,
It is determined according to the current application of terminal device from the scanning duration for holding data, wherein scanning duration was less than close to reading data week
Phase corresponding duration determines from the sweep time section for holding data according to close to reading data moment and scanning duration and stops scanning
Period, finally, sweep time section in collection touch from hold data, stop sweep time section stop touch screen scanning
From data are held to optimize the power consumption of touch screen.Data are on the one hand held according to the adaptation acquisition of terminal device current application certainly as a result,
Scanning duration, improve close to identification service quality, on the other hand, according to from hold data read cycle come when determining scanning
Between section, solve and continue poll scanning in the prior art from holding data, and read cycle longer leads to portion relative to the scan period
Divide from the technical issues of data cannot be read into is held, saves the power consumption of terminal device.
In order to realize above-described embodiment, the application also proposes a kind of terminal device, comprising: memory, processor and storage
On a memory and the computer program that can run on a processor, it when processor executes the computer program, realizes as before
State the power consumption optimization method of the touch screen of embodiment description.
In order to realize above-described embodiment, the application also proposes a kind of computer readable storage medium, is stored thereon with calculating
Machine program realizes the power consumption optimization method of the touch screen proposed such as the application previous embodiment when the program is executed by processor.
In the description of this specification, reference term " one embodiment ", " some embodiments ", " example ", " specifically show
The description of example " or " some examples " etc. means specific features, structure, material or spy described in conjunction with this embodiment or example
Point is contained at least one embodiment or example of the application.In this specification, schematic expression of the above terms are not
It must be directed to identical embodiment or example.Moreover, particular features, structures, materials, or characteristics described can be in office
It can be combined in any suitable manner in one or more embodiment or examples.In addition, without conflicting with each other, the skill of this field
Art personnel can tie the feature of different embodiments or examples described in this specification and different embodiments or examples
It closes and combines.
In addition, term " first ", " second " are used for descriptive purposes only and cannot be understood as indicating or suggesting relative importance
Or implicitly indicate the quantity of indicated technical characteristic.Define " first " as a result, the feature of " second " can be expressed or
Implicitly include at least one this feature.In the description of the present application, the meaning of " plurality " is at least two, such as two, three
It is a etc., unless otherwise specifically defined.
Any process described otherwise above or method description are construed as in flow chart or herein, and expression includes
It is one or more for realizing custom logic function or process the step of executable instruction code module, segment or portion
Point, and the range of the preferred embodiment of the application includes other realization, wherein can not press shown or discussed suitable
Sequence, including according to related function by it is basic simultaneously in the way of or in the opposite order, to execute function, this should be by the application
Embodiment person of ordinary skill in the field understood.
Expression or logic and/or step described otherwise above herein in flow charts, for example, being considered use
In the order list for the executable instruction for realizing logic function, may be embodied in any computer-readable medium, for
Instruction execution system, device or equipment (such as computer based system, including the system of processor or other can be held from instruction
The instruction fetch of row system, device or equipment and the system executed instruction) it uses, or combine these instruction execution systems, device or set
It is standby and use.For this specification, " computer-readable medium ", which can be, any may include, stores, communicates, propagates or pass
Defeated program is for instruction execution system, device or equipment or the dress used in conjunction with these instruction execution systems, device or equipment
It sets.The more specific example (non-exhaustive list) of computer-readable medium include the following: there is the electricity of one or more wirings
Interconnecting piece (electronic device), portable computer diskette box (magnetic device), random access memory (RAM), read-only memory
(ROM), erasable edit read-only storage (EPROM or flash memory), fiber device and portable optic disk is read-only deposits
Reservoir (CDROM).In addition, computer-readable medium can even is that the paper that can print described program on it or other are suitable
Medium, because can then be edited, be interpreted or when necessary with it for example by carrying out optical scanner to paper or other media
His suitable method is handled electronically to obtain described program, is then stored in computer storage.
It should be appreciated that each section of the application can be realized with hardware, software, firmware or their combination.Above-mentioned
In embodiment, software that multiple steps or method can be executed in memory and by suitable instruction execution system with storage
Or firmware is realized.Such as, if realized with hardware in another embodiment, following skill well known in the art can be used
Any one of art or their combination are realized: have for data-signal is realized the logic gates of logic function from
Logic circuit is dissipated, the specific integrated circuit with suitable combinational logic gate circuit, programmable gate array (PGA), scene can compile
Journey gate array (FPGA) etc..
Those skilled in the art are understood that realize all or part of step that above-described embodiment method carries
It suddenly is that relevant hardware can be instructed to complete by program, the program can store in a kind of computer-readable storage medium
In matter, which when being executed, includes the steps that one or a combination set of embodiment of the method.
It, can also be in addition, can integrate in a processing module in each functional unit in each embodiment of the application
It is that each unit physically exists alone, can also be integrated in two or more units in a module.Above-mentioned integrated mould
Block both can take the form of hardware realization, can also be realized in the form of software function module.The integrated module is such as
Fruit is realized and when sold or used as an independent product in the form of software function module, also can store in a computer
In read/write memory medium.
Storage medium mentioned above can be read-only memory, disk or CD etc..Although having been shown and retouching above
Embodiments herein is stated, it is to be understood that above-described embodiment is exemplary, and should not be understood as the limit to the application
System, those skilled in the art can be changed above-described embodiment, modify, replace and become within the scope of application
Type.
Claims (10)
1. a kind of power consumption optimization method of touch screen, which comprises the following steps:
When opening close to identification function, determine whether the touch screen is in preset low-power consumption yard in terminal device
Scape;
If the touch screen is in preset low-power consumption operative scenario, determined according to the current application of the terminal device from appearance
The scanning duration of data, wherein the scanning duration is less than close to the corresponding duration of data read cycle;
According to the sweep time section for determining the data of appearance certainly close to reading data moment and the scanning duration and stop scanning
Period;
The appearance data certainly of the acquisition touch screen in the sweep time section stop scanning institute in the stopping sweep time section
State the power consumption for optimizing the touch screen from appearance data of touch screen.
2. the method as described in claim 1, which is characterized in that the basis is close to reading data moment and the scanning duration
It determines the sweep time section from appearance data and stops sweep time section, comprising:
By apart from it is described close to the reading data moment when a length of scanning duration at the time of be determined as scan start time;
Scanning moment to the period close to the reading data moment is determined as the sweep time section;
The non-sweep time section is determined as the stopping sweep time section.
3. the method as described in claim 1, which is characterized in that described to be determined according to the current application of the terminal device from appearance
The scanning duration of data, comprising:
Preset database is inquired according to the application identities of the current application of the terminal device, is obtained and the current application pair
One frame of scanning answered holds duration required for data certainly.
4. the method as described in claim 1, which is characterized in that described to be determined according to the current application of the terminal device from appearance
The scanning duration of data, comprising:
Preset database is inquired according to the application identities of the current application of the terminal device, is obtained and the current application pair
The scanning frame number answered.
5. the method as described in claim 1, which is characterized in that whether determine the touch screen is in preset low-power consumption work
Operation mode, comprising:
According to the touch screen close to data, determine to the touch screen close to distance;
It determines described close to apart from whether greater than preset threshold.
6. the method as described in claim 1, which is characterized in that whether be in preset low function in the determination touch screen
It consumes after operative scenario, further includes:
If the terminal device is in preset close to identification activation operative scenario, according to default scan period continuous collecting institute
State touch screen close to data.
7. a kind of optimised power consumption device of touch screen characterized by comprising
First determining module, for when opening close to identification function, determining whether the touch screen is in pre- in terminal device
If low-power consumption operative scenario;
Second determining module is used for when the touch screen is in preset low-power consumption operative scenario, according to the terminal device
Current application determine from hold data scanning duration, wherein the scanning duration less than close to data read cycle it is corresponding
Duration;
Third determining module, for described from the scanning for holding data according to being determined close to reading data moment and the scanning duration
Period and stopping sweep time section;
Scan control module is swept for the appearance data certainly of the acquisition touch screen in the sweep time section in the stopping
Retouch the power consumption for optimizing the touch screen from appearance data that period stopping scans the touch screen.
8. device as claimed in claim 7, which is characterized in that the third determining module, comprising:
First determination unit, for by apart from it is described close to the reading data moment when a length of scanning duration at the time of determine
To scan start time;
Second determination unit, for scanning moment to the period close to the reading data moment to be determined as described sweep
Retouch the period;
Third determination unit, for the non-sweep time section to be determined as the stopping sweep time section.
9. a kind of terminal device characterized by comprising memory, processor and storage are on a memory and can be in processor
The computer program of upper operation when the processor executes the computer program, is realized as described in any in claim 1-6
Touch screen power consumption optimization method.
10. a kind of computer readable storage medium, is stored thereon with computer program, which is characterized in that the computer program
The power consumption optimization method such as touch screen as claimed in any one of claims 1 to 6 is realized when being executed by processor.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811124397.XA CN109144224B (en) | 2018-09-26 | 2018-09-26 | Power consumption optimization method and device for touch screen |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811124397.XA CN109144224B (en) | 2018-09-26 | 2018-09-26 | Power consumption optimization method and device for touch screen |
Publications (2)
Publication Number | Publication Date |
---|---|
CN109144224A true CN109144224A (en) | 2019-01-04 |
CN109144224B CN109144224B (en) | 2020-08-07 |
Family
ID=64812542
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201811124397.XA Active CN109144224B (en) | 2018-09-26 | 2018-09-26 | Power consumption optimization method and device for touch screen |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109144224B (en) |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109739389A (en) * | 2019-01-22 | 2019-05-10 | 珠海格力电器股份有限公司 | A kind of method, system and the intelligent terminal of dynamic adjustment touch screen response region |
CN111124173A (en) * | 2019-11-22 | 2020-05-08 | Oppo(重庆)智能科技有限公司 | Working state switching method and device of touch screen, mobile terminal and storage medium |
CN111596753A (en) * | 2020-04-16 | 2020-08-28 | 芯海科技(深圳)股份有限公司 | Power consumption control method and device, electronic equipment and computer readable storage medium |
CN111665929A (en) * | 2020-05-29 | 2020-09-15 | 西安芯海微电子科技有限公司 | Touch response method, device, terminal and storage medium |
CN112684937A (en) * | 2020-12-31 | 2021-04-20 | 青岛海信商用显示股份有限公司 | Display device, touch screen point reporting method, device and medium |
Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US4991091A (en) * | 1988-08-23 | 1991-02-05 | Gregory Allen | Self-contained examination guide and information storage and retrieval apparatus |
CN2824143Y (en) * | 2005-09-23 | 2006-10-04 | 成都吉锐触摸电脑有限公司 | Infrared touch screen with optical lens |
CN101046669A (en) * | 2006-03-29 | 2007-10-03 | 夏普株式会社 | Image processing device, control device and image processing system for the same |
EP2357808A2 (en) * | 2007-05-14 | 2011-08-17 | Christie Digital Systems USA, Inc. | Configurable imaging system |
CN102968229A (en) * | 2012-11-07 | 2013-03-13 | 江苏美琪威电子科技有限公司 | Charging current compensation method and system of capacitance-type touch screen |
US20160357292A1 (en) * | 2015-06-02 | 2016-12-08 | Japan Display Inc. | Display system with touch detection function |
CN107102776A (en) * | 2017-05-24 | 2017-08-29 | 努比亚技术有限公司 | A kind of touch-screen control method, device, mobile terminal and storage medium |
CN107608561A (en) * | 2017-10-24 | 2018-01-19 | 北京小米移动软件有限公司 | Touch-screen control method and device |
CN107943347A (en) * | 2017-12-12 | 2018-04-20 | 北京小米移动软件有限公司 | Touch-screen control method and device |
-
2018
- 2018-09-26 CN CN201811124397.XA patent/CN109144224B/en active Active
Patent Citations (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US4991091A (en) * | 1988-08-23 | 1991-02-05 | Gregory Allen | Self-contained examination guide and information storage and retrieval apparatus |
CN2824143Y (en) * | 2005-09-23 | 2006-10-04 | 成都吉锐触摸电脑有限公司 | Infrared touch screen with optical lens |
CN101046669A (en) * | 2006-03-29 | 2007-10-03 | 夏普株式会社 | Image processing device, control device and image processing system for the same |
US8027046B2 (en) * | 2006-03-29 | 2011-09-27 | Sharp Kabushiki Kaisha | Image processing apparatus, control apparatus thereof, and image processing system that manages component power individually |
EP2357808A2 (en) * | 2007-05-14 | 2011-08-17 | Christie Digital Systems USA, Inc. | Configurable imaging system |
CN102968229A (en) * | 2012-11-07 | 2013-03-13 | 江苏美琪威电子科技有限公司 | Charging current compensation method and system of capacitance-type touch screen |
US20160357292A1 (en) * | 2015-06-02 | 2016-12-08 | Japan Display Inc. | Display system with touch detection function |
CN107102776A (en) * | 2017-05-24 | 2017-08-29 | 努比亚技术有限公司 | A kind of touch-screen control method, device, mobile terminal and storage medium |
CN107608561A (en) * | 2017-10-24 | 2018-01-19 | 北京小米移动软件有限公司 | Touch-screen control method and device |
CN107943347A (en) * | 2017-12-12 | 2018-04-20 | 北京小米移动软件有限公司 | Touch-screen control method and device |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109739389A (en) * | 2019-01-22 | 2019-05-10 | 珠海格力电器股份有限公司 | A kind of method, system and the intelligent terminal of dynamic adjustment touch screen response region |
CN111124173A (en) * | 2019-11-22 | 2020-05-08 | Oppo(重庆)智能科技有限公司 | Working state switching method and device of touch screen, mobile terminal and storage medium |
CN111596753A (en) * | 2020-04-16 | 2020-08-28 | 芯海科技(深圳)股份有限公司 | Power consumption control method and device, electronic equipment and computer readable storage medium |
CN111665929A (en) * | 2020-05-29 | 2020-09-15 | 西安芯海微电子科技有限公司 | Touch response method, device, terminal and storage medium |
CN112684937A (en) * | 2020-12-31 | 2021-04-20 | 青岛海信商用显示股份有限公司 | Display device, touch screen point reporting method, device and medium |
CN112684937B (en) * | 2020-12-31 | 2022-11-04 | 青岛海信商用显示股份有限公司 | Display device, touch screen point reporting method, device and medium |
Also Published As
Publication number | Publication date |
---|---|
CN109144224B (en) | 2020-08-07 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109144224A (en) | The power consumption optimization method and device of touch screen | |
CN107463329B (en) | Detection method, device, storage medium and the mobile terminal of blank screen gesture | |
CN108496181A (en) | It is obtained using touch screen to initiate fingerprint | |
CN108958490A (en) | Electronic device and its gesture identification method, computer readable storage medium | |
CN106406904A (en) | Information processing method, electronic equipment and information processing device | |
CN106443639A (en) | Distance calibration method and terminal | |
CN109271019B (en) | Proximity event detection element switching control method and apparatus | |
KR20120058594A (en) | Interactive input system with improved signal-to-noise ratio (snr) and image capture method | |
CN103873811A (en) | Information processing apparatus, information processing method, and information processing system | |
CN108875643A (en) | Fingerprint mould group, fingerprint identification method, device, storage medium and mobile terminal | |
US20210397801A1 (en) | Techniques for beamforming pressure waves | |
CN107463290A (en) | Response control mehtod, device, storage medium and the mobile terminal of touch operation | |
CN107862853A (en) | Infrared transmitter control method, terminal and computer-readable recording medium | |
CN108363507A (en) | Compensation method, device, electronic equipment and the storage medium of touchscreen dead region | |
CN108762466A (en) | Display methods, device, mobile terminal and storage medium | |
CN109361815A (en) | Light on and off screen control method, device and the electronic equipment of electronic equipment | |
CN110491005A (en) | Fingerprint gate lock awakening method, device, MCU, fingerprint gate lock and storage medium | |
CN109267289A (en) | The control method and its device of device for clothing processing, electronic equipment, storage medium | |
CN108322737A (en) | Image frame per second measurement method and device | |
CN109254684A (en) | Touchscreen events report method and its device, terminal device, storage medium | |
CN109194833A (en) | The screen control method and device of mobile phone communication | |
CN206948392U (en) | display device and terminal device | |
CN109254689A (en) | Proximity test method and apparatus | |
CN112255829A (en) | Display panel and display device | |
CN103425275A (en) | Sensing module and sensing method both applied to optical mouse and provided with electricity-saving function |
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 | ||
GR01 | Patent grant | ||
GR01 | Patent grant |