WO2017107737A1 - Method, apparatus and device for adjusting screen turn-off time of terminal, and computer storage media - Google Patents

Method, apparatus and device for adjusting screen turn-off time of terminal, and computer storage media Download PDF

Info

Publication number
WO2017107737A1
WO2017107737A1 PCT/CN2016/107310 CN2016107310W WO2017107737A1 WO 2017107737 A1 WO2017107737 A1 WO 2017107737A1 CN 2016107310 W CN2016107310 W CN 2016107310W WO 2017107737 A1 WO2017107737 A1 WO 2017107737A1
Authority
WO
WIPO (PCT)
Prior art keywords
time interval
application
time
terminal
page turning
Prior art date
Application number
PCT/CN2016/107310
Other languages
French (fr)
Chinese (zh)
Inventor
阙石峰
孙永新
Original Assignee
中兴通讯股份有限公司
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 中兴通讯股份有限公司 filed Critical 中兴通讯股份有限公司
Publication of WO2017107737A1 publication Critical patent/WO2017107737A1/en

Links

Images

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/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0481Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
    • G06F3/0483Interaction with page-structured environments, e.g. book metaphor

Definitions

  • the present invention relates to the field of communications, and in particular, to a method, an apparatus, a device, and a computer storage medium for adjusting a terminal blanking time.
  • Solution 2 Calculate the default display time value of the current reading page according to the acquired interface elements (such as text, pictures, etc.) and the default display time function.
  • the user in order to save power consumption, the user generally sets the off-screen time to be shorter (for example, 15 seconds), but in the reading mode, when the page has not been read, The brightness of the screen is dimmed, and the user has to touch the screen again to let the system recalculate the time. A news or novel has to be repeated several times.
  • the second problem in the related art has the following problem: every time a page is turned over, it is necessary to recalculate and adjust the terminal blanking time, and the calculation algorithm must always run, occupying memory, and calculating a large amount.
  • the embodiment of the invention provides a method, a device, a device and a computer storage medium for adjusting the time of the terminal to clear the screen, so as to at least solve the problem that the terminal is screened out due to frequent setting of the screen-off time when the terminal displays the content to be displayed in the related art.
  • a method for adjusting a terminal blanking time including: determining whether an application to which a neighboring display interface belongs belongs to an application in a whitelist; and wherein the application belongs to the whitelist When the application is obtained, obtaining the adjacent display interface respectively receives the flip The page turning time interval between the moments of the page command; adjusting the screen blanking time interval of the terminal according to the page turning time interval.
  • the obtaining the page turning time interval between the moments when the adjacent display interface receives the page turning instruction respectively comprises: acquiring a time interval set obtained by performing the following steps multiple times: acquiring the current display interface receiving the turning a time interval between the page instruction and the next display interface receiving the page turning instruction, the time interval being used as a constituent element in the time interval set; determining a target according to the constituent elements in the time interval set A time interval, and the target time interval is taken as the page turning time interval.
  • determining the target time interval according to the component element in the time interval set includes: counting frequency of each time interval included in the time interval set; acquiring the frequency is greater than the first a time interval of a preset threshold; the time interval is set to the target time interval.
  • determining the target time interval according to the component element in the time interval set includes: selecting a time interval in the time interval set as a specified time interval; respectively acquiring the time interval set And obtaining, by the time interval of the interval between the time interval and the specified time interval, an absolute value of the difference between the time interval and the second predetermined threshold, obtaining a time interval subset; and obtaining an average of the time intervals included in the time interval subset; The average value is taken as the target time interval.
  • the preset time interval is used as the timeout interval of the terminal.
  • the application includes at least one of the following: an application of a reading mode, and an application of a video browsing mode.
  • an apparatus for adjusting a terminal to clear a screen comprising: a determining module, configured to determine whether an application to which the adjacent display interface belongs belongs to an application in a whitelist; and an obtaining module, configured to: And when the application belongs to the application in the whitelist, acquiring a page turning time interval between the moments when the adjacent display interface receives the page turning instruction respectively; and an adjusting module, configured to adjust according to the page turning time interval The timeout interval of the terminal.
  • the obtaining module includes: an acquiring unit, configured to acquire a time interval set obtained by performing the following steps multiple times: acquiring the current display interface, receiving the page turning instruction, and receiving, by the next display interface, the page turning a time interval between instructions, the time interval being used as a constituent element in the set of time intervals; a processing unit, configured to determine a target time interval according to the constituent elements in the set of time intervals, and to target the target The time interval is used as the page turning time interval.
  • the processing unit includes: a statistics subunit, configured to collect a frequency that occurs in each time interval included in the time interval set; and a first acquiring subunit, configured to acquire the frequency is greater than the first a time interval of a preset threshold; a first setting subunit configured to set the time interval to the target time interval.
  • the processing unit includes: a selecting subunit, configured to select a time interval in the time interval set as a specified time interval; and a second acquiring subunit, configured to separately acquire the time interval set And a time interval sub-set obtained by the time interval of the difference between the time interval and the specified time interval is smaller than the second preset threshold, and the third acquiring sub-unit is configured to obtain the time interval subset An average of the included time intervals; a second setting sub-unit for using the average value as the target time interval.
  • the device further includes: a setting module, configured to use a preset time interval as a timeout interval of the terminal when the application does not belong to the application in the whitelist.
  • the application includes at least one of the following: an application of a reading mode, and an application of a video browsing mode.
  • Page turning time interval adjust the time interval of the terminal to clear according to the page turning interval. That is to say, the page turning instruction received by the current display interface is used as the timing starting point, and the page turning instruction is received as the timing end point by the next display interface of the current display interface, and the time interval between the time counting start point and the time counting end point is calculated and acquired.
  • the page turning time interval is finally adjusted according to the page turning time interval, which solves the flexibility of setting the terminal blanking time caused by frequent setting of the screen blanking time when the terminal displays the content to be displayed in the related art. Lower The problem, in turn, achieves the effect of increasing the flexibility of the terminal off-screen setting.
  • FIG. 1 is a flowchart of a method for adjusting a terminal blanking time according to an embodiment of the present invention
  • FIG. 2 is a flowchart of a method for adjusting a terminal blanking time in a reading mode according to an embodiment of the present invention
  • FIG. 3 is a structural block diagram of an apparatus for adjusting a terminal blanking time according to an embodiment of the present invention
  • FIG. 4 is a structural block diagram (1) of an apparatus for adjusting a terminal blanking time according to an embodiment of the present invention
  • FIG. 5 is a structural block diagram (2) of an apparatus for adjusting a terminal blanking time according to an embodiment of the present invention
  • FIG. 6 is a structural block diagram (3) of an apparatus for adjusting a terminal blanking time according to an embodiment of the present invention.
  • FIG. 7 is a structural block diagram (4) of an apparatus for adjusting a terminal blanking time according to an embodiment of the present invention.
  • FIG. 1 is a flowchart of a method for adjusting the time of the terminal to be screen-off according to the embodiment of the present invention. As shown in FIG. 1 , the process includes the following steps:
  • Step S102 determining whether an application to which the adjacent display interface belongs belongs to an application in the whitelist
  • the application included in the white list involved in the foregoing steps may be an application preset by the system, or may be an application temporarily pulled into the white list as needed.
  • the applications in the white list include, but are not limited to, the application of the reading mode and the application of the video browsing mode.
  • Step S104 When the application belongs to the application in the whitelist, obtain a page turning time interval between the moments when the adjacent display interface receives the page turning instruction respectively;
  • Step S106 adjusting the timeout interval of the terminal according to the page turning time interval.
  • the application scenario of the method for adjusting the terminal blanking time includes, but is not limited to, using the terminal for text reading, using the terminal for image browsing, and using the terminal for video browsing.
  • the application that determines whether the application to which the adjacent display interface belongs belongs to the whitelist is used; when the application belongs to the application in the whitelist, the time when the adjacent display interface receives the page turning instruction respectively is obtained.
  • the page turning instruction is received as the starting point of the current display interface
  • the page turning instruction is received as the timed end point by the next display interface of the current display interface
  • the time interval between the timed starting point and the counting end point is calculated
  • the time interval of the page is obtained
  • the time interval of the terminal is adjusted according to the time interval of the page turning.
  • the difference between the time when the user actually browses the content of the display interface is not considered, and only the content displayed by the display interface is used.
  • the calculation of related information does not meet the terminal blanking time for actual needs, resulting in less flexibility in setting the terminal blanking time and reducing the user experience.
  • the above-mentioned method provided by the instinct embodiment solves the problem that the flexibility of setting the screen-off time of the terminal caused by the frequent setting of the screen-off time when the terminal displays the content to be displayed in the related art is low, and thus the terminal is eliminated. Screen time setting flexibility.
  • the triggering manner of the page turning instruction may include but is not limited to On: sliding screen operation, button operation, voice input.
  • the method for adjusting the timeout interval of the terminal according to the page turning interval includes, but is not limited to, directly setting the page turning time interval to the terminal blanking time interval, according to the page turning time.
  • the interval increases or decreases the preset time interval of the terminal, and is not limited herein.
  • obtaining a page turning time interval between moments when the adjacent display interface receives the page turning instruction respectively includes the following steps:
  • Step S11 Acquire a time interval set obtained by performing the following steps multiple times: acquiring a time interval between when the current display interface receives the page turning instruction and when the next display interface receives the page turning instruction, and the time interval is used as the time interval.
  • Step S12 Determine a target time interval according to the constituent elements in the time interval set, and use the target time interval as the page turning time interval.
  • a plurality of time intervals between the page turning instructions are received by receiving the page turning instruction by acquiring different current display interfaces to the next display interface corresponding to the different current display interfaces, and according to the multiple The time interval is determined to be a target time interval, which is used to adjust the time interval of the screen to be cleared, and further solves the problem that the setting of the screen blanking time is relatively low due to the frequent setting of the screen-off time when the terminal displays the content to be displayed in the related art.
  • the problem in turn, achieves the effect of increasing the flexibility of the terminal off-screen setting.
  • determining the target time interval based on the constituent elements in the time interval set includes the following steps:
  • Step S21 counting the frequency of each time interval included in the time interval set
  • Step S22 Obtain a time interval in which the frequency is greater than a first preset threshold.
  • step S23 the time interval is set to the target time interval.
  • the time interval in which the acquisition frequency is greater than the first preset threshold may be the time interval in which the frequency of occurrence of the acquisition time interval is the highest, if the acquired frequency occurs at the highest time interval.
  • the time interval may be set as the target time interval.
  • the time interval in which the frequency of occurrence of the time interval is greater than the first preset threshold is obtained, and the time interval is set as the target time interval, so that the determination of the target time interval is more accurate, and the terminal is further disabled.
  • the setting of the screen time is more in line with the user's needs and improves the user experience.
  • determining the target time interval according to the component element in the time interval set includes the following steps:
  • Step S31 selecting a time interval in the time interval set as the specified time interval
  • Step S32 respectively obtaining a time interval in which the absolute value of the difference between the time interval included in the time interval set and the specified time interval is less than a second preset threshold, to obtain a time interval subset;
  • Step S33 obtaining an average value of time intervals included in the subset of time interval sub-sets
  • step S34 the average value is taken as the target time interval.
  • the method for selecting a time interval in the time interval set includes, but is not limited to, selecting a time interval corresponding to a position in the middle of all time interval comparisons in the time interval set; the second preset threshold The value can be 5s, which is not limited here.
  • the absolute value of the difference between the time interval and the specified time interval is less than a second preset threshold (for example, The time interval of 5s) is used as a component element in the time interval sub-set, and then the average value of the time interval included in the time interval sub-set is obtained, and the average value is used as the target time interval, so that the determination of the target time interval is more accurate.
  • a second preset threshold for example, The time interval of 5s
  • the preset time interval is used as the timeout interval of the terminal.
  • the application included in the whitelist initially set by the terminal includes: an application of a text reading mode, an application of a picture browsing mode, and an application that determines that an application to which the adjacent display interface belongs belongs to a white list, such as an application of a text reading mode.
  • the timeout time adjustment may be performed according to the method for adjusting the terminal blanking time in the embodiment, and the application that the adjacent display interface belongs to does not belong to the whitelist, for example, the application of the call mode, may be set according to the system.
  • the terminal can be set to the off-screen mode 2s after the call is connected.
  • the preset time interval is used as the timeout interval of the terminal, which further avoids all applications related to the terminal in the related art. It is necessary to adjust the screen-off time, which leads to an increase in the system calculation amount of the terminal and a problem of a large memory.
  • the adjacent display interface includes at least one of the following: an application of a reading mode, and an application of a video browsing mode.
  • the application of the adjacent display interface includes, but is not limited to, an application of a reading mode, an application of a video browsing mode, and an application of a call mode.
  • an application of a reading mode includes, but is not limited to, an application of a reading mode, an application of a video browsing mode, and an application of a call mode.
  • a method for adjusting the screen-off time in the reading mode is mainly provided, which will be described below with reference to FIG. 2 . Among them, it mainly includes the following steps:
  • Step S201 setting a white list, and inserting the reading mode application into the list
  • Step S202 determining whether the application provided by the current terminal belongs to an application in the whitelist
  • step S203 if the determination result is YES, the screen-off time is set by the self-learning process.
  • the self-learning process setting the screen-off time is mainly to determine the time t required for the user to read a page by recording the time interval of the user before and after sliding the screen on the reading display interface, and determining the time-out time T according to the time t (T ⁇ t);
  • step S204 if the determination result is no, the screen-off time in the system setting is adopted.
  • a method for adjusting a screen-off time in a reading mode provided by the above embodiment of the present invention,
  • the time t for the user to read a page is determined by recording the time interval of the user before and after sliding on the reading interface.
  • the time T (T ⁇ t) is automatically adjusted according to the time. It can be learned and adjusted according to the reading speed of different groups of people.
  • the user does not need to adjust the frequency locking time of the terminal before reading, and the user does not need to perform the bright screen operation frequently during the reading process, which can improve The satisfaction experienced by the user during the reading process.
  • a computer storage medium is further provided, and the computer storage medium may store an execution instruction for executing the method in the foregoing embodiment.
  • the method according to the above embodiment can be implemented by means of software plus a necessary general hardware platform, and of course, by hardware, but in many cases, the former is A better implementation.
  • the technical solution of the embodiments of the present invention may be embodied in the form of a software product in essence or in the form of a software product stored in a storage medium (such as ROM/RAM, magnetic).
  • the disc, the optical disc includes a number of instructions for causing a terminal device (which may be a mobile phone, a computer, a server, or a network device, etc.) to perform the methods described in various embodiments of the present invention.
  • a device for adjusting the time of the terminal to be screened is also provided.
  • the device is used to implement the foregoing embodiments and preferred embodiments, and details are not described herein.
  • the term "module” may implement a combination of software and/or hardware of a predetermined function.
  • the apparatus described in the following embodiments is preferably implemented in software, hardware, or a combination of software and hardware, is also possible and contemplated.
  • FIG. 3 is a structural block diagram of an apparatus for adjusting a terminal off time according to an embodiment of the present invention. As shown in FIG. 3, the apparatus includes:
  • the determining module 32 is configured to determine whether an application to which the adjacent display interface belongs belongs to an application in the whitelist
  • the application included in the white list may be an application preset by the system, or may be an application that is temporarily pulled into the white list as needed.
  • the white list Applications include, but are not limited to, reading mode applications, video browsing mode applications.
  • the obtaining module 34 is configured to: when the application belongs to the application in the whitelist, obtain a page turning time interval between the moments when the adjacent display interface receives the page turning instruction respectively;
  • the adjustment module 36 is configured to adjust the timeout interval of the terminal according to the page turning time interval.
  • the application scenario of the device for adjusting the terminal blanking time includes, but is not limited to, using the terminal to perform text reading, using the terminal to perform image browsing, and using the terminal to perform video browsing.
  • the application that determines whether the application to which the adjacent display interface belongs belongs to the whitelist is used; when the application belongs to the application in the whitelist, the time when the adjacent display interface receives the page turning instruction respectively is acquired.
  • the page turning interval is set; the time interval of the terminal is adjusted according to the page turning interval.
  • the page turning instruction is received as the starting point of the current display interface
  • the page turning instruction is received as the timed end point by the next display interface of the current display interface
  • the time interval between the timed starting point and the counting end point is calculated
  • the time interval of the page is obtained
  • the time interval of the terminal is adjusted according to the time interval of the page turning.
  • the difference between the time when the user actually browses the content of the display interface is not considered, and only the content displayed by the display interface is used.
  • the calculation of related information does not meet the terminal blanking time for actual needs, resulting in less flexibility in setting the terminal blanking time and reducing the user experience.
  • the above-mentioned device provided by the instinct embodiment solves the problem that the flexibility of setting the screen-off time of the terminal caused by the frequent setting of the screen-off time when the terminal displays the content to be displayed in the related art is low, and thus the terminal is eliminated. Screen time setting flexibility.
  • the triggering manner of the page turning instruction may include, but is not limited to, a sliding screen operation, a key operation, and a voice input.
  • the method for adjusting the timeout interval of the terminal according to the page turning interval includes, but is not limited to, directly setting the page turning time interval to the terminal blanking time interval, according to the page turning time.
  • the interval increases or decreases the preset time interval of the terminal, and is not limited herein.
  • FIG. 4 is a structural block diagram (1) of an apparatus for adjusting a terminal blanking time according to an embodiment of the present invention.
  • the obtaining module 34 includes:
  • an obtaining unit 42 configured to acquire a time interval set obtained by performing the following steps multiple times: acquiring a time interval between when the current display interface receives the page turning instruction and when the next display interface receives the page turning instruction, The time interval is a constituent element in the set of time intervals;
  • the processing unit 44 is configured to determine a target time interval according to the component element in the time interval set, and use the target time interval as the page turning time interval.
  • a plurality of time intervals between the page turning instructions are received by receiving the page turning instruction by acquiring different current display interfaces to the next display interface corresponding to the different current display interfaces, and according to the multiple The time interval is determined to be a target time interval, which is used to adjust the time interval of the screen to be cleared, and further solves the problem that the setting of the screen blanking time is relatively low due to the frequent setting of the screen-off time when the terminal displays the content to be displayed in the related art.
  • the problem in turn, achieves the effect of increasing the flexibility of the terminal off-screen setting.
  • FIG. 5 is a structural block diagram (2) of an apparatus for adjusting a terminal blanking time according to an embodiment of the present invention.
  • the processing unit 44 includes:
  • a statistics sub-unit 52 configured to count the frequency of each time interval included in the time interval set
  • the first obtaining sub-unit 54 is configured to acquire a time interval that the frequency is greater than the first preset threshold
  • the time interval in which the acquisition frequency is greater than the first preset threshold may be the time interval in which the frequency of occurrence of the acquisition time interval is the highest. If there are multiple time intervals with the highest frequency of occurrence, the time interval may be larger. As the target time interval.
  • the time interval in which the frequency of occurrence of the time interval is greater than the first preset threshold is obtained, and the time interval is set as the target time interval, so that the determination of the target time interval is more accurate, and the terminal is further disabled.
  • the setting of the screen time is more in line with the user's needs and improves the user experience.
  • FIG. 6 is a structural block diagram (3) of an apparatus for adjusting a terminal blanking time according to an embodiment of the present invention.
  • the processing unit 44 includes:
  • the second obtaining sub-unit 64 is configured to respectively obtain a time interval in which the absolute value of the difference between the time interval included in the time interval set and the specified time interval is less than a second preset threshold, to obtain a time interval subset ;
  • a third obtaining sub-unit 66 configured to obtain an average value of time intervals included in the time interval sub-set
  • the method for selecting a time interval in the time interval set includes, but is not limited to, selecting a time interval corresponding to a position in the middle of all time interval comparisons in the time interval set; the second preset threshold The value can be 5s, which is not limited here.
  • the absolute value of the difference between the time interval and the specified time interval is less than a second preset threshold (for example, The time interval of 5s) is used as a component element in the time interval sub-set, and then the average value of the time interval included in the time interval sub-set is obtained, and the average value is used as the target time interval, so that the determination of the target time interval is more accurate.
  • a second preset threshold for example, The time interval of 5s
  • FIG. 7 is a structural block diagram (4) of an apparatus for adjusting a terminal blanking time according to an embodiment of the present invention. As shown in FIG. 7, the apparatus includes all the modules shown in FIG. Also includes:
  • the setting module 72 is configured to use the preset time interval as the timeout interval of the terminal when the application does not belong to the application in the whitelist.
  • the application included in the whitelist initially set by the terminal includes: an application of a text reading mode, an application of a picture browsing mode, and an application that determines that an application to which the adjacent display interface belongs belongs to a white list, such as an application of a text reading mode.
  • the timeout time adjustment may be performed according to the method for adjusting the terminal blanking time in the embodiment, and the application of the adjacent display interface is determined not to be determined.
  • Applications that belong to the whitelist such as the application of the call mode, can be set to the off-screen mode for 2 seconds after the call is connected, according to the time set by the system.
  • the preset time interval is used as the timeout interval of the terminal, which further avoids all applications related to the terminal in the related art. It is necessary to adjust the screen-off time, which leads to an increase in the system calculation amount of the terminal and a problem of a large memory.
  • the foregoing application includes at least one of the following: an application of a reading mode, and an application of a video browsing mode.
  • the application of the adjacent display interface includes, but is not limited to, an application of a reading mode, an application of a video browsing mode, and an application of a call mode.
  • an application of a reading mode includes, but is not limited to, an application of a reading mode, an application of a video browsing mode, and an application of a call mode.
  • an apparatus for adjusting the time of the terminal to clear the screen which includes the apparatus for adjusting the time of the terminal to be screened out in the foregoing embodiment.
  • each of the above modules may be implemented by software or hardware.
  • the foregoing may be implemented by, but not limited to, the foregoing modules are all located in the same processor; or, the modules are located in multiple In the processor.
  • Embodiments of the present invention also provide a storage medium.
  • the foregoing storage medium may be configured to store program code for performing the following steps:
  • the foregoing storage medium may include, but not limited to, a USB flash drive, a Read-Only Memory (ROM), a Random Access Memory (RAM), a mobile hard disk, and a magnetic memory.
  • ROM Read-Only Memory
  • RAM Random Access Memory
  • the processor executes S1, S2, and S3 according to the stored program code in the storage medium.
  • modules or steps of the embodiments of the present invention can be implemented by a general computing device, which can be concentrated on a single computing device or distributed in multiple computing devices. Alternatively, they may be implemented by program code executable by the computing device such that they may be stored in the storage device by the computing device and, in some cases, may be different from The steps shown or described are performed sequentially, or they are separately fabricated into individual integrated circuit modules, or a plurality of modules or steps thereof are fabricated into a single integrated circuit module. Thus, embodiments of the invention are not limited to any specific combination of hardware and software.
  • the present invention it is determined whether an application to which the adjacent display interface belongs belongs to an application in a whitelist; when the application belongs to an application in the whitelist, obtaining a time when the adjacent display interface receives the page turning instruction respectively The page turning interval between the two; the time interval of the terminal is adjusted according to the page turning interval. That is to say, the page turning instruction received by the current display interface is used as the timing starting point, and the page turning instruction is received as the timing end point by the next display interface of the current display interface, and the time interval between the time counting start point and the time counting end point is calculated and acquired.
  • the page turning time interval is finally adjusted according to the page turning time interval, and the terminal blanking time setting caused by the frequent setting of the screen blanking time when the terminal displays the content to be displayed in the related art is solved.
  • the problem of low flexibility is achieved, thereby achieving the effect of increasing the flexibility of the terminal off-screen setting.

