CN107943347A - Touch-screen control method and device - Google Patents

Touch-screen control method and device Download PDF

Info

Publication number
CN107943347A
CN107943347A CN201711315984.2A CN201711315984A CN107943347A CN 107943347 A CN107943347 A CN 107943347A CN 201711315984 A CN201711315984 A CN 201711315984A CN 107943347 A CN107943347 A CN 107943347A
Authority
CN
China
Prior art keywords
touch
power consumption
screen
application
response speed
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
Application number
CN201711315984.2A
Other languages
Chinese (zh)
Other versions
CN107943347B (en
Inventor
李国盛
刘颖红
钟桂林
刘佳
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Xiaomi Mobile Software Co Ltd
Original Assignee
Beijing Xiaomi Mobile Software Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Xiaomi Mobile Software Co Ltd filed Critical Beijing Xiaomi Mobile Software Co Ltd
Priority to CN201711315984.2A priority Critical patent/CN107943347B/en
Publication of CN107943347A publication Critical patent/CN107943347A/en
Application granted granted Critical
Publication of CN107943347B publication Critical patent/CN107943347B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input 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/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/03Arrangements for converting the position or the displacement of a member into a coded form
    • G06F3/041Digitisers, e.g. for touch screens or touch pads, characterised by the transducing means
    • G06F3/0416Control or interface arrangements specially adapted for digitisers

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

Present disclose provides a kind of touch-screen control method and device, belong to field of terminal technology.Method includes:After application starts, the output valve of sensor of interest when application is operated in record preset time period;The response speed for determining application requirement according to the output valve is more than predetermined threshold value, and when being not detected by touch operation in the first preset duration, the operating mode of touch-screen is switched to the first low-power consumption mode, the first preset duration is more than fixed duration;The response speed for determining application requirement according to the output valve is less than predetermined threshold value, and when being not detected by touch operation in the second preset duration, the operating mode of touch-screen is switched to the second low-power consumption mode, the second preset duration is less than fixed duration.The disclosure controls touch-screen to enter low-power consumption mode in different time, can preferably take into account response speed and power consumption, realize the balance between response speed and power consumption, reduce the power consumption of system on the whole according to the output valve of sensor of interest during application operation.

Description

Touch-screen control method and device
Technical field
This disclosure relates to field of terminal technology, more particularly to a kind of touch-screen control method and device.
Background technology
The screen of present terminals (such as mobile phone) most of on the market is all touch-screen, can detect finger touching on the screen Operation is touched, if finger is to the clicking operation of screen.It is Doze patterns (pattern of catnaping) that touch-screen, which has a kind of operating mode, the pattern The scan frequency of lower touch-screen is low, low in energy consumption, and the click response speed to finger is slow.Wherein, the scan frequency of touch-screen refers to Touch-screen touches chip to the detection frequency of touch operation, and scan frequency is bigger, and the probability that touch operation is detected is bigger, Thus response of the touch-screen to touch operation is more timely, and response speed is faster.During the use of terminal, in order to save work( The operating mode of touch-screen can be arranged to the Doze patterns by consumption, terminal.
At present, the process of touch-screen into Doze patterns can include:Do not examined when (such as being fixed in a period of time in duration) When measuring touch operation, for example, user need not click on the situation of screen when watching video in terminal, at this time, terminal will incite somebody to action The operating mode of touch-screen is arranged to Doze patterns.
The content of the invention
The embodiment of the present disclosure provides a kind of touch-screen control method and device, and can solve correlation technique can not be preferable The problem of taking into account response speed and power consumption.
According to the first aspect of the embodiment of the present disclosure, there is provided a kind of touch-screen control method, including:
After application starts, the output valve of sensor of interest when the application is operated in preset time period is recorded;
The response speed for determining the application requirement according to the output valve is more than predetermined threshold value, and in the first preset duration When being not detected by touch operation, the operating mode of the touch-screen is switched into the first low-power consumption mode, described first it is default when It is long to be more than fixed duration;
Determine that the response speed of the application requirement is less than the predetermined threshold value according to the output valve, and second it is default when When touch operation is not detected by length, the operating mode of the touch-screen is switched into the second low-power consumption mode, described second is pre- If duration is less than the fixed duration.
The method that the embodiment of the present disclosure provides, by recording sensor of interest in the preset time period after application starts Output valve, and control touch-screen to enter the time of low-power consumption mode according to these output valves.When according to output valve determine this should With to response speed it is more demanding when, terminal can extend touch-screen enter low-power consumption mode time so that touch-screen is less Low-power consumption mode is easily accessible, so that the probability without response when reducing user's point touching screen;When according to output valve determine this should During with requiring relatively low to response speed, terminal can shorten the time that touch-screen enters low-power consumption mode so that touch-screen more holds Easily enter low-power consumption mode, so as to reach the state for saving power consumption faster.According to sensor of interest during application operation Output valve situation analysis is using the requirement to response speed, so as to require different applications for response speed, controls touch-screen Enter low-power consumption mode in different time, can preferably take into account response speed and power consumption, realize between response speed and power consumption Balance, on the whole reduce system power consumption.
In the first implementation of first aspect, the output valve includes acceleration or angle of inclination, the basis The output valve determines that the response speed of the application requirement is more than predetermined threshold value, including:Count in the preset time period It is more than the quantity of the output valve of default value in all output valves;When the quantity is more than default quantity, the application is determined It is required that response speed be more than the predetermined threshold value.
The method that the embodiment of the present disclosure provides, when the quantity of the output valve more than default value is more, it is believed that should Using more demanding to response speed, terminal can extend the time that touch-screen enters low-power consumption mode so that touch-screen is less Low-power consumption mode is easily accessible, so that the probability without response when reducing user's point touching screen.
In second of implementation of first aspect, the output valve includes acceleration or angle of inclination, the basis The output valve determines that the response speed of the application requirement is less than predetermined threshold value, including:Count in the preset time period It is more than the quantity of the output valve of default value in all output valves;When the quantity is less than default quantity, the application is determined It is required that response speed be less than the predetermined threshold value.
The method that the embodiment of the present disclosure provides, when more than the negligible amounts of the output valve of default value, it is believed that should Relatively low using requiring response speed, terminal can shorten the time that touch-screen enters low-power consumption mode so that touch-screen more holds Easily enter low-power consumption mode, so as to reach the state for saving power consumption faster.
In the third implementation of first aspect, it is desirable to response speed be more than the predetermined threshold value application include Game class application, it is desirable to response speed be less than the predetermined threshold value application include video class application.
The embodiment of the present disclosure provide method, due to game class apply to timely respond to or response speed it is more demanding, Therefore game class application can be the first application, due to video class apply to timely respond to or response speed it is of less demanding, therefore regard The application of frequency class can be that the response speed of requirement is less than the application of predetermined threshold value.
In the 4th kind of implementation of first aspect, second low-power consumption mode and the first low-power consumption mode phase Together;Or, the scan frequency of the touch-screen is less than described under first low-power consumption mode touch under second low-power consumption mode Touch the scan frequency of screen.
The embodiment of the present disclosure provide method, due to application to touch-screen timely respond to or response speed is of less demanding, The scan frequency of the touch-screen can be less than the scanning of the touch-screen under first low-power consumption mode under second low-power consumption mode Frequency so that second low-power consumption mode is compared with the Doze patterns of the prior art, can more reduce scan frequency so that Touch-screen is lower into the power consumption after second low-power consumption mode.
According to the second aspect of the embodiment of the present disclosure, there is provided a kind of touch screen control device, including:
Logging modle, for after using starting, recording sensor of interest when the application is operated in preset time period Output valve;
Handover module, the response speed for determining the application requirement according to the output valve are more than predetermined threshold value, and When being not detected by touch operation in the first preset duration, the operating mode of the touch-screen is switched into the first low-power consumption mode, First preset duration is more than fixed duration;
The handover module, is additionally operable to determine that the response speed of the application requirement is less than default threshold according to the output valve When being worth, and touch operation is not detected by the second preset duration, the operating mode of the touch-screen is switched into the second low-power consumption Pattern, second preset duration are less than the fixed duration.
In the first implementation of second aspect, the output valve includes acceleration or angle of inclination, the switching Module is used to count the quantity for the output valve for being more than default value in all output valves in the preset time period;When the number When amount is more than default quantity, determine that the response speed of the application requirement is more than the predetermined threshold value.
In second of implementation of second aspect, the output valve includes acceleration or angle of inclination, the switching Module is used to count the quantity for the output valve for being more than default value in all output valves in the preset time period;When the number When amount is less than default quantity, determine that the response speed of the application requirement is less than the predetermined threshold value.
In the third implementation of second aspect, it is desirable to response speed be more than the predetermined threshold value application include Game class application, it is desirable to response speed be less than the predetermined threshold value application include video class application.
In the 4th kind of implementation of second aspect, second low-power consumption mode and the first low-power consumption mode phase Together;Or, the scan frequency of the touch-screen is less than described under first low-power consumption mode touch under second low-power consumption mode Touch the scan frequency of screen.
According to the third aspect of the embodiment of the present disclosure, there is provided a kind of touch screen control device, including:
Processor;
The memory for the instruction that can perform for storing processor;
Wherein, the processor is configured as:
After application starts, the output valve of sensor of interest when the application is operated in preset time period is recorded;
The response speed for determining the application requirement according to the output valve is more than predetermined threshold value, and in the first preset duration When being not detected by touch operation, the operating mode of the touch-screen is switched into the first low-power consumption mode, described first it is default when It is long to be more than fixed duration;
Determine that the response speed of the application requirement is less than the predetermined threshold value according to the output valve, and second it is default when When touch operation is not detected by length, the operating mode of the touch-screen is switched into the second low-power consumption mode, described second is pre- If duration is less than the fixed duration.
According to the fourth aspect of the embodiment of the present disclosure, there is provided a kind of computer-readable recording medium, it is described computer-readable Storage medium memory contains computer program, and the computer program realizes the method described in first aspect when being executed by processor Step.
It should be appreciated that the general description and following detailed description of the above are only exemplary and explanatory, not The disclosure can be limited.
Brief description of the drawings
Attached drawing herein is merged in specification and forms the part of this specification, shows the implementation for meeting the disclosure Example, and be used to together with specification to explain the principle of the disclosure.
Fig. 1 is a kind of flow chart of touch-screen control method according to an exemplary embodiment.
Fig. 2 is a kind of flow chart of touch-screen control method according to an exemplary embodiment.
Fig. 3 is a kind of block diagram of touch screen control device according to an exemplary embodiment.
Fig. 4 is a kind of block diagram of touch screen control device 400 according to an exemplary embodiment.
Embodiment
To make the purpose, technical scheme and advantage of the disclosure clearer, below in conjunction with attached drawing to disclosure embodiment party Formula is described in further detail.
Here exemplary embodiment will be illustrated in detail, its example is illustrated in the accompanying drawings.Following description is related to During attached drawing, unless otherwise indicated, the same numbers in different attached drawings represent the same or similar key element.Following exemplary embodiment Described in embodiment do not represent all embodiments consistent with the disclosure.On the contrary, they be only with it is such as appended The example of the consistent apparatus and method of some aspects be described in detail in claims, the disclosure.
Fig. 1 is a kind of flow chart of touch-screen control method according to an exemplary embodiment, as shown in Figure 1, touching Touch screen control method to be applied in the terminal with touch-screen, comprise the following steps:
In a step 101, after application starts, sensor of interest is defeated when the application is operated in record preset time period Go out value.
In a step 102, the response speed for determining the application requirement according to the output valve is more than predetermined threshold value, and first is pre- If touch operation is not detected by duration, the operating mode of the touch-screen is switched into the first low-power consumption mode, this is first pre- If duration is more than fixed duration.
In step 103, the response speed for determining the application requirement according to the output valve is less than predetermined threshold value, and second is pre- If touch operation is not detected by duration, the operating mode of the touch-screen is switched into the second low-power consumption mode, this is second pre- If duration is less than the fixation duration.
In the embodiment of the present disclosure, by recording the output valve of sensor of interest in the preset time period after application starts, And touch-screen is controlled to enter the time of low-power consumption mode according to these output valves.When according to output valve determine the application to response When rate request is higher, terminal can extend the time that touch-screen enters low-power consumption mode so that touch-screen is less susceptible to enter Low-power consumption mode, so that the probability without response when reducing user's point touching screen;When according to output valve determine the application to response When rate request is relatively low, terminal can shorten the time that touch-screen enters low-power consumption mode so that touch-screen is easier to enter low Power consumption mode, so as to reach the state for saving power consumption faster.According to the output valve feelings of sensor of interest during application operation Requirement of the condition analysis application to response speed, so as to require different applications for response speed, control touch-screen is when different Between enter low-power consumption mode, can preferably take into account response speed and power consumption, realize the balance between response speed and power consumption, it is whole The power consumption of system is reduced on body.
In a kind of possible implementation, which includes acceleration or angle of inclination, this is determined according to the output valve The response speed of the application requirement is more than predetermined threshold value, including:Count in all output valves in the preset time period and be more than in advance If the quantity of the output valve of numerical value;When the quantity is more than default quantity, determine that the response speed of the application requirement is pre- more than this If threshold value.
In a kind of possible implementation, which includes acceleration or angle of inclination, this is determined according to the output valve The response speed of the application requirement is less than predetermined threshold value, including:Count in all output valves in the preset time period and be more than in advance If the quantity of the output valve of numerical value;When the quantity is less than default quantity, determine that the response speed of the application requirement is pre- less than this If threshold value.
In a kind of possible implementation, it is desirable to response speed be more than the predetermined threshold value application including game class should With, it is desirable to response speed be less than the predetermined threshold value application include video class application.
In a kind of possible implementation, second low-power consumption mode is identical with first low-power consumption mode;Or,
The scan frequency of the touch-screen is less than the touch-screen under first low-power consumption mode under second low-power consumption mode Scan frequency.
Above-mentioned all optional technical solutions, can use any combination to form the alternative embodiment of the disclosure, herein no longer Repeat one by one.
Fig. 2 is a kind of flow chart of touch-screen control method according to an exemplary embodiment, as shown in Fig. 2, touching Touch screen control method to be used in the terminal with touch-screen, comprise the following steps:
In step 201, after application starts, sensor of interest is defeated when the application is operated in record preset time period Go out value.
Wherein, sensor of interest can be acceleration transducer, and the output valve of the acceleration transducer can be acceleration Or other can reflect the parameter of terminal motion conditions, such as the angle of inclination of terminal with respect to the horizontal plane.Certainly, which senses Device can also be the sensor that other are used for measuring terminals motion conditions, and the embodiment of the present disclosure does not limit this.
In the embodiment of the present disclosure, using upon actuation, user can carry out corresponding operating in the operation interface of application, Terminal may move in the operating process of user, and the operation amplitude of user and frequency can influence the motion amplitude of terminal And frequency, the motion amplitude and frequency can be reflected by the output valve of sensor of interest.Each should for this reason, terminal can be directed to With in the preset time period that the application is run after startup, in real time or using prefixed time interval (such as 5ms or 10ms) record The output valve of sensor of interest, i.e., repeatedly record the output valve of sensor of interest in the preset time period, obtained more A output valve.
When the output valve of sensor of interest is more than default value, it is believed that the motion amplitude of terminal is larger, when default When more more than the output valve quantity of default value in multiple output valves of record in period, it is believed that terminal is default at this Motion frequency in period is higher, and interacting between user and application is more, as user when playing car race game in terminal it is high Tilt to frequency mobile phone, to change the track of vehicle traveling.
In step 202, the number for the output valve for being more than default value in all output valves in the preset time period is counted Amount.
In the embodiment of the present disclosure, terminal can be by counting in preset time period big in all output valves of sensor of interest In the quantity of the output valve of default value, to determine whether user's operation is frequent during the application operation, and use is generally required The application of family frequent operation to timely respond to or response speed it is more demanding, it is not necessary to the application of user's frequent operation is to timely Response or the requirement of response speed are relatively low.
Wherein, timely respond to after referring to that user carries out touch operation to terminal screen, terminal can be rung in target duration It should can be recorded in the configuration parameter of terminal in the touch operation of user, the target duration, by the hardware bar of terminal itself Part determines.In a kind of possible implementation, terminal can be more than default value by sensor of interest in preset time period Output valve quantity, to determine the type of application, such as to timely responding to or response speed requires high application and to loud in time Should or response speed the low application of requirement, detailed process is referring to subsequent step 203 and step 205.
In step 203, when the quantity of the output valve more than default value is more than default quantity, the application requirement is determined Response speed be more than the predetermined threshold value.
In the embodiment of the present disclosure, when the output valve for being more than default value in the output valve of sensor of interest in preset time period Quantity when being more than default quantity, it is believed that motion amplitude and motion frequency of the terminal in the preset time period are larger, use Family operates relatively frequently in the operational process of the application, and user has more interact with the application.In this case, terminal can be with Determine that the response speed of the application requirement is more than the predetermined threshold value, and then terminal can perform subsequent step 204.
In a kind of possible implementation, it is desirable to response speed be more than the predetermined threshold value application including game class should With, for example, user play play when, especially for class game of making a breakthrough, due to being related to limiting time or the scene mutually fought, User wishes that terminal can be to any operation quick response, so as to smoothly make a breakthrough.As it can be seen that game class is applied to timely responding to or ringing Answer the more demanding of speed.Certainly, it is desirable to response speed be more than the predetermined threshold value application can also include other application, Open embodiment does not limit this.Therefore, when the response speed of the application requirement is more than the predetermined threshold value, which may It is game class application.
It should be noted that above-mentioned steps 202 and step 203 are the sound that terminal determines the application requirement according to the output valve Speed is answered to be more than a kind of possible implementation of predetermined threshold value.
In step 204, when being not detected by touch operation in the first preset duration, the operating mode of the touch-screen is cut The first low-power consumption mode is shifted to, which is more than fixed duration.
Wherein, fixed duration can be the duration that the default touch-screen of terminal enters Doze patterns, or terminal is in off-duty Into the duration of Doze patterns during any application, for example, after terminal closes all applications, it is tactile when being not detected by fixed duration When touching operation, the operating mode of touch-screen can be switched to Doze patterns by terminal, and the embodiment of the present disclosure does not limit this.
In the embodiment of the present disclosure, if the response speed of the currently running application requirement of terminal is more than predetermined threshold value, due to The application is high to the requirement timely responded to, therefore terminal needs to provide higher response speed for the application, for this reason, touch-screen needs Keep higher scan frequency.But in the operational process of the application, when user for a long time (such as in the first preset duration) no When being operated to touch-screen, illustrate that user and may need not currently carry out any operation in terminal, in the case of this if The touch-screen of terminal is always maintained at touch operation of the higher scan frequency to user and is detected, then can bring unnecessary work( Consumption.Therefore, in order to save power consumption, the operating mode of touch-screen can be switched to the first low-power consumption mode by terminal, this is first low Power consumption mode can be Doze patterns of the prior art, the Doze patterns be terminal in the case of the screen that do not go out touch-screen one Kind operating mode.
In a kind of possible implementation, if touch-screen is currently at high power consumption mode, terminal can be by touch-screen Operating mode switch to the first low-power consumption mode from current high power consumption mode, specifically, terminal can be by reducing the height The operating mode of touch-screen is switched to the first low-power consumption mode by the scan frequency under power consumption mode.Wherein, the high power consumption mode Can be Active patterns (active mode) of the prior art, the Active patterns be terminal in the case of the screen that do not go out, touch Another operating mode got rid of beyond Doze patterns is touched, compared to Doze patterns, touch-screen sweeps under the Active patterns Frequency height is retouched, power consumption is high, the touch operation fast response time to user.
Due to low in energy consumption under the first low-power consumption mode, but scan frequency is also low, when easily there is first time point touching screen, Not the problem of touch-screen does not respond to, and the response speed of the application requirement is big, therefore, compared with the prior art into Doze patterns Fixation duration, terminal can improve touch-screen enter first low-power consumption mode duration, such as the first preset duration be more than should Fixed duration, by the time lengthening that touch-screen is entered to first low-power consumption mode so that touch-screen is less susceptible to enter and is somebody's turn to do First low-power consumption mode, so that the probability without response when reducing first time point touching screen.
In step 205, when the quantity of the output valve more than default value is less than default quantity, the application requirement is determined Response speed be less than the predetermined threshold value.
In the embodiment of the present disclosure, when the output valve for being more than default value in the output valve of sensor of interest in preset time period Quantity when being less than default quantity, it is believed that motion amplitude and motion frequency of the terminal in the preset time period are smaller, into And it is fewer to can consider that user operates in the operational process of the application, user interacts less with the application.In this case, eventually End can determine that the response speed of the application requirement is less than predetermined threshold value, and then terminal can perform subsequent step 206.
In a kind of possible implementation, it is desirable to response speed be less than predetermined threshold value application include video class application, For example, user when watching video, generally also only needs to open the broadcast interface viewing of the video, completed in video playing Before, user may not need and be interacted with terminal without carrying out any operation to touch-screen.As it can be seen that video class application pair and When response or response speed requirement it is less high.Certainly, it is desirable to response speed be less than predetermined threshold value application can also include Other application, such as reads class application, and the embodiment of the present disclosure does not limit this.Therefore, when the response speed of the application requirement is small When the predetermined threshold value, which is probably video class application or reads class application.
It should be noted that above-mentioned steps 202 and step 205 are the sound that terminal determines the application requirement according to the output valve Speed is answered to be less than a kind of possible implementation of predetermined threshold value.
In step 206, when being not detected by touch operation in the second preset duration, the operating mode of the touch-screen is cut The second low-power consumption mode is shifted to, which is less than fixed duration.
In the embodiment of the present disclosure, if the response speed of the currently running application requirement of terminal is less than predetermined threshold value, due to The application is of less demanding to what is timely responded to, therefore terminal need not provide higher response speed for the application, for this reason, touch-screen It need not keep higher scan frequency.Therefore, during the application operation, when user for a long time (such as second it is default when In length) when not operated to touch-screen, illustrate that user and may need not currently carry out any operation, this situation in terminal The operating mode of touch-screen can be switched to the second low-power consumption mode by lower terminal, to avoid unnecessary power consumption.
In a kind of possible implementation, if touch-screen is currently at high power consumption mode (such as Active patterns), eventually The operating mode of touch-screen can be switched to the second low-power consumption mode by end from current high power consumption mode, and specifically, terminal can The operating mode of touch-screen is switched to the second low-power consumption mode by reducing the scan frequency under the high power consumption mode.
In a kind of possible implementation, which can be identical with first low-power consumption mode, such as should First low-power consumption mode can also be Doze patterns of the prior art.Certainly, second low-power consumption mode and the first low work( Consumption pattern can not also be same, such as due to the application to touch-screen timely respond to or response speed is of less demanding, the second low work( The scan frequency of the touch-screen can be less than the scan frequency of the touch-screen under first low-power consumption mode under consumption pattern so that should Second low-power consumption mode is compared with the Doze patterns of the prior art, can more reduce scan frequency so that touch-screen enters Power consumption after second low-power consumption mode is lower.
Since this is applied to the of less demanding of response speed, compared with the prior art into the fixation of Doze patterns Duration, terminal can reduce the duration that touch-screen enters second low-power consumption mode, when such as the second preset duration is less than the fixation It is long, by the time advance that touch-screen is entered to second low-power consumption mode so that touch-screen is easier to enter the second low work( Consumption pattern, so as to reach the state for saving power consumption faster.
It should be noted that above-mentioned steps 203 to step 204 and step 205 to step 206 is two steps arranged side by side, After terminal performs step 201 and step 202, above-mentioned steps 203 are performed to step 204, or perform above-mentioned steps 205 to step 206, namely the embodiment of the present disclosure provide method can include above-mentioned steps 201, step 202, step 203 and step 204, or Above-mentioned steps 201, step 202, step 205 and step 206.
In the prior art, for any application, since the time that touch-screen enters Doze patterns is fixed, cause pair High application is required in response, may cannot accomplish to timely respond to due to comparatively fast entering Doze patterns, is required for response low Application, cannot may faster save power consumption due to entering Doze patterns compared with slow-motion, can not preferably take into account response speed and Power consumption.And in the disclosure, terminal can be directed to different applications, and control touch-screen enters low-power consumption mode in different time, can Preferably to take into account response speed and power consumption.
It should be noted that the embodiment of the present disclosure is when being started every time with application, terminal records pre- after the application starts If the output valve of sensor of interest in the period, and according to the output valve confirm currently front stage operation application requirement response Speed is also less than illustrating exemplified by predetermined threshold value more than predetermined threshold value, and actually terminal can also be opened only using first time Recorded when dynamic, alternatively, recorded when only starting several times before application, will after determining the type of the application according to this record The application identities and type of the application correspond to storage.So terminal, can be directly according to the application after next time starts the application Application identities, inquire about the corresponding application type of the application identities, so that it is determined that the response speed of the application requirement be more than it is default Threshold value is also less than predetermined threshold value.
It is understood that above-mentioned steps 204 or step 206 are when user does not operate touch-screen for a long time, Touch-screen can enter the first low-power consumption mode or the second low-power consumption mode to save the process of power consumption.When touch-screen is in first When low-power consumption mode or the second low-power consumption mode, the scan frequency of touch-screen is low, and the touch operation of user on the touchscreen is detected The probability measured is low, once and if touch-screen detects the touch operation of user, illustrate user currently may needs in terminal Upper carry out corresponding operating, in this case, for the operation of quick response user, terminal can be by the operating mode of touch-screen from working as Preceding the first low-power consumption mode or the second low-power consumption mode switches to high power consumption mode.
In the embodiment of the present disclosure, by recording the output valve of sensor of interest in the preset time period after application starts, And touch-screen is controlled to enter the time of low-power consumption mode according to these output valves.When according to output valve determine the application to response When rate request is higher, terminal can extend the time that touch-screen enters low-power consumption mode so that touch-screen is less susceptible to enter Low-power consumption mode, so that the probability without response when reducing user's point touching screen;When according to output valve determine the application to response When rate request is relatively low, terminal can shorten the time that touch-screen enters low-power consumption mode so that touch-screen is easier to enter low Power consumption mode, so as to reach the state for saving power consumption faster.According to the output valve feelings of sensor of interest during application operation Requirement of the condition analysis application to response speed, so as to require different applications for response speed, control touch-screen is when different Between enter low-power consumption mode, can preferably take into account response speed and power consumption, realize the balance between response speed and power consumption, it is whole The power consumption of system is reduced on body.
In addition, requiring response speed relatively low application, terminal can further reduce touch-screen and enter low-power consumption mode Scan frequency afterwards so that touch-screen can more save power consumption under the low-power consumption mode.
Fig. 3 is a kind of block diagram of touch screen control device according to an exemplary embodiment.With reference to Fig. 3, the device Including logging modle 301 and handover module 302.
The logging modle 301, after being configured as using starting, the target when application is operated in record preset time period The output valve of sensor;
The handover module 302, is configured as determining that the response speed of the application requirement is more than default threshold according to the output valve When being worth, and touch operation is not detected by the first preset duration, the operating mode of the touch-screen is switched into the first low-power consumption mould Formula, first preset duration are more than fixed duration;
The handover module 302, is additionally configured to determine the response speed of the application requirement less than default according to the output valve Threshold value, and when being not detected by touch operation in the second preset duration, the operating mode of the touch-screen is switched into the second low-power consumption Pattern, second preset duration are less than the fixation duration.
In a kind of possible implementation, which includes acceleration or angle of inclination, which is configured To count the quantity for the output valve for being more than default value in all output valves in the preset time period;Preset when the quantity is more than During quantity, determine that the response speed of the application requirement is more than the predetermined threshold value.
In a kind of possible implementation, which includes acceleration or angle of inclination, which is configured For when the quantity for counting the output valve for being more than default value in all output valves in the preset time period;When the quantity is less than in advance If during quantity, determine that the response speed of the application requirement is less than the predetermined threshold value.
In a kind of possible implementation, it is desirable to response speed be more than the predetermined threshold value application including game class should With, it is desirable to response speed be less than the predetermined threshold value application include video class application.
In a kind of possible implementation, second low-power consumption mode is identical with first low-power consumption mode;Or, this second The scan frequency of the touch-screen is less than the scan frequency of the touch-screen under first low-power consumption mode under low-power consumption mode.
In the embodiment of the present disclosure, by recording the output valve of sensor of interest in the preset time period after application starts, And touch-screen is controlled to enter the time of low-power consumption mode according to these output valves.When according to output valve determine the application to response When rate request is higher, terminal can extend the time that touch-screen enters low-power consumption mode so that touch-screen is less susceptible to enter Low-power consumption mode, so that the probability without response when reducing user's point touching screen;When according to output valve determine the application to response When rate request is relatively low, terminal can shorten the time that touch-screen enters low-power consumption mode so that touch-screen is easier to enter low Power consumption mode, so as to reach the state for saving power consumption faster.According to the output valve feelings of sensor of interest during application operation Requirement of the condition analysis application to response speed, so as to require different applications for response speed, control touch-screen is when different Between enter low-power consumption mode, can preferably take into account response speed and power consumption, realize the balance between response speed and power consumption, it is whole The power consumption of system is reduced on body.
On the device in above-described embodiment, wherein modules perform the concrete mode of operation in related this method Embodiment in be described in detail, explanation will be not set forth in detail herein.
Fig. 4 is a kind of block diagram of touch screen control device 400 according to an exemplary embodiment.For example, device 400 Can be mobile phone, computer, digital broadcast terminal, messaging devices, game console, tablet device, Medical Devices, Body-building equipment, personal digital assistant etc..
With reference to Fig. 4, device 400 can include following one or more assemblies:Processing component 402, memory 404, power supply Component 406, multimedia component 408, audio component 410, input/output (I/O) interface 412, sensor component 414, Yi Jitong Believe component 416.
The integrated operation of the usual control device 400 of processing component 402, such as with display, call, data communication, phase The operation that machine operates and record operation is associated.Processing component 402 can refer to including one or more processors 420 to perform Order, to complete all or part of step of above-mentioned method.In addition, processing component 402 can include one or more modules, just Interaction between processing component 402 and other assemblies.For example, processing component 402 can include multi-media module, it is more to facilitate Interaction between media component 408 and processing component 402.
Memory 404 is configured as storing various types of data to support the operation in device 400.These data are shown Example includes the instruction of any application program or method for being operated on device 400, and contact data, telephone book data, disappears Breath, picture, video etc..Memory 404 can be by any kind of volatibility or non-volatile memory device or their group Close and realize, as static RAM (SRAM), electrically erasable programmable read-only memory (EEPROM) are erasable to compile Journey read-only storage (EPROM), programmable read only memory (PROM), read-only storage (ROM), magnetic memory, flash Device, disk or CD.
Power supply module 406 provides electric power for the various assemblies of device 400.Power supply module 406 can include power management system System, one or more power supplys, and other components associated with generating, managing and distributing electric power for device 400.
Multimedia component 408 is included in the screen of one output interface of offer between device 400 and user.In some realities Apply in example, screen can include liquid crystal display (LCD) and touch panel (TP).If screen includes touch panel, screen can To be implemented as touch-screen, to receive input signal from the user.Touch panel include one or more touch sensors with Gesture on sensing touch, slip and touch panel.Touch sensor can not only sense the boundary of a touch or slide action, and And also detection and touch or the relevant duration and pressure of slide.In certain embodiments, multimedia component 408 includes One front camera and/or rear camera.It is preceding during such as screening-mode or video mode when device 400 is in operator scheme The multi-medium data of outside can be received by putting camera and/or rear camera.Each front camera and rear camera can To be a fixed optical lens system or there is focusing and optical zoom capabilities.
Audio component 410 is configured as output and/or input audio signal.For example, audio component 410 includes a Mike Wind (MIC), when device 400 is in operator scheme, during such as call model, logging mode and speech recognition mode, microphone by with It is set to reception external audio signal.The received audio signal can be further stored in memory 404 or via communication set Part 416 is sent.In certain embodiments, audio component 410 further includes a loudspeaker, for exports audio signal.
I/O interfaces 412 provide interface between processing component 402 and peripheral interface module, and above-mentioned peripheral interface module can To be keyboard, click wheel, button etc..These buttons may include but be not limited to:Home button, volume button, start button and lock Determine button.
Sensor component 414 includes one or more sensors, and the state for providing various aspects for device 400 is commented Estimate.For example, sensor component 414 can detect opening/closed mode of device 400, the relative positioning of component, such as component For the display and keypad of device 400, sensor component 414 can be with the position of 400 1 components of detection device 400 or device Put change, the existence or non-existence that user contacts with device 400,400 orientation of device or acceleration/deceleration and the temperature of device 400 Change.Sensor component 414 can include proximity sensor, be configured to detect without any physical contact near The presence of object.Sensor component 414 can also include optical sensor, such as CMOS or ccd image sensor, for should in imaging With middle use.In certain embodiments, which can also include acceleration transducer, gyro sensor, magnetic Sensor, pressure sensor or temperature sensor.
Communication component 416 is configured to facilitate the communication of wired or wireless way between device 400 and other equipment.Device 400 can access the wireless network based on communication standard, such as WiFi, 2G or 3G, or combinations thereof.In an exemplary implementation In example, communication component 416 receives broadcast singal or broadcast related information from external broadcasting management system via broadcast channel. In one exemplary embodiment, communication component 416 further includes near-field communication (NFC) module, to promote junction service.For example, Radio frequency identification (RFID) technology, Infrared Data Association (IrDA) technology, ultra wide band (UWB) technology, bluetooth can be based in NFC module (BT) technology and other technologies are realized.
In the exemplary embodiment, device 400 can be believed by one or more application application-specific integrated circuit (ASIC), numeral Number processor (DSP), digital signal processing appts (DSPD), programmable logic device (PLD), field programmable gate array (FPGA), controller, microcontroller, microprocessor or other electronic components are realized, for performing above-mentioned touch-screen control method.
In the exemplary embodiment, a kind of non-transitorycomputer readable storage medium including instructing, example are additionally provided Such as include the memory 404 of instruction, above-metioned instruction can be performed to complete the above method by the processor 420 of device 400.For example, Non-transitorycomputer readable storage medium can be read-only memory (ROM), random access memory (RAM), read-only optical disc (CD-ROM), tape, floppy disk and optical data storage devices etc..
In the exemplary embodiment, a kind of computer-readable recording medium for being stored with computer program, example are additionally provided The memory of computer program is such as stored with, above computer program realizes that above-mentioned Fig. 1 or Fig. 2 are corresponding when being executed by processor Touch-screen control method in embodiment.For example, computer-readable recording medium can be read-only memory (ROM), arbitrary access Memory (RAM), read-only optical disc (CD-ROM), tape, floppy disk and optical data storage devices etc..
Those skilled in the art will readily occur to the disclosure its after considering specification and putting into practice invention disclosed herein Its embodiment.This application is intended to cover any variations, uses, or adaptations of the disclosure, these modifications, purposes or Person's adaptive change follows the general principle of the disclosure and including the undocumented common knowledge in the art of the disclosure Or conventional techniques.Description and embodiments are considered only as exemplary, and the true scope and spirit of the disclosure are by following Claim is pointed out.
It should be appreciated that the present disclosure is not limited to the precise structures that have been described above and shown in the drawings, and And various modifications and changes may be made without departing from the scope thereof.The scope of the present disclosure is only limited by appended claim.

Claims (12)

  1. A kind of 1. touch-screen control method, it is characterised in that applied in the terminal with touch-screen, the described method includes:
    After application starts, the output valve of sensor of interest when the application is operated in preset time period is recorded;
    The response speed for determining the application requirement according to the output valve is more than predetermined threshold value, and is not examined in the first preset duration When measuring touch operation, the operating mode of the touch-screen is switched into the first low-power consumption mode, first preset duration is big In fixed duration;
    The response speed for determining the application requirement according to the output valve is less than the predetermined threshold value, and in the second preset duration When being not detected by touch operation, the operating mode of the touch-screen is switched into the second low-power consumption mode, described second it is default when Length is less than the fixed duration.
  2. It is 2. described according to the method described in claim 1, it is characterized in that, the output valve includes acceleration or angle of inclination Determine that the response speed of the application requirement is more than predetermined threshold value according to the output valve, including:
    Count the quantity for the output valve for being more than default value in all output valves in the preset time period;
    When the quantity is more than default quantity, determine that the response speed of the application requirement is more than the predetermined threshold value.
  3. It is 3. described according to the method described in claim 1, it is characterized in that, the output valve includes acceleration or angle of inclination Determine that the response speed of the application requirement is less than predetermined threshold value according to the output valve, including:
    Count the quantity for the output valve for being more than default value in all output valves in the preset time period;
    When the quantity is less than default quantity, determine that the response speed of the application requirement is less than the predetermined threshold value.
  4. 4. according to the method described in claim 1, it is characterized in that, it is desirable to response speed be more than the predetermined threshold value application Including game class application, it is desirable to response speed be less than the predetermined threshold value application include video class application.
  5. 5. according to the method described in claim 1, it is characterized in that, second low-power consumption mode and the first low-power consumption mould Formula is identical;Or,
    The scan frequency of the touch-screen is less than the touch under first low-power consumption mode under second low-power consumption mode The scan frequency of screen.
  6. 6. a kind of touch screen control device, it is characterised in that applied in the terminal with touch-screen, described device includes:
    Logging modle, for after using starting, sensor of interest to be defeated when the application is operated in record preset time period Go out value;
    Handover module, the response speed for determining the application requirement according to the output valve are more than predetermined threshold value, and first When touch operation is not detected by preset duration, the operating mode of the touch-screen is switched into the first low-power consumption mode, it is described First preset duration is more than fixed duration;
    The handover module, is additionally operable to determine that the response speed of the application requirement is less than the default threshold according to the output valve When being worth, and touch operation is not detected by the second preset duration, the operating mode of the touch-screen is switched into the second low-power consumption Pattern, second preset duration are less than the fixed duration.
  7. 7. device according to claim 6, it is characterised in that the output valve includes acceleration or angle of inclination, described Handover module is used to count the quantity for the output valve for being more than default value in all output valves in the preset time period;Work as institute When stating quantity more than default quantity, determine that the response speed of the application requirement is more than the predetermined threshold value.
  8. 8. device according to claim 6, it is characterised in that the output valve includes acceleration or angle of inclination, described Handover module is used to count the quantity for the output valve for being more than default value in all output valves in the preset time period;Work as institute When stating quantity less than default quantity, determine that the response speed of the application requirement is less than the predetermined threshold value.
  9. 9. device according to claim 6, it is characterised in that it is required that response speed be more than the predetermined threshold value application Including game class application, it is desirable to response speed be less than the predetermined threshold value application include video class application.
  10. 10. device according to claim 6, it is characterised in that second low-power consumption mode and first low-power consumption Pattern is identical;Or, the scan frequency of the touch-screen is less than under first low-power consumption mode under second low-power consumption mode The scan frequency of the touch-screen.
  11. 11. a kind of touch screen control device, it is characterised in that described device includes:
    Processor;
    The memory for the instruction that can perform for storing processor;
    Wherein, the processor is configured as:
    After application starts, the output valve of sensor of interest when the application is operated in preset time period is recorded;
    The response speed for determining the application requirement according to the output valve is more than predetermined threshold value, and is not examined in the first preset duration When measuring touch operation, the operating mode of the touch-screen is switched into the first low-power consumption mode, first preset duration is big In fixed duration;
    The response speed for determining the application requirement according to the output valve is less than the predetermined threshold value, and in the second preset duration When being not detected by touch operation, the operating mode of the touch-screen is switched into the second low-power consumption mode, described second it is default when Length is less than the fixed duration.
  12. 12. a kind of computer-readable recording medium, it is characterised in that the computer-readable recording medium memory contains computer Program, the computer program realize claim 1-5 any one of them method and steps when being executed by processor.
CN201711315984.2A 2017-12-12 2017-12-12 Touch screen control method and device Active CN107943347B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201711315984.2A CN107943347B (en) 2017-12-12 2017-12-12 Touch screen control method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711315984.2A CN107943347B (en) 2017-12-12 2017-12-12 Touch screen control method and device

Publications (2)

Publication Number Publication Date
CN107943347A true CN107943347A (en) 2018-04-20
CN107943347B CN107943347B (en) 2020-12-04

Family

ID=61943801

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711315984.2A Active CN107943347B (en) 2017-12-12 2017-12-12 Touch screen control method and device

Country Status (1)

Country Link
CN (1) CN107943347B (en)

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109144224A (en) * 2018-09-26 2019-01-04 Oppo广东移动通信有限公司 The power consumption optimization method and device of touch screen
CN109992315A (en) * 2019-04-09 2019-07-09 Oppo广东移动通信有限公司 Touch screen control method, apparatus, terminal and storage medium
CN110007800A (en) * 2019-04-10 2019-07-12 广州视源电子科技股份有限公司 A kind of control method, device, equipment and the storage medium of touch operation mode
CN110060460A (en) * 2019-05-07 2019-07-26 广东好太太科技集团股份有限公司 A kind of the RF touch remote controller and its regulating power consumption method of adjustable power consumption
CN110176158A (en) * 2018-07-09 2019-08-27 深圳睿尚教育科技有限公司 A kind of record live streaming switching system and its method
CN111625128A (en) * 2020-05-12 2020-09-04 Oppo广东移动通信有限公司 Control method and control device of touch screen, mobile terminal and storage medium
CN112035050A (en) * 2020-09-10 2020-12-04 Oppo(重庆)智能科技有限公司 Control method, control device, storage medium and terminal device
CN112286286A (en) * 2020-10-28 2021-01-29 广东小天才科技有限公司 Standby control method, wearable device and computer-readable storage medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102262465A (en) * 2010-05-26 2011-11-30 鸿富锦精密工业(深圳)有限公司 Electronic device having touch input unit and touch input method of electronic device
CN105630493A (en) * 2015-12-22 2016-06-01 周奇 Method and device for regulating sleep time of mobile terminal
CN106462275A (en) * 2014-06-09 2017-02-22 索尼公司 Adaptive touch panel synchronization
US20170147809A1 (en) * 2015-11-23 2017-05-25 International Business Machines Corporation Enhancing security of a mobile device using pre-authentication sequences
CN107454950A (en) * 2017-07-20 2017-12-08 深圳市汇顶科技股份有限公司 The method and touch controller of detected touch point
CN107943409A (en) * 2017-12-07 2018-04-20 北京小米移动软件有限公司 Touch-screen control method and device

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102262465A (en) * 2010-05-26 2011-11-30 鸿富锦精密工业(深圳)有限公司 Electronic device having touch input unit and touch input method of electronic device
CN106462275A (en) * 2014-06-09 2017-02-22 索尼公司 Adaptive touch panel synchronization
US20170147809A1 (en) * 2015-11-23 2017-05-25 International Business Machines Corporation Enhancing security of a mobile device using pre-authentication sequences
CN105630493A (en) * 2015-12-22 2016-06-01 周奇 Method and device for regulating sleep time of mobile terminal
CN107454950A (en) * 2017-07-20 2017-12-08 深圳市汇顶科技股份有限公司 The method and touch controller of detected touch point
CN107943409A (en) * 2017-12-07 2018-04-20 北京小米移动软件有限公司 Touch-screen control method and device

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110176158A (en) * 2018-07-09 2019-08-27 深圳睿尚教育科技有限公司 A kind of record live streaming switching system and its method
CN109144224A (en) * 2018-09-26 2019-01-04 Oppo广东移动通信有限公司 The power consumption optimization method and device of touch screen
CN109992315A (en) * 2019-04-09 2019-07-09 Oppo广东移动通信有限公司 Touch screen control method, apparatus, terminal and storage medium
CN109992315B (en) * 2019-04-09 2022-03-25 Oppo广东移动通信有限公司 Touch screen control method and device, terminal and storage medium
CN110007800A (en) * 2019-04-10 2019-07-12 广州视源电子科技股份有限公司 A kind of control method, device, equipment and the storage medium of touch operation mode
CN110060460A (en) * 2019-05-07 2019-07-26 广东好太太科技集团股份有限公司 A kind of the RF touch remote controller and its regulating power consumption method of adjustable power consumption
CN111625128A (en) * 2020-05-12 2020-09-04 Oppo广东移动通信有限公司 Control method and control device of touch screen, mobile terminal and storage medium
CN112035050A (en) * 2020-09-10 2020-12-04 Oppo(重庆)智能科技有限公司 Control method, control device, storage medium and terminal device
CN112286286A (en) * 2020-10-28 2021-01-29 广东小天才科技有限公司 Standby control method, wearable device and computer-readable storage medium
CN112286286B (en) * 2020-10-28 2023-08-25 广东小天才科技有限公司 Standby control method, wearable device and computer readable storage medium

Also Published As

Publication number Publication date
CN107943347B (en) 2020-12-04

Similar Documents

Publication Publication Date Title
CN107943347A (en) Touch-screen control method and device
CN107943409A (en) Touch-screen control method and device
CN107608561A (en) Touch-screen control method and device
CN105657173B (en) Volume adjusting method, device and mobile terminal
CN106951884A (en) Gather method, device and the electronic equipment of fingerprint
CN105159559A (en) Mobile terminal control method and mobile terminal
CN104598111A (en) Display mode switching method and display mode switching device
CN105511631A (en) Gesture recognition method and device
CN109658927A (en) Wake-up processing method, device and the management equipment of smart machine
CN104539871B (en) Multimedia session method and device
CN107102772A (en) Touch control method and device
CN106547663A (en) Button management method and device
CN107390977A (en) Button operation method, apparatus and storage medium
CN107919124A (en) Equipment awakening method and device
CN106873834A (en) Method and device and mobile terminal that key range is triggered
CN105426218A (en) Method and device for controlling audio playing
CN106231640A (en) Wireless access point switching method and device
CN106503516A (en) Terminal, unlocked by fingerprint method and device
CN107783715A (en) Using startup method and device
CN110262692A (en) A kind of touch screen scanning method, device and medium
CN106792937A (en) The processing method and processing device of call request
CN106127132B (en) The reminding method and device, electronic equipment of slidingtype typing fingerprint
CN105516469A (en) Clock control method and device
CN105187671A (en) Recording method and device
CN107368280A (en) Method for controlling volume, device and the interactive voice equipment of interactive voice

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