CN107832029B - Display processing method and device, terminal and computer readable storage medium - Google Patents

Display processing method and device, terminal and computer readable storage medium Download PDF

Info

Publication number
CN107832029B
CN107832029B CN201710992331.1A CN201710992331A CN107832029B CN 107832029 B CN107832029 B CN 107832029B CN 201710992331 A CN201710992331 A CN 201710992331A CN 107832029 B CN107832029 B CN 107832029B
Authority
CN
China
Prior art keywords
gamma parameter
parameter values
display screen
preset
terminal
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
CN201710992331.1A
Other languages
Chinese (zh)
Other versions
CN107832029A (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 CN201710992331.1A priority Critical patent/CN107832029B/en
Publication of CN107832029A publication Critical patent/CN107832029A/en
Application granted granted Critical
Publication of CN107832029B publication Critical patent/CN107832029B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/011Arrangements for interaction with the human body, e.g. for user immersion in virtual reality
    • 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/14Digital output to display device ; Cooperation and interconnection of the display device with other functional units
    • G06F3/1407General aspects irrespective of display type, e.g. determination of decimal point position, display with fixed or driving decimal point, suppression of non-significant zeros
    • 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
    • G09G5/024Control 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 using colour registers, e.g. to control background, foreground, surface filling

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Human Computer Interaction (AREA)
  • Computer Hardware Design (AREA)
  • Controls And Circuits For Display Device (AREA)

Abstract

The application relates to a display processing method and device, a terminal and a computer readable storage medium. The display processing method comprises the following steps: when a display screen of the terminal is in a lighting state and the holding time in the lighting state is greater than or equal to a preset minimum length, determining that the terminal is in a reading state; selecting a group of preset gamma parameter values from the M groups of preset gamma parameter values, wherein blue components in light rays emitted by the display screen corresponding to different groups of preset gamma parameter values are different; and setting the gamma parameter value of the display screen of the terminal as the selected preset gamma parameter value so as to adjust the blue component in the light emitted by the display screen. The technical scheme provided by the application can effectively reduce the harm of the display screen of the terminal to human eyes.

Description

Display processing method and device, terminal and computer readable storage medium
Technical Field
The present application relates to the field of display technologies, and in particular, to a display processing method and apparatus, a terminal, and a computer-readable storage medium.
Background
With the development of scientific technology, terminals (such as smart phones, notebooks, tablet computers and the like) are widely used and become an indispensable part of the lives of most people. At present, most terminals can meet the requirements of people for instant messaging, game playing, movie watching, e-book watching, web surfing and the like.
Although the terminal with rich functions can improve the life quality of people, the terminal also has certain influence on human health. For example, medical research shows that excessive light radiation can cause damage to the retina of the eye, and therefore, if the terminal is used for a long time, light emitted by a display screen of the terminal can cause little damage to the human eye, thereby affecting the health of the human eye.
How to reduce the harm of the display screen of the terminal to the eyes of people when people use the terminal becomes a hot spot of the research in the industry, and no related solution can effectively solve the problem at present.
Disclosure of Invention
The embodiment of the application provides a display processing method, a display processing device, a terminal and a computer readable storage medium, which are used for reducing the harm of a display screen to human eyes.
A first aspect of the present application provides a display processing method, including:
determining that the terminal is in a reading state;
selecting a group of preset gamma parameter values from the M groups of preset gamma parameter values, wherein blue components in light rays emitted by the display screen corresponding to different groups of preset gamma parameter values are different;
and setting the gamma parameter value of the display screen of the terminal as the selected preset gamma parameter value so as to adjust the blue component in the light emitted by the display screen.
Based on the first aspect of the present application, in a first possible implementation manner, the determining that the terminal is in the reading state includes:
determining that the terminal is in a reading state when at least one of the following conditions is met:
recognizing a human face in front of the display screen;
the display screen is in a lighting state, and the keeping time length in the lighting state is greater than or equal to a preset minimum time length.
Based on the first possible implementation manner of the first aspect of the present application, in a second possible implementation manner, when a human face is recognized in front of the display screen, the selecting a group of preset gamma parameter values from the M groups of preset gamma parameter values includes:
and selecting a group of preset gamma parameter values from the M groups of preset gamma parameter values according to at least one of the distance between the human eyes in the human face and the display screen, the blinking times of the human eyes in the human face within a preset time length and the age matched with the human face.
Based on the second possible implementation manner of the first aspect of the present application, in a third possible implementation manner, the selecting a group of preset gamma parameter values from M groups of preset gamma parameter values includes:
detecting the distance between the human eyes in the human face and the display screen;
and selecting a group of preset gamma parameter values from the M groups of preset gamma parameter values according to the distance between the human eyes in the human face and the display screen and the preset distance-gamma parameter value corresponding relation, wherein in the preset distance-gamma parameter value corresponding relation, the blue component corresponding to the gamma parameter value is positively correlated with the distance.
Based on the second possible implementation manner of the first aspect of the present application, in a fourth possible implementation manner, the selecting a group of preset gamma parameter values from M groups of preset gamma parameter values includes:
detecting the blinking times of human eyes in the human face within a preset time length;
and when the blink times are not less than the preset minimum times, selecting a group of preset gamma parameter values from the M groups of preset gamma parameter values according to the blink times of human eyes in the human face in the preset time duration and the preset corresponding relation between the blink times and the gamma parameter values, wherein in the preset corresponding relation between the blink times and the gamma parameter values, the blue component corresponding to the gamma parameter values is in negative correlation with the blink times.
Based on the second possible implementation manner of the first aspect of the present application, in a fifth possible implementation manner, the selecting a set of preset gamma parameter values from the M sets of preset gamma parameter values includes:
estimating an age matching the face;
and selecting a group of preset gamma parameter values from the M groups of preset gamma parameter values according to the estimated age matched with the human face and the preset age-gamma parameter value corresponding relation, wherein in the preset age-gamma parameter value corresponding relation, the blue component corresponding to the gamma parameter value is in negative correlation with the age.
Based on the first possible implementation manner of the first aspect of the present application, in a sixth possible implementation manner, when the display screen is in a lighting state and a holding duration in the lighting state is greater than or equal to a preset minimum duration, selecting a set of preset gamma parameter values from the M sets of preset gamma parameter values includes:
when the display screen is in a lighting state and the holding time in the lighting state is in an interval formed by the minimum time and a preset maximum time, selecting an ith group of preset gamma parameter values from the M groups of preset gamma parameter values, wherein the interval comprises M sections of time, and i is the serial number of the section to which the holding time belongs in the interval;
wherein the M groups of preset gamma parameter values satisfy the following conditions: sj>Sj+1>Sj+2,SjRepresents the blue component, 0, corresponding to the jth set of preset gamma parameter values<j is less than or equal to M-2; and the duration of the M sections meets the following conditions: mg<Mg+1<Mg+2,0<g≤M-2,MgDenotes the range of the duration of the g-th period, 0<g≤M-2。
Based on the sixth possible implementation manner of the first aspect of the present application, in a seventh possible implementation manner, the selecting a group of preset gamma parameter values from M groups of preset gamma parameter values includes:
and when the display screen is in a lighting state and the holding time of the display screen in the lighting state is longer than the maximum time, selecting an M-th group of preset gamma parameter values from the M groups of preset gamma parameter values.
A second aspect of the present application provides a display processing apparatus comprising:
the determining unit is used for determining that the terminal is in a reading state;
the selecting unit is used for selecting a group of preset gamma parameter values from the M groups of preset gamma parameter values when the determining unit determines that the terminal is in a reading state, wherein blue components in the light rays emitted by the display screen corresponding to different groups of preset gamma parameter values are different;
and the setting unit is used for setting the gamma parameter value of the display screen of the terminal as the selected preset gamma parameter value so as to adjust the blue component in the light emitted by the display screen.
Based on the second aspect of the present application, in a first possible implementation manner, the determining unit is specifically configured to: determining that the terminal is in a reading state when at least one of the following conditions is met:
recognizing a human face in front of the display screen;
the display screen is in a lighting state, and the keeping time length in the lighting state is greater than or equal to a preset minimum time length.
In a second possible implementation manner, based on the first possible implementation manner of the second aspect of the present application, the display processing apparatus further includes:
the face recognition unit is used for carrying out face recognition on the environment in front of the display screen of the terminal;
the selecting unit is specifically configured to: when the face recognition unit recognizes a face in front of the display screen, a group of preset gamma parameter values are selected from the M groups of preset gamma parameter values according to at least one of the distance between eyes in the face and the display screen, the blinking times of eyes in the face within a preset time length and the age matched with the face.
Based on the second possible implementation manner of the second aspect of the present application, in a third possible implementation manner, the selecting unit includes:
a distance detection unit for detecting a distance between the human eye in the human face and the display screen;
and the sub-selection unit is used for selecting a group of preset gamma parameter values from the M groups of preset gamma parameter values according to the distance between the human eyes in the human face detected by the distance detection unit and the display screen and the preset distance-gamma parameter value corresponding relation, wherein in the preset distance-gamma parameter value corresponding relation, the blue component corresponding to the gamma parameter values is positively correlated with the distance.
In a fourth possible implementation manner, based on the second possible implementation manner of the second aspect of the present application, the face recognition unit is further configured to: when a human face is identified in front of the display screen, detecting the blinking times of human eyes in the human face within a preset time length;
the selecting unit is specifically configured to: and when the blink times are not less than the preset minimum times, selecting a group of preset gamma parameter values from the M groups of preset gamma parameter values according to the blink times and the preset corresponding relation between the blink times and the gamma parameter values, wherein in the preset corresponding relation between the blink times and the gamma parameter values, the blue component corresponding to the gamma parameter values is in negative correlation with the blink times.
Based on the second possible implementation manner of the second aspect of the present application, in a fifth possible implementation manner, the face recognition unit is further configured to: estimating an age matching the face when the face is recognized in front of the display screen;
the selecting unit is specifically configured to: and selecting a group of preset gamma parameter values from the M groups of preset gamma parameter values according to the age matched with the face estimated by the face recognition unit and the preset age-gamma parameter value corresponding relation, wherein in the preset age-gamma parameter value corresponding relation, the blue component corresponding to the gamma parameter value is in negative correlation with the age.
Based on the first possible implementation manner of the second aspect of the present application, in a sixth possible implementation manner, the display processing apparatus further includes:
a detection unit for detecting a state of the display screen;
the timing unit is used for timing the holding time of the display screen in the lighting state when the display screen enters the lighting state;
the selecting unit is specifically configured to: when the detection unit detects that the display screen is in a lighting state and the holding time in the lighting state is in an interval formed by the minimum time and a preset maximum time, selecting an ith group of preset gamma parameter values from the M groups of preset gamma parameter values, wherein the interval comprises M sections of time, and i is the serial number of the section to which the holding time belongs in the interval;
wherein the M groups of preset gamma parameter values satisfy the following conditions: sj>Sj+1>Sj+2,SjRepresents the blue component, 0, corresponding to the jth set of preset gamma parameter values<j is less than or equal to M-2; and the duration of the M sections meets the following conditions: mg<Mg+1<Mg+2,0<g≤M-2,MgDenotes the range of the duration of the g-th period, 0<g≤M-2。
Based on the sixth possible implementation manner of the second aspect of the present application, in a seventh possible implementation manner, the selecting unit is further configured to:
and when the display screen is in a lighting state and the holding time of the display screen in the lighting state is longer than the maximum time, selecting an M-th group of preset gamma parameter values from the M groups of preset gamma parameter values.
A third aspect of the present application provides a terminal, comprising: any one of the second aspect displays a processing apparatus.
Based on the third aspect of the present application, in a first possible implementation manner, the terminal is a smart phone or a tablet computer.
A fourth aspect of the present application provides a terminal comprising a processor and a memory, the memory having stored thereon a computer program which, when executed by the processor, causes the processor to carry out the steps of the display processing method when executed.
A fifth aspect of the present application provides a computer-readable storage medium having stored thereon a computer program which, when executed by a processor, implements the steps of the display processing method.
In the embodiment of the application, when the display screen of the terminal is in the lighting state and the holding time in the lighting state is longer than or equal to the preset minimum duration, the terminal is determined to be in the reading state, a group of preset gamma parameter values are selected from M groups of preset gamma parameter values, and the gamma parameter values of the display screen are set to be selected, so that the gamma parameter values of the display screen in the traditional technology can be prevented from being only default gamma parameter values, and the control of blue components in the emitted light of the display screen can be realized by adjusting the gamma parameter values when the terminal is in the reading state, so that the damage of the screen of the terminal to human eyes can be reduced, and a certain protection effect on the health of the human eyes can be realized.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments or the conventional technologies of the present application, the drawings needed to be used in the description of the embodiments or the conventional technologies will be briefly introduced below, it is obvious that the drawings in the following description are only some embodiments of the present application, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
Fig. 1 is a schematic flowchart illustrating an embodiment of a display processing method according to an embodiment of the present disclosure;
fig. 2 is a schematic flowchart of another embodiment of a display processing method according to an embodiment of the present disclosure;
fig. 3 is a schematic flowchart of a display processing method according to another embodiment of the present application;
fig. 4 is a schematic flowchart of a display processing method according to another embodiment of the present application;
FIG. 5 is a schematic flow chart illustrating a display processing method according to yet another embodiment of the present disclosure;
fig. 6 is a schematic flowchart of a display processing method according to yet another embodiment of the present application;
fig. 7 is a schematic structural diagram of an embodiment of a display processing apparatus according to an embodiment of the present disclosure;
fig. 8 is a schematic structural diagram of another embodiment of a display processing apparatus according to an embodiment of the present disclosure.
Detailed Description
In order to make the application purpose, features and advantages of the embodiments of the present application more obvious and understandable, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present application, and not all the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
First, blue light among light emitted from the display screen will be described. The visible light acts on human eyes as light radiation and generated heat, and the light rays with different wavelengths affect the human eyes to different degrees. Studies have shown that the blue light region with wavelengths between 400 nm and 500 nm is most harmful to the human eye compared to other colors (wavelengths), and tends to cause discomfort and incapacitating glare more pronounced than green and red lights of other long wavelengths. The human eye lens system does not sharply focus blue light, which is slightly in front of the retina and blue is more widely dispersed than other colors when passing through the eyeball, than red and green light can be precisely focused on the retina.
Studies have further shown that excessive light radiation can cause damage to the retina, the extent of which depends on the wavelength, intensity and length of exposure time of the light. Blue light is a high-energy light in visible light, easily passes through the cornea and crystalline lens and contacts the retina, accelerates cellular oxidation in the macular region of the retina, and even damages visual cells due to excessive irradiation. If the macular area is exposed to blue light for a long time, the risk of macular degeneration of the aged eye is increased, and even the vision is possibly permanently damaged, so that the blue light easily affects the retina. In addition, in darker environments, the human eye is more sensitive to blue light, i.e., Purkinje's (Purkinje) displacement. When watching a television or using a computer at night, when the peripheral illumination is very low, the human eyes enter a mesopic state, the sensitivity spectral response curve is low towards short wave, the sensitivity is more sensitive to blue light, and the excessive blue light not only influences the health of the human eyes, but also stimulates the formation of melatonin.
Based on the above situation, the embodiment of the application provides a display processing method applied to a terminal and the terminal, which are used for reducing the damage of a display screen of the terminal to human eyes.
Referring to fig. 1, a display processing method applied to a terminal according to an embodiment of the present application is described below, where the display processing method in the embodiment of the present application includes:
101. determining that the terminal is in a reading state;
optionally, the display processing device in this embodiment of the application provides an eye protection control similar to a switch, and a user can select whether to open the eye protection control by himself, and when the eye protection control is in an open state, the display processing device determines that the terminal is in a reading state, and when the eye protection control is in a closed state, the display processing device determines that the terminal is not in the reading state.
Optionally, the display processing device determines that the terminal is in the reading state when at least one of the following conditions is satisfied: recognizing a human face in front of a display screen of a terminal; the display screen of the terminal is in a lighting state, and the keeping time length in the lighting state is larger than or equal to the preset minimum time length.
Optionally, the display processing device or a camera (e.g., a front-facing camera or a rotatable camera) configured on the terminal is used to perform face recognition on the environment in front of the display screen of the terminal, specifically, in the embodiment of the present application, the face recognition on the environment in front of the display screen of the terminal may be implemented by referring to the prior art, which is not described herein again.
Optionally, the two manners are combined, that is, the display processing device provides an eye protection control similar to a switch, and the user can select whether to open the eye protection control by himself, and when the eye protection control is in an open state and at least one of the following conditions is met, the display processing device determines that the terminal is in a reading state: recognizing a human face in front of a display screen of a terminal; the display screen of the terminal is in a lighting state, and the keeping time length in the lighting state is larger than or equal to the preset minimum time length.
Of course, in the embodiment of the present application, it may also be determined that the terminal is in the reading state in other ways, which is not limited herein.
When it is determined that the terminal is in the reading state, step 102 is performed.
102. Selecting a group of preset gamma parameter values from the M groups of preset gamma parameter values;
and the blue components in the light emitted by the display screen corresponding to different groups of preset gamma parameter values are different.
Optionally, M groups of preset gamma parameter values are pre-stored in the display processing device, where blue components in the light emitted by the display screen corresponding to each group of preset gamma parameter values are different, and M is not less than 1. For example, the M groups of preset gamma parameter values may be set to values between 0.1 and 2.2, where the smaller the gamma parameter value, the smaller the blue component corresponding to the gamma parameter value. Certainly, the M groups of preset gamma parameter values may also be stored in the cloud server or the external terminal, and then in step 102, the display processing device obtains the M groups of preset gamma parameter values from the cloud server or the external terminal in real time, and selects a group of preset gamma parameter values from the M groups of preset gamma parameter values.
In the embodiment of the application, the display processing device can randomly select a group of preset gamma parameter values from M groups of preset gamma parameter values; or, when a face is recognized in front of a display screen of the terminal, selecting a group of preset gamma parameter values from the M groups of preset gamma parameter values according to at least one of a distance between eyes of the detected face and the display screen, a blinking number of the eyes of the detected face within a preset time length, and an age matched with the face; or, when the display screen is in the lighting state and the holding time in the lighting state is greater than or equal to the preset minimum duration, selecting a group of preset gamma parameter values from the M groups of preset gamma parameter values according to the time-keeping duration, and making the greater the time-keeping duration, the smaller the blue component corresponding to the selected preset gamma parameter value, which is not limited herein.
103. And setting the gamma parameter value of the display screen as the selected preset gamma parameter value so as to adjust the blue component in the light emitted by the display screen.
Optionally, the display processing apparatus sets the gamma parameter value of the display screen to the set of preset gamma parameter values selected in step 102 through a Mobile Industry Processor Interface (MIPI). The MIPI is a set of interface standards defined by an MIPI interface alliance, interfaces in the terminal such as a camera and a display screen are standardized, and design flexibility is improved. Of course, in the embodiment of the present application, the gamma parameter value of the display screen may be set as the set of preset gamma parameter values selected in step 102 in other ways, which is not limited herein.
It should be noted that, in the display screen of the terminal, red, green and blue (i.e. RGB) are three primary colors, transmission and conversion of signals are performed according to the three colors, and the gamma parameter is a physical property of the display screen and is used for controlling the color of the display screen, so in the embodiment of the present application, M sets of gamma parameter values may be set, and blue components in the light emitted by the display screen corresponding to the M sets of gamma parameter values are different.
It should be noted that the display processing device in the embodiment of the present application may be a device integrated in a terminal, or may also be a device that is independent from the terminal and is capable of communicating with the terminal, and the terminal in the embodiment of the present application includes, but is not limited to, a smart phone, a tablet computer, a notebook, or other terminals configured with a display screen, and is not limited herein.
In the embodiment of the application, when the terminal is determined to be in the reading state, a group of preset gamma parameter values are selected from M groups of preset gamma parameter values, and the gamma parameter values of the display screen are set to be selected, so that the gamma parameter values of the display screen in the traditional technology can be prevented from being only default gamma parameter values, and the control of blue components in the emitted light of the display screen can be realized by adjusting the gamma parameter values when the terminal is in the reading state, so that the harm of the screen of the terminal to human eyes can be reduced, and a certain protection effect on the health of the human eyes can be realized.
Based on the embodiment shown in fig. 1, a description is given of a display processing method in the embodiment of the present application with a specific application example, in the embodiment of the present application, blue light adjustment is triggered by face recognition, as shown in fig. 2, the display processing method in the embodiment of the present application includes:
201. carrying out face recognition on the environment in front of a display screen of the terminal;
in this embodiment of the present application, a display processing device or a camera (e.g., a front-facing camera or a rotatable camera) configured on a terminal is used to perform face recognition on an environment in front of a display screen of the terminal, and specifically, in this embodiment, performing face recognition on the environment in front of the display screen of the terminal may be implemented by referring to the prior art, which is not described herein again.
Optionally, the action of face recognition in the embodiment of the present application is event-triggered, for example, when the display screen of the terminal is turned on, the step of performing face recognition on the environment in front of the display screen of the terminal is executed, and before the terminal is turned off, the action of performing face recognition on the environment in front of the display screen of the terminal is maintained. Or, in this embodiment of the application, the display processing apparatus may also periodically trigger the step of performing face recognition on the environment in front of the display screen of the terminal, or the user may input a certain time period, so that the display processing apparatus executes the step of performing face recognition on the environment in front of the display screen of the terminal in the time period, or the display processing apparatus provides a control similar to a switch for the user, and the user may start or close the execution of step 201 through the control. Of course, the embodiment of the present application may also trigger step 201 in other ways, which is not limited herein.
202. And when the face is recognized in front of the display screen, determining that the terminal is in a reading state.
203. Selecting a group of preset gamma parameter values from the M groups of preset gamma parameter values;
in the embodiment of the application, the display processing device can randomly select a group of preset gamma parameter values from M groups of preset gamma parameter values; or, a group of preset gamma parameter values may be selected from the M groups of preset gamma parameter values according to at least one of a distance between eyes of a detected face and the display screen, a blinking number of the eyes of the detected face within a preset time period, and an age matched with the face; and is not limited herein.
Optionally, the M groups of preset gamma parameter values are stored in different registers, and the preset gamma parameter values stored in the registers are identified by using register values of the registers, so that the display processing device selects and calls corresponding preset gamma parameter values according to the register values.
204. And setting the gamma parameter value of the display screen as the selected preset gamma parameter value so as to adjust the blue component in the light emitted by the display screen.
Optionally, the display processing device sets the gamma parameter value of the display screen to the selected preset gamma parameter value through the MIPI interface. The MIPI is a set of interface standards defined by an MIPI interface alliance, interfaces in the terminal such as a camera and a display screen are standardized, and design flexibility is improved. Of course, in this embodiment of the application, the gamma parameter value of the display screen may be set as the set of preset gamma parameter values selected in step 203 in other ways, which is not limited herein.
It should be noted that, in the display screen of the terminal, red, green and blue (i.e. RGB) are three primary colors, transmission and conversion of signals are performed according to the three colors, and the gamma parameter is a physical property of the display screen and is used for controlling the color of the display screen, so in the embodiment of the present application, M sets of gamma parameter values may be set, and blue components in the light emitted by the display screen corresponding to the M sets of gamma parameter values are different.
It should be noted that the display processing device in the embodiment of the present application may be a device integrated in a terminal, or may also be a device that is independent from the terminal and is capable of communicating with the terminal, and the terminal in the embodiment of the present application includes, but is not limited to, a smart phone, a tablet computer, a notebook, or other terminals configured with a display screen, and is not limited herein.
In the embodiment of the application, when the terminal is determined to be in the reading state, a group of preset gamma parameter values are selected from M groups of preset gamma parameter values, and the gamma parameter values of the display screen are set to be selected, so that the gamma parameter values of the display screen in the traditional technology can be prevented from being only default gamma parameter values, and the control of blue components in the emitted light of the display screen can be realized by adjusting the gamma parameter values when the terminal is in the reading state, so that the harm of the screen of the terminal to human eyes can be reduced, and a certain protection effect on the health of the human eyes can be realized.
In the embodiment of the present application, a preset gamma parameter value is selected according to a distance between human eyes in a human face and a display screen, as shown in fig. 3, and the display processing method in the embodiment of the present application includes:
301. carrying out face recognition on the environment in front of a display screen of the terminal;
in this embodiment of the present application, a display processing device or a camera (e.g., a front-facing camera or a rotatable camera) configured on a terminal is used to perform face recognition on an environment in front of a display screen of the terminal, and specifically, in this embodiment, performing face recognition on the environment in front of the display screen of the terminal may be implemented by referring to the prior art, which is not described herein again.
Optionally, the action of face recognition in this embodiment of the application is event-triggered, for example, when the display screen of the terminal is turned on, the step of performing face recognition on the environment in front of the display screen of the terminal is executed, and before the terminal is turned off, the action of performing face recognition on the environment in front of the display screen of the terminal is maintained. Or, in this embodiment of the application, the display processing apparatus may also periodically trigger the step of performing face recognition on the environment in front of the display screen of the terminal, or the user may input a certain time period, so that the display processing apparatus executes the step of performing face recognition on the environment in front of the display screen of the terminal in the time period, or the display processing apparatus provides a control similar to a switch for the user, and the user may start or close the execution of step 301 through the control. Of course, the embodiment of the present application may also trigger step 301 in other ways, which is not limited herein.
302. And when the face is recognized in front of the display screen, determining that the terminal is in a reading state.
303. Detecting the distance between the human eyes in the human face and the display screen;
optionally, in this embodiment of the present application, a proximity sensor is configured for the terminal, and the display processing device detects a distance between a human eye in the human face and the display screen by using the proximity sensor and combining with an eye positioning algorithm in a face recognition technology (for example, a region segmentation method, an edge extraction method, a gray-scale projection method, a neural network method, a template matching method, and the like).
304. Selecting a group of preset gamma parameter values from the M groups of preset gamma parameter values according to the distance between the human eyes in the human face and the display screen and the preset distance-gamma parameter value corresponding relation;
in the preset distance-gamma parameter value corresponding relation, the blue component corresponding to the gamma parameter value is positively correlated with the distance.
Specifically, a distance-gamma parameter value corresponding relationship is preset, in the distance-gamma parameter value corresponding relationship, a relationship between M groups of preset gamma parameter values and distances is established, and when the distance is smaller, a blue component corresponding to the preset gamma parameter value corresponding to the distance is smaller, of course, the distance-gamma parameter value corresponding relationship may also be expressed as a corresponding relationship between a distance interval and the preset gamma parameter value, that is, the same preset gamma parameter value is corresponding to the same distance interval, different distance intervals correspond to different preset gamma parameter values, and when the distance is smaller, the blue component corresponding to the preset gamma parameter value corresponding to the distance is smaller.
305. And setting the gamma parameter value of the display screen as the selected preset gamma parameter value so as to adjust the blue component in the light emitted by the display screen.
Optionally, the display processing device sets the gamma parameter value of the display screen to the selected preset gamma parameter value through the MIPI interface. The MIPI is a set of interface standards defined by an MIPI interface alliance, interfaces in the terminal such as a camera and a display screen are standardized, and design flexibility is improved. Of course, in this embodiment of the application, the gamma parameter value of the display screen may be set as the set of preset gamma parameter values selected in step 304 in other ways, which is not limited herein.
It should be noted that, in the display screen of the terminal, red, green and blue (i.e. RGB) are three primary colors, transmission and conversion of signals are performed according to the three colors, and the gamma parameter is a physical property of the display screen and is used for controlling the color of the display screen, so in the embodiment of the present application, M sets of gamma parameter values may be set, and blue components in the light emitted by the display screen corresponding to the M sets of gamma parameter values are different.
It should be noted that the display processing device in the embodiment of the present application may be a device integrated in a terminal, or may also be a device that is independent from the terminal and is capable of communicating with the terminal, and the terminal in the embodiment of the present application includes, but is not limited to, a smart phone, a tablet computer, a notebook, or other terminals configured with a display screen, and is not limited herein.
In the embodiment of the application, when the terminal is determined to be in the reading state, a group of preset gamma parameter values are selected from M groups of preset gamma parameter values, and the gamma parameter values of the display screen are set to be selected, so that the gamma parameter values of the display screen in the traditional technology can be prevented from being only default gamma parameter values, and the control of blue components in the emitted light of the display screen can be realized by adjusting the gamma parameter values when the terminal is in the reading state, so that the harm of the screen of the terminal to human eyes can be reduced, and a certain protection effect on the health of the human eyes can be realized.
Based on the embodiment shown in fig. 2, a description is given of a display processing method in the embodiment of the present application with a specific application example, in the embodiment of the present application, a preset gamma parameter value is selected according to the blinking number of human eyes in a human face within a preset time duration, as shown in fig. 4, the display processing method in the embodiment of the present application includes:
401. carrying out face recognition on the environment in front of a display screen of the terminal;
in this embodiment of the present application, a display processing device or a camera (e.g., a front-facing camera or a rotatable camera) configured on a terminal is used to perform face recognition on an environment in front of a display screen of the terminal, and specifically, in this embodiment, performing face recognition on the environment in front of the display screen of the terminal may be implemented by referring to the prior art, which is not described herein again.
Optionally, the action of face recognition in the embodiment of the present application is event-triggered, for example, when the display screen of the terminal is turned on, the step of performing face recognition on the environment in front of the display screen of the terminal is executed, and before the terminal is turned off, the action of performing face recognition on the environment in front of the display screen of the terminal is maintained. Or, in this embodiment of the application, the display processing apparatus may also periodically trigger the step of performing face recognition on the environment in front of the display screen of the terminal, or the user may input a certain time period, so that the display processing apparatus executes the step of performing face recognition on the environment in front of the display screen of the terminal in the time period, or the display processing apparatus provides a control similar to a switch for the user, and the user may start or close the execution of step 401 through the control. Of course, the embodiment of the present application may also trigger step 401 in other ways, which is not limited herein.
402. And when the face is recognized in front of the display screen, determining that the terminal is in a reading state.
403. Detecting the blinking times of human eyes in the human face within a preset time length;
in the embodiment of the application, the display processing device detects the blinking times of the human eyes in the human face within a preset time length. Specifically, the duration may be set according to actual requirements. In the embodiment of the present application, detecting whether human eyes in the human face blink or not may be implemented by referring to an existing blink detection algorithm, which is not described herein again.
404. When the blink times are not less than the preset minimum times, selecting a group of preset gamma parameter values from the M groups of preset gamma parameter values according to the blink times and the preset relationship between the blink times and the gamma parameter values;
in the preset relationship between the blinking times and the gamma parameter values, the blue component corresponding to the gamma parameter values is in negative correlation with the blinking times.
In the embodiment of the application, a correspondence relationship between the number of blinks and a gamma parameter value is preset, in the correspondence relationship between the number of blinks and the gamma parameter value, a relationship between M groups of preset gamma parameter values and the number of blinks is established, and when the number of blinks is more, a blue component corresponding to the preset gamma parameter value corresponding to the number of blinks is smaller.
Optionally, the minimum number and the maximum number of the blink times are respectively set as n1 and n2, when the blink times of the human eyes in the human face in the preset time duration is detected in step 403 to be within the interval, a group of preset gamma parameter values is selected from the M groups of preset gamma parameter values according to the blink times of the human eyes in the human face in the preset time duration and the preset relationship between the blink times and the gamma parameter values, and when the blink times of the human eyes in the human face in the preset time duration is detected in step 403 to be greater than the maximum number, a group of corresponding preset gamma parameter values with the minimum blue component is selected from the M groups of preset gamma parameter values.
405. And setting the gamma parameter value of the display screen as the selected preset gamma parameter value so as to adjust the blue component in the light emitted by the display screen.
Optionally, the display processing device sets the gamma parameter value of the display screen to the selected preset gamma parameter value through the MIPI interface. The MIPI is a set of interface standards defined by an MIPI interface alliance, interfaces in the terminal such as a camera and a display screen are standardized, and design flexibility is improved. Of course, in this embodiment of the application, the gamma parameter value of the display screen may be set as the set of preset gamma parameter values selected in step 404 in other ways, which is not limited herein.
It should be noted that, in the display screen of the terminal, red, green and blue (i.e. RGB) are three primary colors, transmission and conversion of signals are performed according to the three colors, and the gamma parameter is a physical property of the display screen and is used for controlling the color of the display screen, so in the embodiment of the present application, M sets of gamma parameter values may be set, and blue components in the light emitted by the display screen corresponding to the M sets of gamma parameter values are different.
It should be noted that the display processing device in the embodiment of the present application may be a device integrated in a terminal, or may also be a device that is independent from the terminal and is capable of communicating with the terminal, and the terminal in the embodiment of the present application includes, but is not limited to, a smart phone, a tablet computer, a notebook, or other terminals configured with a display screen, and is not limited herein.
In the embodiment of the application, when the terminal is determined to be in the reading state, a group of preset gamma parameter values are selected from M groups of preset gamma parameter values, and the gamma parameter values of the display screen are set to be selected, so that the gamma parameter values of the display screen in the traditional technology can be prevented from being only default gamma parameter values, and the control of blue components in the emitted light of the display screen can be realized by adjusting the gamma parameter values when the terminal is in the reading state, so that the harm of the screen of the terminal to human eyes can be reduced, and a certain protection effect on the health of the human eyes can be realized.
In the following, on the basis of the embodiment shown in fig. 2, a description is given of a display processing method in the embodiment of the present application with a specific application example, in the embodiment of the present application, a preset gamma parameter value is selected according to an age estimated from a human face, as shown in fig. 5, the display processing method in the embodiment of the present application includes:
501. carrying out face recognition on the environment in front of a display screen of the terminal;
in this embodiment of the present application, a display processing device or a camera (e.g., a front-facing camera or a rotatable camera) configured on a terminal is used to perform face recognition on an environment in front of a display screen of the terminal, and specifically, in this embodiment, performing face recognition on the environment in front of the display screen of the terminal may be implemented by referring to the prior art, which is not described herein again.
Optionally, the action of face recognition in this embodiment of the application is event-triggered, for example, when the display screen of the terminal is turned on, the step of performing face recognition on the environment in front of the display screen of the terminal is executed, and before the terminal is turned off, the action of performing face recognition on the environment in front of the display screen of the terminal is maintained. Or, in this embodiment of the application, the display processing apparatus may also periodically trigger the step of performing face recognition on the environment in front of the display screen of the terminal, or the user may input a certain time period, so that the display processing apparatus executes the step of performing face recognition on the environment in front of the display screen of the terminal in the time period, or the display processing apparatus provides a control similar to a switch for the user, and the user may start or close the execution of step 501 through the control. Of course, the embodiment of the present application may also trigger step 501 in other ways, which is not limited herein.
502. And when the face is recognized in front of the display screen, determining that the terminal is in a reading state.
503. Estimating an age matching with the face when the face is recognized in front of the display screen;
in the embodiment of the present application, the display processing device estimates an age matching the face. The age may be a specific age (e.g., 35 years), or a specific age group (e.g., 31-39 years).
In the embodiment of the present application, a plurality of sets of facial images of different ages may be pre-constructed, the display processing device obtains an age function according to the training of the facial images, and when the display processing device detects a face in step 501, the age matched with the face is estimated according to the identified face and the age function. Specifically, the estimation method includes the following steps: 1. constructing a global age function: constructing a global age function through a large amount of face image training, and calculating the age matched with the face by directly using the global age function when the display processing device detects the face in step 501; 2. appearance specific age function: such an age function is input by facial feature division, and when the display processing means detects a face in step 501, an age function calculated by searching for a face image having similar features to the face is found, and then an age matching the face is calculated; 3. weighted age function: similar to the method used for the appearance-specific age function, when the display processing means detects a face in step 501, an age function having similar features to the face is found, and when an age function calculated from a face image having similar features to the face cannot be found, the age of the face is estimated using all the age functions and then weighted, thereby obtaining an estimation result.
Of course, the embodiment of the present application may also estimate the age of the recognized face in other manners, which is not limited herein.
504. Selecting a group of preset gamma parameter values from the M groups of preset gamma parameter values according to the estimated age matched with the human face and the corresponding relation of the preset age-gamma parameter values;
in the preset age-gamma parameter value corresponding relation, the blue component corresponding to the gamma parameter value is in negative correlation with the age.
In the embodiment of the present application, an age-gamma parameter value corresponding relationship information is preset, in the age-gamma parameter value corresponding relationship, a relationship between M groups of preset gamma parameter values and the age is established, and the larger the age is, the smaller the blue component corresponding to the preset gamma parameter value corresponding to the distance is, of course, the age-gamma parameter value corresponding relationship can also be expressed as a corresponding relationship between an age interval and the preset gamma parameter value, that is, the same preset gamma parameter value is corresponding to the same age interval, different age intervals correspond to different preset gamma parameter values, and in different age intervals, the larger the age is, the smaller the blue component corresponding to the preset gamma parameter value corresponding to the age is.
505. And setting the gamma parameter value of the display screen as the selected preset gamma parameter value so as to adjust the blue component in the light emitted by the display screen.
Optionally, the display processing device sets the gamma parameter value of the display screen to the selected preset gamma parameter value through the MIPI interface. The MIPI is a set of interface standards defined by an MIPI interface alliance, interfaces in the terminal such as a camera and a display screen are standardized, and design flexibility is improved. Of course, in this embodiment of the application, the gamma parameter value of the display screen may be set as the set of preset gamma parameter values selected in step 504 in other ways, which is not limited herein.
It should be noted that, in the display screen of the terminal, red, green and blue (i.e. RGB) are three primary colors, transmission and conversion of signals are performed according to the three colors, and the gamma parameter is a physical property of the display screen and is used for controlling the color of the display screen, so in the embodiment of the present application, M sets of gamma parameter values may be set, and blue components in the light emitted by the display screen corresponding to the M sets of gamma parameter values are different.
It should be noted that the display processing device in the embodiment of the present application may be a device integrated in a terminal, or may also be a device that is independent from the terminal and is capable of communicating with the terminal, and the terminal in the embodiment of the present application includes, but is not limited to, a smart phone, a tablet computer, a notebook, or other terminals configured with a display screen, and is not limited herein.
In the embodiment of the application, when the terminal is determined to be in the reading state, a group of preset gamma parameter values are selected from M groups of preset gamma parameter values, and the gamma parameter values of the display screen are set to be selected, so that the gamma parameter values of the display screen in the traditional technology can be prevented from being only default gamma parameter values, and the control of blue components in the emitted light of the display screen can be realized by adjusting the gamma parameter values when the terminal is in the reading state, so that the harm of the screen of the terminal to human eyes can be reduced, and a certain protection effect on the health of the human eyes can be realized.
Next, on the basis of the embodiment shown in fig. 1, a description is given to a display processing method in the embodiment of the present application, in which blue light adjustment is triggered according to a lighting time period of a display screen in the embodiment of the present application, as shown in fig. 6, the display processing method in the embodiment of the present application includes:
601. detecting the state of a display screen;
in the embodiment of the application, the display processing device detects the state of the display screen of the terminal to determine whether the display screen is in a lighting state.
602. When the display screen is in a lighting state and the holding time in the lighting state is longer than or equal to a preset minimum length, determining that the terminal is in a reading state;
in the embodiment of the application, when the display processing device detects that the display screen of the terminal enters the lighting state from the extinguishing state, the timing is started, and when the display screen is in the lighting state and the holding time length in the lighting state is greater than or equal to the preset minimum time length, the terminal is determined to be in the reading state.
The minimum time length can be set according to specific needs.
603. Selecting a group of preset gamma parameter values from the M groups of preset gamma parameter values;
optionally, a maximum duration is preset, and when the display screen is in the lighting state and the holding duration in the lighting state is longer than the maximum duration, a set of preset gamma parameter values with the smallest corresponding blue light component is selected from the M sets of preset gamma parameter values.
Optionally, when the display screen is in an on state and the holding time in the on state is within an interval formed by the minimum time and the maximum time, selecting an ith group of preset gamma parameter values from the M groups of preset gamma parameter values, where the interval includes M segments of time, and i is a sequence number of a segment to which the holding time belongs within the interval. Wherein, the M groups of preset gamma parameter values satisfy the following conditions: sj>Sj+1>Sj+2,SjRepresents the blue component, 0, corresponding to the jth set of preset gamma parameter values<j is less than or equal to M-2; and the duration of the M sections meets the following conditions: mg<Mg+1<Mg+2,0<g≤M-2,MgDenotes the range of the duration of the g-th period, 0<g≤M-2。
604. And setting the gamma parameter value of the display screen as the selected preset gamma parameter value so as to adjust the blue component in the light emitted by the display screen.
Optionally, the display processing device sets the gamma parameter value of the display screen to the selected preset gamma parameter value through the MIPI interface. The MIPI is a set of interface standards defined by an MIPI interface alliance, interfaces in the terminal such as a camera and a display screen are standardized, and design flexibility is improved. Of course, in this embodiment of the application, the gamma parameter value of the display screen may be set as the set of preset gamma parameter values selected in step 603 in other ways, which is not limited herein.
It should be noted that, in the display screen of the terminal, red, green and blue (i.e. RGB) are three primary colors, transmission and conversion of signals are performed according to the three colors, and the gamma parameter is a physical property of the display screen and is used for controlling the color of the display screen, so in the embodiment of the present application, M sets of gamma parameter values may be set, and blue components in the light emitted by the display screen corresponding to the M sets of gamma parameter values are different.
It should be noted that the display processing device in the embodiment of the present application may be a device integrated in a terminal, or may also be a device that is independent from the terminal and is capable of communicating with the terminal, and the terminal in the embodiment of the present application includes, but is not limited to, a smart phone, a tablet computer, a notebook, or other terminals configured with a display screen, and is not limited herein.
In the embodiment of the application, when the terminal is determined to be in the reading state, a group of preset gamma parameter values are selected from M groups of preset gamma parameter values, and the gamma parameter values of the display screen are set to be selected, so that the gamma parameter values of the display screen in the traditional technology can be prevented from being only default gamma parameter values, and the control of blue components in the emitted light of the display screen can be realized by adjusting the gamma parameter values when the terminal is in the reading state, so that the harm of the screen of the terminal to human eyes can be reduced, and a certain protection effect on the health of the human eyes can be realized.
It will be appreciated that while the foregoing method embodiments have been described for simplicity of illustration as a series of acts, it will be understood by those skilled in the art that the present application is not limited by the order of acts described, as some steps may, in accordance with the present application, occur in other orders and concurrently.
As shown in fig. 7, a display processing apparatus 700 in the embodiment of the present application includes:
a determining unit 701, configured to determine that the terminal is in a reading state;
a selecting unit 702, configured to select a group of preset gamma parameter values from the M groups of preset gamma parameter values when the determining unit 701 determines that the terminal is in the reading state, where blue components in light emitted by the display screen corresponding to different groups of preset gamma parameter values are different;
the setting unit 703 is configured to set a gamma parameter value of the display screen of the terminal to the preset gamma parameter value selected by the selecting unit 702, so as to adjust a blue component in the light emitted by the display screen.
Optionally, the determining unit 701 is specifically configured to: determining that the terminal is in a reading state when at least one of the following conditions is met: recognizing a human face in front of the display screen; the display screen is in a lighting state, and the keeping time length in the lighting state is greater than or equal to a preset minimum time length.
Optionally, on the basis of the embodiment shown in fig. 7, the display processing apparatus 800 shown in fig. 8 further includes: a face recognition unit 704, configured to perform face recognition on an environment in front of a display screen of the terminal; the selecting unit 702 is specifically configured to: when the face recognition unit 704 recognizes a face in front of the display screen, a set of preset gamma parameter values is selected from the M sets of preset gamma parameter values according to at least one of a distance between eyes of the face and the display screen, a blinking number of eyes of the face within a preset time period, and an age matched with the face.
Optionally, on the basis of the embodiment shown in fig. 8, the selecting unit 702 includes: a distance detection unit for detecting a distance between the human eye of the human face and the display screen; and the sub-selection unit is used for selecting a group of preset gamma parameter values from the M groups of preset gamma parameter values according to the distance between the human eyes in the human face detected by the distance detection unit and the display screen and a preset distance-gamma parameter value corresponding relation, wherein in the preset distance-gamma parameter value corresponding relation, the blue component corresponding to the gamma parameter value is positively correlated with the distance.
Optionally, on the basis of the embodiment shown in fig. 8, the face recognition unit 704 is further configured to: when a human face is recognized in front of the display screen, detecting the blinking times of human eyes in the human face within a preset time length; the selecting unit 702 is specifically configured to: when the number of blinks of human eyes in the human face detected by the face recognition unit 704 in a preset time duration is not less than a preset minimum number, a group of preset gamma parameter values is selected from the M groups of preset gamma parameter values according to the number of blinks and a preset relationship between the number of blinks and the gamma parameter values, wherein in the preset relationship between the number of blinks and the gamma parameter values, a blue component corresponding to the gamma parameter value is in negative correlation with the number of blinks.
Optionally, on the basis of the embodiment shown in fig. 8, the face recognition unit 704 is further configured to: estimating an age matching with the face when the face is recognized in front of the display screen; the selecting unit 702 is specifically configured to: according to the age matched with the face estimated by the face recognition unit 704 and the preset age-gamma parameter value correspondence relationship, a set of preset gamma parameter values is selected from the M sets of preset gamma parameter values, wherein in the preset age-gamma parameter value correspondence relationship, the blue component corresponding to the gamma parameter value is negatively correlated with the age.
Optionally, on the basis of the embodiment shown in fig. 7, the display processing apparatus further includes: a detection unit for detecting a state of the display screen; a timing unit, configured to time a holding time of the display screen in an on state when the display screen enters the on state; the selecting unit 702 is specifically configured to: when the detection unit detects that the display screen is in a lighting state and the holding time in the lighting state is within an interval formed by the minimum time and a preset maximum time, selecting an ith group of preset gamma parameter values from the M groups of preset gamma parameter values, wherein the interval comprises M sections of time, and i is a serial number of a section to which the holding time belongs within the interval, and the M groups of preset gamma parameter values meet the following conditions: sj>Sj+1>Sj+2,SjRepresents the blue component, 0, corresponding to the jth set of preset gamma parameter values<j is less than or equal to M-2; and the duration of the M sections meets the following conditions: mg<Mg+1<Mg+2,0<g≤M-2,MgDenotes the range of the duration of the g-th period, 0<g is less than or equal to M-2. Further, the selecting unit 702 is further configured to: and when the display screen is in a lighting state and the holding time of the display screen in the lighting state is longer than the maximum time, selecting an Mth group of preset gamma parameter values from the M groups of preset gamma parameter values.
It should be noted that the display processing device in the embodiment of the present application may be a device integrated in a terminal, or may also be a device that is independent from the terminal and is capable of communicating with the terminal, and the terminal in the embodiment of the present application includes, but is not limited to, a smart phone, a tablet computer, a notebook, or other terminals configured with a display screen, and is not limited herein. The display processing apparatus in the embodiment of the present application may be the display processing apparatus mentioned in the above method embodiment, and may be configured to implement all technical solutions in the above method embodiment, where functions of each functional module may be specifically implemented according to the method in the above method embodiment, and a specific implementation process of the functional module may refer to relevant descriptions in the above embodiment, which is not described herein again.
In the embodiment of the application, when the terminal is determined to be in the reading state, a group of preset gamma parameter values are selected from M groups of preset gamma parameter values, and the gamma parameter values of the display screen are set to be selected, so that the gamma parameter values of the display screen in the traditional technology can be prevented from being only default gamma parameter values, and the control of blue components in the emitted light of the display screen can be realized by adjusting the gamma parameter values when the terminal is in the reading state, so that the harm of the screen of the terminal to human eyes can be reduced, and a certain protection effect on the health of the human eyes can be realized.
An embodiment of the present application further provides a terminal, including: any of the display processing devices described in the above device embodiments.
Optionally, the terminal in this embodiment of the present application is a user equipment that communicates with one or more core networks through a Radio Access Network (RAN), where the user equipment may specifically be a mobile phone (or a "cellular" phone, such as a smart phone), a computer equipped with a mobile terminal, and specifically, the user equipment may also be a portable, pocket, hand-held, computer-embedded, or vehicle-mounted mobile device, and they exchange voice and/or data with the RAN. Alternatively, the terminal in the embodiment of the present application may also include a Personal Digital Assistant (PDA), a tablet computer, a point of sale (POS) or a vehicle-mounted computer.
In the several embodiments provided in the present application, it should be understood that the disclosed apparatus and method may be implemented in other ways. For example, the above-described apparatus embodiments are merely illustrative, and for example, the above-described division of units is only one type of division of logical functions, and other divisions may be realized in practice, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The integrated unit may be stored in a computer-readable storage medium if it is implemented in the form of a software functional unit and sold or used as a separate product. Based on such understanding, the technical solution of the present application may be embodied in the form of a software product, which is stored in a storage medium and includes several instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the above method according to the embodiments of the present application. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes.
The embodiment of the application provides a terminal. The terminal comprises a processor and a memory, the memory having stored thereon a computer program which, when executed by the processor, causes the processor to carry out the steps of the display processing method when executed.
The embodiment of the application provides a computer readable storage medium. The computer-readable storage medium has stored thereon a computer program which, when executed by a processor, implements the steps of the display processing method.
The embodiment of the application provides a computer program product. A computer program product comprising instructions which, when run on a computer, cause the computer to perform the steps of a display processing method.
In the above embodiments, the descriptions of the respective embodiments have respective emphasis, and for parts that are not described in detail in a certain embodiment, reference may be made to related descriptions of other embodiments. Those skilled in the art should also appreciate that the embodiments described in this specification are presently preferred and that no acts or modules are necessarily required in this application.
In view of the above description of the display processing method, the display processing apparatus and the terminal provided in the embodiments of the present application, those skilled in the art will recognize that changes may be made in the embodiments and applications of the method according to the concepts of the embodiments of the present application.

Claims (12)

1. A display processing method, comprising:
when a display screen of a terminal is in a lighting state and the holding time in the lighting state is greater than or equal to a preset minimum time, determining that the terminal is in a reading state;
selecting a group of preset gamma parameter values from the M groups of preset gamma parameter values, wherein blue components in light rays emitted by the display screen corresponding to different groups of preset gamma parameter values are different;
setting the gamma parameter value of the display screen of the terminal as the selected preset gamma parameter value so as to adjust the blue component in the light emitted by the display screen;
the M groups of preset gamma parameter values meet the following conditions: sj is Sj +1 and Sj +2, wherein Sj represents a blue component corresponding to the j-th group of preset gamma parameter values, and j is more than 0 and less than or equal to M-2; and the duration of the M sections meets the following conditions: mg < Mg +1< Mg +2, g < 0< M-2, Mg represents the range of the duration of the g-th period, and g < 0< M-2.
2. The method according to claim 1, wherein the selecting a set of preset gamma parameter values from the M sets of preset gamma parameter values comprises:
when the display screen is in a lighting state and the holding time in the lighting state is in an interval formed by the minimum time and a preset maximum time, selecting an ith group of preset gamma parameter values from the M groups of preset gamma parameter values, wherein the interval comprises M sections of time, and i is the serial number of the section to which the holding time belongs in the interval.
3. The method according to any one of claims 1 to 2, wherein the selecting a set of preset gamma parameter values from the M sets of preset gamma parameter values comprises:
and when the display screen is in a lighting state and the holding time of the display screen in the lighting state is longer than the preset maximum time, selecting an M-th group of preset gamma parameter values from the M groups of preset gamma parameter values.
4. The method according to any one of claims 1 to 2, wherein the selecting a set of preset gamma parameter values from the M sets of preset gamma parameter values comprises:
and when the display screen is in a lighting state and the holding time of the display screen in the lighting state is longer than the preset maximum time, selecting a group of preset gamma parameter values with the minimum corresponding blue light component from the M groups of preset gamma parameter values.
5. The display processing method according to claim 1, wherein the M sets of preset gamma parameter values are stored in advance in a display processing apparatus.
6. A display processing apparatus characterized by comprising:
the terminal comprises a determining unit, a reading unit and a processing unit, wherein the determining unit is used for determining that the terminal is in a reading state when a display screen of the terminal is in a lighting state and the keeping time length in the lighting state is greater than or equal to a preset minimum time length;
the selecting unit is used for selecting a group of preset gamma parameter values from M groups of preset gamma parameter values when the determining unit determines that the terminal is in a reading state, wherein blue components in light rays emitted by the display screen corresponding to different groups of preset gamma parameter values are different;
the setting unit is used for setting the gamma parameter value of the display screen of the terminal as the preset gamma parameter value selected by the selecting unit so as to adjust the blue component in the light emitted by the display screen;
the M groups of preset gamma parameter values meet the following conditions: sj is Sj +1 and Sj +2, wherein Sj represents a blue component corresponding to the j-th group of preset gamma parameter values, and j is more than 0 and less than or equal to M-2; and the duration of the M sections meets the following conditions: mg < Mg +1< Mg +2, g < 0< M-2, Mg represents the range of the duration of the g-th period, and g < 0< M-2.
7. The display processing apparatus according to claim 6, characterized in that the display processing apparatus further comprises:
a detection unit for detecting a state of the display screen;
the timing unit is used for timing the holding time of the display screen in the lighting state when the display screen enters the lighting state;
the selecting unit is further configured to select an ith group of preset gamma parameter values from the M groups of preset gamma parameter values when the detecting unit detects that the display screen is in a lighting state and the holding time is within an interval formed by the minimum time and a preset maximum time in the lighting state, where the interval includes M periods of time, and i is a sequence number of a segment to which the holding time belongs within the interval.
8. The apparatus according to claim 6 or 7, wherein the selecting unit is further configured to select an M-th set of preset gamma parameter values from the M sets of preset gamma parameter values when the display screen is in an illuminated state and a holding duration of the display screen in the illuminated state is greater than a maximum duration.
9. The device according to claim 6 or 7, wherein the selecting unit is further configured to select a set of preset gamma parameter values with the smallest corresponding blue light component from the M sets of preset gamma parameter values when the display screen is in an illuminated state and a duration of the display screen in the illuminated state is longer than a preset maximum duration.
10. A terminal characterized by comprising the display processing apparatus according to any one of claims 6 to 9.
11. A terminal comprising a processor and a memory, the memory having stored thereon a computer program which, when executed by the processor, causes the processor to carry out the steps of the method according to any one of claims 1 to 5.
12. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out the steps of the method according to any one of claims 1 to 5.
CN201710992331.1A 2014-11-28 2014-11-28 Display processing method and device, terminal and computer readable storage medium Expired - Fee Related CN107832029B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710992331.1A CN107832029B (en) 2014-11-28 2014-11-28 Display processing method and device, terminal and computer readable storage medium

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201410708539.2A CN104460995B (en) 2014-11-28 2014-11-28 A kind of display processing method, display processing unit and terminal
CN201710992331.1A CN107832029B (en) 2014-11-28 2014-11-28 Display processing method and device, terminal and computer readable storage medium

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
CN201410708539.2A Division CN104460995B (en) 2014-11-28 2014-11-28 A kind of display processing method, display processing unit and terminal

Publications (2)

Publication Number Publication Date
CN107832029A CN107832029A (en) 2018-03-23
CN107832029B true CN107832029B (en) 2020-08-25

Family

ID=52907187

Family Applications (2)

Application Number Title Priority Date Filing Date
CN201410708539.2A Active CN104460995B (en) 2014-11-28 2014-11-28 A kind of display processing method, display processing unit and terminal
CN201710992331.1A Expired - Fee Related CN107832029B (en) 2014-11-28 2014-11-28 Display processing method and device, terminal and computer readable storage medium

Family Applications Before (1)

Application Number Title Priority Date Filing Date
CN201410708539.2A Active CN104460995B (en) 2014-11-28 2014-11-28 A kind of display processing method, display processing unit and terminal

Country Status (1)

Country Link
CN (2) CN104460995B (en)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105354001B (en) * 2015-10-23 2018-09-14 广东欧珀移动通信有限公司 The eye care method and system of smart machine
CN106020481B (en) * 2016-05-26 2019-03-12 福建捷联电子有限公司 A kind of implementation method of the hand-held device with the anti-blue light of eyeshield
CN106534836A (en) * 2016-11-30 2017-03-22 珠海市魅族科技有限公司 Image adjusting method and apparatus
CN108962140B (en) * 2018-07-10 2020-04-10 深圳清华大学研究院 Display driving circuit, display driving method and display device
CN111258414B (en) * 2018-11-30 2023-08-04 百度在线网络技术(北京)有限公司 Method and device for adjusting screen
US20230086843A1 (en) * 2020-04-01 2023-03-23 Hewlett-Packard Development Company, L.P. Display intensity reductions

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1432988A (en) * 2002-01-17 2003-07-30 奇景光电股份有限公司 Gamma correcting device and method for LCD
CN1713254A (en) * 2004-06-16 2005-12-28 三星Sdi株式会社 Organic light emitting display and control method thereof
WO2013186972A1 (en) * 2012-06-13 2013-12-19 Sony Corporation Display apparatus, display controlling method and program
CN103793052A (en) * 2013-11-21 2014-05-14 广州视源电子科技股份有限公司 Eyesight protection control method for mobile terminal
CN103957345A (en) * 2014-04-08 2014-07-30 京东方科技集团股份有限公司 Method and system for processing image signals and displayer

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101440773B1 (en) * 2010-12-13 2014-09-18 엘지디스플레이 주식회사 Apparatus and method for driving of organic light emitting display device
US20140218411A1 (en) * 2013-02-05 2014-08-07 Shenzhen China Star Optoelectronics Technology Co. Ltd. Method and System for Improving a Color Shift of Viewing Angle of Skin Color of an LCD Screen
CN103295485B (en) * 2013-05-06 2015-07-29 深圳市宏啟光电有限公司 A kind of display packing of LED display and system
CN103810973A (en) * 2014-03-13 2014-05-21 友达光电股份有限公司 Liquid crystal display with high penetration rate and controlling method thereof

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1432988A (en) * 2002-01-17 2003-07-30 奇景光电股份有限公司 Gamma correcting device and method for LCD
CN1713254A (en) * 2004-06-16 2005-12-28 三星Sdi株式会社 Organic light emitting display and control method thereof
WO2013186972A1 (en) * 2012-06-13 2013-12-19 Sony Corporation Display apparatus, display controlling method and program
CN103793052A (en) * 2013-11-21 2014-05-14 广州视源电子科技股份有限公司 Eyesight protection control method for mobile terminal
CN103957345A (en) * 2014-04-08 2014-07-30 京东方科技集团股份有限公司 Method and system for processing image signals and displayer

Also Published As

Publication number Publication date
CN104460995B (en) 2017-11-21
CN107832029A (en) 2018-03-23
CN104460995A (en) 2015-03-25

Similar Documents

Publication Publication Date Title
CN107832029B (en) Display processing method and device, terminal and computer readable storage medium
TWI751161B (en) Terminal equipment, smart phone, authentication method and system based on face recognition
CN110377385B (en) Screen display method and device and terminal equipment
US10664686B2 (en) Electronic device, and method for analyzing face information in electronic device
CN105631417B (en) Video enhancement system and method applied to internet video live streaming
JP6460237B2 (en) Contact lens virtual fitting method and apparatus, and computer program for executing the method
CN105243371B (en) A kind of detection method, system and the camera terminal of face U.S. face degree
WO2016180224A1 (en) Method and device for processing image of person
EP2515526A2 (en) Display device with image capture and analysis module
CN104331167B (en) Display processing method and display processing unit
CN109155053B (en) Information processing apparatus, information processing method, and recording medium
US20170277258A1 (en) Method for adjusting screen luminance and electronic device
CN105827943B (en) A kind of self-timer method and electronic equipment of human eye
EP3312717A1 (en) User device and computer program stored in computer-readable medium for controlling display
CN109993115A (en) Image processing method, device and wearable device
CN111601373B (en) Backlight brightness control method and device, mobile terminal and storage medium
Mohammed Efficient eye blink detection method for disabled-helping domain
CN107577340B (en) Eyesight protection method, terminal and storage device
JP6956986B1 (en) Judgment method, judgment device, and judgment program
WO2019020013A1 (en) Unlocking control method and related product
CN108828771A (en) Parameter regulation means, device, wearable device and the storage medium of wearable device
US11138429B2 (en) Iris recognition using eye-tracking system
CN114021211A (en) Intelligent peep-proof system
CN111373409B (en) Method and terminal for obtaining color value change
CN107463373B (en) Picture beautifying method, friend color value management method and device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
CB02 Change of applicant information
CB02 Change of applicant information

Address after: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18

Applicant after: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd.

Address before: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18

Applicant before: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd.

GR01 Patent grant
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20200825