Abstract

A method, apparatus and device for adjusting a screen turn-off time of a terminal, and computer storage media. The method comprises: judging whether an application, to which adjacent display interfaces belong, belongs to an application in a white list (S102); when the application belongs to the application in the white list, acquiring a page turning time interval between the moments when the adjacent display interfaces respectively receive a page turning instruction (S104); and adjusting a screen turn-off time interval of a terminal according to the page turning time interval (S106). The problem in the relevant art of relatively low flexibility in setting a screen turn-off time of a terminal, caused by the fact that a screen turn-off time needs to be set frequently when contents to be displayed are displayed on a terminal, is solved, thereby achieving the effect of improving the flexibility of setting the screen turn-off time of the terminal.

Description

终端灭屏时间的调整方法、装置、设备及计算机存储介质Method, device, device and computer storage medium for adjusting terminal off time 技术领域Technical field
本发明涉及通信领域,具体而言,涉及一种终端灭屏时间的调整方法、装置、设备及计算机存储介质。The present invention relates to the field of communications, and in particular, to a method, an apparatus, a device, and a computer storage medium for adjusting a terminal blanking time.
背景技术Background technique
相关技术中存在以下两种设置终端灭屏时间的方案,其中,方案一:在设置菜单里面统一设置终端休眠时间,适用于所有应用。方案二:根据获取的终端的界面组成元素(如文字、图片等)以及所述默认显示时间函数计算得到当前阅读页面的默认显示时间值。There are two solutions for setting the terminal blanking time in the related art. Among them, the first solution: uniformly setting the terminal sleep time in the setting menu, which is applicable to all applications. Solution 2: Calculate the default display time value of the current reading page according to the acquired interface elements (such as text, pictures, etc.) and the default display time function.
但是,相关技术中的方案一存在如下问题:为节约功耗,用户一般把灭屏时间都设置的较短(例如15秒),但在阅读模模式下,当一页还没阅读完时,屏幕亮度就变暗了,这时用户不得不再触摸一次屏幕来让系统重新计算时间,一个新闻或小说看下来要反复多次才行。However, in the first solution of the related art, there is the following problem: in order to save power consumption, the user generally sets the off-screen time to be shorter (for example, 15 seconds), but in the reading mode, when the page has not been read, The brightness of the screen is dimmed, and the user has to touch the screen again to let the system recalculate the time. A news or novel has to be repeated several times.
相关技术中的方案二存在如下问题:每翻一页都需要重新计算和调整一次终端灭屏时间,计算相关的算法要一直跑,占内存,计算量大。The second problem in the related art has the following problem: every time a page is turned over, it is necessary to recalculate and adjust the terminal blanking time, and the calculation algorithm must always run, occupying memory, and calculating a large amount.
针对相关技术中,在终端显示待显示内容时需频繁的设置灭屏时间所导致的终端灭屏时间设置的灵活性较低的问题,尚未提出有效的解决方案。For the related art, when the terminal displays the content to be displayed, it is required to frequently set the screen-off time, and the flexibility of setting the terminal-off time is low, and an effective solution has not been proposed.
发明内容Summary of the invention
本发明实施例提供了一种终端灭屏时间的调整方法、装置、设备及计算机存储介质,以至少解决相关技术中在终端显示待显示内容时需频繁的设置灭屏时间所导致的终端灭屏时间设置的灵活性较低的问题。The embodiment of the invention provides a method, a device, a device and a computer storage medium for adjusting the time of the terminal to clear the screen, so as to at least solve the problem that the terminal is screened out due to frequent setting of the screen-off time when the terminal displays the content to be displayed in the related art. The problem of less flexibility in time setting.
根据本发明实施例的一个方面,提供了一种终端灭屏时间的调整方法,包括:判断相邻显示界面所属的应用是否属于白名单中的应用;在所述应用属于所述白名单中的应用时,获取所述相邻显示界面分别接收到翻 页指令的时刻之间的翻页时间间隔;依据所述翻页时间间隔调整终端的灭屏时间间隔。According to an aspect of the present invention, a method for adjusting a terminal blanking time is provided, including: determining whether an application to which a neighboring display interface belongs belongs to an application in a whitelist; and wherein the application belongs to the whitelist When the application is obtained, obtaining the adjacent display interface respectively receives the flip The page turning time interval between the moments of the page command; adjusting the screen blanking time interval of the terminal according to the page turning time interval.
可选地,所述获取相邻显示界面分别接收到翻页指令的时刻之间的翻页时间间隔包括:获取通过多次执行以下步骤得到的时间间隔集合:获取当前显示界面接收到所述翻页指令到下一显示界面接收到所述翻页指令之间的时间间隔,将所述时间间隔作为所述时间间隔集合中的组成元素;依据所述时间间隔集合中的所述组成元素确定目标时间间隔,并将所述目标时间间隔作为所述翻页时间间隔。Optionally, the obtaining the page turning time interval between the moments when the adjacent display interface receives the page turning instruction respectively comprises: acquiring a time interval set obtained by performing the following steps multiple times: acquiring the current display interface receiving the turning a time interval between the page instruction and the next display interface receiving the page turning instruction, the time interval being used as a constituent element in the time interval set; determining a target according to the constituent elements in the time interval set A time interval, and the target time interval is taken as the page turning time interval.
可选地,所述依据所述时间间隔集合中的所述组成元素确定目标时间间隔包括:统计所述时间间隔集合中所包括的每一时间间隔所出现的频率;获取所述频率大于第一预设阈值的时间间隔;将所述时间间隔设置为所述目标时间间隔。Optionally, determining the target time interval according to the component element in the time interval set includes: counting frequency of each time interval included in the time interval set; acquiring the frequency is greater than the first a time interval of a preset threshold; the time interval is set to the target time interval.
可选地,所述依据所述时间间隔集合中的所述组成元素确定目标时间间隔包括:在所述时间间隔集合中选择一个时间间隔,作为指定时间间隔;分别获取所述时间间隔集合中所包括的时间间隔与所述指定时间间隔之间差值的绝对值小于第二预设阈值的时间间隔,得到时间间隔子集合;获取所述时间间隔子集合中所包括的时间间隔的平均值;将所述平均值作为所述目标时间间隔。Optionally, determining the target time interval according to the component element in the time interval set includes: selecting a time interval in the time interval set as a specified time interval; respectively acquiring the time interval set And obtaining, by the time interval of the interval between the time interval and the specified time interval, an absolute value of the difference between the time interval and the second predetermined threshold, obtaining a time interval subset; and obtaining an average of the time intervals included in the time interval subset; The average value is taken as the target time interval.
可选地,在所述应用不属于所述白名单中的应用时,将预设时间间隔作为所述终端的灭屏时间间隔。Optionally, when the application does not belong to the application in the whitelist, the preset time interval is used as the timeout interval of the terminal.
可选地,所述应用包括以下至少之一:阅读模式的应用、视频浏览模式的应用。Optionally, the application includes at least one of the following: an application of a reading mode, and an application of a video browsing mode.
根据本发明实施例的另一方面,提供了一种终端灭屏时间的调整装置,包括:判断模块,用于判断相邻显示界面所属的应用是否属于白名单中的应用;获取模块,用于在所述应用属于所述白名单中的应用时,获取所述相邻显示界面分别接收到翻页指令的时刻之间的翻页时间间隔;调整模块,用于依据所述翻页时间间隔调整终端的灭屏时间间隔。 According to another aspect of the embodiments of the present invention, there is provided an apparatus for adjusting a terminal to clear a screen, comprising: a determining module, configured to determine whether an application to which the adjacent display interface belongs belongs to an application in a whitelist; and an obtaining module, configured to: And when the application belongs to the application in the whitelist, acquiring a page turning time interval between the moments when the adjacent display interface receives the page turning instruction respectively; and an adjusting module, configured to adjust according to the page turning time interval The timeout interval of the terminal.
可选地,所述获取模块包括:获取单元,用于获取通过多次执行以下步骤得到的时间间隔集合:获取当前显示界面接收到所述翻页指令到下一显示界面接收到所述翻页指令之间的时间间隔,将所述时间间隔作为所述时间间隔集合中的组成元素;处理单元,用于依据所述时间间隔集合中的所述组成元素确定目标时间间隔,并将所述目标时间间隔作为所述翻页时间间隔。Optionally, the obtaining module includes: an acquiring unit, configured to acquire a time interval set obtained by performing the following steps multiple times: acquiring the current display interface, receiving the page turning instruction, and receiving, by the next display interface, the page turning a time interval between instructions, the time interval being used as a constituent element in the set of time intervals; a processing unit, configured to determine a target time interval according to the constituent elements in the set of time intervals, and to target the target The time interval is used as the page turning time interval.
可选地,所述处理单元包括:统计子单元,用于统计所述时间间隔集合中所包括的每一时间间隔所出现的频率;第一获取子单元,用于获取所述频率大于第一预设阈值的时间间隔;第一设置子单元,用于将所述时间间隔设置为所述目标时间间隔。Optionally, the processing unit includes: a statistics subunit, configured to collect a frequency that occurs in each time interval included in the time interval set; and a first acquiring subunit, configured to acquire the frequency is greater than the first a time interval of a preset threshold; a first setting subunit configured to set the time interval to the target time interval.
可选地,所述处理单元包括:选择子单元,用于在所述时间间隔集合中选择一个时间间隔,作为指定时间间隔;第二获取子单元,用于分别获取所述时间间隔集合中所包括的时间间隔与所述指定时间间隔之间差值的绝对值小于第二预设阈值的时间间隔,得到时间间隔子集合;第三获取子单元,用于获取所述时间间隔子集合中所包括的时间间隔的平均值;第二设置子单元,用于将所述平均值作为所述目标时间间隔。Optionally, the processing unit includes: a selecting subunit, configured to select a time interval in the time interval set as a specified time interval; and a second acquiring subunit, configured to separately acquire the time interval set And a time interval sub-set obtained by the time interval of the difference between the time interval and the specified time interval is smaller than the second preset threshold, and the third acquiring sub-unit is configured to obtain the time interval subset An average of the included time intervals; a second setting sub-unit for using the average value as the target time interval.
可选地,所述装置还包括:设置模块,用于在所述应用不属于所述白名单中的应用时,将预设时间间隔作为所述终端的灭屏时间间隔。可选地,所述应用包括以下至少之一:阅读模式的应用、视频浏览模式的应用。Optionally, the device further includes: a setting module, configured to use a preset time interval as a timeout interval of the terminal when the application does not belong to the application in the whitelist. Optionally, the application includes at least one of the following: an application of a reading mode, and an application of a video browsing mode.
通过本发明实施例,采用判断相邻显示界面所属的应用是否属于白名单中的应用;在该应用属于白名单中的应用时,获取相邻显示界面分别接收到翻页指令的时刻之间的翻页时间间隔;依据该翻页时间间隔调整终端的灭屏时间间隔。也就是说,以当前显示界面接收到翻页指令为计时起点,以当前显示界面的下一显示界面接收到该翻页指令为计时终点,计算计时起点和计时终点之间的时间间隔,并获取翻页时间间隔,最后根据该翻页时间间隔调整终端的灭屏时间间隔,解决了相关技术中在终端显示待显示内容时需频繁的设置灭屏时间所导致的终端灭屏时间设置的灵活性较低 的问题,进而达到了提高终端灭屏时间设置灵活性的效果。According to the embodiment of the present invention, it is determined whether an application to which the adjacent display interface belongs belongs to an application in the whitelist; when the application belongs to the application in the whitelist, the time between when the adjacent display interface receives the page turning instruction respectively is acquired. Page turning time interval; adjust the time interval of the terminal to clear according to the page turning interval. That is to say, the page turning instruction received by the current display interface is used as the timing starting point, and the page turning instruction is received as the timing end point by the next display interface of the current display interface, and the time interval between the time counting start point and the time counting end point is calculated and acquired. The page turning time interval is finally adjusted according to the page turning time interval, which solves the flexibility of setting the terminal blanking time caused by frequent setting of the screen blanking time when the terminal displays the content to be displayed in the related art. Lower The problem, in turn, achieves the effect of increasing the flexibility of the terminal off-screen setting.
附图说明DRAWINGS
此处所说明的附图用来提供对本发明实施例的进一步理解,构成本申请的一部分,本发明实施例的示意性实施例及其说明用于解释本发明实施例,并不构成对本发明实施例的不当限定。在附图中:The accompanying drawings are intended to provide a further understanding of the embodiments of the embodiments of the invention Improper limitations. In the drawing:
图1是根据本发明实施例的终端灭屏时间的调整方法的流程图;1 is a flowchart of a method for adjusting a terminal blanking time according to an embodiment of the present invention;
图2是根据本发明实施例的在阅读模式下的终端灭屏时间的调整方法的流程图;2 is a flowchart of a method for adjusting a terminal blanking time in a reading mode according to an embodiment of the present invention;
图3是根据本发明实施例的终端灭屏时间的调整装置的结构框图;3 is a structural block diagram of an apparatus for adjusting a terminal blanking time according to an embodiment of the present invention;
图4是根据本发明实施例的终端灭屏时间的调整装置的结构框图(一);4 is a structural block diagram (1) of an apparatus for adjusting a terminal blanking time according to an embodiment of the present invention;
图5是根据本发明实施例的终端灭屏时间的调整装置的结构框图(二);5 is a structural block diagram (2) of an apparatus for adjusting a terminal blanking time according to an embodiment of the present invention;
图6是根据本发明实施例的终端灭屏时间的调整装置的结构框图(三);6 is a structural block diagram (3) of an apparatus for adjusting a terminal blanking time according to an embodiment of the present invention;
图7是根据本发明实施例的终端灭屏时间的调整装置的结构框图(四)。FIG. 7 is a structural block diagram (4) of an apparatus for adjusting a terminal blanking time according to an embodiment of the present invention.
具体实施方式detailed description
下文中将参考附图并结合实施例来详细说明本发明实施例。需要说明的是,在不冲突的情况下,本申请中的实施例及实施例中的特征可以相互组合。Embodiments of the present invention will be described in detail below with reference to the accompanying drawings. It should be noted that the embodiments in the present application and the features in the embodiments may be combined with each other without conflict.
需要说明的是,本发明实施例的说明书和权利要求书及上述附图中的术语“第一”、“第二”等是用于区别类似的对象,而不必用于描述特定的顺序或先后次序。It should be noted that the terms "first", "second" and the like in the specification and claims of the embodiments of the present invention and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. order.
实施例1 Example 1
在本实施例中提供了一种终端灭屏时间的调整方法,图1是根据本发明实施例的终端灭屏时间的调整方法的流程图,如图1所示,该流程包括如下步骤:In this embodiment, a method for adjusting the time of the terminal to clear the screen is provided. FIG. 1 is a flowchart of a method for adjusting the time of the terminal to be screen-off according to the embodiment of the present invention. As shown in FIG. 1 , the process includes the following steps:
步骤S102,判断相邻显示界面所属的应用是否属于白名单中的应用;Step S102, determining whether an application to which the adjacent display interface belongs belongs to an application in the whitelist;
需要说明的是,上述步骤中涉及到的白名单中所包括的应用可以是系统预先设置的应用,也可以是根据需要临时拉入上述白名单中的应用。其中,白名单中的应用包括但并不限于:阅读模式的应用、视频浏览模式的应用。It should be noted that the application included in the white list involved in the foregoing steps may be an application preset by the system, or may be an application temporarily pulled into the white list as needed. Among them, the applications in the white list include, but are not limited to, the application of the reading mode and the application of the video browsing mode.
步骤S104,在该应用属于白名单中的应用时,获取相邻显示界面分别接收到翻页指令的时刻之间的翻页时间间隔;Step S104: When the application belongs to the application in the whitelist, obtain a page turning time interval between the moments when the adjacent display interface receives the page turning instruction respectively;
步骤S106,依据该翻页时间间隔调整终端的灭屏时间间隔。Step S106, adjusting the timeout interval of the terminal according to the page turning time interval.
可选地,在本实施例中,上述终端灭屏时间的调整方法的应用场景包括但并不限于:使用该终端进行文字阅读,使用该终端进行图片浏览以及使用该终端进行视频浏览。在该应用场景下,采用判断相邻显示界面所属的应用是否属于白名单中的应用;在该应用属于该白名单中的应用时,获取相邻显示界面分别接收到翻页指令的时刻之间的翻页时间间隔;依据该翻页时间间隔调整终端的灭屏时间间隔。也就是说,以当前显示界面接收到翻页指令为计时起点,以当前显示界面的下一显示界面接收到该翻页指令为计时终点,计算计时起点和计时终点之间的时间间隔,并依据该时间间隔得到翻页时间间隔,最后根据该翻页时间间隔调整终端的灭屏时间间隔,而不同于相关技术中,不考虑用户实际浏览显示界面内容的速度,仅依据显示界面所显示内容的相关信息计算并不符合用于实际需求的终端灭屏时间,所导致的终端灭屏时间设置灵活性较低,以及降低用户体验度的问题。通过本能实施例提供的上述方法,解决了相关技术中在终端显示待显示内容时需频繁的设置灭屏时间所导致的终端灭屏时间设置的灵活性较低的问题,进而达到了提高终端灭屏时间设置灵活性的效果。Optionally, in this embodiment, the application scenario of the method for adjusting the terminal blanking time includes, but is not limited to, using the terminal for text reading, using the terminal for image browsing, and using the terminal for video browsing. In the application scenario, the application that determines whether the application to which the adjacent display interface belongs belongs to the whitelist is used; when the application belongs to the application in the whitelist, the time when the adjacent display interface receives the page turning instruction respectively is obtained. The page turning time interval; adjusting the terminal blanking time interval according to the page turning time interval. That is to say, the page turning instruction is received as the starting point of the current display interface, and the page turning instruction is received as the timed end point by the next display interface of the current display interface, and the time interval between the timed starting point and the counting end point is calculated, and The time interval of the page is obtained, and finally, the time interval of the terminal is adjusted according to the time interval of the page turning. The difference between the time when the user actually browses the content of the display interface is not considered, and only the content displayed by the display interface is used. The calculation of related information does not meet the terminal blanking time for actual needs, resulting in less flexibility in setting the terminal blanking time and reducing the user experience. The above-mentioned method provided by the instinct embodiment solves the problem that the flexibility of setting the screen-off time of the terminal caused by the frequent setting of the screen-off time when the terminal displays the content to be displayed in the related art is low, and thus the terminal is eliminated. Screen time setting flexibility.
可选地,在本实施例中,上述翻页指令的触发方式可以包括但并不限 于:滑屏操作、按键操作,语音输入。Optionally, in this embodiment, the triggering manner of the page turning instruction may include but is not limited to On: sliding screen operation, button operation, voice input.
可选地,在本实施例中,依据翻页时间间隔调整终端的灭屏时间间隔的方法包括但并不限于:将该翻页时间间隔直接设置为终端的灭屏时间间隔、依据翻页时间间隔增加或者减少终端预先设置的灭屏时间间隔,在此,并不做任何限定。Optionally, in this embodiment, the method for adjusting the timeout interval of the terminal according to the page turning interval includes, but is not limited to, directly setting the page turning time interval to the terminal blanking time interval, according to the page turning time. The interval increases or decreases the preset time interval of the terminal, and is not limited herein.
在一个可选地实施方式中,获取相邻显示界面分别接收到翻页指令的时刻之间的翻页时间间隔包括以下步骤:In an optional implementation manner, obtaining a page turning time interval between moments when the adjacent display interface receives the page turning instruction respectively includes the following steps:
步骤S11,获取通过多次执行以下步骤得到的时间间隔集合:获取当前显示界面接收到该翻页指令到下一显示界面接收到该翻页指令之间的时间间隔,将该时间间隔作为该时间间隔集合中的组成元素;Step S11: Acquire a time interval set obtained by performing the following steps multiple times: acquiring a time interval between when the current display interface receives the page turning instruction and when the next display interface receives the page turning instruction, and the time interval is used as the time interval. The constituent elements in the interval collection;
步骤S12,依据该时间间隔集合中的组成元素确定目标时间间隔,并将该目标时间间隔作为该翻页时间间隔。Step S12: Determine a target time interval according to the constituent elements in the time interval set, and use the target time interval as the page turning time interval.
在上述可选实施方式中,通过获取不同的当前显示界面接收到翻页指令到不同的当前显示界面对应的下一显示界面接收到该翻页指令之间的多个时间间隔,并依据该多个时间间隔确定一个目标时间间隔,用于调整灭屏时间间隔,进一步解决了相关技术中在终端显示待显示内容时需频繁的设置灭屏时间所导致的终端灭屏时间设置的灵活性较低的问题,进而达到了提高终端灭屏时间设置灵活性的效果。In the above optional implementation manner, a plurality of time intervals between the page turning instructions are received by receiving the page turning instruction by acquiring different current display interfaces to the next display interface corresponding to the different current display interfaces, and according to the multiple The time interval is determined to be a target time interval, which is used to adjust the time interval of the screen to be cleared, and further solves the problem that the setting of the screen blanking time is relatively low due to the frequent setting of the screen-off time when the terminal displays the content to be displayed in the related art. The problem, in turn, achieves the effect of increasing the flexibility of the terminal off-screen setting.
在一个可选地实施方式中,依据时间间隔集合中的组成元素确定目标时间间隔包括以下步骤:In an alternative embodiment, determining the target time interval based on the constituent elements in the time interval set includes the following steps:
步骤S21,统计该时间间隔集合中所包括的每一时间间隔所出现的频率;Step S21, counting the frequency of each time interval included in the time interval set;
步骤S22,获取该频率大于第一预设阈值的时间间隔;Step S22: Obtain a time interval in which the frequency is greater than a first preset threshold.
步骤S23,将该时间间隔设置为该目标时间间隔。In step S23, the time interval is set to the target time interval.
需要说明的是,获取频率大于第一预设阈值的时间间隔可以是获取时间间隔所出现频率最高的时间间隔,如果获取的所出现频率最高的时间间 隔存在多个,可以将其中时间间隔较大的作为目标时间间隔。It should be noted that the time interval in which the acquisition frequency is greater than the first preset threshold may be the time interval in which the frequency of occurrence of the acquisition time interval is the highest, if the acquired frequency occurs at the highest time interval. There are a plurality of intervals, and the time interval may be set as the target time interval.
在上述可选实施方式中,通过获取时间间隔集合中出现频率大于第一预设阈值的时间间隔,并将该时间间隔设置为目标时间间隔,使得目标时间间隔的确定更加准确,进一步使得终端灭屏时间的设置更符合用户需求,提高了用户体验度。In the foregoing optional implementation manner, the time interval in which the frequency of occurrence of the time interval is greater than the first preset threshold is obtained, and the time interval is set as the target time interval, so that the determination of the target time interval is more accurate, and the terminal is further disabled. The setting of the screen time is more in line with the user's needs and improves the user experience.
在一个可选地实施方式中,依据该时间间隔集合中的该组成元素确定目标时间间隔包括以下步骤:In an optional implementation manner, determining the target time interval according to the component element in the time interval set includes the following steps:
步骤S31,在该时间间隔集合中选择一个时间间隔,作为指定时间间隔;Step S31, selecting a time interval in the time interval set as the specified time interval;
步骤S32,分别获取该时间间隔集合中所包括的时间间隔与该指定时间间隔之间差值的绝对值小于第二预设阈值的时间间隔,得到时间间隔子集合;Step S32, respectively obtaining a time interval in which the absolute value of the difference between the time interval included in the time interval set and the specified time interval is less than a second preset threshold, to obtain a time interval subset;
步骤S33,获取该时间间隔子集合中所包括的时间间隔的平均值;Step S33, obtaining an average value of time intervals included in the subset of time interval sub-sets;
步骤S34,将该平均值作为该目标时间间隔。In step S34, the average value is taken as the target time interval.
需要说明的是,在时间间隔集合中选择一个时间间隔的方法包括但并不限于:在时间间隔集合中选择一个时间间隔位于所有时间间隔比较中间的位置对应的时间间隔;上述第二预设阈值的取值可以为5s,在此并不做限定。It should be noted that the method for selecting a time interval in the time interval set includes, but is not limited to, selecting a time interval corresponding to a position in the middle of all time interval comparisons in the time interval set; the second preset threshold The value can be 5s, which is not limited here.
在上述可选实施方式中,通过将选择出的指定时间间隔与时间间隔集合中每一时间间隔进行比较,将时间间隔与指定时间间隔之间差值的绝对值小于第二预设阈值(例如5s)的时间间隔作为时间间隔子集合中的组成元素,然后求取时间间隔子集合中所包括的时间间隔的平均值,并将该平均值作为目标时间间隔,使得目标时间间隔的确定更加准确,进一步使得终端灭屏时间的设置更符合用户需求,提高了用户体验度。In the above optional implementation manner, by comparing the selected specified time interval with each time interval in the time interval set, the absolute value of the difference between the time interval and the specified time interval is less than a second preset threshold (for example, The time interval of 5s) is used as a component element in the time interval sub-set, and then the average value of the time interval included in the time interval sub-set is obtained, and the average value is used as the target time interval, so that the determination of the target time interval is more accurate. Further, the setting of the terminal off-screen time is more in line with the user's needs, and the user experience is improved.
在一个可选的实施方式中,在相邻显示界面所属的应用不属于白名单中的应用时,将预设时间间隔作为该终端的灭屏时间间隔。 In an optional implementation manner, when the application to which the adjacent display interface belongs does not belong to the application in the whitelist, the preset time interval is used as the timeout interval of the terminal.
例如,假设终端初始设置的白名单所包括的应用包括:文字阅读模式的应用、图片浏览模式的应用,在判断相邻显示界面所属的应用属于白名单中的应用,例如文字阅读模式的应用,则可以按照本实施例中的终端灭屏时间的调整方法进行灭屏时间调整,在判断相邻显示界面所属的应用不属于白名单中的应用,例如通话模式的应用,则可以根据系统设置的灭屏时间,例如可以在通话接通后2s将终端设置为灭屏模式。For example, it is assumed that the application included in the whitelist initially set by the terminal includes: an application of a text reading mode, an application of a picture browsing mode, and an application that determines that an application to which the adjacent display interface belongs belongs to a white list, such as an application of a text reading mode. The timeout time adjustment may be performed according to the method for adjusting the terminal blanking time in the embodiment, and the application that the adjacent display interface belongs to does not belong to the whitelist, for example, the application of the call mode, may be set according to the system. When the screen is off, for example, the terminal can be set to the off-screen mode 2s after the call is connected.
通过上述可选实施方式,在相邻显示界面所属的应用不属于白名单中的应用时,将预设时间间隔作为该终端的灭屏时间间隔,进一步避免了相关技术中,针对终端的所有应用均必须进行灭屏时间的调整,导致终端的系统计算量增加,所占内存较大的问题。When the application that the adjacent display interface belongs to does not belong to the application in the whitelist, the preset time interval is used as the timeout interval of the terminal, which further avoids all applications related to the terminal in the related art. It is necessary to adjust the screen-off time, which leads to an increase in the system calculation amount of the terminal and a problem of a large memory.
在一个可选的实施方式中,相邻显示界面该应用包括以下至少之一:阅读模式的应用、视频浏览模式的应用。In an optional implementation manner, the adjacent display interface includes at least one of the following: an application of a reading mode, and an application of a video browsing mode.
需要说明的是,在上述可选实施方式中,相邻显示界面的应用包括但并不限于:阅读模式的应用、视频浏览模式的应用,通话模式的应用。在此,并不做任何限定。It should be noted that, in the foregoing optional implementation manner, the application of the adjacent display interface includes, but is not limited to, an application of a reading mode, an application of a video browsing mode, and an application of a call mode. Here, no limitation is made.
下面结合具体示例,对本实施例进行举例说明。The present embodiment will be exemplified below with reference to specific examples.
在本实施例中主要提供了一种阅读模式下调节灭屏时间的方法,下面结合图2进行说明。其中,主要包括以下步骤:In the embodiment, a method for adjusting the screen-off time in the reading mode is mainly provided, which will be described below with reference to FIG. 2 . Among them, it mainly includes the following steps:
步骤S201,设定一白名单,将阅读模式应用拉入该名单;Step S201, setting a white list, and inserting the reading mode application into the list;
步骤S202,判断当前终端所提供的应用是否属于白名单内的应用;Step S202, determining whether the application provided by the current terminal belongs to an application in the whitelist;
步骤S203,在判断结果为是的情况下,通过自学习过程设定灭屏时间。其中自学习过程设定灭屏时间主要是通过在阅读显示界面记录用户前后滑屏的时间间隔来确定用户看完一页所需时间t,并根据该时间t来确定灭屏时间T(T≥t);In step S203, if the determination result is YES, the screen-off time is set by the self-learning process. The self-learning process setting the screen-off time is mainly to determine the time t required for the user to read a page by recording the time interval of the user before and after sliding the screen on the reading display interface, and determining the time-out time T according to the time t (T≥ t);
步骤S204,在判断结果为否的情况下,采用系统设置里的灭屏时间。In step S204, if the determination result is no, the screen-off time in the system setting is adopted.
通过本发明上述实施例提供的一种阅读模式下调节灭屏时间的方法, 通过在阅读界面记录用户前后滑屏的时间间隔来确定用户看完一页所需时间t,学习过程结束后则根据此时间来自动调整灭屏时间T(T≥t)。可以根据不同人群的自身阅读速度来学习和调整,在白名单内的应用,不需要用户在阅读之前调整终端的锁频时间,也不需要用户在阅读过程中频繁的进行亮屏操作,能提高用户在阅读过程中体验的满意度。A method for adjusting a screen-off time in a reading mode provided by the above embodiment of the present invention, The time t for the user to read a page is determined by recording the time interval of the user before and after sliding on the reading interface. After the learning process ends, the time T (T ≥ t) is automatically adjusted according to the time. It can be learned and adjusted according to the reading speed of different groups of people. In the white list application, the user does not need to adjust the frequency locking time of the terminal before reading, and the user does not need to perform the bright screen operation frequently during the reading process, which can improve The satisfaction experienced by the user during the reading process.
在本发明实施例中,还提供了一种计算机存储介质,该计算机存储介质可以存储有执行指令,该执行指令用于执行上述实施例中的方法。In the embodiment of the present invention, a computer storage medium is further provided, and the computer storage medium may store an execution instruction for executing the method in the foregoing embodiment.
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到根据上述实施例的方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本发明实施例的技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质(如ROM/RAM、磁碟、光盘)中,包括若干指令用以使得一台终端设备(可以是手机,计算机,服务器,或者网络设备等)执行本发明各个实施例所述的方法。Through the description of the above embodiments, those skilled in the art can clearly understand that the method according to the above embodiment can be implemented by means of software plus a necessary general hardware platform, and of course, by hardware, but in many cases, the former is A better implementation. Based on such understanding, the technical solution of the embodiments of the present invention may be embodied in the form of a software product in essence or in the form of a software product stored in a storage medium (such as ROM/RAM, magnetic). The disc, the optical disc, includes a number of instructions for causing a terminal device (which may be a mobile phone, a computer, a server, or a network device, etc.) to perform the methods described in various embodiments of the present invention.
实施例2Example 2
在本实施例中还提供了一种终端灭屏时间的调整装置,该装置用于实现上述实施例及优选实施方式,已经进行过说明的不再赘述。如以下所使用的,术语“模块”可以实现预定功能的软件和/或硬件的组合。尽管以下实施例所描述的装置较佳地以软件来实现,但是硬件,或者软件和硬件的组合的实现也是可能并被构想的。In this embodiment, a device for adjusting the time of the terminal to be screened is also provided. The device is used to implement the foregoing embodiments and preferred embodiments, and details are not described herein. As used below, the term "module" may implement a combination of software and/or hardware of a predetermined function. Although the apparatus described in the following embodiments is preferably implemented in software, hardware, or a combination of software and hardware, is also possible and contemplated.
图3是根据本发明实施例的终端灭屏时间的调整装置的结构框图,如图3所示,该装置包括:FIG. 3 is a structural block diagram of an apparatus for adjusting a terminal off time according to an embodiment of the present invention. As shown in FIG. 3, the apparatus includes:
1)判断模块32,用于判断相邻显示界面所属的应用是否属于白名单中的应用;1) The determining module 32 is configured to determine whether an application to which the adjacent display interface belongs belongs to an application in the whitelist;
需要说明的是,上述白名单中所包括的应用可以是系统预先设置的应用,也可以是根据需要临时拉入上述白名单中的应用。其中,白名单中的 应用包括但并不限于:阅读模式的应用、视频浏览模式的应用。It should be noted that the application included in the white list may be an application preset by the system, or may be an application that is temporarily pulled into the white list as needed. Among them, in the white list Applications include, but are not limited to, reading mode applications, video browsing mode applications.
2)获取模块34,用于在该应用属于白名单中的应用时,获取相邻显示界面分别接收到翻页指令的时刻之间的翻页时间间隔;2) The obtaining module 34 is configured to: when the application belongs to the application in the whitelist, obtain a page turning time interval between the moments when the adjacent display interface receives the page turning instruction respectively;
3)调整模块36,用于依据该翻页时间间隔调整终端的灭屏时间间隔。3) The adjustment module 36 is configured to adjust the timeout interval of the terminal according to the page turning time interval.
可选地,在本实施例中,上述终端灭屏时间的调整装置的应用场景包括但并不限于:使用该终端进行文字阅读,使用该终端进行图片浏览以及使用该终端进行视频浏览。在该应用场景下,采用采用判断相邻显示界面所属的应用是否属于白名单中的应用;在该应用属于该白名单中的应用时,获取相邻显示界面分别接收到翻页指令的时刻之间的翻页时间间隔;依据该翻页时间间隔调整终端的灭屏时间间隔。也就是说,以当前显示界面接收到翻页指令为计时起点,以当前显示界面的下一显示界面接收到该翻页指令为计时终点,计算计时起点和计时终点之间的时间间隔,并依据该时间间隔得到翻页时间间隔,最后根据该翻页时间间隔调整终端的灭屏时间间隔,而不同于相关技术中,不考虑用户实际浏览显示界面内容的速度,仅依据显示界面所显示内容的相关信息计算并不符合用于实际需求的终端灭屏时间,所导致的终端灭屏时间设置灵活性较低,以及降低用户体验度的问题。通过本能实施例提供的上述装置,解决了相关技术中在终端显示待显示内容时需频繁的设置灭屏时间所导致的终端灭屏时间设置的灵活性较低的问题,进而达到了提高终端灭屏时间设置灵活性的效果。Optionally, in this embodiment, the application scenario of the device for adjusting the terminal blanking time includes, but is not limited to, using the terminal to perform text reading, using the terminal to perform image browsing, and using the terminal to perform video browsing. In the application scenario, the application that determines whether the application to which the adjacent display interface belongs belongs to the whitelist is used; when the application belongs to the application in the whitelist, the time when the adjacent display interface receives the page turning instruction respectively is acquired. The page turning interval is set; the time interval of the terminal is adjusted according to the page turning interval. That is to say, the page turning instruction is received as the starting point of the current display interface, and the page turning instruction is received as the timed end point by the next display interface of the current display interface, and the time interval between the timed starting point and the counting end point is calculated, and The time interval of the page is obtained, and finally, the time interval of the terminal is adjusted according to the time interval of the page turning. The difference between the time when the user actually browses the content of the display interface is not considered, and only the content displayed by the display interface is used. The calculation of related information does not meet the terminal blanking time for actual needs, resulting in less flexibility in setting the terminal blanking time and reducing the user experience. The above-mentioned device provided by the instinct embodiment solves the problem that the flexibility of setting the screen-off time of the terminal caused by the frequent setting of the screen-off time when the terminal displays the content to be displayed in the related art is low, and thus the terminal is eliminated. Screen time setting flexibility.
可选地,在本实施例中,上述翻页指令的触发方式可以包括但并不限于:滑屏操作、按键操作,语音输入。Optionally, in this embodiment, the triggering manner of the page turning instruction may include, but is not limited to, a sliding screen operation, a key operation, and a voice input.
可选地,在本实施例中,依据翻页时间间隔调整终端的灭屏时间间隔的方法包括但并不限于:将该翻页时间间隔直接设置为终端的灭屏时间间隔、依据翻页时间间隔增加或者减少终端预先设置的灭屏时间间隔,在此,并不做任何限定。Optionally, in this embodiment, the method for adjusting the timeout interval of the terminal according to the page turning interval includes, but is not limited to, directly setting the page turning time interval to the terminal blanking time interval, according to the page turning time. The interval increases or decreases the preset time interval of the terminal, and is not limited herein.
在一个可选地实施方式中,图4是根据本发明实施例的终端灭屏时间的调整装置的结构框图(一),如图4所示,该获取模块34包括: In an alternative embodiment, FIG. 4 is a structural block diagram (1) of an apparatus for adjusting a terminal blanking time according to an embodiment of the present invention. As shown in FIG. 4, the obtaining module 34 includes:
1)获取单元42,用于获取通过多次执行以下步骤得到的时间间隔集合:获取当前显示界面接收到该翻页指令到下一显示界面接收到该翻页指令之间的时间间隔,将该时间间隔作为该时间间隔集合中的组成元素;1) an obtaining unit 42, configured to acquire a time interval set obtained by performing the following steps multiple times: acquiring a time interval between when the current display interface receives the page turning instruction and when the next display interface receives the page turning instruction, The time interval is a constituent element in the set of time intervals;
2)处理单元44,用于依据该时间间隔集合中的该组成元素确定目标时间间隔,并将该目标时间间隔作为该翻页时间间隔。2) The processing unit 44 is configured to determine a target time interval according to the component element in the time interval set, and use the target time interval as the page turning time interval.
在上述可选实施方式中,通过获取不同的当前显示界面接收到翻页指令到不同的当前显示界面对应的下一显示界面接收到该翻页指令之间的多个时间间隔,并依据该多个时间间隔确定一个目标时间间隔,用于调整灭屏时间间隔,进一步解决了相关技术中在终端显示待显示内容时需频繁的设置灭屏时间所导致的终端灭屏时间设置的灵活性较低的问题,进而达到了提高终端灭屏时间设置灵活性的效果。In the above optional implementation manner, a plurality of time intervals between the page turning instructions are received by receiving the page turning instruction by acquiring different current display interfaces to the next display interface corresponding to the different current display interfaces, and according to the multiple The time interval is determined to be a target time interval, which is used to adjust the time interval of the screen to be cleared, and further solves the problem that the setting of the screen blanking time is relatively low due to the frequent setting of the screen-off time when the terminal displays the content to be displayed in the related art. The problem, in turn, achieves the effect of increasing the flexibility of the terminal off-screen setting.
在一个可选地实施方式中,图5是根据本发明实施例的终端灭屏时间的调整装置的结构框图(二),如图5所示,处理单元44包括:In an alternative embodiment, FIG. 5 is a structural block diagram (2) of an apparatus for adjusting a terminal blanking time according to an embodiment of the present invention. As shown in FIG. 5, the processing unit 44 includes:
1)统计子单元52,用于统计该时间间隔集合中所包括的每一时间间隔所出现的频率;1) a statistics sub-unit 52, configured to count the frequency of each time interval included in the time interval set;
2)第一获取子单元54,用于获取该频率大于第一预设阈值的时间间隔;2) The first obtaining sub-unit 54 is configured to acquire a time interval that the frequency is greater than the first preset threshold;
3)第一设置子单元56,用于将该时间间隔设置为该目标时间间隔。3) A first setting subunit 56 for setting the time interval to the target time interval.
需要说明的是,获取频率大于第一预设阈值的时间间隔可以是获取时间间隔所出现频率最高的时间间隔,如果获取的所出现频率最高的时间间隔存在多个,可以将其中时间间隔较大的作为目标时间间隔。It should be noted that the time interval in which the acquisition frequency is greater than the first preset threshold may be the time interval in which the frequency of occurrence of the acquisition time interval is the highest. If there are multiple time intervals with the highest frequency of occurrence, the time interval may be larger. As the target time interval.
在上述可选实施方式中,通过获取时间间隔集合中出现频率大于第一预设阈值的时间间隔,并将该时间间隔设置为目标时间间隔,使得目标时间间隔的确定更加准确,进一步使得终端灭屏时间的设置更符合用户需求,提高了用户体验度。In the foregoing optional implementation manner, the time interval in which the frequency of occurrence of the time interval is greater than the first preset threshold is obtained, and the time interval is set as the target time interval, so that the determination of the target time interval is more accurate, and the terminal is further disabled. The setting of the screen time is more in line with the user's needs and improves the user experience.
在一个可选地实施方式中,图6是根据本发明实施例的终端灭屏时间的调整装置的结构框图(三),如图6所示,处理单元44包括: In an alternative embodiment, FIG. 6 is a structural block diagram (3) of an apparatus for adjusting a terminal blanking time according to an embodiment of the present invention. As shown in FIG. 6, the processing unit 44 includes:
1)选择子单元62,用于在该时间间隔集合中选择一个时间间隔,作为指定时间间隔;1) selecting a sub-unit 62 for selecting a time interval in the set of time intervals as the specified time interval;
2)第二获取子单元64,用于分别获取该时间间隔集合中所包括的时间间隔与该指定时间间隔之间差值的绝对值小于第二预设阈值的时间间隔,得到时间间隔子集合;2) The second obtaining sub-unit 64 is configured to respectively obtain a time interval in which the absolute value of the difference between the time interval included in the time interval set and the specified time interval is less than a second preset threshold, to obtain a time interval subset ;
3)第三获取子单元66,用于获取该时间间隔子集合中所包括的时间间隔的平均值;3) a third obtaining sub-unit 66, configured to obtain an average value of time intervals included in the time interval sub-set;
4)第二设置子单元68,用于将该平均值作为该目标时间间隔。4) A second setting sub-unit 68 for using the average as the target time interval.
需要说明的是,在时间间隔集合中选择一个时间间隔的方法包括但并不限于:在时间间隔集合中选择一个时间间隔位于所有时间间隔比较中间的位置对应的时间间隔;上述第二预设阈值的取值可以为5s,在此并不做限定。It should be noted that the method for selecting a time interval in the time interval set includes, but is not limited to, selecting a time interval corresponding to a position in the middle of all time interval comparisons in the time interval set; the second preset threshold The value can be 5s, which is not limited here.
在上述可选实施方式中,通过将选择出的指定时间间隔与时间间隔集合中每一时间间隔进行比较,将时间间隔与指定时间间隔之间差值的绝对值小于第二预设阈值(例如5s)的时间间隔作为时间间隔子集合中的组成元素,然后求取时间间隔子集合中所包括的时间间隔的平均值,并将该平均值作为目标时间间隔,使得目标时间间隔的确定更加准确,进一步使得终端灭屏时间的设置更符合用户需求,提高了用户体验度。In the above optional implementation manner, by comparing the selected specified time interval with each time interval in the time interval set, the absolute value of the difference between the time interval and the specified time interval is less than a second preset threshold (for example, The time interval of 5s) is used as a component element in the time interval sub-set, and then the average value of the time interval included in the time interval sub-set is obtained, and the average value is used as the target time interval, so that the determination of the target time interval is more accurate. Further, the setting of the terminal off-screen time is more in line with the user's needs, and the user experience is improved.
在一个可选地实施方式中,图7是根据本发明实施例的终端灭屏时间的调整装置的结构框图(四),如图7所示,所述装置除了包括图3所示的所有模块外还包括:In an alternative embodiment, FIG. 7 is a structural block diagram (4) of an apparatus for adjusting a terminal blanking time according to an embodiment of the present invention. As shown in FIG. 7, the apparatus includes all the modules shown in FIG. Also includes:
1)设置模块72,用于在该应用不属于白名单中的应用时,将预设时间间隔作为该终端的灭屏时间间隔。1) The setting module 72 is configured to use the preset time interval as the timeout interval of the terminal when the application does not belong to the application in the whitelist.
例如,假设终端初始设置的白名单所包括的应用包括:文字阅读模式的应用、图片浏览模式的应用,在判断相邻显示界面所属的应用属于白名单中的应用,例如文字阅读模式的应用,则可以按照本实施例中的终端灭屏时间的调整方法进行灭屏时间调整,在判断相邻显示界面所属的应用不 属于白名单中的应用,例如通话模式的应用,则可以根据系统设置的灭屏时间,例如可以在通话接通后2s将终端设置为灭屏模式。For example, it is assumed that the application included in the whitelist initially set by the terminal includes: an application of a text reading mode, an application of a picture browsing mode, and an application that determines that an application to which the adjacent display interface belongs belongs to a white list, such as an application of a text reading mode. The timeout time adjustment may be performed according to the method for adjusting the terminal blanking time in the embodiment, and the application of the adjacent display interface is determined not to be determined. Applications that belong to the whitelist, such as the application of the call mode, can be set to the off-screen mode for 2 seconds after the call is connected, according to the time set by the system.
通过上述可选实施方式,在相邻显示界面所属的应用不属于白名单中的应用时,将预设时间间隔作为该终端的灭屏时间间隔,进一步避免了相关技术中,针对终端的所有应用均必须进行灭屏时间的调整,导致终端的系统计算量增加,所占内存较大的问题。When the application that the adjacent display interface belongs to does not belong to the application in the whitelist, the preset time interval is used as the timeout interval of the terminal, which further avoids all applications related to the terminal in the related art. It is necessary to adjust the screen-off time, which leads to an increase in the system calculation amount of the terminal and a problem of a large memory.
在一个可选地实施方式中,上述应用包括以下至少之一:阅读模式的应用、视频浏览模式的应用。In an optional implementation manner, the foregoing application includes at least one of the following: an application of a reading mode, and an application of a video browsing mode.
需要说明的是,在上述可选实施方式中,相邻显示界面的应用包括但并不限于:阅读模式的应用、视频浏览模式的应用,通话模式的应用。在此,并不做任何限定。It should be noted that, in the foregoing optional implementation manner, the application of the adjacent display interface includes, but is not limited to, an application of a reading mode, an application of a video browsing mode, and an application of a call mode. Here, no limitation is made.
在本发明实施例中,还提供了一种终端灭屏时间的调整设备,包括上述实施例中的终端灭屏时间的调整装置。In the embodiment of the present invention, an apparatus for adjusting the time of the terminal to clear the screen is provided, which includes the apparatus for adjusting the time of the terminal to be screened out in the foregoing embodiment.
需要说明的是,上述各个模块是可以通过软件或硬件来实现的,对于后者,可以通过以下方式实现,但不限于此:上述模块均位于同一处理器中;或者,上述模块分别位于多个处理器中。It should be noted that each of the above modules may be implemented by software or hardware. For the latter, the foregoing may be implemented by, but not limited to, the foregoing modules are all located in the same processor; or, the modules are located in multiple In the processor.
实施例3Example 3
本发明的实施例还提供了一种存储介质。可选地,在本实施例中,上述存储介质可以被设置为存储用于执行以下步骤的程序代码:Embodiments of the present invention also provide a storage medium. Optionally, in the embodiment, the foregoing storage medium may be configured to store program code for performing the following steps:
S1,判断相邻显示界面所属的应用是否属于白名单中的应用;S1. Determine whether an application to which the adjacent display interface belongs belongs to an application in the whitelist.
S2,在该应用属于白名单中的应用时,获取相邻显示界面分别接收到翻页指令的时刻之间的翻页时间间隔;S2. When the application belongs to the application in the whitelist, obtain a page turning time interval between the moments when the adjacent display interface receives the page turning instruction respectively.
S3,依据该翻页时间间隔调整终端的灭屏时间间隔。S3. Adjust the timeout interval of the terminal according to the page turning interval.
可选地,在本实施例中,上述存储介质可以包括但不限于:U盘、只读存储器(ROM,Read-Only Memory)、随机存取存储器(RAM,Random Access Memory)、移动硬盘、磁碟或者光盘等各种可以存储程序代码的介 质。Optionally, in this embodiment, the foregoing storage medium may include, but not limited to, a USB flash drive, a Read-Only Memory (ROM), a Random Access Memory (RAM), a mobile hard disk, and a magnetic memory. Various kinds of programs that can store program code, such as a disc or a disc. quality.
可选地,在本实施例中,处理器根据存储介质中已存储的程序代码执行S1、S2以及S3。Optionally, in the embodiment, the processor executes S1, S2, and S3 according to the stored program code in the storage medium.
可选地,本实施例中的具体示例可以参考上述实施例及可选实施方式中所描述的示例,本实施例在此不再赘述。For example, the specific examples in this embodiment may refer to the examples described in the foregoing embodiments and the optional embodiments, and details are not described herein again.
显然,本领域的技术人员应该明白,上述的本发明实施例的各模块或各步骤可以用通用的计算装置来实现,它们可以集中在单个的计算装置上,或者分布在多个计算装置所组成的网络上,可选地,它们可以用计算装置可执行的程序代码来实现,从而,可以将它们存储在存储装置中由计算装置来执行,并且在某些情况下,可以以不同于此处的顺序执行所示出或描述的步骤,或者将它们分别制作成各个集成电路模块,或者将它们中的多个模块或步骤制作成单个集成电路模块来实现。这样,本发明实施例不限制于任何特定的硬件和软件结合。Obviously, those skilled in the art should understand that the above modules or steps of the embodiments of the present invention can be implemented by a general computing device, which can be concentrated on a single computing device or distributed in multiple computing devices. Alternatively, they may be implemented by program code executable by the computing device such that they may be stored in the storage device by the computing device and, in some cases, may be different from The steps shown or described are performed sequentially, or they are separately fabricated into individual integrated circuit modules, or a plurality of modules or steps thereof are fabricated into a single integrated circuit module. Thus, embodiments of the invention are not limited to any specific combination of hardware and software.
以上所述仅为本发明的优选实施例而已,并不用于限制本发明,对于本领域的技术人员来说,本发明可以有各种更改和变化。凡在本发明的精神和原则之内,所作的任何修改、等同替换、改进等,均应包含在本发明的保护范围之内。The above description is only the preferred embodiment of the present invention, and is not intended to limit the present invention, and various modifications and changes can be made to the present invention. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and scope of the present invention are intended to be included within the scope of the present invention.
工业实用性Industrial applicability
基于本发明提供的上述技术方案,采用判断相邻显示界面所属的应用是否属于白名单中的应用;在该应用属于白名单中的应用时,获取相邻显示界面分别接收到翻页指令的时刻之间的翻页时间间隔;依据该翻页时间间隔调整终端的灭屏时间间隔。也就是说,以当前显示界面接收到翻页指令为计时起点,以当前显示界面的下一显示界面接收到该翻页指令为计时终点,计算计时起点和计时终点之间的时间间隔,并获取翻页时间间隔,最后根据该翻页时间间隔调整终端的灭屏时间间隔,解决了相关技术中在终端显示待显示内容时需频繁的设置灭屏时间所导致的终端灭屏时间设 置的灵活性较低的问题,进而达到了提高终端灭屏时间设置灵活性的效果。 According to the foregoing technical solution provided by the present invention, it is determined whether an application to which the adjacent display interface belongs belongs to an application in a whitelist; when the application belongs to an application in the whitelist, obtaining a time when the adjacent display interface receives the page turning instruction respectively The page turning interval between the two; the time interval of the terminal is adjusted according to the page turning interval. That is to say, the page turning instruction received by the current display interface is used as the timing starting point, and the page turning instruction is received as the timing end point by the next display interface of the current display interface, and the time interval between the time counting start point and the time counting end point is calculated and acquired. The page turning time interval is finally adjusted according to the page turning time interval, and the terminal blanking time setting caused by the frequent setting of the screen blanking time when the terminal displays the content to be displayed in the related art is solved. The problem of low flexibility is achieved, thereby achieving the effect of increasing the flexibility of the terminal off-screen setting.

