CN111212185A - Eye protection mode starting method and device, storage medium and terminal - Google Patents

Eye protection mode starting method and device, storage medium and terminal Download PDF

Info

Publication number
CN111212185A
CN111212185A CN201911373433.0A CN201911373433A CN111212185A CN 111212185 A CN111212185 A CN 111212185A CN 201911373433 A CN201911373433 A CN 201911373433A CN 111212185 A CN111212185 A CN 111212185A
Authority
CN
China
Prior art keywords
screen
duration
protection mode
eye protection
terminal
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201911373433.0A
Other languages
Chinese (zh)
Inventor
夏桥
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Yulong Computer Telecommunication Scientific Shenzhen Co Ltd
Original Assignee
Yulong Computer Telecommunication Scientific Shenzhen Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Yulong Computer Telecommunication Scientific Shenzhen Co Ltd filed Critical Yulong Computer Telecommunication Scientific Shenzhen Co Ltd
Priority to CN201911373433.0A priority Critical patent/CN111212185A/en
Publication of CN111212185A publication Critical patent/CN111212185A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72448User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
    • H04M1/72454User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions according to context-related or environment-related conditions

Landscapes

  • Engineering & Computer Science (AREA)
  • Environmental & Geological Engineering (AREA)
  • Human Computer Interaction (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • User Interface Of Digital Computer (AREA)
  • Telephone Function (AREA)

Abstract

The embodiment of the application discloses an eye protection mode starting method, an eye protection mode starting device, a storage medium and a terminal, wherein the method comprises the following steps: acquiring the accumulated screen-on duration of the terminal screen in the screen-on mode in the current screen-on timing period; and when the accumulated screen-on duration reaches the first target duration, controlling to start the eye protection mode. By applying the embodiment of the application, the eyes of the user can be protected in time in the process of using the terminal.

Description

Eye protection mode starting method and device, storage medium and terminal
Technical Field
The application relates to the technical field of computers, in particular to an eye protection mode starting method and device, a storage medium and a terminal.
Background
The generation of the mobile terminal enables the life and work of people to become more convenient, the dependence of people on the mobile terminal is gradually enhanced, and people must take up a mobile phone to browse news for recreation to move daily.
In order to prevent eyestrain caused by long-time browsing of the mobile phone, so that the eyesight of a user is damaged or other eye health problems are caused, the current terminals are all provided with eye protection modes. The terminal can automatically start the eye protection mode at the corresponding moment according to the relevant setting of the user to protect the eyes of the user. The eye protection mode is a mode of shielding blue light through the terminal and adjusting the brightness of the screen in a matching manner, so that an eye protection effect is achieved. More specifically, the eye protection mode is a means for reducing blue light radiation by using a built-in algorithm function, and simultaneously increasing yellow hue in the color, and neutralizing red light and green light in the hue.
The eye protection mode which is automatically started after the screen is used for a fixed time is the most common eye protection mode at present. However, with the eye protection method, if a screen is turned off by mistake or accidentally during the use of the terminal, the screen use duration will restart timing, which may cause the eye protection mode to be turned off late and the eyes of the user may not be protected in time.
Disclosure of Invention
The embodiment of the application provides an eye protection mode opening method and device, a storage medium and a terminal, and can solve the problem that the eye protection mode cannot be opened in time to protect eyes. The technical scheme is as follows:
in a first aspect, an embodiment of the present application provides a method for opening an eye protection mode, where the method includes:
acquiring the accumulated screen-on duration of the terminal screen in the screen-on mode in the current screen-on timing period;
and when the accumulated screen-on duration reaches the first target duration, controlling to start the eye protection mode.
In a second aspect, the present application provides an eye protection mode opening device, including:
the time length acquisition module is used for acquiring the accumulated screen-on time length of the terminal screen in the screen-on mode in the current screen-on timing period;
and the eye protection mode control module is used for controlling to open the eye protection mode when the accumulated bright screen duration reaches the first target duration.
In a third aspect, the present application provides a computer-readable storage medium, on which a computer program is stored, which when executed by a processor implements the steps of any one of the above methods.
In a fourth aspect, an embodiment of the present application provides a terminal, including a memory, a processor, and a computer program stored on the memory and executable on the processor, where the processor implements the steps of any one of the above methods when executing the program.
The beneficial effects brought by the technical scheme provided by some embodiments of the application at least comprise:
according to the eye protection mode opening method, the terminal firstly obtains the accumulated bright screen duration of the terminal screen in the bright screen mode in the current bright screen timing period, judges the accumulated bright screen duration, and controls to open the eye protection mode when the accumulated bright screen duration reaches the first target duration. The method comprises the steps that whether an eye protection mode is started or not is determined according to accumulated bright screen duration of a screen, and the eye protection mode is automatically started when the accumulated bright screen duration reaches a first target duration; the problem that the eye protection mode is not started late due to mistaken screen-off or unintentional screen-off can be solved by starting the eye protection mode with the accumulated time as a condition. By applying the embodiment of the application, the eyes of the user can be protected in time in the process of using the terminal.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present application, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
Fig. 1 is a schematic flowchart of an eye protection mode opening method according to an embodiment of the present disclosure;
fig. 2 is a schematic process diagram of an eye protection mode opening method according to an embodiment of the present disclosure;
fig. 3 is a schematic flowchart of an eye protection mode opening method according to an embodiment of the present disclosure;
fig. 4 is a schematic structural view of an eye protection mode opening device according to an embodiment of the present disclosure;
fig. 5 is a schematic structural view of an eye protection mode opening device according to an embodiment of the present disclosure;
fig. 6 is a schematic structural view of an eye protection mode opening device according to an embodiment of the present disclosure;
fig. 7 is a block diagram of a terminal structure according to an embodiment of the present application.
Detailed Description
In order to make the objects, technical solutions and advantages of the present application more clear, embodiments of the present application will be described in further detail below with reference to the accompanying drawings.
When the following description refers to the accompanying drawings, like numbers in different drawings represent the same or similar elements unless otherwise indicated. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present application. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the application, as detailed in the appended claims.
In the description of the present application, it is to be understood that the terms "first," "second," and the like are used for descriptive purposes only and are not to be construed as indicating or implying relative importance. The specific meaning of the above terms in the present application can be understood in a specific case by those of ordinary skill in the art. Further, in the description of the present application, "a plurality" means two or more unless otherwise specified. "and/or" describes the association relationship of the associated objects, meaning that there may be three relationships, e.g., a and/or B, which may mean: a exists alone, A and B exist simultaneously, and B exists alone. The character "/" generally indicates that the former and latter associated objects are in an "or" relationship.
The present application will be described with reference to specific examples.
Fig. 1 is a schematic flow chart of an eye protection mode opening method according to an embodiment of the present disclosure.
As shown in fig. 1, the method of the embodiment of the present application may include the steps of:
s101, acquiring accumulated screen-on duration of a terminal screen in a screen-on mode in a current screen-on timing period;
the method provided by the embodiment of the application is that the terminal controls to start the eye protection mode after the screen bright time reaches the fixed time. The eye protection mode can be started by continuously lighting the screen for a fixed time at one time or by continuously lighting the screen for a plurality of times and accumulating the time of each section to reach the fixed time. In order to effectively time the screen-on duration, the embodiment defines a timing start node and a timing end node by taking the screen-on timing period as a boundary. When the user opens the function of automatically starting the eye protection mode, the terminal starts the timing of the first period, and when the timing length reaches the preset fixed time length, the timing of the first period is completed, and the timing of the second period is started at the same time. The frequency and the duration of the terminal used by the user at different time intervals in one day are different, and the timing is carried out by dividing the cycle, so that different use conditions can be complied with, and the eye protection mode is timely and timely started to protect eyes.
Of course, the bright screen timing period may also be set in a self-defined manner, for example, 8:00-11:00 is set as one period, 11:00-14:00 is set as one period, and the terminal obtains the accumulated bright screen duration of the screen in the bright screen mode in the period of the current time.
More specifically, the bright screen timing period is to time the bright time of the screen in the bright screen mode within a certain period, where the current bright screen timing period may be a first bright screen timing period, or may be a second timing period or an nth timing period, and the bright screen mode is relative to the eye protection mode, and generally, the color of the screen in the eye protection mode is darker and yellowish than those of screens in other modes, and the color spectrum is warmer, so that the other modes except the eye protection mode are collectively referred to as the bright screen mode, and the bright screen mode is also referred to as the non-eye protection mode.
The terminal in the embodiment of the present application includes, but is not limited to, an electronic device such as a smart phone, a tablet computer, an interactive smart tablet, and a computer. An operating system is integrated in the terminal in the embodiment of the application, and the type of the operating system is not limited, and may be, for example, an Android (Android) operating system, a Windows (Windows) operating system, an apple (IOS) operating system, and the like.
And S102, when the accumulated screen-on duration reaches a first target duration, controlling to start an eye protection mode.
Specifically, in this embodiment, the fixed duration is defined as a first target duration, that is, the fixed duration mentioned in step S101 is the first target duration in this step; the method comprises the steps that a first target duration is used as a critical point, when the screen is lighted for a long time reaching a first target, the terminal automatically controls to start an eye protection mode to protect eyes of a user, the screen is lighted for a long time reaching the first target duration continuously at a time, or the screen is lighted for a long time reaching the first target duration cumulatively for multiple times, and the first target duration can be 40 minutes or one hour and the like.
This application is in bright screen timing cycle, and it is long to obtain terminal screen accumulative total bright screen time under the bright screen mode, that is to say, no matter whether the mistake has appeared in the use of screen and has rested the screen or not or the screen is rested the screen or even the brief of the intention temporarily, the eyeshield mode can all be opened automatically in good time to the terminal. For example, assume that the setting conditions are: the method includes the steps that when the service life of a screen reaches 40 minutes, an eye protection mode is automatically controlled to be started, in the using process, when a user continuously uses the screen for 40 minutes, the terminal automatically starts the eye protection mode, or when the user uses the screen for 23 minutes, the screen is touched unintentionally, the screen is touched to be stopped, the terminal calculates the accumulated screen use time to be 40 minutes when the screen is touched to be opened again and continues to be used for 17 minutes, at the moment, the eye protection mode is automatically started, or when the user intentionally stops the screen for one or two minutes in use, the terminal can exclude the accumulated screen use time, and the accumulated screen use time is calculated, so that the eye protection mode is started. The screen is turned off when the screen is turned off, and the screen is turned off relatively to the bright screen. The eye protection mode opening method provided by the embodiment is not influenced by screen breath, the eye protection mode can be automatically opened according to the accumulated total time length before and after use, the method is more flexible, and the eyes of a user can be protected more timely.
In the embodiment of the application, the terminal firstly obtains the accumulated screen-on duration of the terminal screen in the screen-on mode in the current screen-on timing period, judges the accumulated screen-on duration, and controls to start the eye-protecting mode when the accumulated screen-on duration reaches the first target duration. The method comprises the steps that whether an eye protection mode is started or not is determined according to accumulated bright screen duration of a screen, and the eye protection mode is automatically started when the accumulated bright screen duration reaches a first target duration; the problem that the eye protection mode is not started late due to mistaken screen-off or unintentional screen-off can be solved by starting the eye protection mode with the accumulated time as a condition. By applying the embodiment of the application, the eyes of the user can be protected in time in the process of using the terminal.
Fig. 2 is a schematic flow chart of an eye protection mode opening method according to an embodiment of the present disclosure.
As shown in fig. 2, the eye protection mode opening method may include the following steps:
s201, acquiring accumulated screen-on duration of a terminal screen in a screen-on mode in a current screen-on timing period;
this step can be referred to as step S101, and is not described herein again.
S202, when the accumulated screen-on duration reaches a first target duration, controlling to start an eye protection mode;
this step can be referred to as step S102, and is not described herein.
S203, monitoring the using process of the screen in the eye protection mode;
according to the embodiment of the application, the accumulated screen-lighting time of the screen in the screen-lighting mode reaches the first target time, and the screen using process in the eye-protection mode is monitored after the terminal controls the automatic opening of the eye-protection mode. The purpose of monitoring the use process of the screen is to determine whether the current use condition still needs to continuously open the eye protection mode, and the eye protection mode is automatically controlled to be closed when the eye protection mode does not need to be continuously opened. The screen may be continuously or discontinuously lighted, that is, the screen may only include a screen-lighting event, or may include both a screen-lighting event and a screen-turning event.
Considering that opening of eyeshield mode can bring certain consumption, this embodiment is real-time going on to the control of screen use to in time control closes the eyeshield mode when determining that the terminal is not used for a long time, thereby reduce the terminal power consumption.
S204, when a screen-off event exists in the using process of the screen in the eye protection mode, acquiring the continuous screen-off duration of the screen;
when a screen-off event exists in the using process of the screen in the eye protection mode, the terminal firstly acquires the screen-off duration of the screen and then determines the operation to be executed according to the screen-off duration.
The duration of the continuous screen turning-off in this step refers to the duration of a single screen turning-off.
S205, when the duration of continuous screen resting reaches a second target duration, controlling to close the eye protection mode;
because this embodiment is real time monitoring to the use of screen, consequently, under the eyeshield mode, when the screen appears and the screen event of once more, the terminal just can acquire the lasting screen duration of putting more of this screen event to the duration judgement. Specifically, when the duration of continuous screen resting reaches the duration of the second target, the terminal is indicated to be not used for a period of time, at the moment, the eye protection mode does not need to be continuously started, and the terminal controls to close the eye protection mode. The duration of continuous screen-off reaches a second target duration, namely the duration of continuous screen-off is greater than or equal to the second target duration, the second target duration is a critical value for dividing a screen into a transient screen-off and a long-time screen-off, the transient screen-off refers to temporary screen-off caused by screen-off by mistake or screen-off by accident, and the long-time screen-off refers to screen-off by intention of a user so that the screen enters the long-time screen-off, and the second target duration can be ten minutes or fifteen minutes, for example.
And S206, when the screen-off duration does not reach the second target duration, continuing to monitor the use process of the screen in the eye protection mode.
When the duration of the continuous screen resting time does not reach (namely is less than) the duration of the second target, the current screen resting of the terminal is a transient screen resting, and the terminal needs to control the eye protection mode to be continuously started and continuously monitor the subsequent use process of the screen. The terminal monitors the screen in real time, so that the terminal judges whether the duration of screen pause reaches the second target duration or not when screen pause occurs once on the screen. The process is illustrated by way of example: if the current bright screen timing period is 8:00-12:00, the second target time length is 10 minutes, the screen starts to be used at the timing starting node 8:00 of the current period, and if the screen is turned off for the first time after 5 minutes and the screen is turned off for only 2 minutes, the terminal continues to keep the eye protection mode on and monitors the use process of the subsequent screen; if the screen is turned off again after 20 minutes of subsequent use, and the screen turning-off time is as long as 11 minutes (namely 8:38, in the current period), the terminal judges that the screen is turned off for a long time and belongs to the screen turning-off interest of the user, and at the moment, the eye protection mode is controlled to be turned off, so that energy consumption is saved.
It should be noted that, when only a bright screen event exists in the use process of the screen in the eye protection mode, the terminal controls the eye protection mode to be continuously started. Of course, after the eye protection mode is automatically turned on, the user can also manually turn off the eye protection mode according to actual needs.
Of course, in other embodiments, the terminal may periodically monitor the usage of the screen in the eye-protecting mode.
In the embodiment of the application, the terminal firstly obtains the accumulated screen-on duration of the terminal screen in the screen-on mode in the current screen-on timing period, judges the accumulated screen-on duration, and controls to start the eye-protecting mode when the accumulated screen-on duration reaches the first target duration. The method comprises the steps that whether an eye protection mode is started or not is determined according to accumulated bright screen duration of a screen, and the eye protection mode is automatically started when the accumulated bright screen duration reaches a first target duration; the problem that the eye protection mode is not started late due to mistaken screen-off or unintentional screen-off can be solved by starting the eye protection mode with the accumulated time as a condition. By applying the embodiment of the application, the eyes of the user can be protected in time in the process of using the terminal.
Fig. 3 is a schematic flow chart of an eye protection mode opening method according to an embodiment of the present disclosure.
As shown in fig. 3, the eye protection mode opening method may include the following steps:
s301, acquiring accumulated screen-on duration of a terminal screen in a screen-on mode in a current screen-on timing period;
the method provided by the embodiment of the application is that the terminal controls to start the eye protection mode after the screen bright time reaches the fixed time. The eye protection mode can be started by continuously lighting the screen for a fixed time at one time or by continuously lighting the screen for a plurality of times and accumulating the time of each section to reach the fixed time. In order to effectively time the screen-on duration, the embodiment defines a timing start node and a timing end node by taking the screen-on timing period as a boundary. When the user opens the function of automatically starting the eye protection mode, the terminal starts the timing of the first period, and when the timing length reaches the preset fixed time length, the timing of the first period is completed, and the timing of the second period is started at the same time. The frequency and the duration of the terminal used by the user at different time intervals in one day are different, and the timing is carried out by dividing the cycle, so that different use conditions can be complied with, and the eye protection mode is timely and timely started to protect eyes.
Of course, the bright screen timing period may also be set in a user-defined manner, for example, each hour is a period, or each 5 hours is a period, and the terminal obtains the accumulated bright screen duration of the screen in the bright screen mode in the period of the current time.
More specifically, the bright screen timing period is to time the bright time of the screen in the bright screen mode within a certain period, where the current bright screen timing period may be a first bright screen timing period, or may be a second timing period or an nth timing period, and the bright screen mode is relative to the eye protection mode, and generally, the color of the screen in the eye protection mode is darker and yellowish than those of screens in other modes, and the color spectrum is warmer, so that the other modes except the eye protection mode are collectively referred to as the bright screen mode, and the bright screen mode is also referred to as the non-eye protection mode.
S302, when the accumulated screen-on duration reaches a first target duration, outputting prompt information of whether to start an eye protection mode;
specifically, in this embodiment, the fixed duration is defined as a first target duration, that is, the fixed duration mentioned in step S301 is the first target duration in this step; the method comprises the steps that a first target duration is used as a critical point, when the screen lighting duration reaches the first target duration, the terminal automatically controls to start an eye protection mode to protect eyes of a user, the screen lighting duration can be the first target duration continuously reached once or can be the first target duration reached through multiple times of accumulation, and the first target duration can be 30 minutes or 50 minutes and the like.
This application is in bright screen timing cycle, and it is long to obtain terminal screen accumulative total bright screen time under bright screen mode, that is to say, no matter whether the mistake has appeared in the use of screen and has rested the screen or not, the eyeshield mode can all be opened automatically in good time to the terminal. In order to meet the actual use requirements of a user, in this embodiment, when the accumulated screen-on duration of the screen reaches the first target duration, the prompt information indicating whether to start the eye protection mode is output to the user through the display screen, where the prompt information includes options, the user inputs a corresponding selection instruction according to the prompt information touch screen, and the terminal executes a corresponding operation based on the input instruction. Of course, besides the way of touch input instruction, the user can also input the selection instruction by other ways such as voice or key input.
The prompt information may be output to the user in one or more of visual, audible, or tactile manners, such as outputting a text prompt to the user via a display screen while simultaneously issuing a vibration prompt, etc. In this embodiment, the display form of the prompt information is not limited, and may be static display, dynamic display, or a combination of the two forms.
S303, receiving confirmation operation aiming at the prompt information input, and controlling to start an eye protection mode;
when the user confirms the operation aiming at the prompt information input, the user agrees to open the eye protection mode, and the terminal controls to open the eye protection mode to protect the eyes of the user.
S304, receiving a denial operation aiming at the prompt information input, and starting the bright screen timing of the next bright screen timing period;
and when the user inputs a negative operation aiming at the prompt information, the user does not agree to start the eye protection mode, and the terminal controls to continuously keep the current bright screen mode and start the next bright screen timing cycle. In this embodiment, after outputting the prompt information, the terminal completes/ends the bright screen timing of the current period, specifically, when the user inputs the confirmation operation, the terminal controls to start the eye protection mode and complete the bright screen timing task of the current period, and then there is no bright screen timing task any more; when the user inputs a denial operation, the terminal completes the bright screen timing task of the current period and starts the bright screen timing task of the next period, that is, after the user refuses to enter the eye protection mode, the terminal repeatedly executes steps S301-S303.
S305, acquiring the output times of the prompt message;
after the user refuses to enter the eye protection mode, the terminal can acquire the output times of the prompt information once, and counts the output times of the prompt information up to the present. In order to ensure user experience, the eye protection mode starting method provided by this embodiment only provides information prompts for a limited number of times for a user, when the output number of times of the prompt information is less than a preset threshold, the terminal may continue to perform bright screen timing in the next period, and when the output number of times of the prompt information is greater than or equal to the preset threshold, step S306 is performed.
S306, when the output frequency of the prompt message is larger than or equal to a preset threshold value, continuously starting the screen-lightening mode to a set ending time, and when the ending time is reached, executing the step of acquiring the accumulated screen-lightening duration of the terminal screen in the screen-lightening mode in the current screen-lightening timing period.
When the output frequency of the prompt information is larger than or equal to a preset threshold value, the prompt frequency is indicated to reach an upper limit value, the terminal does not perform the bright screen timing of the next period any more before the set ending time, and the bright screen timing task is completely ended. When the set end time is reached, the terminal repeatedly performs steps S301 to 306. The set ending time may be, for example, 24 o' clock of the day, that is, the eye protection mode starting method provided in the embodiment of the present application may take one day as a turn, and in the time of the day, the terminal performs the screen-up timing of N screen-up timing cycles. For example, if the user sets a bright screen timing period every 6 hours and the preset threshold is 2, 4 bright screen timing periods are included in one day, if the terminal sends 2 information prompts in the same day, the bright screen timing of the 3 rd period is not performed any more, all bright screen timing tasks are ended today, the terminal maintains the current bright screen mode until 24 o 'clock, and the bright screen timing tasks of the 4 bright screen timing periods on the next day are started at 0 o' clock.
In the embodiment of the application, the terminal firstly obtains the accumulated screen-on duration of the terminal screen in the screen-on mode in the current screen-on timing period, judges the accumulated screen-on duration, and controls to start the eye-protecting mode when the accumulated screen-on duration reaches the first target duration. The method comprises the steps that whether an eye protection mode is started or not is determined according to accumulated bright screen duration of a screen, and the eye protection mode is automatically started when the accumulated bright screen duration reaches a first target duration; the problem that the eye protection mode is not started late due to mistaken screen-off or unintentional screen-off can be solved by starting the eye protection mode with the accumulated time as a condition. By applying the embodiment of the application, the eyes of the user can be protected in time in the process of using the terminal.
The following are embodiments of the apparatus of the present application that may be used to perform embodiments of the method of the present application. For details which are not disclosed in the embodiments of the apparatus of the present application, reference is made to the embodiments of the method of the present application.
Fig. 4 is a schematic structural view of an eye protection mode opening device according to an exemplary embodiment of the present disclosure. The eye protection mode starting device can be realized into all or part of the terminal through software, hardware or the combination of the software and the hardware, and can also be integrated on a server as an independent module. The eye protection mode opening device in the embodiment of the application is applied to a terminal, and the device 1 comprises a duration acquisition module 11 and an eye protection mode control module 12.
The duration obtaining module 11 is configured to obtain, within a current screen-on timing period, an accumulated screen-on duration of the terminal screen in the screen-on mode;
and the eye protection mode control module 12 is used for controlling to start the eye protection mode when the accumulated bright screen duration reaches the first target duration.
Optionally, as shown in fig. 5, a schematic structural view of an eye protection mode opening device provided in an embodiment of the present application is provided. As shown in fig. 5, the apparatus 1 further includes:
the monitoring module 13 is used for monitoring the use process of the screen in the eye protection mode;
the duration obtaining module 11 is specifically configured to:
when a screen-off event exists in the using process of the screen in the eye protection mode, acquiring the continuous screen-off duration of the screen;
the eye protection mode control module 12 is specifically configured to:
and when the duration of continuous screen resting reaches the duration of a second target, controlling to close the eye protection mode.
Optionally, the monitoring module 13 is further configured to:
and when the screen-off duration does not reach the second target duration, continuing monitoring the use process of the screen in the eye protection mode.
Optionally, as shown in fig. 6, a schematic structural view of an eye protection mode opening device provided in an embodiment of the present application is shown. As shown in fig. 6, the eye protection mode control module 12 in the device 1 includes:
a prompt information output unit 121, configured to output a prompt information indicating whether to start an eye protection mode when the accumulated screen-on duration reaches a first target duration;
an eye protection mode control unit 122, configured to receive a confirmation operation for the prompt information input, and control to start an eye protection mode;
the device 1 further comprises:
a bright screen timing starting module 14, configured to receive a denial operation for the prompt information input, and start bright screen timing of a next bright screen timing cycle;
a prompt frequency acquisition module 15, configured to acquire output frequency of the prompt information;
and the circulating module 16 is configured to, when the output frequency of the prompt message is greater than or equal to a preset threshold, continuously start the screen-up mode to a set end time, and when the end time is reached, execute the step of obtaining the accumulated screen-up duration of the terminal screen in the screen-up mode within the current screen-up timing period.
It should be noted that, when the eye protection mode opening device provided in the above embodiment executes the eye protection mode opening method, only the division of the above functional modules is taken as an example, and in practical application, the above function distribution may be completed by different functional modules according to needs, that is, the internal structure of the device may be divided into different functional modules to complete all or part of the above described functions. In addition, the eye protection mode opening device provided by the embodiment and the eye protection mode opening method embodiment belong to the same concept, and the detailed implementation process is shown in the method embodiment and is not described herein again.
The above-mentioned serial numbers of the embodiments of the present application are merely for description and do not represent the merits of the embodiments.
The application provides an eyeshield mode opening device, terminal are at first in the current bright screen timing cycle, and it is long to acquire the terminal screen accumulative bright screen under the bright screen mode to judge accumulative bright screen is long, work as accumulative bright screen is long time when reaching first target, and the eyeshield mode is opened in the control. The method comprises the steps that whether an eye protection mode is started or not is determined according to accumulated bright screen duration of a screen, and the eye protection mode is automatically started when the accumulated bright screen duration reaches a first target duration; the problem that the eye protection mode is not started late due to mistaken screen-off or unintentional screen-off can be solved by starting the eye protection mode with the accumulated time as a condition. By applying the embodiment of the application, the eyes of the user can be protected in time in the process of using the terminal.
The embodiments of the present application also provide a computer-readable storage medium, on which a computer program is stored, and the computer program is executed by a processor to implement the steps of the method of any one of the foregoing embodiments. The computer-readable storage medium may include, but is not limited to, any type of disk including floppy disks, optical disks, DVD, CD-ROMs, microdrive, and magneto-optical disks, ROMs, RAMs, EPROMs, EEPROMs, DRAMs, VRAMs, flash memory devices, magnetic or optical cards, nanosystems (including molecular memory ICs), or any type of media or device suitable for storing instructions and/or data.
The embodiment of the present application further provides a terminal, which includes a memory, a processor, and a computer program stored in the memory and capable of running on the processor, and when the processor executes the program, the steps of any of the above-mentioned embodiments of the method are implemented.
Please refer to fig. 7, which is a block diagram of a terminal according to an embodiment of the present disclosure.
As shown in fig. 7, the terminal 600 includes: a processor 601 and a memory 602.
In this embodiment, the processor 601 is a control center of a computer system, and may be a processor of an entity machine or a processor of a virtual machine. The processor 601 may include one or more processing cores, such as a 4-core processor, an 8-core processor, and so on. The processor 601 may be implemented in at least one hardware form of a DSP (Digital Signal Processing), an FPGA (Field-Programmable Gate Array), and a PLA (Programmable logic Array). The processor 601 may also include a main processor and a coprocessor, where the main processor is a processor for processing data in an awake state, and is also called a Central Processing Unit (CPU); a coprocessor is a low power processor for processing data in a standby state.
The memory 602 may include one or more computer-readable storage media, which may be non-transitory. The memory 602 may also include high-speed random access memory, as well as non-volatile memory, such as one or more magnetic disk storage devices, flash memory storage devices. In some embodiments of the present application, a non-transitory computer readable storage medium in the memory 602 is used to store at least one instruction for execution by the processor 601 to implement a method in embodiments of the present application.
In some embodiments, the terminal 600 further includes: a peripheral interface 603 and at least one peripheral. The processor 601, memory 602, and peripheral interface 603 may be connected by buses or signal lines. Various peripheral devices may be connected to the peripheral interface 603 via a bus, signal line, or circuit board. Specifically, the peripheral device includes: at least one of a display screen 604, a camera 605, and an audio circuit 606.
The peripheral interface 603 may be used to connect at least one peripheral related to I/O (Input/Output) to the processor 601 and the memory 602. In some embodiments of the present application, the processor 601, memory 602, and peripheral interface 603 are integrated on the same chip or circuit board; in some other embodiments of the present application, any one or both of the processor 601, the memory 602, and the peripheral interface 603 may be implemented on separate chips or circuit boards. The embodiment of the present application is not particularly limited to this.
The display screen 604 is used to display a UI (User Interface). The UI may include graphics, text, icons, video, and any combination thereof. When the display screen 604 is a touch display screen, the display screen 604 also has the ability to capture touch signals on or over the surface of the display screen 604. The touch signal may be input to the processor 601 as a control signal for processing. At this point, the display screen 604 may also be used to provide virtual buttons and/or a virtual keyboard, also referred to as soft buttons and/or a soft keyboard. In some embodiments of the present application, the display screen 604 may be one, and is provided as a front panel of the terminal 600; in other embodiments of the present application, the display screens 604 may be at least two, respectively disposed on different surfaces of the terminal 600 or in a folding design; in still other embodiments of the present application, the display 604 may be a flexible display disposed on a curved surface or a folded surface of the terminal 600. Even further, the display screen 604 may be arranged in a non-rectangular irregular pattern, i.e. a shaped screen. The Display screen 604 may be made of LCD (Liquid Crystal Display), OLED (Organic Light-Emitting Diode), and the like.
The camera 605 is used to capture images or video. Optionally, the camera 605 includes a front camera and a rear camera. Generally, a front camera is disposed at a front panel of the terminal, and a rear camera is disposed at a rear surface of the terminal. In some embodiments, the number of the rear cameras is at least two, and each rear camera is any one of a main camera, a depth-of-field camera, a wide-angle camera and a telephoto camera, so that the main camera and the depth-of-field camera are fused to realize a background blurring function, and the main camera and the wide-angle camera are fused to realize panoramic shooting and VR (Virtual Reality) shooting functions or other fusion shooting functions. In some embodiments of the present application, camera 605 may also include a flash. The flash lamp can be a monochrome temperature flash lamp or a bicolor temperature flash lamp. The double-color-temperature flash lamp is a combination of a warm-light flash lamp and a cold-light flash lamp, and can be used for light compensation at different color temperatures.
Audio circuitry 606 may include a microphone and a speaker. The microphone is used for collecting sound waves of a user and the environment, converting the sound waves into electric signals, and inputting the electric signals to the processor 601 for processing. For the purpose of stereo sound collection or noise reduction, a plurality of microphones may be provided at different portions of the terminal 600. The microphone may also be an array microphone or an omni-directional pick-up microphone.
Power supply 607 is used to provide power to the various components in terminal 600. The power supply 607 may be ac, dc, disposable or rechargeable. When power supply 607 includes a rechargeable battery, the rechargeable battery may be a wired rechargeable battery or a wireless rechargeable battery. The wired rechargeable battery is a battery charged through a wired line, and the wireless rechargeable battery is a battery charged through a wireless coil. The rechargeable battery may also be used to support fast charge technology.
The block diagram of the terminal structure shown in the embodiments of the present application does not constitute a limitation to the terminal 600, and the terminal 600 may include more or less components than those shown, or combine some components, or adopt a different arrangement of components.
In this application, the terms "first," "second," and the like are used for descriptive purposes only and are not to be construed as indicating or implying a relative importance or order; the term "plurality" means two or more unless expressly limited otherwise. The terms "mounted," "connected," "fixed," and the like are to be construed broadly, and for example, "connected" may be a fixed connection, a removable connection, or an integral connection; "coupled" may be direct or indirect through an intermediary. The specific meaning of the above terms in the present application can be understood by those of ordinary skill in the art as appropriate.
In the description of the present application, it is to be understood that the terms "upper", "lower", and the like indicate orientations or positional relationships based on those shown in the drawings, and are only for convenience in describing the present application and simplifying the description, but do not indicate or imply that the referred device or unit must have a specific direction, be configured and operated in a specific orientation, and thus, should not be construed as limiting the present application.
The above description is only for the specific embodiments of the present application, but the scope of the present application is not limited thereto, and any person skilled in the art can easily conceive of the changes or substitutions within the technical scope of the present application, and shall be covered by the scope of the present application. Accordingly, all equivalent changes made by the claims of this application are intended to be covered by this application.

Claims (10)

1. An eye-protection mode opening method, comprising:
acquiring the accumulated screen-on duration of the terminal screen in the screen-on mode in the current screen-on timing period;
and when the accumulated screen-on duration reaches the first target duration, controlling to start the eye protection mode.
2. The method of claim 1, wherein the controlling further comprises, after initiating the eye-shielding mode:
monitoring the use process of the screen in the eye protection mode;
when a screen-off event exists in the using process of the screen in the eye protection mode, acquiring the continuous screen-off duration of the screen;
and when the duration of continuous screen resting reaches the duration of a second target, controlling to close the eye protection mode.
3. The method of claim 2, further comprising:
and when the screen-off duration does not reach the second target duration, continuing monitoring the use process of the screen in the eye protection mode.
4. The method of claim 1, wherein controlling to open an eye-protection mode when the accumulated bright-screen duration reaches a first target duration comprises:
when the accumulated screen-on duration reaches a first target duration, outputting prompt information whether to start an eye protection mode;
and receiving confirmation operation aiming at the prompt information input, and controlling to start an eye protection mode.
5. The method of claim 4, further comprising:
receiving a denial operation aiming at the prompt information input, and starting the bright screen timing of the next bright screen timing period.
6. The method of claim 5, further comprising:
acquiring the output times of the prompt information;
when the output frequency of the prompt message is greater than or equal to a preset threshold value, continuously starting the bright screen mode to a set ending moment;
and when the ending time is reached, executing the step of acquiring the accumulated screen-on duration of the terminal screen in the screen-on mode in the current screen-on timing period.
7. An eye-protection mode opening device, the device comprising:
the time length acquisition module is used for acquiring the accumulated screen-on time length of the terminal screen in the screen-on mode in the current screen-on timing period;
and the eye protection mode control module is used for controlling to open the eye protection mode when the accumulated bright screen duration reaches the first target duration.
8. The apparatus of claim 7, further comprising:
the monitoring module is used for monitoring the use process of the screen in the eye protection mode;
the duration acquisition module is specifically configured to:
when a screen-off event exists in the using process of the screen in the eye protection mode, acquiring the continuous screen-off duration of the screen;
the eye protection mode control module is specifically used for:
and when the duration of continuous screen resting reaches the duration of a second target, controlling to close the eye protection mode.
9. A computer-readable storage medium, on which a computer program is stored which, when being executed by a processor, carries out the steps of the method according to any one of claims 1 to 6.
10. A terminal comprising a memory, a processor and a computer program stored on the memory and executable on the processor, characterized in that the steps of the method according to any of claims 1-6 are implemented when the program is executed by the processor.
CN201911373433.0A 2019-12-27 2019-12-27 Eye protection mode starting method and device, storage medium and terminal Pending CN111212185A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911373433.0A CN111212185A (en) 2019-12-27 2019-12-27 Eye protection mode starting method and device, storage medium and terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911373433.0A CN111212185A (en) 2019-12-27 2019-12-27 Eye protection mode starting method and device, storage medium and terminal

Publications (1)

Publication Number Publication Date
CN111212185A true CN111212185A (en) 2020-05-29

Family

ID=70788228

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911373433.0A Pending CN111212185A (en) 2019-12-27 2019-12-27 Eye protection mode starting method and device, storage medium and terminal

Country Status (1)

Country Link
CN (1) CN111212185A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112764543A (en) * 2021-01-21 2021-05-07 广东小天才科技有限公司 Information output method, terminal equipment and computer readable storage medium
CN115134459A (en) * 2022-06-28 2022-09-30 努比亚技术有限公司 Eye protection mode display control method and device and computer readable storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20160189674A1 (en) * 2014-12-26 2016-06-30 Funai Electric Co., Ltd. Display device
CN106098020A (en) * 2016-07-21 2016-11-09 广东欧珀移动通信有限公司 Control method and control device
CN106227484A (en) * 2016-07-26 2016-12-14 广东欧珀移动通信有限公司 Control method and control device
CN108346394A (en) * 2018-02-07 2018-07-31 广东欧珀移动通信有限公司 Method, electronic device and the computer readable storage medium of eyeshield pattern are opened in control

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20160189674A1 (en) * 2014-12-26 2016-06-30 Funai Electric Co., Ltd. Display device
CN106098020A (en) * 2016-07-21 2016-11-09 广东欧珀移动通信有限公司 Control method and control device
CN106227484A (en) * 2016-07-26 2016-12-14 广东欧珀移动通信有限公司 Control method and control device
CN108346394A (en) * 2018-02-07 2018-07-31 广东欧珀移动通信有限公司 Method, electronic device and the computer readable storage medium of eyeshield pattern are opened in control

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112764543A (en) * 2021-01-21 2021-05-07 广东小天才科技有限公司 Information output method, terminal equipment and computer readable storage medium
CN112764543B (en) * 2021-01-21 2023-12-22 广东小天才科技有限公司 Information output method, terminal equipment and computer readable storage medium
CN115134459A (en) * 2022-06-28 2022-09-30 努比亚技术有限公司 Eye protection mode display control method and device and computer readable storage medium
CN115134459B (en) * 2022-06-28 2024-05-17 努比亚技术有限公司 Eye protection mode display control method, equipment and computer readable storage medium

Similar Documents

Publication Publication Date Title
CN106020990B (en) Control method of central processing unit and terminal equipment
KR102199436B1 (en) Terminal control method and terminal
EP3568882B1 (en) Apparatus for managing battery of electronic device
CN103595876B (en) Method and device for shooting image by utilizing mobile terminal
CN107993604A (en) Display screen adjusting method and device
CN102594999A (en) Method and system for performing adaptive mobile phone energy conservation through face identification
US20220271557A1 (en) Charging method and apparatus, electronic device and storage medium
CN110716631B (en) Power supply management method, device, equipment and readable storage medium
CN104156050B (en) The method of Mission Monitor and electronic equipment
CN111212185A (en) Eye protection mode starting method and device, storage medium and terminal
JP2020530749A (en) Reverse charging device, reverse charging current adjustment method and device
US20230152956A1 (en) Wallpaper display control method and apparatus and electronic device
US20200212701A1 (en) Method for controlling multi-mode charging, mobile terminal, and storage medium
CN109831585A (en) A kind of operating parameter method of adjustment and mobile terminal
CN111613189A (en) Display screen dehumidification method and device, storage medium and terminal
WO2016045525A1 (en) Method and apparatus for processing state of terminal
CN110868533A (en) HDR mode determination method, device, storage medium and terminal
CN106598205A (en) Iris recognition module-comprising terminal equipment and power-saving control method therefor
CN113920963A (en) Screen brightness adjusting method, electronic equipment and storage medium
JP2006127266A (en) Information processing apparatus and power control method
WO2023056830A1 (en) Working voltage processing method and apparatus, electronic device and storage medium
CN106451670A (en) Charge control method, device and terminal equipment
CN109661022A (en) Network control method, system, storage medium and mobile terminal
CN111614841B (en) Alarm clock control method and device, storage medium and mobile terminal
CN109243375B (en) Device control method, device, storage medium and electronic device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20200529

RJ01 Rejection of invention patent application after publication