CN108986753B - Interface display method and device - Google Patents
Interface display method and device Download PDFInfo
- Publication number
- CN108986753B CN108986753B CN201810698292.9A CN201810698292A CN108986753B CN 108986753 B CN108986753 B CN 108986753B CN 201810698292 A CN201810698292 A CN 201810698292A CN 108986753 B CN108986753 B CN 108986753B
- Authority
- CN
- China
- Prior art keywords
- data
- black
- pixel
- white
- interface
- 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
Links
- 238000000034 method Methods 0.000 title claims abstract description 49
- 239000004973 liquid crystal related substance Substances 0.000 claims abstract description 53
- 239000000872 buffer Substances 0.000 claims description 58
- 238000001514 detection method Methods 0.000 claims description 22
- 230000008859 change Effects 0.000 claims description 21
- 238000012545 processing Methods 0.000 claims description 18
- 230000003139 buffering effect Effects 0.000 claims description 14
- 239000003086 colorant Substances 0.000 claims description 14
- 230000007306 turnover Effects 0.000 claims description 8
- 238000005516 engineering process Methods 0.000 abstract description 8
- 238000004891 communication Methods 0.000 description 10
- 238000010586 diagram Methods 0.000 description 10
- 230000008569 process Effects 0.000 description 5
- 230000003287 optical effect Effects 0.000 description 4
- 230000005236 sound signal Effects 0.000 description 4
- 230000001133 acceleration Effects 0.000 description 2
- 238000013459 approach Methods 0.000 description 2
- 230000003111 delayed effect Effects 0.000 description 2
- 230000003993 interaction Effects 0.000 description 2
- 238000007726 management method Methods 0.000 description 2
- 230000003068 static effect Effects 0.000 description 2
- 230000009471 action Effects 0.000 description 1
- 230000006978 adaptation Effects 0.000 description 1
- 238000003491 array Methods 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 230000000052 comparative effect Effects 0.000 description 1
- 238000013500 data storage Methods 0.000 description 1
- 230000001815 facial effect Effects 0.000 description 1
- 230000006870 function Effects 0.000 description 1
- 238000003384 imaging method Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000002093 peripheral effect Effects 0.000 description 1
- 238000011084 recovery Methods 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G09—EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
- G09G—ARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
- G09G3/00—Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes
- G09G3/20—Control 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/34—Control 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 by control of light from an independent source
- G09G3/36—Control 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 by control of light from an independent source using liquid crystals
- G09G3/3607—Control 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 by control of light from an independent source using liquid crystals for displaying colours or for displaying grey scales with a specific pixel layout, e.g. using sub-pixels
Landscapes
- Engineering & Computer Science (AREA)
- Chemical & Material Sciences (AREA)
- Crystallography & Structural Chemistry (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 disclosure relates to an interface display method and device, and belongs to the field of electronic technology application. The method comprises the following steps: when the terminal is in an appointed display mode and the terminal displays a black-white interface, judging whether the content of the black-white interface changes or not, wherein in the appointed display mode, the difference of the turning voltages loaded on at least two sub-pixels in each pixel of a liquid crystal display screen of the terminal is larger than an appointed difference threshold value; when the content of the black-white interface is determined to be changed, determining a target area of the black-white interface, the content of which is changed; when the content of the target area changes, the turning voltage loaded on at least one sub-pixel in each pixel in the target area is adjusted, so that the difference of the turning voltages loaded on any two sub-pixels in each pixel in the target area is not larger than the difference threshold. The method and the device reduce the trailing phenomenon when the terminal displays a black-white interface in the appointed display mode. The interface display method is used for interface display of the terminal.
Description
Technical Field
The present disclosure relates to the field of electronic technology application, and in particular, to an interface display method and apparatus.
Background
The liquid crystal display panel includes a plurality of pixels, each including a red sub-pixel, a green sub-pixel, and a blue sub-pixel, and at present, the three sub-pixels are generally referred to as three color channels. When the liquid crystal display screen of the terminal carries out interface display, voltages are respectively loaded on the three sub-pixels so as to adjust the deflection angle of the liquid crystal in each sub-pixel.
However, in the eye protection mode, the voltage applied to the blue sub-pixel is less than the voltages applied to the red sub-pixel and the green sub-pixel, and when the liquid crystal display screen displays a black-and-white interface, the liquid crystal turning speed of the blue sub-pixel is delayed due to the fact that the voltage applied to the blue sub-pixel is small, and the black-and-white interface is trailing.
Disclosure of Invention
The embodiment of the disclosure provides an interface display method, which can solve the problems in the prior art. The technical scheme is as follows:
according to a first aspect of the embodiments of the present disclosure, there is provided an interface display method, including:
when a terminal is in a designated display mode and displays a black-and-white interface, judging whether the content of the black-and-white interface changes, wherein in the designated display mode, the difference of turning voltages loaded on at least two sub-pixels in each pixel of a liquid crystal display screen of the terminal is larger than a designated difference threshold value, and the turning voltage is the maximum driving voltage for controlling liquid crystal turning;
when the content of the black-white interface is determined to be changed, determining a target area of the black-white interface, the content of which is changed;
when the content of the target area changes, adjusting the turning voltage loaded on at least one sub-pixel in each pixel in the target area, so that the difference between the turning voltages loaded on any two sub-pixels in each pixel in the target area is not larger than the difference threshold.
Optionally, the terminal includes a panel driving chip, the panel driving chip includes a buffer for buffering data of a next image frame of the currently displayed image frame,
the judging whether the content of the black-white interface changes includes:
detecting whether each line of data of the image frame cached in the buffer is the same as the data of the corresponding line of the currently displayed image frame;
when the data of the corresponding lines are different, determining that the content of the black-white interface can be changed;
and when the data of the corresponding line is not different, determining that the content of the black-white interface is not changed.
Optionally, the method further includes:
and when the terminal is in the designated display mode, detecting whether the terminal displays a black-and-white interface.
Optionally, the terminal includes a panel driving chip, the panel driving chip includes a buffer for buffering data of a next image frame of the currently displayed image frame,
the detecting whether the terminal displays a black-and-white interface includes:
detecting data of the image frames cached in the cache;
and when the data of the cached image frame consists of first data and second data, determining that the terminal displays a black-and-white interface, wherein the difference value between the first data and the white corresponding data is smaller than a first difference threshold value, and the difference value between the second data and the black corresponding data is smaller than a second difference threshold value.
Optionally, the terminal includes a panel driving chip, the panel driving chip includes a buffer, the buffer is used for buffering data of a next image frame of a currently displayed image frame, and the detecting whether the terminal displays a black-and-white interface includes:
generating a histogram based on the data of the image frames cached in the cache, wherein a first axis in the histogram represents data corresponding to different colors, and a second axis represents the distribution condition of the data corresponding to the different colors;
and detecting whether the terminal displays a black-white interface or not based on the distribution condition of the black corresponding data and the white corresponding data in the histogram.
Optionally, the detecting whether the terminal displays a black-and-white interface based on the distribution of the black corresponding data and the white corresponding data in the histogram includes:
when only black corresponding data and white corresponding data are distributed in the histogram, determining that the terminal displays a black-white interface;
or when the sum of the distribution ratios of the black corresponding data and the white corresponding data in the histogram is larger than a specified ratio threshold, determining that the terminal displays a black-and-white interface.
Optionally, the terminal includes a panel driving chip, the panel driving chip includes a buffer for buffering data of a next image frame of the currently displayed image frame,
the determining a target area in the black-and-white interface where content may change includes:
determining a target line data corresponding region in the image frame cached in the buffer as the target region, wherein each target line data is different from the data of the corresponding line of the currently displayed image frame;
or, determining the pixels in the image frame buffered in the buffer, which are different from the data in the currently displayed image frame, as the target area.
Optionally, the terminal comprises an application processor,
the determining a target area in the black-and-white interface where content may change includes:
and determining a target area of the black-white interface where the content can be changed by an application processor.
Optionally, the designated display mode is an eye protection mode, each pixel includes a red sub-pixel, a green sub-pixel and a blue sub-pixel, in the eye protection mode, the turning voltages loaded on the red sub-pixel and the green sub-pixel in each pixel are equal and are a first turning voltage, and the difference between a second turning voltage loaded on the blue sub-pixel and the first turning voltage is greater than the difference threshold;
the adjusting the turning voltage loaded on at least one sub-pixel in each pixel in the target region so that the difference between the turning voltages loaded on any two sub-pixels in each pixel in the target region is not greater than the difference threshold includes:
and increasing the turning voltage loaded on the blue sub-pixel, so that the difference between the turning voltage loaded on the blue sub-pixel and the first turning voltage is not larger than the difference threshold value.
Optionally, the method further includes:
after the inversion voltage loaded on at least one sub-pixel in each pixel in the target area is adjusted, when the content of the black-white interface is determined not to change, the inversion voltage on the at least one sub-pixel is restored to the inversion voltage before adjustment.
According to a second aspect of the embodiments of the present disclosure, there is provided an interface display apparatus including:
the terminal comprises a judging module and a control module, wherein the judging module is configured to judge whether the content of a black-white interface changes or not when the terminal is in a specified display mode and the terminal displays the black-white interface, the difference of turning voltages loaded on at least two sub-pixels in each pixel of a liquid crystal display screen of the terminal is larger than a specified difference threshold value in the specified display mode, and the turning voltage is the maximum driving voltage for controlling liquid crystal turning;
the determining module is configured to determine a target area with changeable content in the black-white interface when the content of the black-white interface is determined to be changed;
the adjusting module is configured to adjust the turning voltages loaded on at least one sub-pixel in each pixel in the target area when the content of the target area changes, so that the difference between the turning voltages loaded on any two sub-pixels in each pixel in the target area is not greater than the difference threshold.
Optionally, the terminal includes a panel driving chip, the panel driving chip includes a buffer for buffering data of a next image frame of the currently displayed image frame,
the determination module configured to:
detecting whether each line of data of the image frame cached in the buffer is the same as the data of the corresponding line of the currently displayed image frame;
when the data of the corresponding lines are different, determining that the content of the black-white interface can be changed;
and when the data of the corresponding line is not different, determining that the content of the black-white interface is not changed.
Optionally, the apparatus further comprises:
the detection module is configured to detect whether the terminal displays a black-and-white interface or not when the terminal is in the designated display mode.
Optionally, the terminal includes a panel driving chip, the panel driving chip includes a buffer for buffering data of a next image frame of the currently displayed image frame,
the detection module configured to:
detecting data of the image frames cached in the cache;
and when the data of the cached image frame consists of first data and second data, determining that the terminal displays a black-and-white interface, wherein the difference value between the first data and the white corresponding data is smaller than a first difference threshold value, and the difference value between the second data and the black corresponding data is smaller than a second difference threshold value.
Optionally, the terminal includes a panel driving chip, the panel driving chip includes a buffer, the buffer is used for buffering data of a next image frame of a currently displayed image frame, and the detection module includes:
the generation sub-module is configured to generate a histogram based on the data of the image frames cached in the cache, wherein a first axis in the histogram represents data corresponding to different colors, and a second axis represents the distribution condition of the data corresponding to different colors;
and the detection sub-module is configured to detect whether the terminal displays a black-and-white interface or not based on the distribution condition of the black corresponding data and the white corresponding data in the histogram.
Optionally, the detection sub-module is configured to:
when only black corresponding data and white corresponding data are distributed in the histogram, determining that the terminal displays a black-white interface;
or when the sum of the distribution ratios of the black corresponding data and the white corresponding data in the histogram is larger than a specified ratio threshold, determining that the terminal displays a black-and-white interface.
Optionally, the terminal includes a panel driving chip, the panel driving chip includes a buffer for buffering data of a next image frame of the currently displayed image frame,
the determination module configured to:
determining a target line data corresponding region in the image frame cached in the buffer as the target region, wherein each target line data is different from the data of the corresponding line of the currently displayed image frame;
or, determining the pixels in the image frame buffered in the buffer, which are different from the data in the currently displayed image frame, as the target area.
Optionally, the terminal comprises an application processor,
the determination module configured to:
and determining a target area of the black-white interface where the content can be changed by an application processor.
Optionally, the designated display mode is an eye protection mode, each pixel includes a red sub-pixel, a green sub-pixel and a blue sub-pixel, in the eye protection mode, the turning voltages loaded on the red sub-pixel and the green sub-pixel in each pixel are equal and are a first turning voltage, and the difference between a second turning voltage loaded on the blue sub-pixel and the first turning voltage is greater than the difference threshold;
the adjustment module configured to:
and increasing the turning voltage loaded on the blue sub-pixel, so that the difference between the turning voltage loaded on the blue sub-pixel and the first turning voltage is not larger than the difference threshold value.
Optionally, the apparatus further comprises:
and the restoring module is configured to restore the turnover voltage on at least one sub-pixel to the turnover voltage before adjustment when the content of the black-white interface is determined not to change after the turnover voltage loaded on at least one sub-pixel in each pixel in the target area is adjusted.
According to a third aspect of the embodiments of the present disclosure, there is provided an interface display apparatus, the apparatus including:
a processor;
a memory for storing executable instructions of the processor;
wherein the processor is configured to execute the interface display method of any one of the first aspect.
According to a fourth aspect of the embodiments of the present disclosure, there is provided a computer-readable storage medium having stored therein instructions, which, when run on a processing component, cause the processing component to execute the interface display method according to any one of the first aspects.
The technical scheme provided by the embodiment of the disclosure can have the following beneficial effects:
when the terminal is in a designated display mode and displays a black-and-white interface, a target area with changed content in the black-and-white interface is determined, when the content of the target area is changed, the overturning voltage loaded on at least one sub-pixel in each pixel in the target area is adjusted, so that the difference between the overturning voltages loaded on any two sub-pixels in each pixel in the target area is not larger than a difference threshold value, and the difference between the overturning voltages loaded on any two sub-pixels in each pixel in the target area is smaller, therefore, when liquid crystal is overturned, the overturning speeds of the sub-pixels in the pixels are close, and the trailing phenomenon appearing on the black-and-white interface is effectively reduced.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the disclosure.
Drawings
In order to more clearly illustrate the embodiments of the present disclosure, the drawings that are needed to be used in the description of the embodiments will be briefly described below, and it is apparent that the drawings in the following description are only some embodiments of the present disclosure, and that other drawings can be obtained by those skilled in the art without inventive effort.
FIG. 1 is a flow chart illustrating a method of displaying an interface in accordance with an exemplary embodiment;
FIG. 2 is a block diagram of a terminal shown in accordance with an exemplary embodiment;
FIG. 3 is a flow chart illustrating another method of displaying an interface in accordance with an exemplary embodiment;
FIG. 4 is a distribution diagram illustrating pixels in an image frame according to an exemplary embodiment;
FIG. 5 is a distribution diagram illustrating pixels in another image frame according to an exemplary embodiment;
FIG. 6 is a block diagram illustrating an interface display apparatus according to an exemplary embodiment;
FIG. 7 is a block diagram illustrating another interface display device in accordance with an exemplary embodiment;
FIG. 8 is a block diagram illustrating yet another interface display apparatus in accordance with an exemplary embodiment;
FIG. 9 is a block diagram illustrating yet another interface display apparatus according to an exemplary embodiment;
FIG. 10 is a block diagram illustrating an interface display apparatus according to yet another exemplary embodiment;
fig. 11 is a block diagram illustrating an interface display apparatus according to an exemplary embodiment.
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present disclosure and together with the description, serve to explain the principles of the disclosure.
Detailed Description
To make the objects, technical solutions and advantages of the present disclosure more clear, the present disclosure will be described in further detail with reference to the accompanying drawings, and it is apparent that the described embodiments are only a part of the embodiments of the present disclosure, not all of the embodiments. All other embodiments, which can be derived by one of ordinary skill in the art from the embodiments disclosed herein without making any creative effort, shall fall within the scope of protection of the present disclosure.
As liquid crystal display technology has been developed, liquid crystal display panels have been widely used in various terminals, and generally include a plurality of pixels arranged in an array, each pixel including a red sub-pixel, a green sub-pixel, and a blue sub-pixel. The interface display of the liquid crystal display screen of the terminal is realized by respectively loading voltages on the three sub-pixels so as to adjust the deflection angle of the liquid crystal in each sub-pixel.
Meanwhile, with the higher requirements of users on the functions of the liquid crystal display screen, the existing liquid crystal display screen can be used for users to switch different display modes, and in the specified display mode, the difference between the turning voltages loaded on at least two sub-pixels in each pixel of the liquid crystal display screen of the terminal is larger than a specified difference threshold value, wherein the turning voltage is the maximum driving voltage for controlling the turning of the liquid crystal, namely the turning voltage is the specified maximum rated voltage which can be loaded on the liquid crystal. In the designated display mode, if the image displayed by the lcd is a black-and-white interface, because the difference between the inversion voltages applied to at least two sub-pixels in each pixel is large, the inversion speeds of the sub-pixels in the pixel are different when the liquid crystal is inverted, resulting in a trailing phenomenon in the black-and-white interface. For example, in the eye-protection mode, the switching voltage applied to the blue sub-pixel of the display screen is generally smaller than the switching voltage applied to the red sub-pixel and the green sub-pixel. The blue sub-pixel is loaded with a small turning voltage, so that the liquid crystal turning speed is delayed, and the phenomenon of picture lag, namely tailing phenomenon, occurs when a black-white interface is displayed on a liquid crystal display screen.
The embodiment of the present disclosure provides an interface display method, which can solve the above problem, and as shown in fig. 1, the method is applied to a terminal, and the method includes:
And 102, when the content of the black-white interface is determined to be changed, determining a target area with the changed content in the black-white interface.
To sum up, according to the interface display method provided by the embodiment of the present disclosure, when the terminal is in the designated display mode and the terminal displays the black-and-white interface, the target area where the content in the black-and-white interface changes is determined, and when the content in the target area changes, the inversion voltage loaded on at least one sub-pixel in each pixel in the target area is adjusted, so that the difference between the inversion voltages loaded on any two sub-pixels in each pixel in the target area is not greater than the difference threshold.
The disclosed embodiment provides an interface display method, which can be applied to a terminal having a liquid crystal display, and the terminal may also have other components, as shown in fig. 2, the terminal 20 includes a liquid crystal display 201, a panel driver chip 202, a buffer 2021 inside the panel driver chip, and an Application Processor (AP) 203, where the liquid crystal display 201 is used for displaying images, the panel driver chip 202 is used for driving the liquid crystal display to display images, and the Application Processor 203 is used for processing data of an Application program (e.g., a game Application program or a web Application program, etc.) on the terminal. Of course, fig. 2 is only an alternative implementation structure of the terminal, and the structure of the terminal is not limited by the present disclosure. As shown in fig. 3, the interface display method includes:
The black-and-white interface may be a text interface and/or an image interface, and may be an interface in an application installed in the terminal.
As mentioned above, in the designated display mode, if the interface displayed by the liquid crystal display is a black-and-white interface, since the difference between the turning voltages loaded on at least two sub-pixels in each pixel is greater than the designated difference threshold, for example, the value range of the difference threshold may be 0.5V to 1V, when the liquid crystal is turned over, the turning speed of the sub-pixels in each pixel is different, and the black-and-white interface may have a phenomenon of image lag in the display process, therefore, when the current display mode of the liquid crystal display is the designated display mode, it may be detected whether the display interface of the terminal is the black-and-white interface, so as to perform corresponding processing on the black-and-white interface, thereby avoiding the image lag phenomenon occurring during image display.
Referring to fig. 2, the terminal 20 generally includes a liquid crystal display 201, a panel driving chip 202 and an application processor 203, where the panel driving chip 202 further includes a buffer 2021, and the buffer is generally used for buffering data of a next image frame of a currently displayed image frame, that is, data of an image frame to be displayed. In the disclosed embodiment, the data may be pixel values (e.g., RGB values) or grayscale values.
Because the image frames on the terminal are continuously displayed and the display of the images does not usually have jump, the next image frame of the currently displayed image frame can be detected, and if the next image frame corresponds to the black-and-white interface, the currently displayed image frame is determined to correspond to the black-and-white interface. Since the buffer stores the data of the next image frame of the currently displayed image frame, the terminal may detect whether the display interface is a black-and-white interface based on the data stored in the buffer, and the disclosure takes the following two detection modes as examples for description:
in the first detection mode, the terminal detects whether the display interface of the terminal is a black-and-white interface by comparing data of two adjacent image frames. Optionally, the two adjacent image frames are the currently displayed image frame and the next image frame. The method comprises the following steps:
step a1, data of the image frame buffered in the buffer is detected.
The terminal may read data of the image frame buffered in its buffer, which may be a pixel value or a gray value, through the panel driving chip.
Step A2, when the data of the buffered image frame is composed of the first data and the second data, determining that the terminal displays the black-and-white interface, the difference value between the first data and the white corresponding data is smaller than the first difference threshold value, and the difference value between the second data and the black corresponding data is smaller than the second difference threshold value.
The terminal may determine whether the terminal displays a black-and-white interface based on whether data in the image frame is close to black corresponding data or white corresponding data. For example, the terminal may respectively subtract the data of the image frame buffered in the buffer from the white corresponding data and the black corresponding data, and when the difference between a certain data x1 and the white corresponding data is less than a first difference threshold, determine the certain data x1 as the first data; when the difference between a certain data x2 and the corresponding black data is less than the second difference threshold, the certain data x2 is determined as the second data. When the white corresponding data is a pixel value, the white corresponding data is R255, G255 and B255, and also denoted as RGB (255, 255, 255); when the data is the gray value of the pixel, the white corresponding data is 255; the black corresponding data is a luminance value of a corresponding pixel when the pixel displays black as a whole. For example, when the data is a pixel value, the black corresponding data is R ═ 0, G ═ 0, and B ═ 0, also labeled RGB (0, 0, 0); when the data is the gray level value of the pixel, the black corresponding data is 0. The first difference threshold and the second difference threshold may be preset fixed thresholds or dynamically determined variable thresholds. For example, the first difference threshold and the second difference threshold may range from 1 to 5. The first difference threshold and the second difference threshold may be the same or different.
For example, assuming that the first difference threshold and the second difference threshold are both 2, the white corresponding data is: the gray value is 255, and the black corresponding data is: the gray value is 0, a certain data x1 is the gray value 254, and since the difference 1 between the gray value 254 of the certain data x1 and the gray value 255 of the white corresponding data is smaller than the first difference threshold 2, the certain data x1 is determined as the first data; the certain data x2 is a gray-level value 0, and since the difference 0 between the gray-level value 0 of the certain data x2 and the gray-level value 0 of the black corresponding data is less than the second difference threshold 2, the certain data x2 is determined as the second data.
When the terminal displays a black-and-white picture, the following steps 302 to 305 are performed.
Step a3, when the data of the image frame buffered by the buffer includes third data, the terminal is determined not to display a black and white picture, the third data being data other than the first data and the second data.
For example, in the embodiment of the present disclosure, if the first difference threshold and the second difference threshold are both 2, the white corresponding data is 255, the black corresponding data is 0, and a certain data x3 is the gray-scale value 240, the certain data x3 is not the first data, but is not the second data, and is the third data.
When the terminal does not display the black and white image, the subsequent steps 302 to 305 are not required.
It should be noted that, the buffer may also buffer at least two adjacent image frames, where the two adjacent image frames may be an image frame currently displayed and a next image frame thereof, and a next image frame of the image frame currently displayed and a next image frame thereof, and the terminal may detect whether the display interface of the terminal is a black-and-white interface by comparing data of the two adjacent image frames. The process may refer to the first detection method, which is not described herein again.
In the second detection mode, the terminal establishes a histogram based on the data cached in the buffer to detect whether the display interface of the terminal is a black-and-white interface. The method comprises the following steps:
step B1, a histogram is generated based on the data of the image frame buffered in the buffer.
The first axis in the histogram represents data corresponding to different colors, and the second axis represents the distribution of the data corresponding to different colors. Wherein, the first axis is a horizontal axis, and the second axis is a vertical axis; alternatively, the first axis is a vertical axis and the second axis is a horizontal axis. The histogram is used for reflecting the distribution of the data corresponding to different colors in the image frames buffered in the buffer. For example, the different color correspondence data may include white correspondence data and/or black correspondence data. The data may be pixel values or gray scale values.
And step B2, detecting whether the terminal displays a black-white interface or not based on the distribution condition of the black corresponding data and the white corresponding data in the histogram.
In implementation, there are many alternative implementations of the step B2, and the embodiments of the present disclosure take the following two implementations as examples:
in a first optional implementation manner, when only black corresponding data and white corresponding data are distributed in the histogram, it is determined that the terminal displays a black-and-white interface. And when the data distribution corresponding to other colors except the black corresponding data and the white corresponding data in the histogram is determined, determining that the terminal does not display a black-white interface.
For example, the buffer stores the gray scale values of the pixels in the image frame. The distribution of the gray scale values of the pixels represented by the second axis of the histogram in step B1 can be reflected by the number of pixels corresponding to the gray scale value. As shown in fig. 4, the horizontal axis represents a gray scale value, and the vertical axis represents the number of pixels corresponding to the gray scale value, and if the lcd panel has 500 ten thousand pixels, wherein 350 ten thousand pixels having a gray scale value of 255 and 150 ten thousand pixels having a gray scale value of 0 indicate that the image displayed by the pixels in the lcd panel is not black, i.e., white, the terminal is determined to display a black-and-white interface.
In a second optional implementation manner, when the sum of the distribution ratios of the black corresponding data and the white corresponding data in the histogram is greater than a specified ratio threshold, it is determined that the terminal displays a black-and-white interface. And when the sum of the distribution ratios of the black corresponding data and the white corresponding data in the histogram is not more than a specified ratio threshold, determining that the terminal does not display a black-white interface.
For example, the buffer stores the gray scale values of the pixels in the image frame. Alternatively, as shown in fig. 4, the distribution of the gray scale values represented by the second axis of the histogram in step B1 may be reflected by the number of pixels corresponding to the gray scale value. Counting the sum of the number of corresponding pixels of the black corresponding data and the white corresponding data based on the histogram, determining the ratio of the sum to the total number of the pixels in the image frame as the sum of the distribution ratios of the black corresponding data and the white corresponding data in the histogram, and determining that the terminal displays a black-white interface when the sum of the distribution ratios is greater than a specified ratio threshold.
Alternatively, the distribution of the gray values represented by the second axis of the histogram in step B1 may be reflected by the distribution ratio of different gray values. I.e. the second axis represents the proportion of different gray values that appear in the image frame.
As shown in fig. 5, the horizontal axis represents a gray scale value, and the vertical axis represents a distribution ratio of different gray scale values, assuming that the liquid crystal display panel has 500 ten thousand pixels, in which the sum of pixels having a gray scale value of 255 accounts for 40.5% of all the pixels, the sum of pixels having a gray scale value of 0 accounts for 59% of all the pixels, and the sum of pixels having other gray scale values accounts for 0.5% of all the pixels, assuming that the ratio threshold value is 99%, since the sum of distribution ratios of black corresponding data and white corresponding data in the histogram is 99.5%, it is determined that the black-and-white interface is displayed.
Fig. 4 and 5 are only two exemplary histogram drawing methods, and the present disclosure does not limit the histogram drawing method.
It should be noted that the terminal may also be specially configured to store data of image frames that are certainly displayed, and then determine whether the image frame that is currently displayed is a black-and-white interface based on the data, for example, the buffer of the terminal buffers the image frame that is currently displayed, and the terminal may detect whether the display interface is a black-and-white interface based on the data of the image frame that is buffered in the buffer, and the detection method may refer to the two detection methods provided in step 301, that is, perform the two detection methods by using the data of the image frame that is buffered in the buffer as the data of the image frame that is currently displayed, which is not described again in this embodiment of the disclosure.
In a first optional implementation manner, the terminal may detect whether each line of data of the image frame cached in the buffer of its panel driving chip is the same as the data of the line corresponding to the currently displayed image frame; when the data of the corresponding lines are different, determining that the content of the black-white interface changes; and when the data of the corresponding line is not different, determining that the content of the black-white interface is not changed.
For example, it is assumed that the nth data of the currently displayed image frame and the nth data of the next image frame (i.e., the image frame buffered in the buffer) are as shown in table 1, and it can be known from comparison that the nth data of the currently displayed image frame is different from the nth data of the next image frame, and then the data of the corresponding line is different, and the content of the black-and-white interface determined by the terminal may change. The following description will be given taking comparative data as an example of the gradation value of a pixel.
TABLE 1
In a second alternative implementation, please refer to fig. 2, since the terminal includes an application processor, and the application processor is used for processing data of an application program on the terminal, the terminal can directly determine whether the content of the black-and-white interface changes through the application processor.
And step 303, when the content of the black-and-white interface is determined to be changed, determining a target area in the black-and-white interface where the content is changed.
In the embodiments of the present disclosure, there may be various ways of determining the target area, and the embodiments of the present disclosure are described below by way of example.
In a first alternative, a region corresponding to target line data in the image frame cached in the buffer is determined as a target region, and each target line data is different from data of a corresponding line of the currently displayed image frame.
As shown in table 1, since the nth data of the currently displayed image frame is different from the nth data of the next image frame, the area corresponding to the nth data of the next image frame may be determined as the target area, that is, the area where the nth data is located is determined as the target area.
In a second alternative, pixels in the image frame buffered in the buffer, which are different from the data in the currently displayed image frame, are determined as the target area.
As shown in table 1, since the nth data of the currently displayed image frame is different from the nth data of the next image frame and the changed gray values of the pixel 1, the pixel 4 and the pixel 6 in the nth data are generated, the target area is the area where the pixel 1, the pixel 4 and the pixel 6 are located.
It should be noted that, if the first optional implementation manner in step 302 is adopted to determine that the content of the black-and-white display interface changes, the first optional manner or the second optional manner in step 303 may be directly adopted to determine the target area based on the comparison result of the corresponding line data in the first optional implementation manner. This enables a fast determination of the target area.
In a third alternative, referring to fig. 2, since the terminal includes an application processor, and the application processor is used for processing data of an application, the terminal can directly determine a target area in the black-and-white interface where content may change through the application processor.
Optionally, when the display mode is designated as the eye-protection mode, each pixel includes a red sub-pixel, a green sub-pixel and a blue sub-pixel, in the eye protection mode, the turning voltages loaded on the red sub-pixel and the green sub-pixel in each pixel are equal and are the first turning voltage, the difference between the second turning voltage loaded on the blue sub-pixel and the first turning voltage is larger than the difference threshold value, at this time, the termination increases the applied switching voltage to the blue sub-pixel of the target area as determined in step 304, so that the difference between the first and the second inversion voltages loaded on the blue sub-pixels is not greater than the difference threshold, and the inversion voltages loaded on the three sub-pixels are the same or almost the same, the liquid crystal in the three sub-pixels can be ensured to have almost the same turning speed, so that the trailing phenomenon of a black-white interface in the display process can be relieved.
For example, assuming that the target area determined in step 303 is a target area with content changing in black-and-white interfaces between lines 300 to 600 and 765 of the lcd, in the eye protection mode, the preset difference threshold is 0.4V, the first inversion voltage loaded on the red sub-pixel and the green sub-pixel is equal to and 5V, the second inversion voltage loaded on the blue sub-pixel is 4.5V, and at this time, the difference between the first inversion voltage 5V and the second inversion voltage 4.5V is 0.5V and is greater than 0.4V. In order to avoid the tailing phenomenon, the terminal increases the turning voltage applied to the blue sub-pixels of the liquid crystal display screen from the 300 th row to the 600 th row and the 765 th row, for example, the turning voltage can be increased to 4.9V or 5V, the difference between the turning voltage applied to the blue sub-pixels and the first turning voltage is smaller than the difference threshold, at this time, the liquid crystal turning voltages applied to the red sub-pixels, the green sub-pixels and the blue sub-pixels of the liquid crystal display screen from the 300 th row to the 600 th row and the 765 th row are almost equal, the turning speeds of the liquid crystal are almost the same, and the picture lag phenomenon, namely the tailing phenomenon, of the target area with the changed content in the black-white interface in the interface display process is relieved. It should be noted that the turning voltages added to different target regions by the terminal may be different, as long as the difference between the adjusted second turning voltage and the adjusted first turning voltage of the target region is smaller than the difference threshold, which is only an exemplary illustration in the embodiment of the present disclosure.
And 305, when the content of the black-white interface is determined not to be changed, restoring the turnover voltage on at least one sub-pixel to the turnover voltage before adjustment.
After step 304 is executed, when it is determined that the content of the black-and-white interface does not change, the inversion voltage of the at least one sub-pixel changed in step 304 may be restored to the inversion voltage before adjustment, so that effective execution of the designated display mode may be continuously ensured.
For example, when the specified display mode is the eye protection mode, since the terminal adjusts the inversion voltage loaded on the blue sub-pixel in the target area in step 304, in order to ensure that the display mode of the liquid crystal display of the terminal is continuously maintained in the eye protection mode, the terminal may detect whether the content of the black-and-white interface is continuously changed, the detection frequency of the terminal may be preset, and when it is determined that the content of the black-and-white interface is not changed, the inversion voltage on the blue sub-pixel in the target area is restored to the inversion voltage before adjustment.
For example, assuming that the target area determined in step 303 is the target area where the content of the monochrome interface changes from line 300 to line 600 and line 765 of the lcd, the first inversion voltage loaded on the red sub-pixel and the green sub-pixel is equal and 5V, the second inversion voltage loaded on the blue sub-pixel is 4.5V, the preset gap threshold is 0.4V, and the inversion voltage loaded on the increased blue sub-pixel is 4.9V or 5V in the specified display mode of the lcd in the eye protection mode, at this time, the terminal will detect whether the content of the monochrome interface changes according to the data buffered in the buffer, assuming that the detection frequency is 50 times per second, when the terminal detects that the display content of the monochrome interface does not change, the terminal will reduce the inversion voltage loaded on the blue sub-pixel of the target area determined in step 303 from 4.9V or 5V to 4.5V, the display mode of the liquid crystal display screen of the terminal is continuously maintained in the eye protection mode, and the use experience of a user is not influenced.
To sum up, according to the interface display method provided by the embodiment of the present disclosure, when the terminal is in the designated display mode, the terminal detects that the displayed interface is a black-and-white interface, and determines whether the display content of the black-and-white interface changes, and if the display content of the black-and-white interface changes, determines the target area where the content of the black-and-white interface changes, so that a difference between the turning voltages loaded on any two sub-pixels in each pixel in the target area is not greater than a difference threshold.
Further, referring to step 304, in the embodiment of the present disclosure, the target area may not be the area where the whole black-and-white interface is located, and the adjustment of the inversion voltage of the pixels in the partial area on the interface may be implemented. For example, in the first alternative, the minimum unit of the target area is a row, and in step 305, the adjustment of the inversion voltage may be performed for the corresponding sub-pixels in each row of pixels generating the content change, which has a smaller granularity than the adjustment of the inversion voltage for the corresponding sub-pixels in all pixels in the black-and-white interface. In the second alternative, the minimum unit of the target area is a pixel, and in step 305, the adjustment of the inversion voltage may be performed for the corresponding sub-pixel in each pixel generating the content change, which is further reduced in granularity compared to the adjustment of the inversion voltages for the corresponding sub-pixels in all pixels in the black-and-white interface. Therefore, the embodiment of the disclosure can effectively reduce the area of the area where the corresponding sub-pixel for adjusting the turning voltage is located, and avoid the adjustment of unnecessary turning voltage, and further, the local turning voltage adjusting mode can ensure that the voltage of the area where the display content does not change is kept unchanged because the turning voltage of the corresponding sub-pixel in the pixel of the liquid crystal display screen is not changed in a large area, thereby preventing the flicker phenomenon of the static picture in the display process due to the voltage adjustment.
Meanwhile, after the terminal adjusts the turning voltage of the sub-pixels in the target area, when the content of the black-white interface is determined not to change, the adjusted turning voltage of the sub-pixels can be restored to the voltage before adjustment, and the liquid crystal display screen is ensured to be in the designated display mode without influencing the use experience of a user.
The present disclosure provides an interface display apparatus 40, as shown in fig. 6, the apparatus 40 includes:
a determining module 401 configured to determine whether content of a black-and-white interface changes when the terminal is in a designated display mode and the terminal displays the black-and-white interface, where in the designated display mode, a difference between turning voltages loaded on at least two sub-pixels in each pixel of a liquid crystal display of the terminal is greater than a designated difference threshold, and the turning voltage is a maximum driving voltage for controlling liquid crystal turning;
a determining module 402 configured to determine a target area in the black-and-white interface where the content may change when it is determined that the content of the black-and-white interface may change;
the adjusting module 403 is configured to adjust the turning voltages loaded on at least one sub-pixel in each pixel in the target region when the content of the target region changes, so that a difference between the turning voltages loaded on any two sub-pixels in each pixel in the target region is not greater than a difference threshold.
To sum up, in the interface display apparatus provided in the embodiment of the present disclosure, when the terminal is in the designated display mode and the terminal displays the black-and-white interface, the determining module may determine whether the content of the black-and-white interface changes, and when it is determined that the content of the black-and-white interface changes, the determining module may determine a target area where the content of the black-and-white interface changes, and when the content of the target area changes, the adjusting module may adjust the inversion voltage loaded on at least one sub-pixel in each pixel in the target area, so that a difference between the inversion voltages loaded on any two sub-pixels in each pixel in the target area is not greater than a difference threshold, and since the difference between the inversion voltages loaded on any two sub-pixels in each pixel in the target area is smaller, when the liquid crystal is turned over, the turning speed of the sub-pixels in the pixel approaches, effectively reduce the trailing phenomenon of black and white interface.
Optionally, the terminal includes a panel driving chip, the panel driving chip includes a buffer for buffering data of a next image frame of the currently displayed image frame,
a determining module 402 configured to:
detecting whether each line of data of the image frame cached in the buffer is the same as the data of the corresponding line of the currently displayed image frame;
when the data of the corresponding lines are different, determining that the content of the black-white interface changes;
and when the data of the corresponding line is not different, determining that the content of the black-white interface is not changed.
Optionally, as shown in fig. 7, the apparatus 40 further includes:
the detecting module 404 is configured to detect whether the terminal displays a black-and-white interface when the terminal is in the designated display mode.
Optionally, the terminal includes a panel driving chip, the panel driving chip includes a buffer for buffering data of a next image frame of the currently displayed image frame,
a detection module 404 configured to:
detecting data of the image frames cached in the cache;
when the data of the cached image frame consists of first data and second data, determining that the terminal displays a black-and-white interface, wherein the difference value between the first data and the white corresponding data is smaller than a first difference threshold value, and the difference value between the second data and the black corresponding data is smaller than a second difference threshold value.
Optionally, the terminal includes a panel driving chip, the panel driving chip includes a buffer, and the buffer is configured to buffer data of a next image frame of the currently displayed image frame, as shown in fig. 8, the detecting module 404 includes:
the generating submodule 4041 is configured to generate a histogram based on the data of the image frame cached in the buffer, a first axis in the histogram represents data corresponding to different colors, and a second axis represents distribution of the data corresponding to different colors;
the detecting sub-module 4042 is configured to detect whether the terminal displays a black-and-white interface based on the distribution of the black corresponding data and the white corresponding data in the histogram.
Optionally, the detection sub-module 4042 is configured to:
when only black corresponding data and white corresponding data are distributed in the histogram, determining that the terminal displays a black-white interface;
or when the sum of the distribution ratios of the black corresponding data and the white corresponding data in the histogram is larger than a specified ratio threshold, determining that the terminal displays a black-white interface.
Optionally, the terminal includes a panel driving chip, the panel driving chip includes a buffer for buffering data of a next image frame of the currently displayed image frame,
a determination module 402 configured to:
determining a target line data corresponding region in the image frame cached in the cache as a target region, wherein each target line data is different from the data of the corresponding line of the currently displayed image frame;
or, pixels in the image frame buffered in the buffer, which are different from the data in the currently displayed image frame, are determined as the target area.
Optionally, the terminal comprises an application processor,
a determination module 402 configured to:
and determining a target area with changed content in the black-white interface by the application processor.
And (4) optional. The display method comprises the steps that a display mode is designated as an eye protection mode, each pixel comprises a red sub-pixel, a green sub-pixel and a blue sub-pixel, under the eye protection mode, the turning voltages loaded on the red sub-pixel and the green sub-pixel in each pixel are equal and are first turning voltages, and the difference between a second turning voltage loaded on the blue sub-pixel and the first turning voltage is larger than a difference threshold value;
an adjustment module 403 configured to:
and increasing the turning voltage loaded on the blue sub-pixel, so that the difference between the turning voltage loaded on the blue sub-pixel and the first turning voltage is not larger than the difference threshold value.
Optionally, as shown in fig. 9, the apparatus 40 further includes:
and a restoring module 405 configured to restore the inversion voltage on at least one sub-pixel to the inversion voltage before adjustment when it is determined that the content of the black-and-white interface is not changed after the inversion voltage loaded on at least one sub-pixel in each pixel in the target area is adjusted.
The interface display device provided by the embodiment of the disclosure, when the terminal is in the designated display mode, and the detection module detects that the terminal displays the black-white interface, the determination module may determine whether the content of the black-white interface changes, and when it is determined that the content of the black-white interface changes, the determination module may determine a target area where the content of the black-white interface changes, and when the content of the target area changes, the adjustment module may adjust the inversion voltage loaded on at least one sub-pixel in each pixel in the target area, so that the difference between the inversion voltages loaded on any two sub-pixels in each pixel in the target area is not greater than the threshold value, and since the difference between the inversion voltages loaded on any two sub-pixels in each pixel in the target area is smaller, when the liquid crystal is inverted, the inversion speed of the sub-pixels in the pixel approaches, the trailing phenomenon that black and white interface appears is effectively reduced, simultaneously, when confirming that the content in black and white interface does not change, the recovery module can resume the upset voltage that loaded on the sub-pixel that the upset voltage was adjusted to the upset voltage before the adjustment, guarantees that liquid crystal display is in under the appointed display mode, does not influence user's use and experiences.
The disclosed embodiment provides an interface display device 50, as shown in fig. 10, the device 50 includes:
a processor 501;
a memory 502 for storing executable instructions of the processor;
wherein the processor is configured to any one of the interface display methods provided by the embodiments of the present disclosure.
Fig. 11 is a block diagram illustrating an apparatus 600 for facial image processing according to an example embodiment. For example, the apparatus 600 may be a mobile phone, a computer, a digital broadcast terminal, a messaging device, a game console, a tablet device, a medical device, an exercise device, a personal digital assistant, and the like.
Referring to fig. 11, the apparatus 600 may include one or more of the following components: processing component 6002, memory 6004, power component 6006, multimedia component 6008, audio component 6010, input/output (I/O) interface 6012, sensor component 6014, and communications component 6016.
The processing component 6002 generally controls overall operation of the apparatus 600, such as operations associated with display, telephone calls, data communications, camera operations, and recording operations. The processing component 6002 may include one or more processors 6020 to execute instructions to perform all or a portion of the steps of the method described above. Further, processing component 6002 can include one or more modules that facilitate interaction between processing component 6002 and other components. For example, processing component 6002 can include a multimedia module to facilitate interaction between multimedia component 6008 and processing component 6002.
The memory 6004 is configured to store various types of data to support operations at the device 600. Examples of such data include instructions for any application or method operating on device 600, contact data, phonebook data, messages, pictures, videos, and so forth. The memory 6004 may be implemented as any type of volatile or non-volatile storage device or combination thereof, such as a Static Random Access Memory (SRAM), an electrically erasable programmable read-only memory (EEPROM), an erasable programmable read-only memory (EPROM), a programmable read-only memory (PROM), a read-only memory (ROM), a magnetic memory, a flash memory, a magnetic disk, or an optical disk.
The power supply component 6006 provides power to the various components of the device 600. The power components 6006 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power for the appliance 600.
The multimedia component 6008 comprises a screen that provides an output interface between the device 600 and a user. In some embodiments, the screen may include a Liquid Crystal Display (LCD) and a Touch Panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive an input signal from a user. The touch panel includes one or more touch sensors to sense touch, slide, and gestures on the touch panel. The touch sensor may not only sense the boundary of a touch or slide action, but also detect the duration and pressure associated with the touch or slide operation. In some embodiments, the multimedia component 6008 includes a front facing camera and/or a rear facing camera. The front camera and/or the rear camera may receive external multimedia data when the device 600 is in an operating mode, such as a shooting mode or a video mode. Each front camera and rear camera may be a fixed optical lens system or have a focal length and optical zoom capability.
The I/O interface 6012 provides an interface between the processing components 6002 and peripheral interface modules, which may be keyboards, click wheels, buttons, etc. These buttons may include, but are not limited to: a home button, a volume button, a start button, and a lock button.
The sensor assembly 6014 includes one or more sensors for providing various aspects of status assessment for the apparatus 600. For example, the sensor assembly 6014 may detect the open/closed state of the apparatus 600, the relative positioning of components, such as the display and keypad of the apparatus 600, the sensor assembly 6014 may also detect a change in the position of the apparatus 600 or a component of the apparatus 600, the presence or absence of user contact with the apparatus 600, the orientation or acceleration/deceleration of the apparatus 600, and a change in the temperature of the apparatus 600. The sensor assembly 6014 may include a proximity sensor configured to detect the presence of a nearby object without any physical contact. The sensor assembly 6014 may also include a light sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor assembly 6014 may also include an acceleration sensor, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
The communication component 6016 is configured to facilitate communications between the apparatus 600 and other devices in a wired or wireless manner. The apparatus 600 may access a wireless network based on a communication standard, such as WiFi, 2G or 3G, or a combination thereof. In an exemplary embodiment, the communication component 6016 receives a broadcast signal or broadcast associated information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component 6016 further comprises a Near Field Communication (NFC) module to facilitate short-range communications. For example, the NFC module may be implemented based on Radio Frequency Identification (RFID) technology, infrared data association (IrDA) technology, Ultra Wideband (UWB) technology, Bluetooth (BT) technology, and other technologies.
In an exemplary embodiment, the apparatus 600 may be implemented by one or more Application Specific Integrated Circuits (ASICs), Digital Signal Processors (DSPs), Digital Signal Processing Devices (DSPDs), Programmable Logic Devices (PLDs), Field Programmable Gate Arrays (FPGAs), controllers, micro-controllers, microprocessors or other electronic components for performing the above-described methods.
In an exemplary embodiment, a non-transitory computer readable storage medium comprising instructions, such as the memory 6004, comprising instructions, executable by the processor 6020 of the apparatus 600 to perform the above-described method is also provided. For example, the non-transitory computer readable storage medium may be a ROM, a Random Access Memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, and the like.
A non-transitory computer readable storage medium, wherein instructions of the storage medium, when executed by a processor of the apparatus 600, enable the apparatus 600 to perform a method of interface display provided by the above-described embodiments.
With regard to the apparatus in the above-described embodiment, the specific manner in which each module performs the operation has been described in detail in the embodiment related to the method, and will not be elaborated here.
Other embodiments of the disclosure will be apparent to those skilled in the art from consideration of the specification and practice of the disclosure disclosed herein. This application is intended to cover any variations, uses, or adaptations of the disclosure following, in general, the principles of the disclosure and including such departures from the present disclosure as come within known or customary practice within the art to which the disclosure pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the disclosure being indicated by the following claims.
It will be understood that the present disclosure is not limited to the precise arrangements described above and shown in the drawings and that various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.
Claims (18)
1. An interface display method, comprising:
detecting whether a black-white interface is displayed by a terminal when the terminal is in an appointed display mode, and judging whether the content of the black-white interface changes or not when the terminal displays the black-white interface, wherein in the appointed display mode, the difference of turning voltages loaded on at least two sub-pixels in each pixel of a liquid crystal display screen of the terminal is larger than an appointed difference threshold value, the turning voltages are maximum driving voltages for controlling liquid crystal turning, and the appointed display mode is an eye protection mode;
when the content of the black-white interface is determined to be changed, determining a target area of the black-white interface, the content of which is changed;
when the content of the target area changes, adjusting the turning voltage loaded on at least one sub-pixel in each pixel in the target area, so that the difference of the turning voltages loaded on any two sub-pixels in each pixel in the target area is not larger than the difference threshold;
the terminal comprises a panel driving chip, the panel driving chip comprises a buffer used for buffering the data of the next image frame of the currently displayed image frame,
the judging whether the content of the black-white interface changes includes:
detecting whether each line of data of the image frame cached in the buffer is the same as the data of the corresponding line of the currently displayed image frame;
when the data of the corresponding lines are different, determining that the content of the black-white interface can be changed;
and when the data of the corresponding line is not different, determining that the content of the black-white interface is not changed.
2. The method according to claim 1, wherein the detecting whether the terminal displays a black-and-white interface comprises:
detecting data of the image frames cached in the cache;
and when the data of the cached image frame consists of first data and second data, determining that the terminal displays a black-and-white interface, wherein the difference value between the first data and the white corresponding data is smaller than a first difference threshold value, and the difference value between the second data and the black corresponding data is smaller than a second difference threshold value.
3. The method according to claim 1, wherein the detecting whether the terminal displays a black-and-white interface comprises:
generating a histogram based on the data of the image frames cached in the cache, wherein a first axis in the histogram represents data corresponding to different colors, and a second axis represents the distribution condition of the data corresponding to the different colors;
and detecting whether the terminal displays a black-white interface or not based on the distribution condition of the black corresponding data and the white corresponding data in the histogram.
4. The method of claim 3,
the detecting whether the terminal displays a black-and-white interface or not based on the distribution condition of the black corresponding data and the white corresponding data in the histogram includes:
when only black corresponding data and white corresponding data are distributed in the histogram, determining that the terminal displays a black-white interface;
or when the sum of the distribution ratios of the black corresponding data and the white corresponding data in the histogram is larger than a specified ratio threshold, determining that the terminal displays a black-and-white interface.
5. The method according to any one of claims 1 to 4, wherein the determining the target area in the black-and-white interface where the content may change comprises:
determining a target line data corresponding region in the image frame cached in the buffer as the target region, wherein each target line data is different from the data of the corresponding line of the currently displayed image frame;
or, determining the pixels in the image frame buffered in the buffer, which are different from the data in the currently displayed image frame, as the target area.
6. The method according to any of claims 1 to 4, wherein the terminal comprises an application processor,
the determining a target area in the black-and-white interface where content may change includes:
and determining a target area of the black-white interface where the content can be changed by an application processor.
7. The method according to claim 1, wherein each of the pixels comprises a red sub-pixel, a green sub-pixel and a blue sub-pixel, and in the eye-protection mode, the switching voltage applied to the red sub-pixel and the green sub-pixel in each of the pixels is equal to a first switching voltage, and the difference between a second switching voltage applied to the blue sub-pixel and the first switching voltage is greater than the difference threshold;
the adjusting the turning voltage loaded on at least one sub-pixel in each pixel in the target region so that the difference between the turning voltages loaded on any two sub-pixels in each pixel in the target region is not greater than the difference threshold includes:
and increasing the turning voltage loaded on the blue sub-pixel, so that the difference between the turning voltage loaded on the blue sub-pixel and the first turning voltage is not larger than the difference threshold value.
8. The method of claim 1, further comprising:
after the inversion voltage loaded on at least one sub-pixel in each pixel in the target area is adjusted, when the content of the black-white interface is determined not to change, the inversion voltage on the at least one sub-pixel is restored to the inversion voltage before adjustment.
9. An interface display device, comprising:
the terminal comprises a judging module and a display module, wherein the judging module is configured to judge whether the content of a black-white interface changes or not when the terminal is in a designated display mode and the terminal displays the black-white interface, the difference of turning voltages loaded on at least two sub-pixels in each pixel of a liquid crystal display screen of the terminal is larger than a designated difference threshold value under the designated display mode, the turning voltages are maximum driving voltages used for controlling liquid crystal turning, and the designated display mode is an eye protection mode;
the determining module is configured to determine a target area with changeable content in the black-white interface when the content of the black-white interface is determined to be changed;
the adjusting module is configured to adjust the turning voltages loaded on at least one sub-pixel in each pixel in the target area when the content of the target area changes, so that the difference between the turning voltages loaded on any two sub-pixels in each pixel in the target area is not larger than the difference threshold;
the device further comprises:
the detection module is configured to detect whether the terminal displays a black-and-white interface or not when the terminal is in the designated display mode;
the terminal comprises a panel driving chip, the panel driving chip comprises a buffer used for buffering the data of the next image frame of the currently displayed image frame,
the determination module configured to:
detecting whether each line of data of the image frame cached in the buffer is the same as the data of the corresponding line of the currently displayed image frame;
when the data of the corresponding lines are different, determining that the content of the black-white interface can be changed;
and when the data of the corresponding line is not different, determining that the content of the black-white interface is not changed.
10. The apparatus of claim 9, wherein the detection module is configured to:
detecting data of the image frames cached in the cache;
and when the data of the cached image frame consists of first data and second data, determining that the terminal displays a black-and-white interface, wherein the difference value between the first data and the white corresponding data is smaller than a first difference threshold value, and the difference value between the second data and the black corresponding data is smaller than a second difference threshold value.
11. The apparatus of claim 9, wherein the detection module comprises:
the generation sub-module is configured to generate a histogram based on the data of the image frames cached in the cache, wherein a first axis in the histogram represents data corresponding to different colors, and a second axis represents the distribution condition of the data corresponding to different colors;
and the detection sub-module is configured to detect whether the terminal displays a black-and-white interface or not based on the distribution condition of the black corresponding data and the white corresponding data in the histogram.
12. The apparatus of claim 11,
the detection submodule configured to:
when only black corresponding data and white corresponding data are distributed in the histogram, determining that the terminal displays a black-white interface;
or when the sum of the distribution ratios of the black corresponding data and the white corresponding data in the histogram is larger than a specified ratio threshold, determining that the terminal displays a black-and-white interface.
13. The apparatus of any of claims 9 to 12, wherein the determining module is configured to:
determining a target line data corresponding region in the image frame cached in the buffer as the target region, wherein each target line data is different from the data of the corresponding line of the currently displayed image frame;
or, determining the pixels in the image frame buffered in the buffer, which are different from the data in the currently displayed image frame, as the target area.
14. The apparatus according to any of claims 9 to 12, wherein the terminal comprises an application processor,
the determination module configured to:
and determining a target area of the black-white interface where the content can be changed by an application processor.
15. The device of claim 9, wherein each of the pixels comprises a red sub-pixel, a green sub-pixel, and a blue sub-pixel, and in the eye-protection mode, the switching voltage applied to the red sub-pixel and the green sub-pixel in each of the pixels is equal to a first switching voltage, and the difference between a second switching voltage applied to the blue sub-pixel and the first switching voltage is greater than the difference threshold;
the adjustment module configured to:
and increasing the turning voltage loaded on the blue sub-pixel, so that the difference between the turning voltage loaded on the blue sub-pixel and the first turning voltage is not larger than the difference threshold value.
16. The apparatus of claim 9, further comprising:
and the restoring module is configured to restore the turnover voltage on at least one sub-pixel to the turnover voltage before adjustment when the content of the black-white interface is determined not to change after the turnover voltage loaded on at least one sub-pixel in each pixel in the target area is adjusted.
17. An interface display apparatus, the apparatus comprising:
a processor;
a memory for storing executable instructions of the processor;
wherein the processor is configured to perform the interface display method of any one of claims 1 to 8.
18. A computer-readable storage medium having stored thereon instructions which, when run on a processing component, cause the processing component to execute the interface display method of any one of claims 1 to 8.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810698292.9A CN108986753B (en) | 2018-06-29 | 2018-06-29 | Interface display method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810698292.9A CN108986753B (en) | 2018-06-29 | 2018-06-29 | Interface display method and device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN108986753A CN108986753A (en) | 2018-12-11 |
CN108986753B true CN108986753B (en) | 2021-01-26 |
Family
ID=64539545
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810698292.9A Active CN108986753B (en) | 2018-06-29 | 2018-06-29 | Interface display method and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108986753B (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN116189609B (en) * | 2023-03-23 | 2023-08-22 | 北京显芯科技有限公司 | Lamp panel display device, lamp panel display system and display |
Family Cites Families (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN100495523C (en) * | 2007-08-07 | 2009-06-03 | 上海广电光电子有限公司 | A Method for Eliminating Dynamic Smear of Liquid Crystal Display |
CN101727815B (en) * | 2009-12-23 | 2012-04-25 | 华映光电股份有限公司 | Local black insertion method for dynamic image and display device |
JP2014191152A (en) * | 2013-03-27 | 2014-10-06 | Seiko Epson Corp | Driving method for electrophoretic display unit |
CN105489170B (en) * | 2014-09-16 | 2019-08-06 | 青岛海信电器股份有限公司 | A kind of driving method of backlight, device and display equipment |
KR102287833B1 (en) * | 2014-11-14 | 2021-08-10 | 삼성디스플레이 주식회사 | Method of driving display panel and display apparatus for performing the same |
CN104882112B (en) * | 2015-06-25 | 2017-12-22 | 上海天马微电子有限公司 | Liquid crystal display panel and driving method thereof |
CN106067294B (en) * | 2016-05-27 | 2019-01-15 | 深圳市华星光电技术有限公司 | A kind of driving method and driving device of liquid crystal display |
CN106710551B (en) * | 2016-12-30 | 2019-07-23 | Oppo广东移动通信有限公司 | Display screen driving voltage control method and device and terminal equipment |
CN107450212B (en) * | 2017-07-14 | 2020-07-24 | 厦门天马微电子有限公司 | Pixel structure, pixel driving method, color resistance structure, display panel and device |
-
2018
- 2018-06-29 CN CN201810698292.9A patent/CN108986753B/en active Active
Also Published As
Publication number | Publication date |
---|---|
CN108986753A (en) | 2018-12-11 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US10176769B2 (en) | Liquid crystal display method and device, and storage medium | |
US9858885B2 (en) | Method and device for reducing display brightness | |
CN106710540B (en) | Liquid crystal display method and device | |
US10650502B2 (en) | Image processing method and apparatus, and storage medium | |
CN109215578B (en) | Screen display method and device | |
EP3159876A1 (en) | Method and apparatus for displaying content | |
CN114363448B (en) | Screen widget brightness control method and device, terminal and storage medium | |
CN107170403B (en) | Picture frame display method and device | |
US10109248B2 (en) | Method and device for adjusting liquid crystal display | |
CN113257162A (en) | Screen brightness adjusting method and device and storage medium | |
US11094291B2 (en) | Method and device for detecting ambient light and terminal | |
CN115145662A (en) | Screen display brightness adjusting method and device and storage medium | |
CN109408022A (en) | Display methods, device, terminal and storage medium | |
CN108986753B (en) | Interface display method and device | |
CN108831394B (en) | Interface display method and device | |
CN108877700B (en) | Method and device for displaying image | |
CN114968143A (en) | Display processing method and device, electronic equipment and storage medium | |
CN113140153B (en) | Electronic device, display control method thereof, and computer-readable storage medium | |
CN109102779B (en) | Backlight adjusting method and device | |
CN106775541B (en) | Electronic device and screen display method | |
CN108538261B (en) | Display control method and device and display equipment | |
CN113470583B (en) | Display screen adjusting method and device and storage medium | |
CN106601165B (en) | Screen display method and device | |
US11961488B2 (en) | Method and device for controlling screen of electronic device, related electronic device and storage medium | |
CN108206012A (en) | Gamma correction 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 | ||
GR01 | Patent grant | ||
GR01 | Patent grant |