Claims (14)

  1. 一种终端灭屏时间的调整方法,包括:A method for adjusting a terminal blanking time includes:
    判断相邻显示界面所属的应用是否属于白名单中的应用;Determining whether an application to which the adjacent display interface belongs belongs to an application in the whitelist;
    在所述应用属于所述白名单中的应用时,获取所述相邻显示界面分别接收到翻页指令的时刻之间的翻页时间间隔;When the application belongs to the application in the whitelist, acquiring a page turning time interval between the moments when the adjacent display interface receives the page turning instruction respectively;
    依据所述翻页时间间隔调整终端的灭屏时间间隔。Adjusting the timeout interval of the terminal according to the page turning time interval.
  2. 根据权利要求1所述的方法,其中,判断相邻显示界面所属的应用是否属于白名单中的应用;The method according to claim 1, wherein it is determined whether an application to which the adjacent display interface belongs belongs to an application in the whitelist;
    在所述应用属于所述白名单中的应用时,获取所述相邻显示界面分别接收到翻页指令的时刻之间的翻页时间间隔;When the application belongs to the application in the whitelist, acquiring a page turning time interval between the moments when the adjacent display interface receives the page turning instruction respectively;
    依据所述翻页时间间隔调整终端的灭屏时间间隔。Adjusting the timeout interval of the terminal according to the page turning time interval.
  3. 根据权利要求2所述的方法,其中,所述依据所述时间间隔集合中的所述组成元素确定目标时间间隔包括:The method of claim 2, wherein the determining the target time interval according to the constituent elements in the set of time intervals comprises:
    统计所述时间间隔集合中所包括的每一时间间隔所出现的频率;Counting the frequency of occurrence of each time interval included in the set of time intervals;
    获取所述频率大于第一预设阈值的时间间隔;Obtaining a time interval in which the frequency is greater than a first preset threshold;
    将所述时间间隔设置为所述目标时间间隔。The time interval is set to the target time interval.
  4. 根据权利要求2所述的方法,其中,所述依据所述时间间隔集合中的所述组成元素确定目标时间间隔包括:The method of claim 2, wherein the determining the target time interval according to the constituent elements in the set of time intervals comprises:
    在所述时间间隔集合中选择一个时间间隔,作为指定时间间隔;Selecting a time interval in the set of time intervals as a specified time interval;
    分别获取所述时间间隔集合中所包括的时间间隔与所述指定时间间隔之间差值的绝对值小于第二预设阈值的时间间隔,得到时间间隔子集合;Obtaining, respectively, a time interval sub-set of obtaining a time interval that the absolute value of the difference between the time interval included in the time interval set and the specified time interval is less than a second preset threshold;
    获取所述时间间隔子集合中所包括的时间间隔的平均值;Obtaining an average of time intervals included in the subset of time intervals;
    将所述平均值作为所述目标时间间隔。The average value is taken as the target time interval.
  5. 根据权利要求1所述的方法,其中,在所述应用不属于所述 白名单中的应用时,将预设时间间隔作为所述终端的灭屏时间间隔。The method of claim 1 wherein said application does not belong to said When the application in the whitelist is used, the preset time interval is used as the timeout interval of the terminal.
  6. 根据权利要求5所述的方法,其中,所述应用包括以下至少之一:阅读模式的应用、视频浏览模式的应用。The method of claim 5, wherein the application comprises at least one of: an application of a reading mode, an application of a video browsing mode.
  7. 一种终端灭屏时间的调整装置,包括:A device for adjusting the terminal blanking time includes:
    判断模块,设置为判断相邻显示界面所属的应用是否属于白名单中的应用;The determining module is configured to determine whether an application to which the adjacent display interface belongs belongs to an application in the whitelist;
    获取模块,设置为在所述应用属于所述白名单中的应用时,获取所述相邻显示界面分别接收到翻页指令的时刻之间的翻页时间间隔;Obtaining, when the application belongs to the application in the whitelist, acquiring a page turning time interval between the moments when the adjacent display interface receives the page turning instruction respectively;
    调整模块,设置为依据所述翻页时间间隔调整终端的灭屏时间间隔。The adjustment module is configured to adjust the time interval of the terminal to be off according to the page turning time interval.
  8. 根据权利要求7所述的装置,其中,所述获取模块包括:The apparatus of claim 7, wherein the obtaining module comprises:
    获取单元,设置为获取通过多次执行以下步骤得到的时间间隔集合:获取当前显示界面接收到所述翻页指令到下一显示界面接收到所述翻页指令之间的时间间隔,将所述时间间隔作为所述时间间隔集合中的组成元素;An obtaining unit, configured to acquire a time interval set obtained by performing the following steps multiple times: obtaining a time interval between when the current display interface receives the page turning instruction and when the next display interface receives the page turning instruction, a time interval as a constituent element in the set of time intervals;
    处理单元,设置为依据所述时间间隔集合中的所述组成元素确定目标时间间隔,并将所述目标时间间隔作为所述翻页时间间隔。And a processing unit, configured to determine a target time interval according to the constituent elements in the time interval set, and use the target time interval as the page turning time interval.
  9. 根据权利要求8所述的装置,其中,所述处理单元包括:The apparatus of claim 8 wherein said processing unit comprises:
    统计子单元,设置为统计所述时间间隔集合中所包括的每一时间间隔所出现的频率;a statistical subunit, configured to count the frequency of occurrence of each time interval included in the set of time intervals;
    第一获取子单元,设置为获取所述频率大于第一预设阈值的时间间隔;a first acquiring subunit, configured to acquire a time interval in which the frequency is greater than a first preset threshold;
    第一设置子单元,设置为将所述时间间隔设置为所述目标时间间隔。 a first setting subunit, configured to set the time interval to the target time interval.
  10. 根据权利要求8所述的装置,其中,所述处理单元包括:The apparatus of claim 8 wherein said processing unit comprises:
    选择子单元,设置为在所述时间间隔集合中选择一个时间间隔,作为指定时间间隔;Selecting a subunit, set to select a time interval in the set of time intervals as a specified time interval;
    第二获取子单元,设置为分别获取所述时间间隔集合中所包括的时间间隔与所述指定时间间隔之间差值的绝对值小于第二预设阈值的时间间隔,得到时间间隔子集合;a second obtaining sub-unit, configured to acquire a time interval in which an absolute value of a difference between the time interval included in the time interval set and the specified time interval is less than a second preset threshold, to obtain a time interval sub-set;
    第三获取子单元,设置为获取所述时间间隔子集合中所包括的时间间隔的平均值;a third obtaining subunit, configured to obtain an average value of time intervals included in the time interval subset;
    第二设置子单元,设置为将所述平均值作为所述目标时间间隔。A second setting subunit is set to use the average value as the target time interval.
  11. 根据权利要求7所述的装置,其中,所述装置还包括:The apparatus of claim 7 wherein said apparatus further comprises:
    设置模块,设置为在所述应用不属于所述白名单中的应用时,将预设时间间隔作为所述终端的灭屏时间间隔。The setting module is configured to set a preset time interval as the timeout interval of the terminal when the application does not belong to the application in the whitelist.
  12. 根据权利要求11所述的装置,其中,所述应用包括以下至少之一:阅读模式的应用、视频浏览模式的应用。The apparatus of claim 11, wherein the application comprises at least one of: an application of a reading mode, an application of a video browsing mode.
  13. 一种终端灭屏时间的调整设备,包括权利要求7至12中任一项所述的装置。An apparatus for adjusting a terminal blanking time, comprising the apparatus according to any one of claims 7 to 12.
  14. 一种计算机存储介质,所述计算机存储介质存储有执行指令,所述执行指令用于执行权利要求1至6中任一项所述的方法。 A computer storage medium storing execution instructions for performing the method of any one of claims 1 to 6.
