CN107402625A - Touch screen scanning method, device, terminal and computer-readable recording medium - Google Patents
Touch screen scanning method, device, terminal and computer-readable recording medium Download PDFInfo
- Publication number
- CN107402625A CN107402625A CN201710633593.9A CN201710633593A CN107402625A CN 107402625 A CN107402625 A CN 107402625A CN 201710633593 A CN201710633593 A CN 201710633593A CN 107402625 A CN107402625 A CN 107402625A
- Authority
- CN
- China
- Prior art keywords
- touch
- screen
- application
- default
- foreground application
- 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/324—Power saving characterised by the action undertaken by lowering clock frequency
-
- 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/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0487—Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
- G06F3/0488—Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Human Computer Interaction (AREA)
- User Interface Of Digital Computer (AREA)
Abstract
The invention discloses a kind of touch screen scanning method, device, terminal and computer-readable recording medium.This method includes:When receiving touch operation in touch-screen, judge whether foreground application is default application, and the default application includes user's data to be browsed;If the foreground application is default application, start timing;When timing result is more than preset time threshold, the scan frequency of the touch-screen is reduced.Touch screen scanning method provided in an embodiment of the present invention, it can judge whether foreground application is default application, and the default application includes user's data to be browsed when receiving touch operation in touch-screen;If the foreground application is default application, start timing;When timing result is more than preset time threshold, the scan frequency of the touch-screen is reduced, and then the scan frequency of screen is reduced when ensureing that user normally obtains information, and then reduces mobile terminal power consumption.
Description
Technical field
The present embodiments relate to touch screen technology, more particularly to a kind of touch screen scanning method, device, terminal and calculating
Machine readable storage medium storing program for executing.
Background technology
As intelligent terminal develops, the mobile terminal such as smart mobile phone, tablet personal computer is popularized.Intelligent terminal generally passes through
Touch-screen obtains the input operation of user.Having for touch-screen inputs and exported double action in correlation technique.Touch-screen according to
Certain refreshing frequency carries out refreshing the output for realizing data, and real according to the operation of certain scan frequency scanning user's input
The input of existing data.But the screen power consumption in such scheme is larger, how to reduce screen power consumption is one urgently to be resolved hurrily
The problem of.
The content of the invention
The present invention provides a kind of touch screen scanning method, device, terminal and computer-readable recording medium, can reduce screen
Curtain power consumption.
In a first aspect, the embodiments of the invention provide a kind of touch screen scanning method, including:
When receiving touch operation in touch-screen, judge whether foreground application is to preset application, the default application bag
Include user's data to be browsed;
If the foreground application is default application, start timing;
When timing result is more than preset time threshold, the scan frequency of the touch-screen is reduced.
Second aspect, the embodiment of the present invention additionally provide a kind of touch-screen scanning means, including:
It is default to apply judge module, for when receiving touch operation in touch-screen, judging whether foreground application is pre-
If using the default application includes user's data to be browsed;
Timing module, if judging that the foreground application for default application, opens for the default application judge module
Dynamic timing;
Scan frequency adjusting module, for when the timing result of the timing module is more than preset time threshold, reducing
The scan frequency of the touch-screen.
The third aspect, the embodiment of the present invention additionally provide a kind of terminal, and terminal includes:
One or more processors;
Storage device, for storing one or more programs,
When one or more programs are executed by one or more processors so that one or more processors realize such as first
Touch screen scanning method shown in aspect.
Fourth aspect, the embodiment of the present invention additionally provide a kind of computer-readable recording medium, are stored thereon with computer
Program, the touch screen scanning method as shown in first aspect is realized when the program is executed by processor.
Touch screen scanning method provided in an embodiment of the present invention, it can judge when receiving touch operation in touch-screen
Whether foreground application is default application, and the default application includes user's data to be browsed;If the foreground application is default
Using then starting timing;When timing result is more than preset time threshold, the scan frequency of the touch-screen, Jin Er are reduced
Ensure the scan frequency of reduction screen when user normally obtains information, and then reduce mobile terminal power consumption.
Brief description of the drawings
Fig. 1 is a kind of flow chart of touch screen scanning method in the embodiment of the present invention;
Fig. 2 is the flow chart of another touch screen scanning method in the embodiment of the present invention;
Fig. 3 is the flow chart of another touch screen scanning method in the embodiment of the present invention;
Fig. 4 is the flow chart of another touch screen scanning method in the embodiment of the present invention;
Fig. 5 is the flow chart of another touch screen scanning method in the embodiment of the present invention;
Fig. 6 is a kind of structural representation of screen unlocking device in the embodiment of the present invention;
Fig. 7 is a kind of structural representation of terminal in the embodiment of the present invention.
Embodiment
The present invention is described in further detail with reference to the accompanying drawings and examples.It is understood that this place is retouched
The specific embodiment stated is used only for explaining the present invention, rather than limitation of the invention.It also should be noted that in order to just
Part related to the present invention rather than entire infrastructure are illustrate only in description, accompanying drawing.
At present when user uses the mobile terminal with touch-screen to consult data, the scan frequency of touch-screen is kept not
Become, when detecting the long-term non-input operation room of user, terminal closes display screen.So there are two defects, a defect is user
May be in lasting reading, automatic screen of closing is when the obstruction normal acquisition of information of user.Another defect is, if persistently lighted
Screen, then it will continue to be scanned screen according to rated frequency, and battery electric quantity will be taken by scanning screen, be shortened terminal and be used
Duration.In order to solve the above problems, the embodiment of the present invention reduces the scan frequency of touch-screen, and then drop during screen is lighted
Low terminal power consumption.Simultaneously because power consumption reduces during bright screen, therefore the lighting time of screen can be extended, meet that user profile obtains
Take demand.
Fig. 1 is a kind of flow chart of touch screen scanning method provided in an embodiment of the present invention, and this method, which is applied to have, to be touched
In the terminal for touching screen, such as smart mobile phone, tablet personal computer, notebook computer, PC etc..This method is applied to terminal bright screen
The situation of display data, specifically includes following step:
Step 110, when receiving touch operation in touch-screen, judge whether foreground application is default application.
Wherein, presetting application includes user's data to be browsed.Data to be browsed can be multi-medium data or picture number
According to or text data.Touch operation inputs clicking operation or slide including user in touch-screen.Clicking operation includes
Single indication is hit or multiple spot is clicked on.Slide includes singly referring to slip or referring to more sliding.Foreground application can be currently to show in screen
The application shown.
Multiple applications can be predefined as default application.To predefine can specifying or that user specifies according to programmer
Applied using determining to preset.Optionally, mounted Video Applications, mounted music application, mounted e-book are answered
With being defined as predetermined application.When foreground, which is called, applies, if the application is predefined application, it is determined that foreground application is pre-
If using.
Judge whether foreground application is that default application can also be by any one or more in following several ways
Combination:
In one implementation, as shown in Fig. 2 step 110 can be implemented by following manner:
Step 101a, judge whether include multi-medium data in foreground application current interface.
Multi-medium data includes voice data or video data.Current application may not be dedicated for playing multimedia number
According to application, but if multi-medium data is called or played to current application, it is determined that include multimedia in current interface
Using.Wherein, call and refer to that multi-medium data is in buffer status.
Exemplary, when user browses data by browser, judge to whether there is video data in current page.User
When browsing information by social networking applications such as microblogging, wechats, judge to whether there is video data in current page.
If step 102a, including multi-medium data in foreground application current interface, foreground application is defined as presetting
Using.
If including one or more multi-medium datas in foreground application current interface, foreground application is defined as presetting
Using.Wherein, multi-medium data is has played or the media data of buffered play.
Step 103a, the head duration of multi-medium data or prelude duration are defined as preset time threshold.
Multi-medium data is analyzed, if multi-medium data is video data, calculates its head duration.For regarding
Frequency evidence, if carrying multiple contents extraction points in the property parameters of video data, searched from multiple contents extraction points
The extraction point that film starts.Contents extraction point can be the extraction point that multimedia supplier adds in film, each extract a little
Multiple rating strong points of corresponding film, such as the extraction and story of a play or opera turnover or the extraction of plot culmination that film formally starts
Point etc..
If multi-medium data is music data, its prelude duration is calculated.Prelude can be that song personage's sound wave occurs
Voice data before.Or fixed preset duration is defined as prelude duration.Preset duration can be the 5-20 seconds, preferably
For 10 seconds.
If step 104a, not including multi-medium data in foreground application current interface, swept according to conventional sweep mode
Retouch.
Conventional sweep mode is that the scan frequency for the either phase screen that multi-medium data plays is constant.
The application for including multi-medium data in interface can be defined as default application by the present embodiment, due to user browse it is more
Seldom carry out other operations such as inputting during media data, therefore now reduce touch-screen scan frequency not influence user behaviour
As while reduce power consumption.
In another implementation, as shown in figure 3, step 110 can be implemented by following manner:
Step 101b, historical operation frequency record corresponding to multi-medium data in foreground application is obtained.
Wherein, historical operation frequency record includes the operating frequency detected when multi-medium data plays.
When user watches video or viewing song lyrics, the seldom multi-screen of user is operated.In addition, except seeing
The operating frequency of user is relatively low when seeing multi-medium data, when watching the lteral data such as e-book, the operating frequency of user also compared with
It is low.Therefore, it can determine whether current application is default application from according to operating frequency.At this point it is possible to will be literary corresponding to e-book
Digital data is divided into multi-medium data, reason is that e-book has automatic page turning function, and now it equivalent to playing automatically
Text.
Historical operation frequency record can record when user operates to application on backstage to user's frequency.
Further, operating frequency of the user in some interface that some is applied can be recorded respectively.It is applied to by current foreground
The application interface recorded is compared, and finds the record of matching, realizes the effect for searching operating frequency corresponding to current interface.
Operating frequency can be the instruction number of user's input per minute.The instruction can be all instructions, or
Part specific instruction.Specific instruction can be character entering function.When the frequency of user inputs character operation is higher, it is necessary to carry
High touch-screen scan frequency is to timely respond to the input operation of user.
Step 102b, judge whether operating frequency corresponding to currently playing multi-medium data is less than predeterminated frequency.
Predeterminated frequency can be the numerical value that programmer or user are set.Can also be by way of machine learning, from current
The use habit of user or from the practical custom of multiple users with active user with same subscriber attribute, calculates and broadcasts
Put the predeterminated frequency of current multimedia data.Machine learning can include neutral net scheduling algorithm.
If operating frequency corresponding to step 1013b, currently playing multi-medium data is less than predeterminated frequency, by foreground
Using being defined as default application.
If operating frequency corresponding to step 1014b, currently playing multi-medium data is more than predeterminated frequency, according to normal
Advise scan mode scanning.
The present embodiment can determine default application according to the click frequency of the multi-medium data in current interface, improve default
Using the accuracy of determination.
In another implementation, as shown in figure 4, step 110 can be implemented by following manner:
Step 101c, historical operation class record corresponding to foreground application current interface, historical operation class record are obtained
Including the action type detected in current interface.
Test operation class record includes user in the current interface of current application, the operation once inputted.At present
The broadcasting of video data provides the user real-time written communication with a kind of technology for being called barrage, barrage technology so that uses
The text information of family input can be shown in oneself and the video pictures of other users.If barrage is commonly used in user,
User's input will be influenceed by then reducing screen scanning frequency.Therefore, operation of the user in each interface of current application is recorded first
The record of type, history of forming action type record.
Step 102c, judge whether action type includes comment data input operation.
After action type corresponding to current application current interface is found from historical operation class record, lookup is checked
Whether the action type arrived includes comment data input operation.Comment data can be barrage data, or, comment data also may be used
The comment information inputted with user.
If step 103c, action type does not include comment data input operation, foreground application is defined as default answer
With.
If step 104c, action type includes comment data input operation, scanned according to conventional sweep mode.
This implementation can determine whether application at that time is default application according to action type, and then improve default application and determine
Accuracy.
If step 120, foreground application are default application, start timing.
When the current application that step 110 determines for default application when, pass through timer etc. and start timing.Deposit in the buffer
Store up timing result.
Step 130, when timing result is more than preset time threshold, reduce the scan frequency of touch-screen.
When timing result updates, by timing result compared with preset time threshold.If timing result is more than pre-
If during time threshold, reduce the scan frequency of touch-screen.If timing result is less than preset time threshold, timing result is waited
Renewal, until timing result is more than preset time threshold.Or if user exits current interface or current application, delete
Timing result in caching.
The mode of the scan frequency of reduction touch-screen has a variety of.Exemplary, the scan frequency of touch-screen is reduced first
To the preset ratio of nominal scan frequency, preset ratio is less than 1;Then, according to the data in default screen intensity output screen.
Preset ratio can be set by user or programmer.Preset ratio is 10%-100%, preferably 50%.
Exemplary, targeted scans frequency is determined according to terminal current residual electricity.Dump energy is with scan frequency into just
Than.For example, dump energy to be accounted for the percentage and nominal scan frequency multiplication of total electricity, targeted scans frequency is obtained.Further
, when the percentage that dump energy accounts for total electricity is less than 20 percent, targeted scans frequency is persistently fixed on nominal scan
20 the percent of frequency.
The touch screen scanning method that the present embodiment provides, can judge foreground when receiving touch operation in touch-screen
Whether using being default application, default application includes user's data to be browsed;If foreground application is default application, start meter
When;When timing result is more than preset time threshold, the scan frequency of touch-screen is reduced, and then letter is normally obtained in guarantee user
The scan frequency of screen is reduced during breath.The embodiment of the present invention reduces the scan frequency of touch-screen, and then drop during screen is lighted
Low terminal power consumption.Simultaneously because power consumption reduces during bright screen, therefore the lighting time of screen can be extended, meet that user profile obtains
Take demand.
Fig. 5 is the flow chart of another touch screen scanning method provided in an embodiment of the present invention, as to above-described embodiment
Further explanation, including:
Step 210, when receiving touch operation in touch-screen, judge whether foreground application is default application.
If step 220, foreground application are default application, start timing.
Step 230, when timing result is more than preset time threshold, reduce the scan frequency of touch-screen.
If step 240, the touch control operation for receiving user's input, raise the scan frequency of touch-screen.
The scan frequency of rise touch-screen includes scan frequency recovering original scan frequency to before step 230, or
Person is increased to be less than the scan frequency that original scan frequency is more than after reducing, or raises to above the scanning of original scan frequency
Frequency.
The touch control operation of user's input is wherein received, can be embodied as:Receive the touch that user inputs on the touchscreen
Operation;Or receive the shake operation that user is inputted by acceleration transducer.
User can input touch control operation on the touchscreen by slide or clicking operation.User can also be by shaking
Start machine input shake operation.In one implementation, mobile phone is placed on bracket and watches film by user, when user needs
When the other application or message checked in mobile terminal, user can pick up mobile terminal, now trigger shake operation.
The present embodiment can raise scan frequency in time after scan frequency is reduced according to the touch control operation that user inputs,
Improve the ease for use of touch-screen.
Fig. 6 is a kind of structural representation of touch-screen scanning means provided in an embodiment of the present invention, and the device is used to realize
The above-mentioned method of above-described embodiment, the device are located in mobile terminal, including:
It is default to apply judge module 310, for when receiving touch operation in touch-screen, judge foreground application whether be
Default application, the default application include user's data to be browsed;
Timing module 320, if judging that the foreground application is answered to be default for the default application judge module 310
With then starting timing;
Scan frequency adjusting module 330, it is more than preset time threshold for the timing result when the timing module 320
When, reduce the scan frequency of the touch-screen.
Further, preset and be used for using judge module 310:
Judge whether include multi-medium data in the foreground application current interface;
If including multi-medium data in the foreground application current interface, the foreground application is defined as default answer
With;
The head duration of the multi-medium data or prelude duration are defined as the preset time threshold.
Further, preset and be used for using judge module 310:
Obtain historical operation frequency record corresponding to multi-medium data in the foreground application, the historical operation frequency note
Record includes the operating frequency detected when the multi-medium data plays;
Judge whether operating frequency corresponding to currently playing multi-medium data is less than predeterminated frequency;
If operating frequency corresponding to currently playing multi-medium data is less than predeterminated frequency, and the foreground application is true
It is set to default application.
Further, preset and be used for using judge module 310:
Obtain historical operation class record corresponding to the foreground application current interface, the historical operation class record bag
Include the action type detected in the current interface;
Judge whether the action type includes comment data input operation;
If the action type does not include comment data input operation, the foreground application is defined as default answer
With.
Further, scan frequency adjusting module 330 is additionally operable to:
If receiving the touch control operation of user's input, the scan frequency of the touch-screen is raised.
Further, scan frequency adjusting module 330 is additionally operable to:
Receive the touch operation that user inputs on the touchscreen;Or
Receive the shake operation that user is inputted by acceleration transducer.
Further, scan frequency adjusting module 330 is used for:
The scan frequency of the touch-screen is reduced to the preset ratio of nominal scan frequency, the preset ratio is less than 1;
According to the data in default screen intensity output screen.
The touch screen scanning method that the present embodiment provides, can judge foreground when receiving touch operation in touch-screen
Whether using being default application, default application includes user's data to be browsed;If foreground application is default application, start meter
When;When timing result is more than preset time threshold, the scan frequency of touch-screen is reduced, and then letter is normally obtained in guarantee user
The scan frequency of screen is reduced during breath.The embodiment of the present invention reduces the scan frequency of touch-screen, and then drop during screen is lighted
Low terminal power consumption.Simultaneously because power consumption reduces during bright screen, therefore the lighting time of screen can be extended, meet that user profile obtains
Take demand.
The method that the executable foregoing all embodiments of the present invention of said apparatus are provided, it is corresponding to possess the execution above method
Functional module and beneficial effect.Not ins and outs of detailed description in the present embodiment, reference can be made to the foregoing all implementations of the present invention
The method that example is provided.
Fig. 7 is a kind of structural representation of terminal provided in an embodiment of the present invention.As shown in fig. 7, the terminal can include:
Housing (not shown), first memory 501, the first central processing unit (Central Processing Unit, CPU) 502
(also known as first processor, hereinafter referred to as CPU), it is stored on first memory 501 and can be run on first processor 502
Computer program, circuit board (not shown) and power circuit (not shown).Foregoing circuit plate is placed in above-mentioned housing
The interior volume surrounded;Above-mentioned CPU502 and above-mentioned first memory 501 are arranged on foregoing circuit plate;Above-mentioned power circuit,
For each circuit or the device power supply for above-mentioned terminal;Above-mentioned first memory 501, for storing executable program code;
Above-mentioned CPU502 is run and above-mentioned executable journey by reading the executable program code stored in above-mentioned first memory 501
Program corresponding to sequence code, for performing:
When receiving touch operation in touch-screen, judge whether foreground application is to preset application, the default application bag
Include user's data to be browsed;
If the foreground application is default application, start timing;
When timing result is more than preset time threshold, the scan frequency of the touch-screen is reduced.
Above-mentioned terminal also includes:Peripheral Interface 503, RF (Radio Frequency, radio frequency) circuit 505, voicefrequency circuit
506th, loudspeaker 511, power management chip 508, input/output (I/O) subsystem 509, touch-screen 512, other input/controls
Equipment 510 and outside port 504, these parts are communicated by one or more communication bus or signal wire 507.
In addition, terminal also includes camera and RGB light sensor.RGB light sensor is located at beside camera, can be with
It is disposed adjacent with camera.Camera can be that front camera can also be rear camera.RGB light sensor can be with
It is first-class such as disposed in the narrow side of terminal side with camera configured separate, example.
It should be understood that graphic terminal 500 is only an example of terminal, and terminal 500 can have than figure
Shown in more or less parts, two or more parts can be combined, or can have different portions
Part configures.Various parts shown in figure can be including one or more signal transactings and/or application specific integrated circuit
Hardware, software or hardware and software combination in realize.
The terminal for being used to realize control doorbell that the present embodiment provides is described in detail below, the terminal is with intelligence
Exemplified by mobile phone.
First memory 501, above-mentioned first memory 501 can be accessed by CPU502, Peripheral Interface 503 etc., and above-mentioned
One memory 501 can include high random access first memory, can also include non-volatile first memories, such as one
Individual or multiple disk first memory parts, flush memory device or other volatile solid-state first memory parts.
The input of equipment and output peripheral hardware can be connected to CPU502 and the by Peripheral Interface 503, above-mentioned Peripheral Interface 503
One memory 501.
I/O subsystems 509, above-mentioned I/O subsystems 509 can be by the input/output peripherals in equipment, such as touch-screen 512
With other input/control devicess 510, Peripheral Interface 503 is connected to.I/O subsystems 509 can include the He of display controller 5091
For controlling one or more input controllers 5092 of other input/control devicess 510.Wherein, one or more input controls
Device 5092 processed receives electric signal from other input/control devicess 510 or sends electric signal to other input/control devicess 510,
Other input/control devicess 510 can include physical button (pressing button, rocker buttons etc.), dial, slide switch, behaviour
Vertical pole, click on roller.What deserves to be explained is input controller 5092 can with it is following any one be connected:Keyboard, infrared port,
The instruction equipment of USB interface and such as mouse.In addition, other input/control devicess 510 can also include camera, fingerprint
Sensor and gyroscope etc..
Wherein, according to touch-screen operation principle and transmission information medium classification, touch-screen 512 can be resistance-type,
Capacitor induction type, infrared-type or surface acoustic wave type.Classify according to mounting means, touch-screen 512 can be:It is external hanging type, built-in
Formula or monoblock type.Classify according to technical principle, touch-screen 512 can be:Vector pressure sensing technology touch-screen, resistive technologies are touched
Touch screen, capacitance technology touch-screen, infrared technology touch-screen or surface acoustic wave technique touch-screen.
Touch-screen 512, above-mentioned touch-screen 512 are the input interface and output interface between user terminal and user, can
It can include figure, text, icon, video etc. to user, visual output depending on output display.Optionally, touch-screen 512 is by user
The electric signal (electric signal of such as contact surface) triggered on touch screen curtain, is sent to first processor 502.
Display controller 5091 in I/O subsystems 509 receives electric signal from touch-screen 512 or sent out to touch-screen 512
Electric signals.Touch-screen 512 detects the contact on touch-screen, and the contact detected is converted to and shown by display controller 5091
The interaction of user interface object on touch-screen 512, that is, realize man-machine interaction, the user interface being shown on touch-screen 512
Icon that object can be the icon of running game, be networked to corresponding network etc..What deserves to be explained is equipment can also include light
Mouse, light mouse is not show the touch sensitive surface visually exported, or the extension of the touch sensitive surface formed by touch-screen.
RF circuits 505, it is mainly used in establishing the communication of intelligent sound box and wireless network (i.e. network side), realizes intelligent sound box
Data receiver and transmission with wireless network.Such as transmitting-receiving short message, Email etc..
Voicefrequency circuit 506, it is mainly used in receiving voice data from Peripheral Interface 503, the voice data is converted into telecommunications
Number, and the electric signal is sent to loudspeaker 511.
Loudspeaker 511, for the voice signal for receiving intelligent sound box from wireless network by RF circuits 505, it is reduced to
Sound simultaneously plays the sound to user.
Power management chip 508, the hardware for being connected by CPU502, I/O subsystem and Peripheral Interface are powered
And power management.
In the present embodiment, central first processor 502 is used for:
When receiving touch operation in touch-screen, judge whether foreground application is to preset application, the default application bag
Include user's data to be browsed;
If the foreground application is default application, start timing;
When timing result is more than preset time threshold, the scan frequency of the touch-screen is reduced.
Further, it is described to judge whether foreground application is default application, including:
Judge whether include multi-medium data in the foreground application current interface;
If including multi-medium data in the foreground application current interface, the foreground application is defined as default answer
With;
The head duration of the multi-medium data or prelude duration are defined as the preset time threshold.
Further, it is described to judge whether foreground application is default application, including:
Obtain historical operation frequency record corresponding to multi-medium data in the foreground application, the historical operation frequency note
Record includes the operating frequency detected when the multi-medium data plays;
Judge whether operating frequency corresponding to currently playing multi-medium data is less than predeterminated frequency;
If operating frequency corresponding to currently playing multi-medium data is less than predeterminated frequency, and the foreground application is true
It is set to default application.
Further, it is described to judge whether foreground application is default application, including:
Obtain historical operation class record corresponding to the foreground application current interface, the historical operation class record bag
Include the action type detected in the current interface;
Judge whether the action type includes comment data input operation;
If the action type does not include comment data input operation, the foreground application is defined as default answer
With.
Further, after the scan frequency of the touch-screen is reduced, in addition to:
If receiving the touch control operation of user's input, the scan frequency of the touch-screen is raised.
Further, the touch control operation for receiving user's input, including:
Receive the touch operation that user inputs on the touchscreen;Or
Receive the shake operation that user is inputted by acceleration transducer.
Further, the scan frequency for reducing the touch-screen, including:
The scan frequency of the touch-screen is reduced to the preset ratio of nominal scan frequency, the preset ratio is less than 1;
According to the data in default screen intensity output screen.
The embodiment of the present invention additionally provides a kind of computer-readable recording medium, is stored thereon with computer program, the journey
Sequence can realize following steps when being executed by processor:
When receiving touch operation in touch-screen, judge whether foreground application is to preset application, the default application bag
Include user's data to be browsed;
If the foreground application is default application, start timing;
When timing result is more than preset time threshold, the scan frequency of the touch-screen is reduced.
Further, it is described to judge whether foreground application is default application, including:
Judge whether include multi-medium data in the foreground application current interface;
If including multi-medium data in the foreground application current interface, the foreground application is defined as default answer
With;
The head duration of the multi-medium data or prelude duration are defined as the preset time threshold.
Further, it is described to judge whether foreground application is default application, including:
Obtain historical operation frequency record corresponding to multi-medium data in the foreground application, the historical operation frequency note
Record includes the operating frequency detected when the multi-medium data plays;
Judge whether operating frequency corresponding to currently playing multi-medium data is less than predeterminated frequency;
If operating frequency corresponding to currently playing multi-medium data is less than predeterminated frequency, and the foreground application is true
It is set to default application.
Further, it is described to judge whether foreground application is default application, including:
Obtain historical operation class record corresponding to the foreground application current interface, the historical operation class record bag
Include the action type detected in the current interface;
Judge whether the action type includes comment data input operation;
If the action type does not include comment data input operation, the foreground application is defined as default answer
With.
Further, after the scan frequency of the touch-screen is reduced, in addition to:
If receiving the touch control operation of user's input, the scan frequency of the touch-screen is raised.
Further, the touch control operation for receiving user's input, including:
Receive the touch operation that user inputs on the touchscreen;Or
Receive the shake operation that user is inputted by acceleration transducer.
Further, the scan frequency for reducing the touch-screen, including:
The scan frequency of the touch-screen is reduced to the preset ratio of nominal scan frequency, the preset ratio is less than 1;
According to the data in default screen intensity output screen.
The computer-readable storage medium of the embodiment of the present invention, any of one or more computer-readable media can be used
Combination.Computer-readable medium can be computer-readable signal media or computer-readable recording medium.It is computer-readable
Storage medium for example may be-but not limited to-the system of electricity, magnetic, optical, electromagnetic, infrared ray or semiconductor, device or
Device, or any combination above.The more specifically example (non exhaustive list) of computer-readable recording medium includes:Tool
There are the electrical connections of one or more wires, portable computer diskette, hard disk, random access memory (RAM), read-only storage
(ROM), erasable programmable read only memory (EPROM or flash memory), optical fiber, portable compact disc read-only storage (CD-
ROM), light storage device, magnetic memory device or above-mentioned any appropriate combination.In this document, computer-readable storage
Medium can be any includes or the tangible medium of storage program, the program can be commanded execution system, device or device
Using or it is in connection.
Computer-readable signal media can include in a base band or as carrier wave a part propagation data-signal,
Wherein carry computer-readable program code.The data-signal of this propagation can take various forms, including but unlimited
In electromagnetic signal, optical signal or above-mentioned any appropriate combination.Computer-readable signal media can also be that computer can
Any computer-readable medium beyond storage medium is read, the computer-readable medium, which can send, propagates or transmit, to be used for
By instruction execution system, device either device use or program in connection.
The program code included on computer-readable medium can be transmitted with any appropriate medium, including --- but it is unlimited
In wireless, electric wire, optical cable, RF etc., or above-mentioned any appropriate combination.
It can be write with one or more programming languages or its combination for performing the computer that operates of the present invention
Program code, programming language include object oriented program language-such as Java, Smalltalk, C++, also wrapped
Include conventional procedural programming language-such as " C " language or similar programming language.Program code can be complete
Ground is performed, partly performed on the user computer on the user computer, the software kit independent as one performs, partly existed
Subscriber computer upper part is performed or performed completely on remote computer or server on the remote computer.It is being related to
In the situation of remote computer, remote computer can pass through the network of any kind --- including LAN (LAN) or wide area
Net (WAN)-be connected to subscriber computer, or, it may be connected to outer computer (such as utilize ISP
To pass through Internet connection).
Pay attention to, above are only presently preferred embodiments of the present invention and institute's application technology principle.It will be appreciated by those skilled in the art that
The invention is not restricted to specific embodiment above-mentioned here, can carry out for a person skilled in the art various obvious changes,
Readjust and substitute without departing from protection scope of the present invention.Therefore, although being carried out by above example to the present invention
It is described in further detail, but the present invention is not limited only to above example, without departing from the inventive concept, also
Other more equivalent embodiments can be included, and the scope of the present invention is determined by scope of the appended claims.
Claims (10)
- A kind of 1. touch screen scanning method, it is characterised in that including:When receiving touch operation in touch-screen, judge whether foreground application is default application, and the default application includes using Family data to be browsed;If the foreground application is default application, start timing;When timing result is more than preset time threshold, the scan frequency of the touch-screen is reduced.
- 2. touch screen scanning method according to claim 1, it is characterised in that described to judge whether foreground application is default Using, including:Judge whether include multi-medium data in the foreground application current interface;If including multi-medium data in the foreground application current interface, the foreground application is defined as default application;The head duration of the multi-medium data or prelude duration are defined as the preset time threshold.
- 3. touch screen scanning method according to claim 1, it is characterised in that described to judge whether foreground application is default Using, including:Obtain historical operation frequency record corresponding to multi-medium data in the foreground application, the historical operation frequency record bag Include the operating frequency detected when the multi-medium data plays;Judge whether operating frequency corresponding to currently playing multi-medium data is less than predeterminated frequency;If operating frequency corresponding to currently playing multi-medium data is less than predeterminated frequency, the foreground application is defined as Default application.
- 4. touch screen scanning method according to claim 1, it is characterised in that described to judge whether foreground application is default Using, including:Historical operation class record corresponding to the foreground application current interface is obtained, the historical operation class record includes institute State the action type detected in current interface;Judge whether the action type includes comment data input operation;If the action type does not include comment data input operation, the foreground application is defined as default application.
- 5. touch screen scanning method according to claim 1, it is characterised in that reducing the scan frequency of the touch-screen Afterwards, in addition to:If receiving the touch control operation of user's input, the scan frequency of the touch-screen is raised.
- 6. touch screen scanning method according to claim 5, it is characterised in that the touch-control behaviour for receiving user's input Make, including:Receive the touch operation that user inputs on the touchscreen;OrReceive the shake operation that user is inputted by acceleration transducer.
- 7. touch screen scanning method according to claim 1, it is characterised in that the scanning frequency for reducing the touch-screen Rate, including:The scan frequency of the touch-screen is reduced to the preset ratio of nominal scan frequency, the preset ratio is less than 1;According to the data in default screen intensity output screen.
- A kind of 8. touch-screen scanning means, it is characterised in that including:It is default to apply judge module, for when receiving touch operation in touch-screen, judging whether foreground application is default answer With the default application includes user's data to be browsed;Timing module, if judging that the foreground application for default application, starts meter for the default application judge module When;Scan frequency adjusting module, for when the timing result of the timing module is more than preset time threshold, described in reduction The scan frequency of touch-screen.
- 9. a kind of terminal, it is characterised in that the terminal includes:One or more processors;Storage device, for storing one or more programs,When one or more of programs are by one or more of computing devices so that one or more of processors are real The now touch screen scanning method as described in any in claim 1-7.
- 10. a kind of computer-readable recording medium, is stored thereon with computer program, it is characterised in that the program is by processor The touch screen scanning method as described in any in claim 1-7 is realized during execution.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710633593.9A CN107402625B (en) | 2017-07-28 | 2017-07-28 | Touch screen scanning method and device, terminal and computer readable storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710633593.9A CN107402625B (en) | 2017-07-28 | 2017-07-28 | Touch screen scanning method and device, terminal and computer readable storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN107402625A true CN107402625A (en) | 2017-11-28 |
CN107402625B CN107402625B (en) | 2020-03-27 |
Family
ID=60402361
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710633593.9A Active CN107402625B (en) | 2017-07-28 | 2017-07-28 | Touch screen scanning method and device, terminal and computer readable storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107402625B (en) |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107943409A (en) * | 2017-12-07 | 2018-04-20 | 北京小米移动软件有限公司 | Touch-screen control method and device |
CN109358769A (en) * | 2018-10-16 | 2019-02-19 | 维沃移动通信有限公司 | A kind of touch screen response triggering method and terminal |
CN110209301A (en) * | 2019-05-29 | 2019-09-06 | 北京集创北方科技股份有限公司 | Touch screen scanning method, device, storage medium, touch chip and terminal |
CN110990632A (en) * | 2019-12-19 | 2020-04-10 | 腾讯科技(深圳)有限公司 | Video processing method and device |
WO2021097753A1 (en) * | 2019-11-21 | 2021-05-27 | 深圳市欢太科技有限公司 | Reporting rate setting method and apparatus, device, and storage medium |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101923410A (en) * | 2009-06-11 | 2010-12-22 | 联想(北京)有限公司 | Electronic equipment and touch positioning control method thereof |
CN103235664A (en) * | 2013-04-27 | 2013-08-07 | 深圳市金立通信设备有限公司 | Terminal and control method of touch screen |
CN104035608A (en) * | 2013-03-08 | 2014-09-10 | 宏碁股份有限公司 | Touch panel sampling frequency adjusting device and method |
CN104991682A (en) * | 2015-08-07 | 2015-10-21 | 京东方科技集团股份有限公司 | Touch drive method, touch drive device and touch display device |
CN106383654A (en) * | 2016-09-12 | 2017-02-08 | 广东欧珀移动通信有限公司 | Touch screen parameter adjustment method and mobile terminal |
-
2017
- 2017-07-28 CN CN201710633593.9A patent/CN107402625B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101923410A (en) * | 2009-06-11 | 2010-12-22 | 联想(北京)有限公司 | Electronic equipment and touch positioning control method thereof |
CN104035608A (en) * | 2013-03-08 | 2014-09-10 | 宏碁股份有限公司 | Touch panel sampling frequency adjusting device and method |
CN103235664A (en) * | 2013-04-27 | 2013-08-07 | 深圳市金立通信设备有限公司 | Terminal and control method of touch screen |
CN104991682A (en) * | 2015-08-07 | 2015-10-21 | 京东方科技集团股份有限公司 | Touch drive method, touch drive device and touch display device |
CN106383654A (en) * | 2016-09-12 | 2017-02-08 | 广东欧珀移动通信有限公司 | Touch screen parameter adjustment method and mobile terminal |
Cited By (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107943409A (en) * | 2017-12-07 | 2018-04-20 | 北京小米移动软件有限公司 | Touch-screen control method and device |
CN107943409B (en) * | 2017-12-07 | 2020-12-11 | 北京小米移动软件有限公司 | Touch screen control method and device |
CN109358769A (en) * | 2018-10-16 | 2019-02-19 | 维沃移动通信有限公司 | A kind of touch screen response triggering method and terminal |
CN109358769B (en) * | 2018-10-16 | 2021-10-29 | 维沃移动通信有限公司 | Touch screen response triggering method and terminal |
CN110209301A (en) * | 2019-05-29 | 2019-09-06 | 北京集创北方科技股份有限公司 | Touch screen scanning method, device, storage medium, touch chip and terminal |
WO2021097753A1 (en) * | 2019-11-21 | 2021-05-27 | 深圳市欢太科技有限公司 | Reporting rate setting method and apparatus, device, and storage medium |
CN114450660A (en) * | 2019-11-21 | 2022-05-06 | 深圳市欢太科技有限公司 | Setting method and device of point reporting rate, equipment and storage medium |
CN110990632A (en) * | 2019-12-19 | 2020-04-10 | 腾讯科技(深圳)有限公司 | Video processing method and device |
CN110990632B (en) * | 2019-12-19 | 2023-05-02 | 腾讯科技(深圳)有限公司 | Video processing method and device |
Also Published As
Publication number | Publication date |
---|---|
CN107402625B (en) | 2020-03-27 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108776568B (en) | Webpage display method, device, terminal and storage medium | |
CN107402625A (en) | Touch screen scanning method, device, terminal and computer-readable recording medium | |
CN111338725B (en) | Interface layout method and related product | |
CN107801096A (en) | Control method, device, terminal device and the storage medium of video playback | |
CN104636065A (en) | Method and device for awakening terminal | |
CN108334272B (en) | Control method and mobile terminal | |
CN108829457A (en) | Application program prediction model update method, device, storage medium and terminal | |
CN107316033A (en) | Fingerprint identification method, device and the storage medium and mobile terminal of mobile terminal | |
CN107273036A (en) | Mobile terminal and its split screen control method, computer-readable recording medium | |
CN107491560A (en) | Page pictures display methods, device, storage medium, server and mobile terminal | |
CN107484231A (en) | Screen parameter method of adjustment, device, terminal and computer-readable recording medium | |
CN107831989A (en) | A kind of Application Parameters method of adjustment and mobile terminal | |
CN107678823A (en) | Control method, device and the storage medium and mobile terminal of mobile terminal application | |
CN106776385A (en) | A kind of transmission method of daily record log information, device and terminal | |
CN107402712B (en) | Touch operation response method and device, storage medium and terminal | |
CN107343143A (en) | A kind of image processing method, device, terminal and computer-readable recording medium | |
CN108205408A (en) | Message display method and device | |
CN107222626A (en) | A kind of screen content display method thereof and its device, electronic equipment | |
CN107340996A (en) | Screen lights method and device | |
CN107508979A (en) | volume adjusting method, device, terminal and storage medium | |
CN108182574A (en) | A kind of resource transfers method and relevant device | |
CN107622473A (en) | Image rendering method, device, terminal and computer-readable recording medium | |
CN107493339A (en) | Information-pushing method, device, terminal and computer-readable recording medium | |
CN106919460A (en) | A kind of method for controlling broadcast transmission, device and mobile terminal | |
CN107612981B (en) | Application program method for pushing, device, terminal and computer readable storage medium |
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 | ||
CB02 | Change of applicant information |
Address after: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18 Applicant after: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS CORP., Ltd. Address before: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18 Applicant before: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS CORP., Ltd. |
|
CB02 | Change of applicant information | ||
GR01 | Patent grant | ||
GR01 | Patent grant |