An eye protection method for a terminal, a terminal and a storage medium
By combining a light sensor and a front-facing camera to detect the terminal environment and the user's eye characteristics, the eye protection mode is dynamically adjusted, solving the problem that the eye protection mode cannot be adjusted in the existing technology, and improving the eye protection effect and user experience.
Patent Information
- Application Number
- CN202110439533.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-04-23
- Publication Date
- 2025-12-23
- Estimated Expiration
- 2041-04-23
AI Technical Summary
The existing eye protection mode on mobile devices cannot dynamically adjust according to the user's specific usage, resulting in limited eye protection effect and poor user experience.
The system uses a light sensor to detect ambient light intensity in real time, and a front-facing camera to detect the user's eye features in real time. Combined with the screen content of the terminal's front-end application, it dynamically adjusts the eye protection mode level and adopts eye protection methods such as backlight intensity and color temperature adjustment.
It enables real-time adjustment of the eye protection mode based on the terminal's environment, the user's eye condition, and the content displayed on the screen, thereby enhancing the eye protection effect and improving the user experience.
Smart Images

Figure CN113031897B_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The present application relates to the technical field of terminal application, and in particular to a terminal eye protection method, a terminal and a storage medium. BACKGROUND
[0002] At present, terminals such as mobile phones and tablet computers have become indispensable devices for people's work and entertainment. In the case of long-time use of such terminals, myopia and eye fatigue are easily caused, and the eye protection mode can well relieve eye fatigue and make the user use more comfortable. The existing eye protection mode generally has only two modes of opening and closing, and after the eye protection mode is opened, only a fixed eye protection mode can be maintained, and the eye protection mode cannot be dynamically adjusted according to the specific use of the terminal by the user, the eye protection effect is limited, and the user experience is poor. SUMMARY
[0003] To solve the above technical defects in the prior art, the embodiments of the present application propose a terminal eye protection method, a terminal and a storage medium.
[0004] To achieve the above purpose, the embodiments of the present application propose a terminal eye protection method applied to a terminal including a display device, a light sensor and a front camera, the terminal eye protection method comprising the steps of:
[0005] detecting the light intensity value of the environment where the terminal is located in real time through the light sensor, and determining the environment adaptation level according to the light intensity value;
[0006] detecting the eye features of the user in real time through the front camera, and determining the eye fatigue level according to the eye features;
[0007] detecting the picture content of the front-end application of the terminal in real time, and determining the picture color depth level and the picture dynamic level according to the picture content;
[0008] weighting and averaging the environment adaptation level, the eye fatigue level, the picture color depth level and the picture dynamic level to obtain the eye protection mode level of the terminal;
[0009] controlling to execute the eye protection mode determined according to the eye protection mode level.
[0010] Optionally, the step of detecting the light intensity value of the environment where the terminal is located in real time through the light sensor, and determining the environment adaptation level according to the light intensity value, comprises the following steps:
[0011] detecting the light intensity value of the environment where the terminal is located in real time through the light sensor;
[0012] obtaining a first corresponding relationship table including the corresponding relationship between the light intensity value and the environment adaptation level;
[0013] According to the first corresponding relationship table, an environment adaptation level corresponding to the detected light intensity value is determined.
[0014] Optionally, the step of detecting the eye feature of the user in real time through the front camera and determining an eye fatigue level according to the eye feature includes the following steps:
[0015] detecting the eye feature of the user in real time through the front camera;
[0016] obtaining a preset second corresponding relationship table including a corresponding relationship between the eye feature and the eye fatigue level;
[0017] According to the second corresponding relationship table, an eye fatigue level corresponding to the detected eye feature is determined.
[0018] Optionally, the step of detecting the screen content of the terminal front-end application in real time and determining a screen color depth level and a screen dynamic level according to the screen content includes the following steps:
[0019] detecting the screen content of the terminal front-end application in real time;
[0020] obtaining a screen color depth according to the screen content, obtaining a preset third corresponding relationship table including a corresponding relationship between the screen color depth and the screen color depth level, and determining a screen color depth level corresponding to the screen color depth obtained according to the detected screen content according to the third corresponding relationship table;
[0021] obtaining a screen dynamic state according to the screen content, obtaining a preset fourth corresponding relationship table including a corresponding relationship between the screen dynamic state and the screen dynamic level, and determining a screen dynamic level corresponding to the screen dynamic state obtained according to the detected screen content according to the fourth corresponding relationship table.
[0022] Optionally, in the step of weighting and averaging the environment adaptation level, the eye fatigue level, the screen color depth level and the screen dynamic level to obtain the eye protection mode level of the terminal, the weights of the environment adaptation level, the eye fatigue level, the screen color depth level and the screen dynamic level are preset, or are dynamically set according to the environment adaptation level, the eye fatigue level, the screen color depth level and the screen dynamic level, or are set according to a received weight setting instruction.
[0023] Optionally, the type of the eye protection mode includes:
[0024] an eye protection mode through adjustment of backlight intensity, an eye protection mode through adjustment of color temperature, and an eye protection mode through adjustment of backlight intensity and adjustment of color temperature.
[0025] Optionally, the step of controlling to execute the eye-care mode determined according to the eye-care mode level comprises the following steps:
[0026] A fifth correspondence table is obtained, which comprises a correspondence relationship between the eye-care mode level and the eye-care mode.
[0027] According to the fifth correspondence table, the eye-care mode corresponding to the eye-care mode level obtained by weighted average of the environment adaptation level, the eye fatigue level, the picture color depth level and the picture dynamic level is determined.
[0028] The eye-care mode corresponding to the eye-care mode level is controlled to be executed.
[0029] Optionally, after the step of controlling to execute the eye-care mode determined according to the eye-care mode level, the method further comprises the following steps:
[0030] When a preset eye rest reminding condition is met, an eye rest reminding is sent, wherein the preset eye rest reminding condition comprises one or more of the following conditions:
[0031] The duration of the eye-care mode level reaching a first threshold value reaches a first time length, the duration of the environment adaptation level reaching a second threshold value reaches a second time length, the duration of the eye fatigue level reaching a third threshold value reaches a third time length, the duration of the picture dynamic level reaching a fourth threshold value reaches a fourth time length, and the duration of the picture color depth level reaching a fifth threshold value reaches a fifth time length.
[0032] The embodiment of the present application also provides a terminal, which comprises a memory, a processor and a computer program stored in the memory and executable on the processor, and the computer program is executed by the processor to realize the steps of the method according to any one of the above.
[0033] The embodiment of the present application also provides a computer readable storage medium, which stores a terminal eye-care program, and the terminal eye-care program is executed by a processor to realize the steps of the terminal eye-care method according to any one of the above.
[0034] The embodiment of the present application provides a terminal eye protection method, a terminal and a storage medium. The light intensity value of the environment where the terminal is located is detected in real time through the light sensor, and the environment adaptation level is determined according to the light intensity value; the eye feature of a user is detected in real time through the front camera, and the eye fatigue level is determined according to the eye feature; the picture content of the front-end application of the terminal is detected in real time, and the picture color depth level and the picture dynamic level are determined according to the picture content; the environment adaptation level, the eye fatigue level, the picture color depth level and the picture dynamic level are weighted and averaged to obtain the eye protection mode level of the terminal; and the eye protection mode is controlled to be executed according to the eye protection mode level. The scheme can adjust the eye protection mode level in real time according to the light intensity value of the environment where the terminal is located, the eye feature of the user, the picture color depth of the picture content of the front-end application of the terminal and the picture dynamic situation, and adjust the eye protection mode according to the eye protection mode level, thereby enhancing the eye protection effect and improving the user experience. BRIEF DESCRIPTION OF DRAWINGS
[0035] The present application will be further described below in conjunction with the drawings and embodiments. In the drawings:
[0036] Figure 1 Fig. 1 is a schematic diagram of a hardware structure of a mobile terminal according to the present application;
[0037] Figure 2 Fig. 2 is a schematic diagram of a communication network system architecture according to the present application;
[0038] Figure 3 Fig. 3 is a flowchart of a first embodiment of a terminal eye protection method according to the present application;
[0039] Figure 4 Fig. 4 is a flowchart of a second embodiment of a terminal eye protection method according to the present application;
[0040] Figure 5 Fig. 5 is a flowchart of a third embodiment of a terminal eye protection method according to the present application;
[0041] Figure 6 Fig. 6 is a flowchart of a fourth embodiment of a terminal eye protection method according to the present application;
[0042] Figure 7 Fig. 7 is a flowchart of a fifth embodiment of a terminal eye protection method according to the present application;
[0043] Figure 8 Fig. 8 is a flowchart of a sixth embodiment of a terminal eye protection method according to the present application. DETAILED DESCRIPTION
[0044] It should be understood that the specific embodiments described herein are merely illustrative of the present application and do not limit the present application.
[0045] In the following description, the suffix used for an element such as "module", "part", or "unit" is merely intended for ease of explanation of the present application, and does not have in itself a particular meaning or role. Thus, "module", "part", or "unit" can be used interchangeably.
[0046] A terminal can be implemented in various forms. For example, the terminal described in the present application can include a mobile terminal such as a mobile phone, a tablet, a notebook, a palmtop, a Personal Digital Assistant (PDA), a Portable Media Player (PMP), a navigation device, a wearable device, a smart band, a pedometer, etc., and a stationary terminal such as a digital TV, a desktop computer, etc.
[0047] In the following description, a mobile terminal will be exemplified, and it will be understood by those skilled in the art that the configuration according to the embodiments of the present application can be applied to a stationary type terminal, except for elements particularly used for mobile purposes.
[0048] Referring to Figure 1 , which is a schematic diagram of a hardware structure of a mobile terminal according to an embodiment of the present application, the mobile terminal 100 can include an RF (Radio Frequency) unit 101, a WiFi module 102, an audio output unit 103, an A / V (audio / video) input unit 104, a sensor 105, a display unit 106, a user input unit 107, an interface unit 108, a memory 109, a processor 110, and a power supply 111, etc. Those skilled in the art will appreciate that the mobile terminal structure shown in FIG. 1 is not intended to limit the mobile terminal, and the mobile terminal can include more or less components than those shown in the drawing, or some components can be combined, or different components can be arranged. Figure 1 The mobile terminal structure shown in FIG. 1 does not constitute a limitation on the mobile terminal, and the mobile terminal can include more or less components than those shown in the drawing, or some components can be combined, or different components can be arranged.
[0049] Hereinafter, the components of the mobile terminal will be described in detail. Figure 1 The components of the mobile terminal will be described in detail.
[0050] The radio frequency unit 101 can be used for receiving and transmitting signals in information or communication processes. Specifically, the radio frequency unit 101 receives downlink information from a base station and provides the received information to the processor 110 for processing. In addition, the radio frequency unit 101 transmits uplink data to the base station. Generally, the radio frequency unit 101 includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier, a duplexer, etc. In addition, the radio frequency unit 101 can communicate with a network and other devices through wireless communication. The wireless communication can use any communication standard or protocol, including but not limited to GSM (Global System for Mobile communication), GPRS (General Packet Radio Service), CDMA2000 (Code Division Multiple Access 2000), WCDMA (Wideband Code Division Multiple Access), TD-SCDMA (Time Division-Synchronous Code Division Multiple Access), FDD-LTE (Frequency Division Duplexing-Long Term Evolution), TDD-LTE (Time Division Duplexing-Long Term Evolution), etc.
[0051] The WiFi belongs to a short-range wireless transmission technology. The WiFi module 102 can help a user to send and receive e-mails, browse web pages, and access streaming media, etc. The WiFi module 102 provides the user with wireless broadband Internet access. Although Figure 1 The WiFi module 102 is shown, but it is understood that it does not belong to the necessary components of the mobile terminal, and can be omitted as needed without changing the essence of the application.
[0052] The audio output unit 103 can convert audio data, which is received by the radio frequency unit 101 or the WiFi module 102 or stored in the memory 109, into an audio signal and output the audio signal as sound when the mobile terminal 100 is in a call signal reception mode, a call mode, a recording mode, a voice recognition mode, a broadcast reception mode, etc. In addition, the audio output unit 103 can provide audio output related to a particular function performed by the mobile terminal 100 (e.g., a call signal reception sound, a message reception sound, etc.). The audio output unit 103 can include a speaker, a buzzer, etc.
[0053] The A / V input unit 104 is configured to receive audio or video signals. The A / V input unit 104 can include a graphics processor (GPU) 1041 and a microphone 1042. The graphics processor 1041 processes image data of a still picture or a video obtained by an image capture device (e.g., a camera) in a video call mode or an image call mode. Processed image frames can be displayed on the display unit 106. Processed image frames can be stored in the memory 109 (or other storage medium) or transmitted via the radio frequency unit 101 or the WiFi module 102. The microphone 1042 can receive sound (audio data) via the microphone 1042 in a phone call mode, a recording mode, a voice recognition mode, or the like, and can process such sound into audio data. Processed audio (voice) data can be converted into a format transmittable to a mobile communication base station via the radio frequency unit 101 in the case of the phone call mode. The microphone 1042 can implement various types of noise cancellation (or suppression) algorithms to cancel (or suppress) noise or interference generated in the process of receiving and transmitting audio signals.
[0054] The mobile terminal 100 also includes at least one sensor 105, such as a light sensor, a motion sensor, and other sensors. Specifically, the light sensor includes an ambient light sensor and a proximity sensor, wherein the ambient light sensor can adjust the brightness of the display panel 1061 according to the brightness of ambient light, and the proximity sensor can turn off the display panel 1061 and / or the backlight when the mobile terminal 100 is moved to the ear. As one of the motion sensors, the accelerometer sensor can detect the magnitude of acceleration in each direction (generally three axes), and can detect the magnitude and direction of gravity when at rest, and can be used for applications that identify the posture of the mobile phone (such as switching between horizontal and vertical screens, related games, magnetometer posture calibration), vibration recognition related functions (such as pedometers, taps), and the like. As for the fingerprint sensor, pressure sensor, iris sensor, molecular sensor, gyroscope, barometer, hygrometer, thermometer, infrared sensor, and other sensors that can be configured to the mobile phone, they are not described here.
[0055] The display unit 106 is configured to display information input by a user or information provided to the user. The display unit 106 can include a display panel 1061, which can be configured in the form of a liquid crystal display (LCD), an organic light-emitting diode (OLED), or the like.
[0056] The user input unit 107 can be used to receive input numerals or character information, and to generate key signal inputs related to user settings of the mobile terminal and control of functions. Specifically, the user input unit 107 can include a touch panel 1071 and other input devices 1072. The touch panel 1071, also called a touch screen, can collect a touch operation of a user on or proximate thereto (such as an operation of the user using a finger, a stylus, or any suitable object or accessory on or proximate to the touch panel 1071), and drive a corresponding connection device according to a pre-set program. The touch panel 1071 can include two parts, a touch detecting device and a touch controller. The touch detecting device detects a user's touch position and detects a signal resulting from a touch operation, and transmits the signal to the touch controller. The touch controller receives touch information from the touch detecting device, converts it into touch coordinates, and transmits the touch coordinates to the processor 110, and can receive commands from the processor 110 and execute them. In addition, the touch panel 1071 can be implemented in various types such as a resistive type, a capacitive type, an infrared type, and a surface acoustic wave type. In addition to the touch panel 1071, the user input unit 107 can include other input devices 1072. Specifically, the other input devices 1072 can include one or more of, but are not limited to, a physical keyboard, function keys (such as a volume control button, a switch button, etc.), a trackball, a mouse, a joystick, etc.
[0057] Further, the touch panel 1071 can cover the display panel 1061, and when the touch panel 1071 detects a touch operation on or proximate thereto, it transmits the same to the processor 110 to determine the type of the touch event, and then the processor 110 provides a corresponding visual output on the display panel 1061 according to the type of the touch event. Although in the above description, the touch panel 1071 and the display panel 1061 are implemented as two separate components to achieve the input and output functions of the mobile terminal, in some embodiments, the touch panel 1071 and the display panel 1061 can be integrated to achieve the input and output functions of the mobile terminal, without being limited thereto. Figure 1
[0058] The interface unit 108 serves as an interface through which at least one external device can be connected with the mobile terminal 100. For example, the external device can include a wired or wireless headset port, an external power (or battery charger) port, a wired or wireless data port, a memory card port, a port for connecting a device having an identification module, an audio input / output (I / O) port, a video I / O port, an earphone port, etc. The interface unit 108 can be used to receive input (e.g., data information, power, etc.) from an external device and to transmit the received input to one or more elements within the mobile terminal 100, or can be used to transmit data between the mobile terminal 100 and the external device.
[0059] The memory 109 can be used to store software programs and various data. The memory 109 can mainly include a program storage area and a data storage area, wherein the program storage area can store an operating system, application programs required by at least one function (such as a sound playing function, an image playing function, etc.), and the like; and the data storage area can store data created according to the use of the mobile phone (such as audio data, a phone book, etc.), and the like. In addition, the memory 109 can include a high-speed random access memory, and can also include a nonvolatile memory, such as at least one magnetic disk storage device, a flash memory device, or other volatile solid-state memory device.
[0060] The processor 110 is the control center of the mobile terminal, connects all parts of the mobile terminal through various interfaces and lines, executes various functions of the mobile terminal and processes data by running or executing software programs and / or modules stored in the memory 109 and calling data stored in the memory 109, and thus performs overall monitoring on the mobile terminal. The processor 110 can include one or more processing units; optionally, the processor 110 can integrate an application processor and a modem processor, wherein the application processor mainly processes an operating system, a user interface, and application programs, and the like, and the modem processor mainly processes wireless communication. It can be understood that the above-mentioned modem processor can also not be integrated into the processor 110.
[0061] The mobile terminal 100 can also include a power supply 111 (such as a battery) for supplying power to various components; optionally, the power supply 111 can be logically connected to the processor 110 through a power management system, so as to realize functions such as management of charging, discharging, and power consumption management through the power management system.
[0062] Although Figure 1 It is not shown that the mobile terminal 100 can also include a Bluetooth module and the like, which will not be described here.
[0063] In order to facilitate understanding of the embodiments of the present application, the communication network system based on the mobile terminal of the present application is described below.
[0064] Please refer to Figure 2 , Figure 2 A communication network system architecture diagram provided by the embodiments of the present application, the communication network system is a LTE system of general mobile communication technology, the LTE system includes sequentially connected UE (User Equipment, user equipment) 201, E-UTRAN (Evolved UMTS Terrestrial Radio Access Network, evolved UMTS terrestrial radio access network) 202, EPC (Evolved Packet Core, evolved packet core network) 203 and operator's IP service 204.
[0065] Specifically, the UE 201 can be the terminal 100 described above, which will not be repeated here.
[0066] The E-UTRAN 202 includes eNode-Bs 2021 and other eNode-Bs 2022. The eNode-B 2021 can be connected to the other eNode-Bs 2022 through backhaul (e.g., X2 interface), the eNode-B 2021 is connected to the EPC 203, and the eNode-B 2021 can provide access for the UE 201 to the EPC 203.
[0067] The EPC 203 can include a MME (Mobility Management Entity, mobility management entity) 2031, a HSS (Home Subscriber Server, home subscriber server) 2032, other MMEs 2033, a SGW (Serving Gate Way, serving gateway) 2034, a PGW (PDN Gate Way, packet data network gateway) 2035, and a PCRF (Policy and Charging Rules Function, policy and charging rules function) 2036. The MME 2031 is a control node for processing signaling between the UE 201 and the EPC 203, and provides bearer and connection management. The HSS 2032 is used to provide some registers to manage functions such as a home location register (not shown in the figure), and to save some user-specific information about service features, data rates, etc. All user data can be transmitted through the SGW 2034, the PGW 2035 can provide IP address allocation and other functions for the UE 201, and the PCRF 2036 is a policy and charging control policy decision point for service data flow and IP bearer resources, which selects and provides available policy and charging control decisions for policy and charging enforcement function units (not shown in the figure).
[0068] The IP service 204 can include the Internet, an intranet, an IMS (IP Multimedia Subsystem, IP multimedia subsystem), or other IP services.
[0069] Although the above describes the LTE system as an example, those skilled in the art should know that the present application is not only applicable to the LTE system, but also applicable to other wireless communication systems, such as GSM, CDMA2000, WCDMA, TD-SCDMA, and future new network systems, etc., which are not limited here.
[0070] Based on the above mobile terminal hardware structure and communication network system, various embodiments of the method of the present application are proposed.
[0071] Embodiment One
[0072] Figure 3 is a flowchart of a first embodiment of an eye protection method of the present application. An eye protection method is applied to a terminal comprising a display device, a light sensor, and a front camera. The eye protection method comprises the following steps:
[0073] S1, detecting the light intensity value of the environment in which the terminal is located in real time through the light sensor, and determining the environment adaptation level according to the light intensity value;
[0074] S2, detecting the eye features of the user in real time through the front camera, and determining the eye fatigue level according to the eye features;
[0075] S3, detecting the picture content of the front-end application of the terminal in real time, and determining the picture color depth level and the picture dynamic level according to the picture content;
[0076] S4, performing weighted average on the environment adaptation level, the eye fatigue level, the picture color depth level, and the picture dynamic level to obtain the eye protection mode level of the terminal;
[0077] S5, controlling to execute the eye protection mode determined according to the eye protection mode level.
[0078] In this embodiment, first, the light intensity value of the environment in which the terminal is located is detected in real time through the light sensor, and the environment adaptation level is determined according to the light intensity value. The eye features of the user are detected in real time through the front camera, and the eye fatigue level is determined according to the eye features. The picture content of the front-end application of the terminal is detected in real time, and the picture color depth level and the picture dynamic level are determined according to the picture content. Then, the environment adaptation level, the eye fatigue level, the picture color depth level, and the picture dynamic level are weighted and averaged to obtain the eye protection mode level of the terminal. Finally, the eye protection mode determined according to the eye protection mode level is controlled to be executed. The steps S1 to S3 can be executed simultaneously or in different orders, and the specific execution order of the steps S1 to S3 is not limited in this embodiment.
[0079] In the embodiment, first of all, it needs to be pointed out that, in the prior art, the eye protection mode generally has only two modes of opening and closing, and after the eye protection mode is opened, only a fixed eye protection mode can be maintained, and the eye protection mode cannot be dynamically adjusted according to the specific use of the terminal by the user, the eye protection effect is limited, and the user experience is poor. Therefore, in the embodiment, in order to solve the above technical problems, the light intensity value of the environment in which the terminal is located is detected in real time through the light sensor, the environment adaptation level is determined according to the light intensity value; the eye features of the user are detected in real time through the front camera, and the eye fatigue level is determined according to the eye features; the picture content of the front-end application of the terminal is detected in real time, and the picture color depth level and the picture dynamic level are determined according to the picture content; the environment adaptation level, the eye fatigue level, the picture color depth level and the picture dynamic level are weighted and averaged to obtain the eye protection mode level of the terminal; and the eye protection mode is controlled to be executed according to the eye protection mode level. A scheme is realized, which can adjust the eye protection mode level in real time according to the light intensity value of the environment in which the terminal is located, the eye features of the user, the picture color depth and the picture dynamic situation of the picture content of the front-end application of the terminal, and adjust the eye protection mode according to the eye protection mode level, thereby enhancing the eye protection effect and improving the user experience.
[0080] In the embodiment, it needs to be pointed out that the terminal eye protection method of the embodiment is applicable to a terminal including a display device, a light sensor and a front camera, and can display the picture content of the front-end application of the terminal on the display device.
[0081] Specifically, in the embodiment, in step S1, the light intensity value of the environment in which the terminal is located is detected in real time through the light sensor, and the environment adaptation level is determined according to the light intensity value. Specifically, the light intensity value of the environment in which the terminal is located is detected in real time through the light sensor of the terminal, wherein the light intensity value of the environment in which the terminal is located is the brightness of the environment in which the user currently uses the terminal. According to the sensed light intensity value, the brightness of the environment in which the user is located can be judged to determine the environment adaptation level. The higher the light intensity value, the higher the brightness of the environment in which the user is located, and at this time, the environment adaptation level is lower, and the corresponding eye protection mode is weaker; on the contrary, the lower the light intensity value, the lower the brightness of the environment in which the user is located, and at this time, the environment adaptation level is higher, and the corresponding eye protection mode is stronger.
[0082] Specifically, in the embodiment, in the step S2, the eye feature of the user is detected in real time by the front camera, and the eye fatigue level is determined according to the eye feature. Specifically, the eye feature of the user is detected in real time by the front camera of the terminal, the detected eye feature of the user is compared with the pre-stored eye features of the human eye in various states, and the eye fatigue degree of the user is determined, so as to determine the eye fatigue level. The higher the detected eye fatigue degree of the user, the higher the eye fatigue level, and the stronger the eye protection mode at this time; on the contrary, the lighter the detected eye fatigue degree of the user, the lower the eye fatigue level, and the weaker the eye protection mode at this time.
[0083] Specifically, in the embodiment, in the step S3, the screen content of the front-end application of the terminal is detected in real time, and the screen color depth level and the screen dynamic level are determined according to the screen content. Specifically, the screen content of the front-end application of the terminal is detected in real time, the color depth and the dynamic state of the screen are obtained. The screen color depth level is determined according to the obtained color depth of the screen, and the screen dynamic level is determined according to the obtained dynamic state of the screen. The deeper the color of the screen of the terminal obtained, the higher the screen color depth level, and the weaker the eye protection mode at this time; on the contrary, the lighter the color of the screen of the terminal obtained, the lower the screen color depth level, and the stronger the eye protection mode at this time. The more dynamic screens of the terminal obtained, the higher the screen dynamic level, and the weaker the eye protection mode at this time; on the contrary, the fewer dynamic screens of the terminal obtained, the lower the screen dynamic level, and the stronger the eye protection mode at this time.
[0084] Specifically, in the embodiment, in the step S4, the environment adaptation level, the eye fatigue level, the screen color depth level and the screen dynamic level are weighted and averaged to obtain the eye protection mode level of the terminal. That is, the product obtained by multiplying the environment adaptation level, the eye fatigue level, the screen color depth level and the screen dynamic level by their respective weights is added to obtain the eye protection mode level of the terminal, wherein the sum of the weights of the environment adaptation level, the eye fatigue level, the screen color depth level and the screen dynamic level is equal to 1. When the environment adaptation level, the eye fatigue level, the screen color depth level and the screen dynamic level are determined, the eye protection mode level of the terminal can be adjusted by adjusting their respective weights. For example, if the damage of the environment adaptation level to the user's eyes is greater than that of the screen color depth level, by increasing the weight of the environment adaptation level and decreasing the weight of the screen color depth level, the influence of the environment adaptation level on the eye protection mode level can be increased, and the influence of the screen color depth level on the eye protection mode level can be decreased. For another example, if the weights of the environment adaptation level, the eye fatigue level, the screen color depth level and the screen dynamic level are equal, and each is 0.25, then the obtained eye protection mode level of the terminal is the arithmetic mean of the four.
[0085] Optionally, the weights of the environment adaptation level, the eye fatigue level, the picture color depth level and the picture dynamic level are preset. For example, the weights of the environment adaptation level, the eye fatigue level, the picture color depth level and the picture dynamic level are preset according to the influence degree of the environment adaptation level, the eye fatigue level, the picture color depth level and the picture dynamic level on the user's eyes obtained by experience value or pre-experiment.
[0086] Optionally, the weights of the environment adaptation level, the eye fatigue level, the picture color depth level and the picture dynamic level are dynamically set according to the environment adaptation level, the eye fatigue level, the picture color depth level and the picture dynamic level. For example, when the eye fatigue level exceeds a sixth preset threshold, it indicates that the user's eyes are very tired at this time, and the weight of the eye fatigue level can be adjusted to a sixth preset value. For another example, when the environment adaptation level is lower than a seventh preset threshold, it indicates that the light intensity value of the environment in which the user uses the terminal is very suitable, and the weight of the environment adaptation level can be adjusted to a seventh preset value.
[0087] Optionally, the weights of the environment adaptation level, the eye fatigue level, the picture color depth level and the picture dynamic level are set according to the received weight setting instruction. Specifically, the user can input the weight setting instruction through the input device of the terminal according to the user's own situation, and flexibly set the weights of the environment adaptation level, the eye fatigue level, the picture color depth level and the picture dynamic level. For example, if the user's eyes are particularly sensitive to the light intensity value of the environment, and the eyes are particularly easy to fatigue in the dark, the user can input the setting instruction of the weight of the above-mentioned environment adaptation level of the self-defined value through the input device of the terminal. After the terminal receives the setting instruction of the weight of the above-mentioned environment adaptation level of the self-defined value, the weight of the above-mentioned environment adaptation level is set to the self-defined value.
[0088] Specifically, in the embodiment, in the step S5, the eye protection mode is controlled to be executed according to the determined eye protection mode level. Specifically, after the eye protection mode level of the terminal is obtained, the eye protection mode is controlled to be executed according to the determined eye protection mode level, so as to dynamically adjust the eye protection mode to reduce the damage to the user's eyes. It can be understood that each eye protection mode level corresponds to a determined eye protection mode.
[0089] Optionally, the type of the eye protection mode includes: an eye protection mode by adjusting the backlight intensity, an eye protection mode by adjusting the color temperature, and an eye protection mode by adjusting the backlight intensity and adjusting the color temperature.
[0090] The beneficial effect of the embodiment is that the light intensity value of the environment where the terminal is located is detected in real time by the light sensor, the environment adaptation level is determined according to the light intensity value, the eye feature of the user is detected in real time by the front camera, the eye fatigue level is determined according to the eye feature, the picture content of the front-end application of the terminal is detected in real time, the picture color depth level and the picture dynamic level are determined according to the picture content, the environment adaptation level, the eye fatigue level, the picture color depth level and the picture dynamic level are weighted and averaged to obtain the eye protection mode level of the terminal, and the eye protection mode is controlled to be executed according to the eye protection mode level. The scheme can adjust the eye protection mode level in real time according to the light intensity value of the environment where the terminal is located, the eye feature of the user, the picture color depth and the picture dynamic situation of the picture content of the front-end application of the terminal, and adjust the eye protection mode according to the eye protection mode level, thereby enhancing the eye protection effect and improving the user experience.
[0091] Embodiment two
[0092] Based on the above embodiment, in order to facilitate the implementation of the present application, Figure 4 The flow chart of the second embodiment of the terminal eye protection method of the present application is shown. Specifically, in the embodiment, the step of detecting the light intensity value of the environment where the terminal is located in real time by the light sensor and determining the environment adaptation level according to the light intensity value includes the following steps:
[0093] S11, detecting the light intensity value of the environment where the terminal is located in real time by the light sensor;
[0094] S12, obtaining a preset first corresponding relationship table including the corresponding relationship between the light intensity value and the environment adaptation level;
[0095] S13, determining the environment adaptation level corresponding to the detected light intensity value according to the first corresponding relationship table.
[0096] Specifically, in the embodiment, in the steps S11 to S13, the light intensity value of the environment where the terminal is located is detected in real time by the light sensor, a preset first corresponding relationship table including the corresponding relationship between the light intensity value and the environment adaptation level is obtained, and the environment adaptation level corresponding to the detected light intensity value is determined according to the first corresponding relationship table. Thus, the light intensity value of the environment where the terminal is located detected in real time by the light sensor is converted into the above-mentioned environment adaptation level corresponding thereto, which is convenient for subsequent further obtaining the eye protection mode level of the terminal and controlling the execution of the eye protection mode determined according to the eye protection mode level, so as to achieve the purpose of dynamically adjusting the eye protection mode to reduce the damage to the eyes of the user. It can be understood that the corresponding relationship between the light intensity value and the environment adaptation level in the above-mentioned first corresponding relationship table can be obtained according to the experience value or the pre-experiment.
[0097] The beneficial effect of the embodiment is that the light intensity value of the environment where the terminal is located is detected in real time by the light sensor; a first corresponding relationship table including the corresponding relationship between the light intensity value and the environment adaptation level is obtained; and the environment adaptation level corresponding to the detected light intensity value is determined according to the first corresponding relationship table. The environment adaptation level can be conveniently obtained, and the subsequent further obtaining of the eye protection mode level of the terminal and the control execution of the eye protection mode determined according to the eye protection mode level are facilitated, the purpose of dynamically adjusting the eye protection mode is achieved, the eye protection effect is enhanced, and the user experience is improved.
[0098] Embodiment three
[0099] Based on the above embodiments, in order to facilitate the implementation of the present application, Figure 5 The flowchart shown is a flowchart of the third embodiment of the terminal eye protection method of the present application. Specifically, in the embodiment, the step of detecting the eye feature of the user in real time by the front camera and determining the eye fatigue level according to the eye feature includes the following steps:
[0100] S21, detecting the eye feature of the user in real time by the front camera;
[0101] S22, obtaining a second corresponding relationship table including the corresponding relationship between the eye feature and the eye fatigue level;
[0102] S23, determining the eye fatigue level corresponding to the detected eye feature according to the second corresponding relationship table.
[0103] Specifically, in the embodiment, in the steps S21 to S23, the eye feature of the user is detected in real time by the front camera; a second corresponding relationship table including the corresponding relationship between the eye feature and the eye fatigue level is obtained; and the eye fatigue level corresponding to the detected eye feature is determined according to the second corresponding relationship table. Thus, the eye feature of the user detected in real time by the front camera is converted into the above-mentioned eye fatigue level corresponding thereto, which facilitates the subsequent further obtaining of the eye protection mode level of the terminal and the control execution of the eye protection mode determined according to the eye protection mode level, so as to achieve the purpose of dynamically adjusting the eye protection mode to reduce the damage to the eyes of the user. It can be understood that the corresponding relationship between the eye feature and the eye fatigue level in the above-mentioned second corresponding relationship table can be obtained according to the experience value or the pre-experiment.
[0104] The beneficial effect of the embodiment is that the eye feature of the user is detected in real time through the front camera; a second corresponding relationship table including the corresponding relationship between the eye feature and the eye fatigue level is acquired; and the eye fatigue level corresponding to the detected eye feature is determined according to the second corresponding relationship table. The eye fatigue level can be acquired conveniently, and the eye protection mode level of the terminal and the eye protection mode determined according to the eye protection mode level can be acquired further and controlled to be executed, so that the eye protection mode is adjusted dynamically, the eye protection effect is enhanced, and the user experience is improved.
[0105] Embodiment four
[0106] Based on the above embodiments, in order to facilitate the implementation of the present application, Figure 6 The flow chart shown is the flow chart of the fourth embodiment of the terminal eye protection method of the present application. Specifically, in the embodiment, the step of detecting the picture content of the front-end application of the terminal in real time and determining the picture color depth level and the picture dynamic level according to the picture content includes the following steps:
[0107] S31, detecting the picture content of the front-end application of the terminal in real time;
[0108] S32, acquiring the picture color depth according to the picture content, acquiring a third corresponding relationship table including the corresponding relationship between the picture color depth and the picture color depth level, and determining the picture color depth level corresponding to the picture color depth acquired according to the detected picture content according to the third corresponding relationship table.
[0109] S33, acquiring the picture dynamic state according to the picture content, acquiring a fourth corresponding relationship table including the corresponding relationship between the picture dynamic state and the picture dynamic level, and determining the picture dynamic level corresponding to the picture dynamic state acquired according to the detected picture content according to the fourth corresponding relationship table.
[0110] Specifically, in the embodiment, in the steps S31 to S32, the picture content of the front-end application of the terminal is detected in real time; the picture color depth is acquired according to the picture content, a third corresponding relationship table including the corresponding relationship between the picture color depth and the picture color depth level is acquired, and the picture color depth level corresponding to the picture color depth acquired according to the detected picture content is determined according to the third corresponding relationship table. Thus, the picture color depth acquired according to the picture content of the front-end application of the terminal is converted into the picture color depth level corresponding thereto, so that the eye protection mode level of the terminal and the eye protection mode determined according to the eye protection mode level can be acquired further and controlled to be executed, the eye protection mode is adjusted dynamically to reduce the damage to the eyes of the user, and the beneficial effect is achieved. It can be understood that the corresponding relationship between the picture color depth and the picture color depth level in the third corresponding relationship table can be obtained according to the experience value or the pre-experiment.
[0111] Specifically, in the embodiment, in step S33, the screen motion state is acquired according to the screen content, a fourth corresponding relationship table including corresponding relationship between screen motion state and screen motion level is acquired, and a screen motion level corresponding to the screen motion state acquired according to the screen content is determined according to the fourth corresponding relationship table. Thus, the screen motion state acquired according to the screen content of the front-end application of the terminal is converted into the corresponding screen motion level, which facilitates subsequent further acquisition of the eye-care mode level of the terminal and control of execution of the eye-care mode determined according to the eye-care mode level, so as to achieve the purpose of dynamically adjusting the eye-care mode to reduce damage to the eyes of the user. It can be understood that the corresponding relationship between screen motion state and screen motion level stored in the fourth corresponding relationship table can be obtained according to experience value or pre-experiment.
[0112] The embodiment has the beneficial effects that the screen content of the front-end application of the terminal is detected in real time, the screen color depth is acquired according to the screen content, a third corresponding relationship table including corresponding relationship between screen color depth and screen color depth level is acquired, a screen color depth level corresponding to the screen color depth acquired according to the screen content is determined according to the third corresponding relationship table, the screen motion state is acquired according to the screen content, a fourth corresponding relationship table including corresponding relationship between screen motion state and screen motion level is acquired, and a screen motion level corresponding to the screen motion state acquired according to the screen content is determined according to the fourth corresponding relationship table. The screen color depth level and the screen motion level can be conveniently acquired, which facilitates subsequent further acquisition of the eye-care mode level of the terminal and control of execution of the eye-care mode determined according to the eye-care mode level, so as to achieve the purpose of dynamically adjusting the eye-care mode, enhance the eye-care effect, and improve the user experience.
[0113] Embodiment five
[0114] Based on the above embodiments, in order to facilitate implementation of the present application, Figure 7 The figure is a flow chart of the fifth embodiment of the terminal eye-care method of the present application. Specifically, in the embodiment, the step of controlling execution of the eye-care mode determined according to the eye-care mode level includes the following steps:
[0115] S51, acquiring a fifth corresponding relationship table including corresponding relationship between eye-care mode level and eye-care mode;
[0116] S52, determining the eye-care mode corresponding to the eye-care mode level obtained by weighted average of the environment adaptation level, the eye fatigue level, the screen color depth level, and the screen motion level according to the fifth corresponding relationship table;
[0117] S53, control the eye-care mode corresponding to the eye-care mode level.
[0118] Specifically, in the embodiment, after obtaining the eye-care mode level of the terminal, a fifth corresponding relationship table including the corresponding relationship between the eye-care mode level and the eye-care mode is obtained; according to the fifth corresponding relationship table, the eye-care mode corresponding to the eye-care mode level obtained by weighted average of the environment adaptation level, the eye fatigue level, the picture color depth level and the picture dynamic level is determined; and the eye-care mode corresponding to the eye-care mode level is controlled to be executed. Thus, the eye-care mode is dynamically adjusted according to the change of the eye-care mode level to reduce the damage to the user's eyes. For example, after obtaining the eye-care mode level of the terminal is level three, a fifth corresponding relationship table including the corresponding relationship between the eye-care mode level and the eye-care mode is obtained; according to the fifth corresponding relationship table, the eye-care mode corresponding to the eye-care mode level of level three is determined to be adjusting the backlight intensity to the third backlight intensity and adjusting the color temperature to the third color temperature; and the backlight intensity is controlled to be adjusted to the third backlight intensity and the color temperature is controlled to be adjusted to the third color temperature. It can be understood that the corresponding relationship between the eye-care mode level and the eye-care mode saved in the fifth corresponding relationship table can be obtained according to the experience value or the previous experiment.
[0119] The embodiment has the beneficial effects that a fifth corresponding relationship table including the corresponding relationship between the eye-care mode level and the eye-care mode is obtained; according to the fifth corresponding relationship table, the eye-care mode corresponding to the eye-care mode level obtained by weighted average of the environment adaptation level, the eye fatigue level, the picture color depth level and the picture dynamic level is determined; and the eye-care mode corresponding to the eye-care mode level is controlled to be executed. Thus, the eye-care mode is dynamically adjusted according to the change of the eye-care mode level to reduce the damage to the user's eyes, the eye-care effect is enhanced, and the user experience is improved.
[0120] Embodiment six
[0121] Based on the above embodiments, in order to further enhance the eye-care effect of the terminal eye-care method of the application, Figure 8 The figure is a flow chart of the sixth embodiment of the terminal eye-care method of the application. Specifically, in the embodiment, after the step of controlling the eye-care mode determined according to the eye-care mode level to be executed, the steps of:
[0122] S6, when the preset eye rest reminding condition is met, an eye rest reminding is sent, wherein the preset eye rest reminding condition includes one or more of the following conditions:
[0123] The duration that the eye protection mode level reaches a first threshold value reaches a first time length, the duration that the environment adaptation level reaches a second threshold value reaches a second time length, the duration that the eye fatigue level reaches a third threshold value reaches a third time length, the duration that the picture dynamic level reaches a fourth threshold value reaches a fourth time length, and the duration that the picture color depth level reaches a fifth threshold value reaches a fifth time length.
[0124] Specifically, in the step S6, when the preset eye rest reminding condition is met, an eye rest reminding is sent after the eye protection mode determined in the step S6 is controlled to be executed, and the preset eye rest reminding condition includes one or more of the following conditions: the duration that the eye protection mode level reaches a first threshold value reaches a first time length, the duration that the environment adaptation level reaches a second threshold value reaches a second time length, the duration that the eye fatigue level reaches a third threshold value reaches a third time length, the duration that the picture dynamic level reaches a fourth threshold value reaches a fourth time length, and the duration that the picture color depth level reaches a fifth threshold value reaches a fifth time length. When the preset eye rest reminding condition is met, an eye rest reminding is sent to remind the user to execute the most direct and effective eye protection scheme by stopping using the terminal device.
[0125] Specifically, the duration that the eye protection mode level reaches a first threshold value reaches a first time length indicates that the user has used the terminal device for a long time in a high eye protection mode level, for example, the user watches a video with more dynamic pictures for a long time in a low light intensity value environment and with eye fatigue, at this time, the user can be reminded to rest by sending an eye rest reminding. The duration that the environment adaptation level reaches a second threshold value reaches a second time length indicates that the user uses the terminal device for a long time in a low light intensity value environment, at this time, the user can be reminded to rest by sending an eye rest reminding. The duration that the eye fatigue level reaches a third threshold value reaches a third time length indicates that the user uses the terminal device for a long time in an eye fatigue condition, at this time, the user can be reminded to rest by sending an eye rest reminding. The duration that the picture dynamic level reaches a fourth threshold value reaches a fourth time length indicates that the user watches a video with more dynamic pictures for a long time, at this time, the user can be reminded to rest by sending an eye rest reminding. The duration that the picture color depth level reaches a fifth threshold value reaches a fifth time length indicates that the user watches a video with deeper picture color for a long time, at this time, the user can be reminded to rest by sending an eye rest reminding.
[0126] Optionally, the first threshold to the fifth threshold and the first time length to the fifth time length are preset. For example, the first threshold to the fifth threshold and the first time length to the fifth time length are obtained according to empirical values or pre-experimental results, and the first threshold to the fifth threshold and the first time length to the fifth time length are preset based on the first threshold to the fifth threshold and the first time length to the fifth time length. In this way, the eye rest reminder can be sent when the preset eye rest reminder condition is met.
[0127] Optionally, the first threshold to the fifth threshold and the first time length to the fifth time length are set according to the received corresponding setting instructions. Specifically, the user can input setting instructions of the first threshold to the fifth threshold and the first time length to the fifth time length through the input device of the terminal according to the user's own situation, and flexibly set the values of the first threshold to the fifth threshold and the first time length to the fifth time length. For example, if the user's eyes are particularly sensitive to the light intensity value of the environment, and the eyes are particularly prone to fatigue in dark places, the user can input setting instructions of the self-defined second threshold and the self-defined second time length through the input device of the terminal, and the terminal sets the second threshold to the self-defined second threshold and the second time length to the self-defined second time length after receiving the setting instructions of the self-defined second threshold and the self-defined second time length.
[0128] The embodiment has the beneficial effect that the eye rest reminder is sent when the preset eye rest reminder condition is met, wherein the preset eye rest reminder condition includes one or more of the following conditions: the duration that the eye protection mode level reaches the first threshold reaches the first time length, the duration that the environment adaptation level reaches the second threshold reaches the second time length, the duration that the eye fatigue level reaches the third threshold reaches the third time length, the duration that the picture dynamic level reaches the fourth threshold reaches the fourth time length, and the duration that the picture color depth level reaches the fifth threshold reaches the fifth time length. The eye rest reminder is sent when the preset eye rest reminder condition is met, so that the user is reminded to perform the most direct and effective eye protection scheme by stopping using the terminal device, the eye protection effect is enhanced, and the user experience is improved.
[0129] Embodiment Seven
[0130] Based on the above embodiments, the application further provides a terminal including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the computer program is executed by the processor to implement the steps of the terminal eye protection method according to any one of the above embodiments.
[0131] It should be noted that the terminal embodiment and the terminal eye protection method embodiment belong to the same concept, and the specific implementation process is described in the terminal eye protection method embodiment, and the technical features in the terminal eye protection method embodiment are also applicable to the terminal embodiment, which will not be described here.
[0132] Embodiment Eight
[0133] Based on the above embodiments, the application further provides a computer readable storage medium, which stores a terminal eye protection program. The terminal eye protection program, when executed by a processor, implements the steps of the terminal eye protection method according to any one of the above embodiments.
[0134] It should be noted that the above medium embodiments and method embodiments belong to the same concept, and the specific implementation process is shown in the method embodiments, and the technical features in the method embodiments are also applicable to the medium embodiments, which will not be described here.
[0135] It should be noted that in this document, the term "comprising" or "including" or any other variant thereof is intended to cover non-exclusive inclusion, so that a process, method, article or apparatus including a series of elements not only includes those elements, but also includes other elements not explicitly listed or inherent to such a process, method, article or apparatus. Without more limitations, the element defined by the statement "including a" does not exclude the presence of additional identical elements in the process, method, article or apparatus including the element.
[0136] The above-mentioned embodiment numbers of the application are only for description, and do not represent the advantages and disadvantages of the embodiments.
[0137] Through the above description of the embodiments, those skilled in the art can clearly understand that the above-mentioned embodiment methods can be realized by software and necessary general hardware platform, of course, they can also be realized by hardware, but in many cases, the former is a better embodiment. Based on such understanding, the technical solutions of the application can be embodied in the form of a software product, which is stored in a storage medium (such as ROM / RAM, magnetic disk, optical disk) and includes a plurality of instructions for making a terminal (which can be a mobile phone, computer, server, air conditioner or network device, etc.) execute the methods described in various embodiments of the application.
[0138] The embodiments of the application are described above in combination with the drawings, but the application is not limited to the above specific embodiments, and the above specific embodiments are only illustrative, not restrictive. Those skilled in the art can make many forms under the inspiration of the application without departing from the purpose of the application and the scope protected by the claims, which are all within the protection of the application.
Claims
1. A method for protecting eyes on a mobile device, characterized in that, The eye protection method for a terminal, which includes a display device, a light sensor, and a front-facing camera, comprises the following steps: The light sensor detects the light intensity of the environment in which the terminal is located in real time, and determines the environmental adaptability level based on the light intensity value; The front-facing camera detects the user's eye features in real time and determines the level of eye fatigue based on these features. The screen content of the terminal front-end application is detected in real time, and the screen color depth level and screen dynamic level are determined based on the screen content; The eye protection mode level of the terminal is obtained by weighted averaging the environmental adaptation level, eye fatigue level, screen color depth level, and screen dynamic level. Control the execution of the eye protection mode determined according to the eye protection mode level; The step of real-time detection of the screen content of the terminal front-end application and determination of the screen color depth level and screen dynamic level based on the screen content includes the following steps: Real-time detection of the screen content of the terminal front-end application; The image color depth is obtained based on the image content, a preset third correspondence table including the correspondence between image color depth and image color depth level is obtained, and the image color depth level corresponding to the image color depth obtained based on the detected image content is determined based on the third correspondence table. Based on the content of the image, obtain the static and dynamic states of the image, obtain a preset fourth correspondence table that includes the correspondence between static and dynamic states of the image and the dynamic level of the image, and determine the dynamic level of the image corresponding to the static and dynamic states of the image obtained based on the detected content of the image based on the fourth correspondence table.
2. The terminal eye protection method according to claim 1, characterized in that, The step of detecting the light intensity value of the environment in which the terminal is located in real time through the light sensor and determining the environmental adaptability level based on the light intensity value includes the following steps: The light sensor detects the light intensity of the environment in which the terminal is located in real time. Obtain a preset first correspondence table that includes the relationship between light intensity values and environmental adaptation levels; Based on the first correspondence table, the environmental adaptation level corresponding to the detected light intensity value is determined.
3. The terminal eye protection method according to claim 1, characterized in that, The step of detecting the user's eye features in real time through the front-facing camera and determining the level of eye fatigue based on the eye features includes the following steps: The front-facing camera detects the user's eye features in real time. Obtain a pre-defined second correspondence table that includes the relationship between eye features and eye fatigue levels; Based on the second correspondence table, the eye fatigue level corresponding to the detected eye features is determined.
4. The terminal eye protection method according to claim 1, characterized in that, In the step of obtaining the eye protection mode level of the terminal by weighted averaging of the environmental adaptation level, eye fatigue level, color depth level, and dynamic level, the weights of the environmental adaptation level, eye fatigue level, color depth level, and dynamic level are preset, dynamically set according to the environmental adaptation level, eye fatigue level, color depth level, and dynamic level, or set according to the received weight setting instruction.
5. The terminal eye protection method according to claim 1, characterized in that, The types of eye protection methods include: Eye protection methods include adjusting backlight intensity, adjusting color temperature, and adjusting both backlight intensity and color temperature.
6. The terminal eye protection method according to claim 1 or 5, characterized in that, The control execution steps, which determine the eye protection mode based on the eye protection mode level, include the following steps: Obtain the preset fifth correspondence table, which includes the correspondence between eye protection mode levels and eye protection methods; According to the fifth correspondence table, the eye protection mode corresponding to the eye protection mode level obtained by weighted averaging of the environmental adaptation level, eye fatigue level, screen color depth level and screen dynamic level is determined; Control the execution of the eye protection mode corresponding to the eye protection mode level.
7. The terminal eye protection method according to claim 1, characterized in that, After the step of controlling the execution of the eye protection mode determined according to the eye protection mode level, the method further includes the following step: When preset eye rest reminder conditions are met, an eye rest reminder is issued, wherein the preset eye rest reminder conditions include one or more of the following conditions: The duration for which the eye protection mode level reaches the first threshold reaches the first duration, the duration for which the environmental adaptation level reaches the second threshold reaches the second duration, the duration for which the eye fatigue level reaches the third threshold reaches the third duration, the duration for which the image dynamic level reaches the fourth threshold reaches the fourth duration, and the duration for which the image color depth level reaches the fifth threshold reaches the fifth duration.
8. A terminal, characterized in that, The terminal includes a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the computer program, when executed by the processor, implements the steps of the method as described in any one of claims 1 to 7.
9. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores a terminal eye protection program, which, when executed by a processor, implements the steps of the terminal eye protection method as described in any one of claims 1 to 7.
Citation Information
Patent Citations
Method and apparatus for controling an electronic device
KR1020160074388A