PCT/CN2016/107310 2015-12-25 2016-11-25 Method, apparatus and device for adjusting screen turn-off time of terminal, and computer storage media WO2017107737A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201510989310.5A CN105573603A (en) 2015-12-25 2015-12-25 Method and device for adjusting screen darkening time of terminal
CN201510989310.5 2015-12-25

Publications (1)

Publication Number Publication Date
WO2017107737A1 true WO2017107737A1 (en) 2017-06-29

Family

ID=55883809

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2016/107310 WO2017107737A1 (en) 2015-12-25 2016-11-25 Method, apparatus and device for adjusting screen turn-off time of terminal, and computer storage media

Country Status (2)

Country Link
CN (1) CN105573603A (en)
WO (1) WO2017107737A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112000905A (en) * 2020-08-26 2020-11-27 连尚(北京)网络科技有限公司 Information display method and device

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105573603A (en) * 2015-12-25 2016-05-11 中兴通讯股份有限公司 Method and device for adjusting screen darkening time of terminal
CN106227533A (en) * 2016-07-22 2016-12-14 深圳天珑无线科技有限公司 A kind of information getting method and device
CN106406883A (en) * 2016-09-18 2017-02-15 努比亚技术有限公司 A screen locking device and method
CN106681474A (en) * 2016-12-07 2017-05-17 上海传英信息技术有限公司 Mobile communication terminal bright screen management and setting method thereof
CN113010002B (en) * 2021-04-02 2022-03-25 联通沃悦读科技文化有限公司 Power utilization control system and method based on big data

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060053315A1 (en) * 2004-07-13 2006-03-09 Thomas Menzl Advanced sleep timer
CN104348980A (en) * 2013-07-31 2015-02-11 中兴通讯股份有限公司 Method and device for controlling power consumption of screen, and mobile terminal
CN104850321A (en) * 2015-04-29 2015-08-19 深圳市金立通信设备有限公司 Terminal
CN104850398A (en) * 2015-04-29 2015-08-19 深圳市金立通信设备有限公司 Control method for terminal screen
CN105573603A (en) * 2015-12-25 2016-05-11 中兴通讯股份有限公司 Method and device for adjusting screen darkening time of terminal

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102841768B (en) * 2011-06-24 2015-07-15 三星电子(中国)研发中心 Screen delay regulation method of mobile terminal

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060053315A1 (en) * 2004-07-13 2006-03-09 Thomas Menzl Advanced sleep timer
CN104348980A (en) * 2013-07-31 2015-02-11 中兴通讯股份有限公司 Method and device for controlling power consumption of screen, and mobile terminal
CN104850321A (en) * 2015-04-29 2015-08-19 深圳市金立通信设备有限公司 Terminal
CN104850398A (en) * 2015-04-29 2015-08-19 深圳市金立通信设备有限公司 Control method for terminal screen
CN105573603A (en) * 2015-12-25 2016-05-11 中兴通讯股份有限公司 Method and device for adjusting screen darkening time of terminal

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112000905A (en) * 2020-08-26 2020-11-27 连尚(北京)网络科技有限公司 Information display method and device
CN112000905B (en) * 2020-08-26 2023-12-08 连尚(北京)网络科技有限公司 Information display method and device

