CN109448663B - Screen color temperature adjusting method and device - Google Patents

Screen color temperature adjusting method and device Download PDF

Info

Publication number
CN109448663B
CN109448663B CN201811504264.5A CN201811504264A CN109448663B CN 109448663 B CN109448663 B CN 109448663B CN 201811504264 A CN201811504264 A CN 201811504264A CN 109448663 B CN109448663 B CN 109448663B
Authority
CN
China
Prior art keywords
screen
real
duration
brightness
color temperature
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.)
Active
Application number
CN201811504264.5A
Other languages
Chinese (zh)
Other versions
CN109448663A (en
Inventor
杨鑫
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp 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 Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN201811504264.5A priority Critical patent/CN109448663B/en
Publication of CN109448663A publication Critical patent/CN109448663A/en
Application granted granted Critical
Publication of CN109448663B publication Critical patent/CN109448663B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G09EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09GARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
    • G09G5/00Control arrangements or circuits for visual indicators common to cathode-ray tube indicators and other visual indicators
    • G09G5/02Control arrangements or circuits for visual indicators common to cathode-ray tube indicators and other visual indicators characterised by the way in which colour is displayed
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/30Authentication, i.e. establishing the identity or authorisation of security principals
    • G06F21/31User authentication
    • G06F21/32User authentication using biometric data, e.g. fingerprints, iris scans or voiceprints
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/011Arrangements for interaction with the human body, e.g. for user immersion in virtual reality
    • G06F3/013Eye tracking input arrangements

Abstract

The invention provides a screen color temperature adjusting method and a screen color temperature adjusting device, wherein the method comprises the following steps: acquiring eye physiological signals of a user, and determining whether a viewpoint of the user is on a screen or not according to the eye physiological signals; when the viewpoint is on the screen, recording the duration of the viewpoint on the screen; judging whether the duration exceeds a preset threshold or not, and starting to calculate a real-time difference value between the duration and the preset threshold when the duration exceeds the preset threshold; and determining a real-time blue light filtering ratio according to the real-time difference value, and adjusting the current color temperature of the screen according to the real-time blue light filtering ratio. From this, when confirming user's eye fatigue, improve the blue light filtration ratio gradually for the accommodation process of this kind of colour temperature can be adapted to people's eye on the basis of protecting people's eye, has improved people's eye comfort level, and the practicality is higher.

Description

Screen color temperature adjusting method and device
Technical Field
The invention relates to the technical field of screen brightness adjustment, in particular to a screen color temperature adjusting method.
Background
At present, a screen of a terminal device is mainly overlapped by three colors of RGB to present different colors, wherein B is high-energy short-wave blue light, and the blue light is too large to cause eye diseases, macular degeneration and the like. Many manufacturers use some blue light filtering to protect the eye health of the user.
In the related art, when it is detected that the service duration of the terminal device is longer, the blue light of the default proportion is directly reduced to reduce the screen brightness, however, in the screen brightness adjusting mode, on one hand, the operation duration of the terminal device is equal to the duration of the terminal device used by the user, so that the screen brightness is reduced when the actual use duration of the user is shorter, the service quality is affected, and on the other hand, the blue light of the default proportion is directly reduced, so that the screen brightness is changed in a jumping manner, and the stimulation to human eyes is stronger.
Disclosure of Invention
The present invention has been made to solve at least one of the technical problems of the related art to some extent.
To this end, the first objective of the present invention is to provide a screen color temperature adjusting method to adjust the color temperature of the screen
When confirming user's eye fatigue, improve the blue light filtration proportion gradually for the accommodation process of this kind of colour temperature can be adapted to people's eye on the basis of protecting people's eye, has improved people's eye comfort level, and the practicality is higher.
The second purpose of the invention is to provide a screen color temperature adjusting device.
A third object of the present invention is to provide a terminal device.
A fourth object of the invention is to propose a non-transitory computer-readable storage medium.
In order to achieve the above object, an embodiment of a first aspect of the present invention provides a screen color temperature adjusting method, including: acquiring an eye physiological signal of a user, and determining whether a viewpoint of the user is on a screen according to the eye physiological signal; when the viewpoint is on the screen, recording the duration of the viewpoint on the screen; when judging whether the duration exceeds a preset threshold, starting to calculate a real-time difference value between the duration and the preset threshold when the duration exceeds the preset threshold; and determining a real-time blue light filtering proportion corresponding to the real-time difference value according to the real-time difference value, and adjusting the current color temperature of the screen according to the real-time blue light filtering proportion, wherein the implementation difference value is in a direct proportion relation with the real-time blue light filtering proportion.
In order to achieve the above object, a screen color temperature adjusting device according to an embodiment of a second aspect of the present invention includes: the determining module is used for acquiring eye physiological signals of a user and determining whether a viewpoint of the user is on a screen or not according to the eye physiological signals; the recording module is used for recording the duration of the viewpoint on the screen when the viewpoint is on the screen; the calculation module is used for judging whether the duration exceeds a preset threshold or not, and starting to calculate a real-time difference value between the duration and the preset threshold when the duration exceeds the preset threshold; and the color temperature adjusting module is used for determining a real-time blue light filtering proportion corresponding to the real-time difference value according to the real-time difference value and adjusting the current color temperature of the screen according to the real-time blue light filtering proportion, wherein the implementation difference value and the real-time blue light filtering proportion are in a direct proportion relation.
In order to achieve the above object, a terminal device according to an embodiment of a third aspect of the present invention includes a memory, a processor, and a computer program stored in the memory and executable on the processor, where the processor executes the computer program to implement the screen color temperature adjustment method according to the embodiment of the first aspect of the present invention.
In order to achieve the above object, a non-transitory computer-readable storage medium is provided in an embodiment of a fourth aspect of the present invention, on which a computer program is stored, and the computer program, when executed by a processor, implements the screen color temperature adjusting method according to the embodiment of the first aspect of the present invention.
Additional aspects and advantages of the invention will be set forth in part in the description which follows and, in part, will be obvious from the description, or may be learned by practice of the invention.
Drawings
The foregoing and/or additional aspects and advantages of the present invention will become apparent and readily appreciated from the following description of the embodiments, taken in conjunction with the accompanying drawings of which:
fig. 1 is a schematic flow chart illustrating a method for adjusting a color temperature of a screen according to an embodiment of the present invention;
FIG. 2 is a schematic flow chart illustrating another method for adjusting a color temperature of a screen according to an embodiment of the present invention;
fig. 3 is a schematic diagram of an interface screen of a terminal device according to an embodiment of the present invention;
FIG. 4 is a schematic structural diagram of a screen color temperature adjusting device according to an embodiment of the present invention;
FIG. 5 is a schematic structural diagram of a screen color temperature adjustment device according to another embodiment of the present invention;
FIG. 6 is a schematic structural diagram of a screen color temperature adjusting device according to another embodiment of the present invention; and
fig. 7 is a schematic structural diagram of a terminal device according to an embodiment of the present invention.
Detailed Description
Reference will now be made in detail to embodiments of the present invention, examples of which are illustrated in the accompanying drawings, wherein like or similar reference numerals refer to the same or similar elements or elements having the same or similar function throughout. The embodiments described below with reference to the drawings are illustrative and intended to be illustrative of the invention and are not to be construed as limiting the invention.
The screen color temperature adjusting method and apparatus according to an embodiment of the present invention will be described below with reference to the accompanying drawings.
Fig. 1 is a flowchart illustrating a method for adjusting a color temperature of a screen according to an embodiment of the present invention. As shown in fig. 1, the method includes:
step 101, acquiring an eye physiological signal of a user, and determining whether a viewpoint of the user is on a screen according to the eye physiological signal.
The eye physiological signals include positions of pupils and eyeballs of the user, in some possible embodiments, the positions of the eyeballs of the user are detected according to the infrared sensor, and in other possible embodiments, the eye physiological signals of the user can be determined according to the eye image information of the user, which is acquired by the camera.
It should be understood that the eye physiological signal of the user may determine whether the viewpoint of the user is focused on the screen, and when the viewpoint of the user is focused on the screen, it is determined that the user is actually using the terminal device.
And 102, recording the duration of the viewpoint on the screen when the viewpoint is on the screen.
It is emphasized that, considering that in practical applications, the eyes of the user may briefly leave the screen, for example, the user may speak up and around teammates while playing the game using the terminal device, but such brief departure should not be regarded as the user stopping using the terminal device, and therefore, the duration of the recording viewpoint on the screen in the embodiment of the present invention includes a case where the time difference between the departure of the viewpoint of the user from the screen and the return to the screen is short, for example, when the viewpoint of the user from the first second to the third second is concentrated on the screen, but the viewpoint of the user leaves the screen at the fourth second, and the viewpoint of the user is concentrated on the screen again at the fifth second, the viewpoint of the user from the first second to the fifth second is regarded as continuously concentrated on the screen for five seconds.
And 103, judging whether the duration exceeds a preset threshold or not, and starting to calculate a real-time difference value between the duration and the preset threshold when the duration exceeds the preset threshold.
And 104, determining a real-time blue light filtering proportion corresponding to the real-time difference value according to the real-time difference value, and adjusting the current color temperature of the screen according to the real-time blue light filtering proportion, wherein the implementation difference value and the real-time blue light filtering proportion are in a direct proportion relation.
Specifically, the duration that the user viewpoint is concentrated on the screen is judged, and when the duration exceeds a preset threshold, it indicates that the current eyes of the user should start to enter a fatigue state, and the color temperature of the screen starts to be adjusted, so that the eye fatigue of the user is reduced. Of course, in order to provide better service using such personalized service between users, in which different users have differences in the duration of their point of view focused on the screen when they reach a fatigue state, in one embodiment of the present invention, the identity information of the user is obtained, which includes the occupation, age, and sex of the user, and the preset threshold is determined according to the identity information of the user, for example, when the user is a child, the preset threshold is relatively low, and when the user's occupation is a computer worker, the preset threshold is relatively low.
The method includes the steps of acquiring identity information of a user in different application scenes, as a possible implementation mode, pre-storing corresponding relations between the identity information of the user and fingerprint information, acquiring fingerprint information input by the user when the user uses a terminal device, for example, acquiring fingerprint information input by the user when the user unlocks, inquiring the pre-stored corresponding relations according to the fingerprint information input by the user, and acquiring corresponding identity information.
Further, when it is determined that the eyes of the user start to enter a fatigue state, the blue light filtering proportion is gradually reduced, so that the eye fatigue of the user is relieved, the adaptability of the eyes of the user is improved, and the comfort is improved.
In an embodiment of the present invention, a corresponding relationship between the real-time difference and the brightness reduction value of the blue pixel is pre-established, the corresponding relationship is queried according to the real-time difference, the brightness reduction value of the blue pixel corresponding to the real-time difference is obtained, and the brightness value of the blue pixel is reduced according to the brightness reduction value.
However, after a part of the blue light B is filtered, since the brightness of the screen is formed by the ratio of RGB, when the color temperature is adjusted, a part of the blue light is filtered, and the brightness is inevitably reduced due to B reduction.
Thus, in one embodiment of the present invention, as shown in fig. 2, after the step 104, the method further comprises:
step 201, obtaining the current environment brightness, and determining the lowest value of the screen brightness according to the environment brightness.
Specifically, the current screen brightness may be obtained according to the brightness sensor, and the lowest value of the screen brightness matched with the current environment brightness is determined according to the environment brightness, that is, when the environment brightness is low, the set lowest value of the screen brightness is relatively high in order not to damage the eyes of the user, otherwise, when the environment brightness is high, the set lowest value of the screen brightness is relatively low in order not to damage the eyes of the user, and in the actual execution process, the environment brightness and the adapted lowest value of the screen brightness may be determined according to a large amount of experimental data, or may be manually set in advance by the user.
Step 202, detecting the screen brightness after the brightness value of the blue pixel is reduced, and stopping reducing the brightness value of the blue pixel when the screen brightness is less than or equal to the lowest brightness value of the screen.
Specifically, the brightness of the screen after the brightness value of the blue pixel is reduced is detected, and when the brightness of the screen is less than or equal to the lowest brightness value of the screen, the brightness value of the blue pixel is stopped being reduced to ensure the service quality.
In another embodiment of the present invention, in order to compensate for the loss of screen brightness after blue light is filtered, the screen contrast after color temperature adjustment is determined, and the screen definition is improved by setting a relatively high contrast. Because different blue light filters the proportion and needs different contrast corresponding to different screen brightness in order to make the screen show clearly, consequently, set up the contrast database that contains screen colour temperature behind the blue light filters the proportion and screen contrast relation in advance, and then, obtain the screen colour temperature after the colour temperature regulation according to the blue light filters the proportion, inquire the contrast database that prestores, acquire the screen contrast that corresponds with screen colour temperature and carry out the regulation of screen contrast.
In another embodiment of the present invention, in order to compensate for the loss of screen brightness after blue light filtering, the pixel brightness of the red light and the green light after color temperature adjustment is determined, that is, a database containing a correspondence relationship between a screen color temperature after blue light filtering proportion and an increase in the brightness of the green light and the red light is preset, and then, the screen color temperature after color temperature adjustment is obtained according to the blue light filtering proportion, a pre-stored database is queried, green light and red light brightness increase values corresponding to the blue light filtering proportion are obtained, and the pixel brightness of the red light and the green light is adjusted according to the green light and red light brightness increase values.
Considering that in some application scenarios, when a user uses a terminal device, a screen position where a function provided by the terminal device is located is relatively fixed, for example, as shown in fig. 3, when the user uses a small screen of the terminal device to play a video, the user only uses a screen area corresponding to an interface where a player is located, so that, in order to save electric power, it is also possible to determine a screen area occupied when the current application program provides a function service, adjust a blue light filtering ratio in the screen area, and directly reduce screen brightness to the lowest for other screen areas.
In some application scenarios, a user does not need to execute the screen color temperature adjusting method according to the embodiment of the present invention due to reasons such as work requirements, for example, when the user uses an office application program for office work, in order to avoid that screen brightness is reduced due to blue light filtering to affect office efficiency of the user, a white list application may be preset, the screen color temperature adjusting method according to the embodiment of the present invention is used only when the current application does not belong to a white list application, and in some possible examples, an application program identifier currently running, such as an application program icon or the like, is obtained, and it is determined that the current application program does not belong to a preset white list identifier, and the screen color temperature adjusting method according to the embodiment of the present invention is used.
To sum up, the screen color temperature adjusting method of the embodiment of the present invention obtains an eye physiological signal of a user, determines whether a viewpoint of the user is on a screen according to the eye physiological signal, records a duration of the viewpoint on the screen when the viewpoint is on the screen, determines whether the duration exceeds a preset threshold, and starts to calculate a real-time difference between the duration and the preset threshold when the duration exceeds the preset threshold, and further determines a real-time blue light filtering ratio corresponding to the real-time difference according to the real-time difference, and adjusts a current color temperature of the screen according to the real-time blue light filtering ratio, wherein the implementation difference is in direct proportion to the real-time blue light filtering ratio. From this, when confirming user's eye fatigue, improve the blue light filtration ratio gradually for the accommodation process of this kind of colour temperature can be adapted to people's eye on the basis of protecting people's eye, has improved people's eye comfort level, and the practicality is higher.
In order to implement the above embodiments, the present invention further provides a screen color temperature adjusting device, fig. 4 is a schematic structural diagram of the screen color temperature adjusting device according to an embodiment of the present invention, and as shown in fig. 4, the screen color temperature adjusting device includes: a determination module 10, a recording module 20, a calculation module 30 and a color temperature adjustment module 40, wherein,
the determining module 10 is configured to acquire an eye physiological signal of a user, and determine whether a viewpoint of the user is on a screen according to the eye physiological signal.
And the recording module 20 is used for recording the duration of the viewpoint on the screen when the viewpoint is on the screen.
The calculating module 30 is configured to start calculating a real-time difference between the duration and a preset threshold when the duration exceeds the preset threshold.
And the color temperature adjusting module 40 is used for determining a real-time blue light filtering proportion corresponding to the real-time difference value according to the real-time difference value, and adjusting the current color temperature of the screen according to the real-time blue light filtering proportion, wherein the implementation difference value is in a direct proportion relation with the real-time blue light filtering proportion.
In an embodiment of the present invention, as shown in fig. 5, on the basis of fig. 4, an obtaining module 50 is further included, where the obtaining module 50 is configured to obtain user identity information of a user. In this embodiment, the determining module 10 is configured to acquire an eye physiological signal of a user, and determine whether a viewpoint of the user is on a screen according to the eye physiological signal.
In one embodiment of the present invention, as shown in fig. 6, on the basis of fig. 4, the color temperature adjusting module 40 includes an obtaining unit 41 and an adjusting unit 42, wherein,
the obtaining unit 41 is configured to query a preset database, and obtain a brightness reduction value of the blue pixel corresponding to the real-time difference value.
And an adjusting unit 42 for decreasing the luminance value of the blue pixel according to the luminance decrease value.
It should be noted that the foregoing explanation of the screen color temperature adjusting method is also applicable to the screen color temperature adjusting device according to the embodiment of the present invention, and the implementation principle is similar, and is not repeated herein.
To sum up, the screen color temperature adjusting device of the embodiment of the present invention obtains an eye physiological signal of a user, determines whether a viewpoint of the user is on a screen according to the eye physiological signal, records a duration of the viewpoint on the screen when the viewpoint is on the screen, determines whether the duration exceeds a preset threshold, and starts to calculate a real-time difference between the duration and the preset threshold when the duration exceeds the preset threshold, and further determines a real-time blue light filtering ratio corresponding to the real-time difference according to the real-time difference, and adjusts a current color temperature of the screen according to the real-time blue light filtering ratio, wherein the implementation difference is in direct proportion to the real-time blue light filtering ratio. From this, when confirming user's eye fatigue, improve the blue light filtration ratio gradually for the accommodation process of this kind of colour temperature can be adapted to people's eye on the basis of protecting people's eye, has improved people's eye comfort level, and the practicality is higher.
In order to implement the foregoing embodiment, the present invention further provides a terminal device, fig. 7 is a schematic structural diagram of a terminal device according to an embodiment of the present invention, and as shown in fig. 7, the terminal device 1000 may include: the memory 1100, the processor 1200 and the computer program 1300 stored in the memory 1100 and executable on the processor 1200, when the processor 1200 executes the computer program 1300, the screen color temperature adjusting method described in any of the above embodiments of the present invention is implemented.
In order to implement the above embodiments, the present invention also proposes a non-transitory computer-readable storage medium having stored thereon a computer program which, when executed by a processor, implements the screen color temperature adjustment method described in any of the above embodiments of the present application.
In the description herein, references to the description of the term "one embodiment," "some embodiments," "an example," "a specific example," or "some examples," etc., mean that a particular feature, structure, material, or characteristic described in connection with the embodiment or example is included in at least one embodiment or example of the invention. In this specification, the schematic representations of the terms used above are not necessarily intended to refer to the same embodiment or example. Furthermore, the particular features, structures, materials, or characteristics described may be combined in any suitable manner in any one or more embodiments or examples. Furthermore, various embodiments or examples and features of different embodiments or examples described in this specification can be combined and combined by one skilled in the art without contradiction.
Furthermore, the terms "first", "second" and "first" are used for descriptive purposes only and are not to be construed as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include at least one such feature. In the description of the present invention, "a plurality" means at least two, e.g., two, three, etc., unless specifically limited otherwise.
Any process or method descriptions in flow charts or otherwise described herein may be understood as representing modules, segments, or portions of code which include one or more executable instructions for implementing steps of a custom logic function or process, and alternate implementations are included within the scope of the preferred embodiment of the present invention in which functions may be executed out of order from that shown or discussed, including substantially concurrently or in reverse order, depending on the functionality involved, as would be understood by those reasonably skilled in the art of the present invention.
The logic and/or steps represented in the flowcharts or otherwise described herein, e.g., an ordered listing of executable instructions that can be considered to implement logical functions, can be embodied in any computer-readable medium for use by or in connection with an instruction execution system, apparatus, or device, such as a computer-based system, processor-containing system, or other system that can fetch the instructions from the instruction execution system, apparatus, or device and execute the instructions. For the purposes of this description, a "computer-readable medium" can be any means that can contain, store, communicate, propagate, or transport the program for use by or in connection with the instruction execution system, apparatus, or device. More specific examples (a non-exhaustive list) of the computer-readable medium would include the following: an electrical connection (electronic device) having one or more wires, a portable computer diskette (magnetic device), a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber device, and a portable compact disc read-only memory (CDROM). Additionally, the computer-readable medium could even be paper or another suitable medium upon which the program is printed, as the program can be electronically captured, via for instance optical scanning of the paper or other medium, then compiled, interpreted or otherwise processed in a suitable manner if necessary, and then stored in a computer memory.
It should be understood that portions of the present invention may be implemented in hardware, software, firmware, or a combination thereof. In the above embodiments, the various steps or methods may be implemented in software or firmware stored in memory and executed by a suitable instruction execution system. If implemented in hardware, as in another embodiment, any one or combination of the following techniques, which are known in the art, may be used: a discrete logic circuit having a logic gate circuit for implementing a logic function on a data signal, an application specific integrated circuit having an appropriate combinational logic gate circuit, a Programmable Gate Array (PGA), a Field Programmable Gate Array (FPGA), or the like.
It will be understood by those skilled in the art that all or part of the steps carried by the method for implementing the above embodiments may be implemented by hardware related to instructions of a program, which may be stored in a computer readable storage medium, and when the program is executed, the program includes one or a combination of the steps of the method embodiments.
In addition, functional units in the embodiments of the present invention may be integrated into one processing module, or each unit may exist alone physically, or two or more units are integrated into one module. The integrated module can be realized in a hardware mode, and can also be realized in a software functional module mode. The integrated module, if implemented in the form of a software functional module and sold or used as a stand-alone product, may also be stored in a computer readable storage medium.
The storage medium mentioned above may be a read-only memory, a magnetic or optical disk, etc. Although embodiments of the present invention have been shown and described above, it is understood that the above embodiments are exemplary and should not be construed as limiting the present invention, and that variations, modifications, substitutions and alterations can be made to the above embodiments by those of ordinary skill in the art within the scope of the present invention.

Claims (10)

1. A screen color temperature adjusting method is characterized by comprising the following steps:
acquiring an eye physiological signal of a user, and determining whether a viewpoint of the user is on a screen according to the eye physiological signal;
when the viewpoint is on the screen, recording the duration of the viewpoint on the screen, wherein if the duration of the viewpoint on the screen is recorded, if the viewpoint leaves the screen, counting the leaving duration of the viewpoint leaving the screen, and if the leaving duration is not greater than a preset duration threshold, taking the leaving duration as the duration of the duration;
when judging whether the duration exceeds a preset threshold, starting to calculate a real-time difference value between the duration and the preset threshold when the duration exceeds the preset threshold;
determining a real-time blue light filtering proportion corresponding to the real-time difference value according to the real-time difference value, and adjusting the current color temperature of the screen according to the real-time blue light filtering proportion, wherein the real-time difference value is in a direct proportion relation with the real-time blue light filtering proportion;
and inquiring a preset brightness database, determining pixel brightness improvement values of red light and green light corresponding to the real-time blue light filtering ratio, and adjusting the screen brightness according to the pixel brightness improvement values of the red light and the green light.
2. The method of claim 1, wherein prior to said determining whether said duration exceeds a preset threshold, further comprising:
acquiring user identity information of the user;
and determining the preset threshold according to the user identity information.
3. The method of claim 1, wherein determining a real-time blue light filtering ratio corresponding to the real-time difference value according to the real-time difference value and adjusting the current color temperature of the screen according to the real-time blue light filtering ratio comprises:
inquiring a preset database to obtain a brightness reduction value of the blue pixel corresponding to the real-time difference value;
and reducing the brightness value of the blue pixel according to the brightness reduction value.
4. The method of claim 3, further comprising:
acquiring current environment brightness, and determining a screen brightness lowest value according to the environment brightness;
and detecting the screen brightness after the brightness value of the blue pixel is reduced, and stopping reducing the brightness value of the blue pixel when the screen brightness is less than or equal to the lowest screen brightness value.
5. The method of claim 1, wherein prior to said determining a real-time blue light filtering ratio based on said real-time difference value, and adjusting a current color temperature of said screen based on said real-time blue light filtering ratio, further comprising:
acquiring an identifier of a currently running application program;
and determining that the current application program identification does not belong to a preset white list identification.
6. A screen color temperature adjusting apparatus, comprising:
the determining module is used for acquiring eye physiological signals of a user and determining whether a viewpoint of the user is on a screen or not according to the eye physiological signals;
the recording module is used for recording the duration of the viewpoint on the screen when the viewpoint is on the screen, counting the leaving duration of the viewpoint away from the screen if the duration of the viewpoint away from the screen is detected, and taking the leaving duration as the duration of the duration if the leaving duration is not greater than a preset duration threshold;
the calculation module is used for judging whether the duration exceeds a preset threshold or not, and starting to calculate a real-time difference value between the duration and the preset threshold when the duration exceeds the preset threshold;
the color temperature adjusting module is used for determining a real-time blue light filtering proportion corresponding to the real-time difference value according to the real-time difference value and adjusting the current color temperature of the screen according to the real-time blue light filtering proportion, wherein the real-time difference value and the real-time blue light filtering proportion are in a direct proportion relation;
and the brightness adjusting module is used for inquiring a preset brightness database, determining the pixel brightness improvement values of the red light and the green light corresponding to the real-time blue light filtering ratio, and adjusting the screen brightness according to the pixel brightness improvement values of the red light and the green light.
7. The apparatus of claim 6, further comprising:
the acquisition module is used for acquiring the user identity information of the user;
the determining module is further configured to determine the preset threshold according to the user identity information.
8. The apparatus of claim 6, wherein the color temperature adjustment module comprises:
the acquisition unit is used for inquiring a preset database and acquiring the brightness reduction value of the blue pixel corresponding to the real-time difference value;
an adjusting unit for reducing the brightness value of the blue pixel according to the brightness reduction value.
9. A terminal device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, wherein the processor implements the screen color temperature adjusting method according to any one of claims 1 to 5 when executing the computer program.
10. A computer-readable storage medium on which a computer program is stored, the computer program, when being executed by a processor, implementing the screen color temperature adjusting method according to any one of claims 1 to 5.
CN201811504264.5A 2018-12-10 2018-12-10 Screen color temperature adjusting method and device Active CN109448663B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811504264.5A CN109448663B (en) 2018-12-10 2018-12-10 Screen color temperature adjusting method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811504264.5A CN109448663B (en) 2018-12-10 2018-12-10 Screen color temperature adjusting method and device

Publications (2)

Publication Number Publication Date
CN109448663A CN109448663A (en) 2019-03-08
CN109448663B true CN109448663B (en) 2021-03-26

Family

ID=65556640

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811504264.5A Active CN109448663B (en) 2018-12-10 2018-12-10 Screen color temperature adjusting method and device

Country Status (1)

Country Link
CN (1) CN109448663B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110381202B (en) * 2019-07-11 2021-11-16 努比亚技术有限公司 Display adjustment method, mobile terminal and computer-readable storage medium
CN115019746B (en) * 2021-07-23 2023-04-28 荣耀终端有限公司 Display method and medium of electronic equipment and electronic equipment
CN114167947A (en) * 2021-11-26 2022-03-11 深圳市思坦科技有限公司 Eye protection device and method, blue light display device and storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104503683A (en) * 2014-12-01 2015-04-08 小米科技有限责任公司 Eyesight protecting method and device
CN105204651A (en) * 2015-11-12 2015-12-30 上海卓易科技股份有限公司 Control method and device
CN107045417A (en) * 2017-04-07 2017-08-15 广东欧珀移动通信有限公司 Screen color temp adjusting method, device and its equipment
CN107342066A (en) * 2017-06-19 2017-11-10 广东欧珀移动通信有限公司 Screen luminance adjustment method, device and its equipment

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103186609A (en) * 2011-12-30 2013-07-03 深圳富泰宏精密工业有限公司 System and method for relieving visual fatigue during electronic device usage
CN103019917B (en) * 2012-12-14 2016-01-06 广东欧珀移动通信有限公司 The mobile terminal monitoring method of excess eye-using, system and mobile terminal

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104503683A (en) * 2014-12-01 2015-04-08 小米科技有限责任公司 Eyesight protecting method and device
CN105204651A (en) * 2015-11-12 2015-12-30 上海卓易科技股份有限公司 Control method and device
CN107045417A (en) * 2017-04-07 2017-08-15 广东欧珀移动通信有限公司 Screen color temp adjusting method, device and its equipment
CN107342066A (en) * 2017-06-19 2017-11-10 广东欧珀移动通信有限公司 Screen luminance adjustment method, device and its equipment

Also Published As

Publication number Publication date
CN109448663A (en) 2019-03-08

Similar Documents

Publication Publication Date Title
CN109448663B (en) Screen color temperature adjusting method and device
EP3565236B1 (en) Control method, control apparatus, mobile terminal and computer-readable storage medium
US11206382B2 (en) White balance synchronization method and apparatus, and terminal device
CN107343156B (en) Adjusting method and device for automatic exposure control of face area
CN107277356B (en) Method and device for processing human face area of backlight scene
US8614749B2 (en) Image processing apparatus and image processing method and image capturing apparatus
CN106210311B (en) Screen brightness control method and device
CN107888840B (en) High-dynamic-range image acquisition method and device
JP4983962B2 (en) Image processing apparatus, image processing method, and image processing program
US10602585B2 (en) Devices having calibrated LEDs
CN105788564A (en) Method and system for automatically regulating screen display
US10453188B2 (en) Methods and devices for improving image quality based on synthesized pixel values
US8391597B2 (en) Image capturing apparatus, method for capturing image, and program
CN108337450B (en) Image processing apparatus, image processing method, and recording medium
KR100819805B1 (en) Camera
US7421121B2 (en) Spectral normalization using illuminant exposure estimation
CN109639893A (en) Play parameter method of adjustment, device, electronic equipment and storage medium
CN103841337B (en) The method and apparatus of BLC
EP3418702A1 (en) Method for adjusting color temperature based on rgb optical spectral energy reconstruction, non-transitory computer-readable storage medium and terminal device
CN105704395A (en) Shooting method and shooting device
CN107222685B (en) Image acquisition device and operation method thereof
US20150312487A1 (en) Image processor and method for controlling the same
CN106875920B (en) A kind of parameter regulation means and device
US10499028B2 (en) White balance adjusting apparatus, operation method thereof, and non-transitory computer readable medium
CN108364683B (en) Target object triggering method and device, computer equipment and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant