CN106952611B - A kind of grayscale setting method and user terminal - Google Patents

A kind of grayscale setting method and user terminal Download PDF

Info

Publication number
CN106952611B
CN106952611B CN201710155095.8A CN201710155095A CN106952611B CN 106952611 B CN106952611 B CN 106952611B CN 201710155095 A CN201710155095 A CN 201710155095A CN 106952611 B CN106952611 B CN 106952611B
Authority
CN
China
Prior art keywords
value
preset value
sub
pixel points
grayscale
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201710155095.8A
Other languages
Chinese (zh)
Other versions
CN106952611A (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 CN201710155095.8A priority Critical patent/CN106952611B/en
Publication of CN106952611A publication Critical patent/CN106952611A/en
Application granted granted Critical
Publication of CN106952611B publication Critical patent/CN106952611B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G09EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09GARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
    • G09G3/00Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes
    • G09G3/20Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes for presentation of an assembly of a number of characters, e.g. a page, by composing the assembly by combination of individual elements arranged in a matrix no fixed position being assigned to or needed to be assigned to the individual characters or partial characters
    • G09G3/22Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes for presentation of an assembly of a number of characters, e.g. a page, by composing the assembly by combination of individual elements arranged in a matrix no fixed position being assigned to or needed to be assigned to the individual characters or partial characters using controlled light sources
    • G09G3/30Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes for presentation of an assembly of a number of characters, e.g. a page, by composing the assembly by combination of individual elements arranged in a matrix no fixed position being assigned to or needed to be assigned to the individual characters or partial characters using controlled light sources using electroluminescent panels
    • G09G3/32Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes for presentation of an assembly of a number of characters, e.g. a page, by composing the assembly by combination of individual elements arranged in a matrix no fixed position being assigned to or needed to be assigned to the individual characters or partial characters using controlled light sources using electroluminescent panels semiconductive, e.g. using light-emitting diodes [LED]
    • G09G3/3208Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes for presentation of an assembly of a number of characters, e.g. a page, by composing the assembly by combination of individual elements arranged in a matrix no fixed position being assigned to or needed to be assigned to the individual characters or partial characters using controlled light sources using electroluminescent panels semiconductive, e.g. using light-emitting diodes [LED] organic, e.g. using organic light-emitting diodes [OLED]
    • GPHYSICS
    • G09EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09GARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
    • G09G2320/00Control of display operating conditions
    • G09G2320/02Improving the quality of display appearance
    • G09G2320/0271Adjustment of the gradation levels within the range of the gradation scale, e.g. by redistribution or clipping

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Computer Hardware Design (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Control Of Indicators Other Than Cathode Ray Tubes (AREA)

Abstract

The embodiment of the invention discloses a kind of grayscale setting method and user terminals, wherein this method comprises: determining target pixel points, the grayscale value of the red sub-pixel points of the target pixel points, green sub-pixels point and blue subpixels point is equal;Judge whether the grayscale value of the sub-pixel point of the target pixel points is greater than the first preset value;If the grayscale value of the sub-pixel point of the target pixel points is greater than first preset value, the second preset value is set by the grayscale value of the sub-pixel point of the target pixel points, second preset value is less than first preset value.As it can be seen that advantageously reducing the rate of decay of display screen organic material by implementing the embodiment of the present invention.

Description

A kind of grayscale setting method and user terminal
Technical field
The present invention relates to field of communication technology more particularly to a kind of grayscale setting method and user terminals.
Background technique
Organic Light Emitting Diode (Organic Light-Emitting Diode, OLED) is due to self-luminous and saving The characteristics such as electric energy have been widely used in the display screen of the terminals such as mobile phone, tablet computer or television set.OLED three primary colours The grayscale value of (yellow/green/blue) is by separating 256 ranks as low as highest.255th rank corresponds to highest grayscale value, and the 0th rank is corresponding most Small grayscale value.In OLED luminescence process, the organic material of OLED can constantly decay and (consume).If luminescent material is located for a long time Under the conditions of highest grayscale, OLED luminescent material depletion rate can be accelerated.However in practice, it has been found that user is using OLED mistake Cheng Zhong, the scene for encountering high gray is very more, therefore the organic material rate of decay of OLED is quickly, and over time, display can go out The problems such as existing ghost, colour cast.
Summary of the invention
The embodiment of the invention provides a kind of grayscale setting method and user terminals, can delay the organic of OLED display screen The rate of decay of material.
In a first aspect, a kind of grayscale setting method is provided, this method comprises: determining target pixel points, the target picture The grayscale value of the red sub-pixel point of vegetarian refreshments, green sub-pixels point and blue subpixels point is equal;Judge the target pixel points The grayscale value of sub-pixel point whether be greater than the first preset value;If the grayscale value of the sub-pixel point of the target pixel points is greater than institute The first preset value is stated, then sets the second preset value for the grayscale value of the sub-pixel point of the target pixel points, described second is pre- If value is less than first preset value.
Second aspect provides a kind of user terminal, which comprises determining that module, for determining object pixel The grayscale value of point, the red sub-pixel points of the target pixel points, green sub-pixels point and blue subpixels point is equal;Judge mould Block, for judging whether the grayscale value of sub-pixel point of the target pixel points is greater than the first preset value;Setup module is used for The judgment module judges that the grayscale value of the sub-pixel point of the target pixel points is greater than after first preset value, will be described The grayscale value of the sub-pixel point of target pixel points is set as the second preset value, and it is default that second preset value is less than described first Value.
The third aspect, provides a kind of user terminal, and user terminal includes: one or more processors, memory, bus System and one or more programs, processor are connected with memory by bus system;Wherein, one or more programs are deposited In memory, which includes instruction for storage, and instruction makes user terminal execution the when being executed by user terminal The method of one side.
In embodiments of the present invention, user terminal can determine that (i.e. the grayscale value of sub-pixel point is equal target pixel points Pixel), and judge whether the grayscale value of the sub-pixel point of target pixel points is greater than the first preset value.If target pixel points The grayscale value of sub-pixel point is greater than the first preset value, then the target pixel points are the pixel of white, which may For background.Therefore, it is preset by the way that the grayscale value of the sub-pixel point of target pixel points is set smaller than the second of the first preset value Value can reduce the grayscale value of background, and the display content that will not have not only watched in this way user influences too much, but also can delay to show Shield the rate of decay of the organic material of (such as OLED display screen or other display screens), and the grayscale value by reducing background can also be kept away It is dazzling to exempt from background.
Detailed description of the invention
It to describe the technical solutions in the embodiments of the present invention more clearly, below will be to needed in the embodiment Attached drawing is briefly described, it should be apparent that, drawings in the following description are some embodiments of the invention, general for this field For logical technical staff, without creative efforts, it is also possible to obtain other drawings based on these drawings.
Fig. 1 is a kind of flow diagram of grayscale setting method provided in an embodiment of the present invention;
Fig. 2 is the flow diagram of another grayscale setting method provided in an embodiment of the present invention;
Fig. 3 is the flow diagram of another grayscale setting method provided in an embodiment of the present invention;
Fig. 4 is the flow diagram of another grayscale setting method provided in an embodiment of the present invention;
Fig. 5 is a kind of structural schematic diagram of user terminal provided in an embodiment of the present invention;
Fig. 6 is the structural schematic diagram of another user terminal provided in an embodiment of the present invention;
Fig. 7 is the structural schematic diagram of another user terminal provided in an embodiment of the present invention;
Fig. 8 is the structural schematic diagram of another user terminal provided in an embodiment of the present invention;
Fig. 9 is the structural schematic diagram of another user terminal provided in an embodiment of the present invention.
Specific embodiment
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention is described.Base Embodiment in the present invention, it is obtained by those of ordinary skill in the art without making creative efforts it is all its His embodiment, shall fall within the protection scope of the present invention.
The embodiment of the invention provides a kind of grayscale setting method and user terminals, for delaying the organic of OLED display screen The rate of decay of material.
It should be understood that the grayscale setting method of the embodiment of the present invention can be applied to user terminal.The user terminal may include but It is not limited to mobile phone (such as Android phone, iOS mobile phone), tablet computer, mobile internet device (Mobile Internet Devices, abbreviation MID), the mobile terminals such as personal digital assistant (Personal Digital Assistant, abbreviation PDA) (Terminal)。
Referring to Figure 1, Fig. 1 is a kind of flow diagram of grayscale setting method provided in an embodiment of the present invention.Such as Fig. 1 institute Show, which may include 101~103 parts.Wherein:
101, user terminal determines target pixel points.
So-called grayscale, be by it is most bright with it is most dark between brightness change, several pieces are divided into, in order to carry out signal input Corresponding screen intensity control.Every digitized video be all as combined by many points made of, these point be also known as pixel (pixels), usually each pixel can show many different colors, it is by red (R), green (G), blue (B) three sons Pixel composition.Wherein, red sub-pixel point is for being displayed in red and (glowing), and green sub-pixels point is for showing green (hair Green light), blue subpixels point is for being displayed in blue (blue light-emitting).The light source of each sub-pixel, behind can be shown Different gray scales.And grayscale is represented by most secretly to the stratum level of different brightness most bright.This intermediate level is more, The picture effect that can be presented is also finer and smoother.By taking 8bit panel as an example, 28 powers can be showed, are equal to 256 brightness Level, we are just referred to as 256 grayscale.Each pixel on display screen, is combined by the red, green, blue of different luminance levels, Ultimately form different color points.That is, on screen each pixel color change, be all by constituting this in fact Brought by the gray scale variation of three RGB sub-pixels of point.
In the embodiment of the present invention, which is exactly in display screen (such as OLED display screen or other display screens), red The all equal pixel of the grayscale value of sub-pixels point, green sub-pixels point and blue subpixels point.For example, including picture in display screen Vegetarian refreshments 1, pixel 2, pixel 3, pixel 4, pixel 5 and pixel 6, the grayscale value of the red sub-pixel point of pixel 1 Equal to the grayscale value of green sub-pixels point, the grayscale value of green sub-pixels point is equal to the grayscale value of blue subpixels point, then pixel Point 1 is target pixel points, other pixels are similarly.
102, user terminal judges whether the grayscale value of the sub-pixel point of target pixel points is greater than the first preset value.
In the embodiment of the present invention, if user terminal judges that the grayscale value of the sub-pixel point of target pixel points is greater than first and presets Value, then execute 103 parts.Optionally, if user terminal judges that the grayscale value of the sub-pixel point of target pixel points is pre- less than first If value, then terminate this process.
For example, the grayscale value of the sub-pixel point of target pixel points is 255, then user terminal judges whether 255 be greater than the One preset value.
103, the grayscale value of the sub-pixel point of target pixel points is set the second preset value by user terminal.
In the embodiment of the present invention, second preset value is less than the first preset value.For example, the red sub-pixel of target pixel points The grayscale value of point, green sub-pixels point and blue subpixels point is 255, and the first preset value is 200, then user terminal is by target The grayscale value of the red sub-pixel point of pixel, green sub-pixels point and blue subpixels point is disposed as 199, and (or other are less than 200 value).The grayscale value of the red sub-pixel point of target pixel points, green sub-pixels point and blue subpixels point is respectively provided with After 199, red sub-pixel point, green sub-pixels point and blue subpixels point just pass through grayscale value progress color and show.
In existing practical application, when pixel is that the grayscale value of sub-pixel point is equal, what target pixel points were shown Color is grey.When the grayscale value of group pixel is 255, the color of display is pure white, the grayscale value of group pixel When being 0, the color of display is ater.White is carried out content as background and shown by usual user terminal, and white Grayscale value is higher, and the organic material consumption of the higher display screen of grayscale value is bigger, therefore white background can be to organic material of display screen Material causes biggish consumption, and the higher white background of grayscale value also can be dazzling.By implementing method described in Fig. 1, user Terminal can determine target pixel points (i.e. the pixel that the grayscale value of sub-pixel point is equal), and judge the son of target pixel points Whether the grayscale value of pixel is greater than the first preset value.If it is default that the grayscale value of the sub-pixel point of target pixel points is greater than first Value, then the target pixel points are the pixel of white, which may be background.Therefore, by by target pixel points The grayscale value of sub-pixel point be set smaller than the second preset value of the first preset value, the grayscale value of background can be reduced, so both The display content that will not be watched user influences too much, and can delay display screen (such as OLED display screen or other display screens) Organic material the rate of decay, and by reduce background grayscale value also can avoid background it is dazzling.
Fig. 2 is referred to, Fig. 2 is the flow diagram of another grayscale setting method provided in an embodiment of the present invention.Such as Fig. 2 Shown, which may include 201~204 parts.Wherein:
201, user terminal determines target pixel points.
In the embodiment of the present invention, red sub-pixel point, green sub-pixels point and the blue subpixels point of the target pixel points Grayscale value it is equal.The specific embodiment of the part is identical as 101 parts, and for details, reference can be made to the descriptions of 101 parts, herein not It repeats again.
202, user terminal judges whether the grayscale value of the sub-pixel point of target pixel points is greater than the first preset value.
In the embodiment of the present invention, if user terminal judges that the grayscale value of the sub-pixel point of target pixel points is greater than first and presets Value, then execute 203 parts.Optionally, if user terminal judges that the grayscale value of the sub-pixel point of target pixel points is pre- less than first If value, then terminate this process.
203, user terminal judges whether the light intensity value of current environment is less than default light intensity value.
In the embodiment of the present invention, if user terminal judges that the light intensity value of current environment is less than default light intensity value, Then execute 204 parts.Optionally, if user terminal judges that the grayscale value of the sub-pixel point of target pixel points is greater than first and presets Value, then terminate this process.
204, the grayscale value of the sub-pixel point of target pixel points is set the second preset value by user terminal.
The specific embodiment of the part is identical as 103 parts, and for details, reference can be made to the descriptions of 103 parts, no longer superfluous herein It states.
In existing practical application, if ambient light is too strong, by background luminance adjust it is too low after will cause user Display picture cannot be seen clearly, therefore, the grayscale value of the sub-pixel point of target pixel points is just reduced when extraneous ambient light is weaker, User be can avoid can unclear picture when ambient light is too strong.
As an alternative embodiment, judging that the light intensity value of current environment is less than default light in user terminal After intensity value, user terminal can also carry out following steps:
11) it according to the corresponding relationship of preset ambient light intensity value and preset value, obtains strong with the light of current environment The corresponding preset value of angle value is the second preset value.Wherein, preset value is respectively less than the first preset value in the corresponding relationship.
Optionally, settable higher ambient light intensity value corresponds to higher preset value (i.e. grayscale value), for example, can set It sets ambient light intensity value (5) and corresponds to preset value (190), ambient light intensity value (10) is corresponding preset value (200), ambient light Intensity value (15) is corresponding preset value (210).If current environment light intensity value is 5, the second preset value is 190, user terminal The grayscale value of the sub-pixel point of target pixel points is disposed as 190.If current environment light intensity value is 10, second is default The grayscale value of the sub-pixel point of target pixel points is disposed as 200 by value 200, user terminal.If current environment light intensity value It is 15, then the grayscale value of the sub-pixel point of target pixel points is disposed as 210 by the second preset value 210, user terminal.Pass through reality The embodiment is applied, the grayscale value of sub-pixel point can be dynamically reduced according to ambient light intensity value, is reducing organic material Also ensure user to the viewing effect of display picture while consumption.
Fig. 3 is referred to, Fig. 3 is the flow diagram of another grayscale setting method provided in an embodiment of the present invention.Such as Fig. 3 Shown, which may include 301~305 parts.Wherein:
301, user terminal determines target pixel points.
In the embodiment of the present invention, red sub-pixel point, green sub-pixels point and the blue subpixels point of the target pixel points Grayscale value it is equal.The specific embodiment of the part is identical as 101 parts, and for details, reference can be made to the descriptions of 101 parts, herein not It repeats again.
302, user terminal judges whether the grayscale value of the sub-pixel point of target pixel points is greater than the first preset value.
In the embodiment of the present invention, if user terminal judges that the grayscale value of the sub-pixel point of target pixel points is greater than first and presets Value, then execute 303 parts.Optionally, if user terminal judges that the grayscale value of the sub-pixel point of target pixel points is pre- less than first If value, then terminate this process.
303, user terminal detects destination number.
In the embodiment of the present invention, destination number is that the grayscale value of sub-pixel point is greater than the target pixel points of the first preset value Quantity.For example, target pixel points include target pixel points 1, target pixel points 2, target pixel points 3, target pixel points 4, target Pixel 5 and target pixel points 6.Wherein, target pixel points 1, target pixel points 2, target pixel points 3, target pixel points 4 and mesh Marking pixel 5 is the target pixel points that grayscale value is greater than the first preset value, then destination number is 5.
304, user terminal is greater than the target pixel points of the first preset value according to the grayscale value of pre-set sub-pixel point Quantity and preset value corresponding relationship, obtaining the corresponding preset value of destination number is the second preset value.
Wherein, preset value is respectively less than the first preset value in the corresponding relationship.
Optionally, the quantity of settable biggish target pixel points corresponds to lower preset value (i.e. grayscale value), for example, can The quantity (5) that target pixel points are arranged is corresponding preset value (210), and the quantity (10) of target pixel points is corresponding preset value (200), mesh The quantity (15) for marking pixel is corresponding preset value (190).If destination number is 5, the second preset value is 210, and user terminal will The grayscale value of the sub-pixel point of target pixel points is disposed as 210.If destination number is 10, the second preset value 200.If target Quantity is 15, then the second preset value 190.
305, the grayscale value of the sub-pixel point of target pixel points is set the second preset value by user terminal.
The specific embodiment of the part is identical as 103 parts, and for details, reference can be made to the descriptions of 103 parts, no longer superfluous herein It states.
By method described in implementing Fig. 3, sub- picture can be dynamically adjusted according to the quantity of the pixel of white background The grayscale value of vegetarian refreshments, when the quantity of the pixel of white background is more, the reduction amplitude of grayscale value is larger, when white background When the negligible amounts of pixel, the reduction amplitude of grayscale value is smaller.It can guarantee the consumption ratio to the organic material of display screen in this way It is more stable, the wear rate of organic material can be efficiently controlled.
Fig. 4 is referred to, Fig. 4 is the flow diagram of another grayscale setting method provided in an embodiment of the present invention.Such as Fig. 4 Shown, which may include 401~404 parts.Wherein:
401, user terminal determines target pixel points.
In the embodiment of the present invention, red sub-pixel point, green sub-pixels point and the blue subpixels point of the target pixel points Grayscale value it is equal.The specific embodiment of the part is identical as 101 parts, and for details, reference can be made to the descriptions of 101 parts, herein not It repeats again.
402, user terminal judges whether the grayscale value of the sub-pixel point of target pixel points is greater than the first preset value.
In the embodiment of the present invention, if user terminal judges that the grayscale value of the sub-pixel point of target pixel points is greater than first and presets Value, then execute 403 parts.Optionally, if user terminal judges that the grayscale value of the sub-pixel point of target pixel points is pre- less than first If value, then terminate this process.
403, user terminal calculates target attenuation degree value.
In the embodiment of the present invention, which is that the grayscale value of sub-pixel point is greater than the target of the first preset value The average attenuation degree value of the organic material of pixel.Attenuation degree value is that the attenuation of organic material accounts for the total amount of organic material Ratio.For example, target pixel points include target pixel points 1, target pixel points 2, target pixel points 3, target pixel points 4, mesh Mark pixel 5 and target pixel points 6.Wherein, target pixel points 1, target pixel points 2 and target pixel points 3 are greater than for grayscale value The target pixel points of first preset value, then the target attenuation degree value is target pixel points 1, target pixel points 2 and object pixel The average attenuation degree value of the organic material of point 3.
404, user terminal obtains target and declines according to the corresponding relationship of pre-set average attenuation degree value and preset value Subtracting the corresponding preset value of degree value is the second preset value.
Wherein, preset value is respectively less than the first preset value in the corresponding relationship.
Optionally, settable biggish average attenuation degree value corresponds to lower preset value (i.e. grayscale value), for example, can set The equal attenuation degree value (3%) of horizontalization is corresponding preset value (210), and average attenuation degree value (5%) is corresponding preset value (200), average Attenuation degree value (10%) is corresponding preset value (190).If average attenuation degree value is 3%, the second preset value is 210.If flat Equal attenuation degree value is 5%, then the second preset value 200.If average attenuation degree value is 10%, the second preset value 190.
405, the grayscale value of the sub-pixel point of target pixel points is set the second preset value by user terminal.
By implementing method described in Fig. 4, when the average attenuation degree value of organic material is larger, the reduction of grayscale value Amplitude is larger, and when the average attenuation degree value of organic material is smaller, the reduction amplitude of grayscale value is smaller.It is can guarantee in this way to aobvious The consumption of the organic material of display screen is more stable, can efficiently control the wear rate of organic material.
Referring to Fig. 5, Fig. 5 is a kind of structural schematic diagram of user terminal provided in an embodiment of the present invention.As shown in figure 5, The user terminal of the embodiment of the present invention can include determining that module 501, judgment module 502 and setup module 503.Wherein:
Determining module 501, for determining target pixel points, red sub-pixel point, the sub- picture of green of the target pixel points The grayscale value of vegetarian refreshments and blue subpixels point is equal.
Judgment module 502, for judging it is default whether the grayscale value of sub-pixel point of the target pixel points is greater than first Value.
Setup module 503, the grayscale value of the sub-pixel point for judging the target pixel points in the judgment module 502 After first preset value, the second preset value, institute are set by the grayscale value of the sub-pixel point of the target pixel points The second preset value is stated less than first preset value.
Further, referring to Fig. 6, Fig. 6 is the structural schematic diagram of another user terminal provided in an embodiment of the present invention. Specifically, the user terminal of the embodiment of the present invention is in addition to all modules for including user terminal shown in fig. 5, it further include first Obtain module 504.Wherein:
Judgment module 502 is also used to judge that the grayscale value of the sub-pixel point of target pixel points is greater than the in judgment module 502 After one preset value, judge whether the light intensity value of current environment is less than default light intensity value.
Setup module 503 is specifically used for:
The light intensity value of environment is less than after default light intensity value before judgment module 502 judges, then by target picture The grayscale value of the sub-pixel point of vegetarian refreshments is set as the second preset value.
First obtains module 504, and it is strong that the light intensity value for the environment before judgment module 502 judges is less than default light After angle value, according to the corresponding relationship of preset ambient light intensity value and preset value, the light intensity with current environment is obtained Being worth corresponding preset value is the second preset value.
Wherein, preset value is respectively less than the first preset value in corresponding relationship.
Further, referring to Fig. 7, Fig. 7 is the structural schematic diagram of another user terminal provided in an embodiment of the present invention. Specifically, the user terminal of the embodiment of the present invention further includes detection in addition to all modules for including user terminal shown in fig. 5 Module 505 and second obtains module 506.Wherein:
Detection module 505, for judging that the grayscale value of sub-pixel point of target pixel points is greater than first in judgment module 502 After preset value, destination number is detected, destination number is that the grayscale value of sub-pixel point is greater than the target pixel points of the first preset value Quantity.
Second obtains module 506, for being greater than the mesh of the first preset value according to the grayscale value of pre-set sub-pixel point The quantity of pixel and the corresponding relationship of preset value are marked, obtaining the corresponding preset value of destination number is the second preset value.
Wherein, preset value is respectively less than the first preset value in corresponding relationship.
Further, referring to Fig. 8, Fig. 8 is the structural schematic diagram of another user terminal provided in an embodiment of the present invention. Specifically, the user terminal of the embodiment of the present invention further includes calculating in addition to all modules for including user terminal shown in fig. 5 Module 507 and third obtain module 508.Wherein:
Computing module 507, for judging that the grayscale value of sub-pixel point of target pixel points is greater than first in judgment module 502 After preset value, target attenuation degree value is calculated, target attenuation degree value is that the grayscale value of sub-pixel point is greater than the first preset value Target pixel points organic material average attenuation degree value.
Third obtains module 508 and obtains for the corresponding relationship according to pre-set average attenuation degree value and preset value Taking the corresponding preset value of target attenuation degree value is the second preset value.
Wherein, preset value is respectively less than the first preset value in corresponding relationship.
The embodiment of the invention also provides a kind of user terminal, by taking the user terminal is mobile phone as an example, Fig. 9 show with The block diagram of the part-structure of the relevant mobile phone 900 of the embodiment of the present invention.With reference to Fig. 9, mobile phone 900 includes RF (Radio Frequency, radio frequency) circuit 901, memory 902, other input equipments 903, display screen 904, sensor 905, voicefrequency circuit 906, the components such as I/O subsystem 907, processor 908 and power supply 909.It will be understood by those skilled in the art that being shown in Fig. 9 Handset structure do not constitute the restriction to mobile phone, may include than illustrating more or fewer components, or the certain portions of combination Part perhaps splits certain components or different component layouts.
It is specifically introduced below with reference to each component parts of the Fig. 9 to mobile phone 900:
RF circuit 901 can be used for receiving and sending messages or communication process in, signal sends and receivees, particularly, by base station After downlink information receives, handled to processor 908;In addition, the data for designing uplink are sent to base station.In general, RF circuit packet Include but be not limited to antenna, at least one amplifier, transceiver, coupler, LNA (Low Noise Amplifier, low noise Amplifier), duplexer etc..In addition, RF circuit 901 can also be communicated with network and other equipment by wireless communication.The nothing Any communication standard or agreement, including but not limited to GSM (Global System of Mobile can be used in line communication Communication, global system for mobile communications), GPRS (General Packet Radio Service, general packet without Line service), CDMA (Code Division Multiple Access, CDMA), WCDMA (Wideband Code Division Multiple Access, wideband code division multiple access), LTE (Long Term Evolution, long term evolution), electronics Mail, SMS (Short Messaging Service, short message service) etc..
Memory 902 can be used for storing computer executable program code, and program code includes instruction;Processor 908 is logical Software program and module that operation is stored in memory 902 are crossed, thereby executing the various function application and data of mobile phone 900 Processing.Wherein, storing program area can application program needed for storage program area, at least one function (for example sound plays function Energy, image playing function etc.) etc.;Storage data area, which can be stored, uses created data (such as audio number according to mobile phone 900 According to, phone directory etc.) etc..In addition, memory 902 may include ROM and RAM, may also include high-speed random access memory, it is non-easily The property lost memory, a for example, at least disk memory, flush memory device or other volatile solid-state parts.
Other input equipments 903 can be used for receiving the number or character information of input, and generate the user with mobile phone 900 Setting and the related key signals input of function control.Specifically, other input equipments 903 may include but be not limited to secondary or physical bond (light mouse is that do not show can for disk, function key (such as volume control button, switch key etc.), trace ball, mouse, operating stick, light mouse Depending on the touch sensitive surface exported, or the extension of touch sensitive surface formed by touch screen) etc. one of or it is a variety of. Other input equipments 903 are connected with other input device controls devices 171 of I/O subsystem 907, in other equipment input control Signal interaction is carried out with processor 908 under the control of device 171.
Display screen 904 can be used for showing information input by user or be supplied to user information and mobile phone 900 it is each Kind menu can also receive user's input.For example, display screen 904, which can be shown in above method embodiment, needs information to be shown, As do not read exclusive message, the selective listing including MESSAGE OPTIONS, the selective listing of the options including multiple periods, upwards It jumps arrow or jumps arrow etc. downwards.Specific display screen 904 may include display panel 141 and touch panel 142.Its Middle display panel 141 can use LCD (Liquid Crystal Display, liquid crystal display), OLED (Organic Light-Emitting Diode, Organic Light Emitting Diode) etc. forms configure display panel 141.Touch panel 142, also referred to as For touch screen, touch-sensitive screen etc., collecting the on it or neighbouring contact of user or Touchless manipulation, (for example user uses hand The operation of any suitable object or attachment such as finger, stylus on touch panel 142 or near touch panel 142, can also be with Including somatosensory operation;The operation includes the action types such as single-point control operation, multiparty control operation.), and according to preset Formula drives corresponding attachment device.Optionally, touch panel 142 may include two portions of touch detecting apparatus and touch controller Point.Wherein, touch orientation, the posture of touch detecting apparatus detection user, and touch operation bring signal is detected, signal is passed Give touch controller;Touch controller receives touch information from touch detecting apparatus, and being converted into processor can The information of processing, then give processor 908, and order that processor 908 is sent can be received and executed.Furthermore, it is possible to adopt Touch panel 142 is realized with multiple types such as resistance-type, condenser type, infrared ray and surface acoustic waves, it can also be using the following hair Any technology of exhibition realizes touch panel 142.Further, touch panel 142 can cover display panel 141, and user can root (the display content includes but is not limited to soft keyboard, virtual mouse, virtual key, icon to the content shown according to display panel 141 Etc.), covered on display panel 141 on the touch panel 142 or nearby operated, touch panel 142 detects After touch operation on it or nearby, processor 908 is sent to determine the type of touch event by I/O subsystem 907 To determine that user inputs, it is followed by subsequent processing device 908 and is inputted according to user through I/O according to the type of touch event in display panel System 907 provides corresponding visual output on display panel 141.Although in Fig. 9, touch panel 142 and display panel 141 It is the input and input function of mobile phone 900 to be realized as two independent components, but in some embodiments it is possible to will touch Control panel 142 and display panel 141 are integrated and that realizes mobile phone 900 output and input function.
Mobile phone 900 may also include at least one sensor 905, for example, fingerprint sensor, optical sensor, motion sensor, Gyroscope, acceleration transducer and other sensors.Specifically, optical sensor may include ambient light sensor and close sensing Device, wherein ambient light sensor can adjust the brightness of display panel 141 according to the light and shade of ambient light, and proximity sensor can When mobile phone 900 is moved in one's ear, display panel 141 and/or backlight are closed.As a kind of motion sensor, accelerometer passes Sensor can detect the size of (generally three axis) acceleration in all directions, can detect that size and the direction of gravity when static, Application (such as horizontal/vertical screen switching, dependent game, magnetometer pose calibrating), the Vibration identification that can be used to identify mobile phone posture are related Function (such as pedometer, percussion) etc.;It can also configure barometer, hygrometer, thermometer, infrared sensor as mobile phone 900 Etc. other sensors, details are not described herein.
Voicefrequency circuit 906, loudspeaker 161, microphone 162 can provide the audio interface between user and mobile phone 900.Audio Signal after the audio data received conversion can be transferred to loudspeaker 161, be converted to sound by loudspeaker 161 by circuit 906 Signal output;On the other hand, the voice signal of collection is converted to signal by microphone 162, is converted after being received by voicefrequency circuit 906 For audio data, then audio data exported to RF circuit 901 to be sent to such as another mobile phone, or audio data is exported To memory 902 to be further processed.
I/O subsystem 907 is used to control the external equipments of input and output, may include other input device controls devices 171, Sensor controller 172, display controller 173.Optionally, other one or more input device controls devices 171 are defeated from other Enter equipment 903 to receive signal and/or send signal to other input equipments 903, other input equipments 903 may include physics Button (push button, rocker buttons etc.), dial, slide switch, control stick, click idler wheel, (light mouse is that do not show can to light mouse Depending on the touch sensitive surface exported, or the extension of touch sensitive surface formed by touch screen).It is worth noting that He can connect input device controls device 171 with any one or multiple above equipments.Display in the I/O subsystem 907 Controller 173 receives signal from display screen 904 and/or sends signal to display screen 904.Display screen 904 detects that user is defeated After entering, user's input that display controller 173 will test is converted to and is shown in the user interface object on display screen 904 Interaction, i.e. realization human-computer interaction.Sensor controller 172 can from one or more sensor 905 receive signal and/or Signal is sent to one or more sensor 905.
Processor 908 is the control centre of mobile phone 900, utilizes each portion of various interfaces and connection whole mobile phone Point, by running or execute the software program and/or module that are stored in memory 902, and calls and be stored in memory 902 Interior data execute the various functions and processing data of mobile phone 900, to carry out integral monitoring to mobile phone.Optionally, processor 908 may include one or more processing units;Preferably, processor 908 can integrate application processor and modem processor, Wherein, the main processing operation system of application processor, user interface and application program etc., modem processor mainly handles nothing Line communication.It is understood that above-mentioned modem processor can not also be integrated into processor 908.When processor 908 is held When the instruction that line storage 902 is stored, instruction makes the information display method of the execution embodiment of the present invention of mobile phone 900, Ke Yican The corresponding description of other implementation procedures of user terminal in 101~103 parts or the above method embodiment in Fig. 1 is examined, herein It repeats no more.Based on the same inventive concept, the principle and the present invention that the user terminal provided in the embodiment of the present invention solves the problems, such as Information display method in embodiment of the method is similar, therefore the implementation of the user terminal may refer to the implementation of the above method, be Succinct description, repeats no more herein.
Mobile phone 900 further includes the power supply 909 (such as battery) powered to all parts, it is preferred that power supply can pass through electricity Management system and processor 908 are logically contiguous, to realize management charging, electric discharge and power consumption by power-supply management system Etc. functions.
Although being not shown, mobile phone 900 can also include camera, bluetooth module etc., and details are not described herein.
In addition, the embodiment of the invention also provides a kind of non-volatile computer for storing one or more program is readable Storage medium, the non-volatile computer readable storage medium storing program for executing are stored at least one program, and each described program includes referring to Enable, the instruction when by user terminal provided in an embodiment of the present invention execute when, make user terminal execute Fig. 1 of the embodiment of the present invention~ The implementation procedure of user terminal in Fig. 4.Specifically, can with reference in embodiment of the method in FIG. 1 to FIG. 4 user terminal other The corresponding description of implementation procedure, details are not described herein.
Description and claims of this specification and term " first " in above-mentioned attached drawing, " second ", " third " etc. are For distinguishing different objects, not for description particular order.In addition, term " includes " and their any deformations, it is intended that Non-exclusive include in covering.Such as it contains series of steps or the process, method, system, product or equipment of module and does not have It is defined in listed step or module, but optionally further comprising the step of not listing or module, or optionally further comprising For these process, methods, product or equipment intrinsic other steps or module.
Referenced herein " embodiment " is it is meant that a particular feature, structure, or characteristic described can wrap in conjunction with the embodiments Containing at least one embodiment of the present invention.Each position in the description occur the phrase might not each mean it is identical Embodiment, nor the independent or alternative embodiment with other embodiments mutual exclusion.Those skilled in the art explicitly and Implicitly understand, embodiment described herein can be combined with other embodiments.
It should be noted that all the embodiments in this specification are described in a progressive manner, each embodiment weight Point explanation is all differences from other embodiments, and the same or similar parts between the embodiments can be referred to each other. For device embodiment, since it is basically similar to the method embodiment, so being described relatively simple, related place referring to The part of embodiment of the method illustrates.
The steps in the embodiment of the present invention can be sequentially adjusted, merged and deleted according to actual needs.
Module in the user terminal of the embodiment of the present invention can be combined, divided and deleted according to actual needs.
Those of ordinary skill in the art will appreciate that all or part of the steps in the various methods of above-described embodiment is can It is completed with instructing the relevant hardware of terminal device by program, which can store in a computer readable storage medium In, storage medium may include: flash disk, read-only memory (Read-Only Memory, ROM), random access device (Random Access Memory, RAM), disk or CD etc..
Finally, it should be noted that the above embodiments are only used to illustrate the technical solution of the present invention., rather than its limitations;To the greatest extent Pipe present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that: its according to So be possible to modify the technical solutions described in the foregoing embodiments, or to some or all of the technical features into Row equivalent replacement;And these are modified or replaceed, various embodiments of the present invention technology that it does not separate the essence of the corresponding technical solution The range of scheme.

Claims (12)

1. a kind of grayscale setting method, which is characterized in that the described method includes:
Determine target pixel points, the red sub-pixel points of the target pixel points, green sub-pixels point and blue subpixels point Grayscale value is equal;
Judge whether the grayscale value of the sub-pixel point of the target pixel points is greater than the first preset value;
If the grayscale value of the sub-pixel point of the target pixel points is greater than first preset value, by the target pixel points The grayscale value of each sub-pixel point is set as the second preset value, and second preset value is less than first preset value.
2. the method according to claim 1, wherein in the grayscale for the sub-pixel point for judging the target pixel points Value is greater than after first preset value, the method also includes:
Judge whether the light intensity value of current environment is less than default light intensity value;
If the light intensity value of current environment is less than the default light intensity value, execute described by the target pixel points The step of grayscale value of each sub-pixel point is set as the second preset value.
3. according to the method described in claim 2, it is characterized in that, being less than in the light intensity value for judging current environment described pre- If after light intensity value, the method also includes:
According to the corresponding relationship of preset ambient light intensity value and preset value, the light intensity value with the current environment is obtained Corresponding preset value is second preset value;
Wherein, preset value is respectively less than first preset value in the corresponding relationship.
4. the method according to claim 1, wherein in the grayscale for the sub-pixel point for judging the target pixel points Value is greater than after first preset value, the method also includes:
Destination number is detected, the destination number is that the grayscale value of sub-pixel point is greater than the target pixel points of first preset value Quantity;
It is greater than the quantity of the target pixel points of first preset value according to the grayscale value of pre-set sub-pixel point and presets The corresponding relationship of value, obtaining the corresponding preset value of the destination number is second preset value;
Wherein, preset value is respectively less than first preset value in the corresponding relationship.
5. the method according to claim 1, wherein in the grayscale for the sub-pixel point for judging the target pixel points Value is greater than after first preset value, the method also includes:
Target attenuation degree value is calculated, the target attenuation degree value is that the grayscale value of sub-pixel point is greater than first preset value Target pixel points organic material average attenuation degree value;
According to the corresponding relationship of pre-set average attenuation degree value and preset value, it is corresponding to obtain the target attenuation degree value Preset value be second preset value;
Wherein, preset value is respectively less than first preset value in the corresponding relationship.
6. a kind of user terminal, which is characterized in that the user terminal includes:
Determining module, for determining target pixel points, red sub-pixel point, green sub-pixels point and the indigo plant of the target pixel points The grayscale value of sub-pixels point is equal;
Judgment module, for judging whether the grayscale value of sub-pixel point of the target pixel points is greater than the first preset value;
Setup module, for judging that the grayscale value of sub-pixel point of the target pixel points is greater than described the in the judgment module After one preset value, the second preset value is set by the grayscale value of each sub-pixel point of the target pixel points, described second is pre- If value is less than first preset value.
7. user terminal according to claim 6, which is characterized in that
The judgment module is also used to judge that the grayscale value of the sub-pixel point of the target pixel points is greater than in the judgment module After first preset value, judge whether the light intensity value of current environment is less than default light intensity value;
The setup module is specifically used for:
After the light intensity value of environment is less than the default light intensity value before the judgment module judges, then by the mesh The grayscale value for marking the sub-pixel point of pixel is set as the second preset value.
8. user terminal according to claim 7, which is characterized in that the user terminal further include:
First obtains module, and the light intensity value for the environment before the judgment module judges is less than the default light intensity After value, according to the corresponding relationship of preset ambient light intensity value and preset value, obtain strong with the light of the current environment The corresponding preset value of angle value is second preset value;
Wherein, preset value is respectively less than first preset value in the corresponding relationship.
9. user terminal according to claim 6, which is characterized in that the user terminal further include:
Detection module, for judging that the grayscale value of sub-pixel point of the target pixel points is greater than described the in the judgment module After one preset value, destination number is detected, the destination number is that the grayscale value of sub-pixel point is greater than first preset value The quantity of target pixel points;
Second obtains module, for being greater than the target picture of first preset value according to the grayscale value of pre-set sub-pixel point The quantity of vegetarian refreshments and the corresponding relationship of preset value, obtaining the corresponding preset value of the destination number is second preset value;
Wherein, preset value is respectively less than first preset value in the corresponding relationship.
10. user terminal according to claim 6, which is characterized in that the user terminal further include:
Computing module, for judging that the grayscale value of sub-pixel point of the target pixel points is greater than described the in the judgment module After one preset value, target attenuation degree value is calculated, the target attenuation degree value is described in the grayscale value of sub-pixel point is greater than The average attenuation degree value of the organic material of the target pixel points of first preset value;
Third obtains module, for the corresponding relationship according to pre-set average attenuation degree value and preset value, described in acquisition The corresponding preset value of target attenuation degree value is second preset value;
Wherein, preset value is respectively less than first preset value in the corresponding relationship.
11. a kind of user terminal, which is characterized in that the user terminal includes: one or more processors, memory, bus System and one or more programs, the processor are connected with the memory by the bus system;Wherein, described one A or multiple programs are stored in the memory, and one or more of programs include instruction, and described instruction is when described User terminal makes the user terminal execute method as claimed in any one of claims 1 to 5, wherein when executing.
12. a kind of computer readable storage medium, which is characterized in that the computer-readable recording medium storage has computer journey Sequence, the computer program is for instructing the relevant hardware of terminal device, to complete as described in Claims 1 to 5 any one Method.
CN201710155095.8A 2017-03-14 2017-03-14 A kind of grayscale setting method and user terminal Active CN106952611B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710155095.8A CN106952611B (en) 2017-03-14 2017-03-14 A kind of grayscale setting method and user terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710155095.8A CN106952611B (en) 2017-03-14 2017-03-14 A kind of grayscale setting method and user terminal

Publications (2)

Publication Number Publication Date
CN106952611A CN106952611A (en) 2017-07-14
CN106952611B true CN106952611B (en) 2019-05-10

Family

ID=59473281

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710155095.8A Active CN106952611B (en) 2017-03-14 2017-03-14 A kind of grayscale setting method and user terminal

Country Status (1)

Country Link
CN (1) CN106952611B (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107731149B (en) 2017-11-01 2023-04-11 北京京东方显示技术有限公司 Driving method and driving circuit of display panel, display panel and display device
CN109377941B (en) * 2018-12-21 2020-09-01 深圳市华星光电半导体显示技术有限公司 Image display device and image display adjusting method
CN111340730B (en) * 2020-02-26 2023-05-09 Oppo广东移动通信有限公司 Method for eliminating smear phenomenon, terminal and storage medium
CN112967648B (en) * 2021-02-26 2022-08-23 昆山工研院新型平板显示技术中心有限公司 Display control method and display device
CN114613327B (en) * 2022-03-10 2024-05-24 海信视像科技股份有限公司 OLED display equipment and OLED display method

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101009078A (en) * 2006-01-27 2007-08-01 精工爱普生株式会社 Light emitting device, image processing device, and electronic apparatus
CN103745688A (en) * 2014-01-02 2014-04-23 青岛海信电器股份有限公司 OELD (Organic Electron Luminescence) display device and display method thereof
CN103856823A (en) * 2012-12-06 2014-06-11 腾讯科技(深圳)有限公司 Interface adjustment method, device and terminal
CN104966492A (en) * 2015-06-03 2015-10-07 友达光电股份有限公司 Driving method of display device
CN105788527A (en) * 2016-03-31 2016-07-20 广东欧珀移动通信有限公司 Pixel call method and pixel call device

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI319562B (en) * 2004-11-26 2010-01-11 Au Optronics Corp Spontaneously color compensating control apparatus and method thereof
US20070109284A1 (en) * 2005-08-12 2007-05-17 Semiconductor Energy Laboratory Co., Ltd. Display device

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101009078A (en) * 2006-01-27 2007-08-01 精工爱普生株式会社 Light emitting device, image processing device, and electronic apparatus
CN103856823A (en) * 2012-12-06 2014-06-11 腾讯科技(深圳)有限公司 Interface adjustment method, device and terminal
CN103745688A (en) * 2014-01-02 2014-04-23 青岛海信电器股份有限公司 OELD (Organic Electron Luminescence) display device and display method thereof
CN104966492A (en) * 2015-06-03 2015-10-07 友达光电股份有限公司 Driving method of display device
CN105788527A (en) * 2016-03-31 2016-07-20 广东欧珀移动通信有限公司 Pixel call method and pixel call device

Also Published As

Publication number Publication date
CN106952611A (en) 2017-07-14

Similar Documents

Publication Publication Date Title
CN106952611B (en) A kind of grayscale setting method and user terminal
CN108287744B (en) Character display method, device and storage medium
US9697622B2 (en) Interface adjustment method, apparatus, and terminal
CN105867730B (en) The display methods and device of status bar
CN107731146A (en) Brightness adjusting method and related product
CN107665697A (en) The adjusting method and mobile terminal of a kind of screen intensity
CN109992231A (en) Throw screen method and terminal
CN107273036A (en) Mobile terminal and its split screen control method, computer-readable recording medium
CN108429888B (en) Light supplementing method and mobile terminal
CN107845363B (en) A kind of display control method and mobile terminal
CN108595201A (en) A kind of application program update method and mobile terminal
CN107895352A (en) A kind of image processing method and mobile terminal
CN108156393A (en) Image capturing method, mobile terminal and computer readable storage medium
CN110417999A (en) Screen luminance adjustment method, mobile terminal and computer readable storage medium
CN106204552A (en) The detection method of a kind of video source and device
CN108512991A (en) A kind of based reminding method, mobile terminal and computer readable storage medium
CN107103074A (en) The processing method and mobile terminal of a kind of sharing information
CN109817130A (en) A kind of colour temperature regulation method, equipment and computer readable storage medium
CN106873755A (en) Screen electricity-saving control method, device and mobile terminal
CN109616081A (en) Display lightness regulating method, flexible screen terminal and computer readable storage medium
CN108845785A (en) A kind of display methods and terminal
CN107957914A (en) A kind of information processing method and mobile terminal
CN108234893A (en) A kind of brightness adjusting method, equipment and computer readable storage medium
CN109462732A (en) A kind of image processing method, equipment and computer readable storage medium
CN108200294A (en) Write letters the method, apparatus reminded and computer readable storage medium

Legal Events

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

Address after: 523860 No. 18, Wu Sha Beach Road, Changan Town, Dongguan, Guangdong

Applicant after: OPPO Guangdong Mobile Communications Co., Ltd.

Address before: 523860 No. 18, Wu Sha Beach Road, Changan Town, Dongguan, Guangdong

Applicant before: Guangdong OPPO Mobile Communications Co., Ltd.

GR01 Patent grant
GR01 Patent grant