Also Published As

Publication number Publication date
CN105573603A (en) 2016-05-11

Similar Documents

Publication Publication Date Title
WO2017107737A1 (en) Method, apparatus and device for adjusting screen turn-off time of terminal, and computer storage media
US9275604B2 (en) Constant speed display method of mobile device
US9431059B2 (en) Information processing method and electronic device thereof
CN107391062A (en) A kind of method, apparatus and its mobile terminal for adjusting screen display
WO2014187043A1 (en) Application display processing method and apparatus
CN107483812B (en) Multi-platform parallel live broadcast method and device
WO2016026245A1 (en) Method and system for switching video playback resolution
CN110795056B (en) Method, device, terminal and storage medium for adjusting display parameters
CN105469381B (en) Information processing method and terminal
CN105320481A (en) Data display method and device and mobile terminal
CN109361947A (en) Internet resources batch loading method, smart television, storage medium and device
US20210084230A1 (en) Information Processing Method, Terminal and Readable Storage Medium
CN110475148A (en) Video broadcasting method, device and electronic equipment
CN113225619A (en) Frame rate self-adaption method, device, equipment and readable storage medium
EP3142357A1 (en) Operation instruction method and device for remote controller of smart television
CN107436658B (en) Method for reducing temperature rise, computer readable storage medium and mobile terminal
CN112083988A (en) Screen refresh rate control method, mobile terminal and computer readable storage medium
CN116132742A (en) Method for determining video playing speed doubling value, video playing method, device and equipment
US20160266726A1 (en) Display Control Method And Device
US9349347B2 (en) Apparatus and method for controlling screen brightness in portable terminal
US20170161871A1 (en) Method and electronic device for previewing picture on intelligent terminal
EP2669894A1 (en) Method for creating thumbnail images of videos and an electronic device for display thereof
WO2016184171A1 (en) Object selection method and apparatus
CN113885824A (en) Screen control method and device, electronic equipment and storage medium
US20230009336A1 (en) Live video interaction method and apparatus, and computer device

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 16877548

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 16877548

Country of ref document: EP

Kind code of ref document: A1