CN116798378A - Liquid crystal display method, electronic device, and storage medium - Google Patents

Liquid crystal display method, electronic device, and storage medium Download PDF

Info

Publication number
CN116798378A
CN116798378A CN202311065472.0A CN202311065472A CN116798378A CN 116798378 A CN116798378 A CN 116798378A CN 202311065472 A CN202311065472 A CN 202311065472A CN 116798378 A CN116798378 A CN 116798378A
Authority
CN
China
Prior art keywords
line
total
preset
condition
met
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.)
Granted
Application number
CN202311065472.0A
Other languages
Chinese (zh)
Other versions
CN116798378B (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.)
HKC Co Ltd
Original Assignee
HKC Co 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 HKC Co Ltd filed Critical HKC Co Ltd
Priority to CN202311065472.0A priority Critical patent/CN116798378B/en
Publication of CN116798378A publication Critical patent/CN116798378A/en
Application granted granted Critical
Publication of CN116798378B publication Critical patent/CN116798378B/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/34Control 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/36Control 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
    • 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

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 application provides a liquid crystal display method, electronic equipment and a storage medium, and belongs to the technical field of display equipment. The display method comprises the following steps: whether to start the row detection function or not can be judged according to the first total row number, and whether to withdraw the row detection function or not can be judged according to the second total row number. Since the first total number of rows is determined based on the first preset gray level threshold and the first preset value, the second total number of rows is determined based on the second preset gray level threshold and the second preset value. The second preset gray level threshold value is smaller than the first preset gray level threshold value, namely gray level hysteresis and the number hysteresis of the difference between the total number of positive and negative polarity column lines meeting the corresponding conditions are added in the setting of the starting condition and the exiting condition of the line detection function, so that the starting condition and the exiting condition of the line detection function are not in the relation with each other, the repeated alternation of the starting and the exiting of the line detection function in the picture display process can be avoided, and the picture flickering problem can be solved.

Description

Liquid crystal display method, electronic device, and storage medium
Technical Field
The present application relates to the field of liquid crystal display devices, and in particular, to a liquid crystal display method, an electronic device, and a storage medium.
Background
When the TFT-LCD (Thin film transistor liquid crystal display ) is driven, VCOM (common electrode) is easily interfered by the data line to generate voltage jitter, so that abnormal phenomena such as cross talk of the display screen are generated.
At present, in order to improve the problem, a Line PDF (Line detection) function is introduced in the related art, but due to the setting of a start condition and an exit condition of the Line PDF function, there is a case where the start and the exit of the Line PDF function are repeatedly and alternately performed during the picture display, so that a picture flickering phenomenon may occur.
Disclosure of Invention
The embodiment of the application mainly aims to provide a liquid crystal display method, a liquid crystal display device, electronic equipment and a storage medium. The method aims to prevent the repeated alternate starting and exiting of the line detection function in the picture display process by improving the conditions of starting and exiting the line detection function, and can solve the picture flickering problem.
To achieve the above object, a first aspect of an embodiment of the present application provides a liquid crystal display method, including:
in the current frame picture display process, taking the sum of positive polarity column line numbers, of which the sub-pixel gray scale value is larger than or equal to a first preset gray scale threshold value, on column lines corresponding to each row line as a first positive polarity column line total number, taking the sum of negative polarity column line numbers, of which the sub-pixel gray scale value is larger than or equal to the first preset gray scale threshold value, on column lines corresponding to each row line as a first negative polarity column line total number, determining a first difference absolute value between the first positive polarity column line total number and the first negative polarity column line total number, and counting the sum of rows, of which the first difference absolute value is larger than or equal to the first preset value, as a first total row number;
Judging whether a starting condition is met or not according to the first total line number;
when the starting condition is met, starting a row detection function;
when the starting condition is not met, taking the sum of positive polarity column line numbers, of which the sub-pixel gray-scale value is larger than or equal to a second preset gray-scale threshold value, on column lines corresponding to each row line as a second positive polarity column line total number, taking the sum of negative polarity column line numbers, of which the sub-pixel gray-scale value is larger than or equal to the second preset gray-scale threshold value, on column lines corresponding to each row line as a second negative polarity column line total number, determining a second difference absolute value between the second positive polarity column line total number and the second negative polarity column line total number, and taking the sum of rows, of which the second difference absolute value is smaller than a second preset value, as a second total row number, wherein the second preset gray-scale threshold value is smaller than the first preset gray-scale threshold value, and the second preset value is smaller than the first preset value;
judging whether an exit condition is met or not according to the second total number of rows;
and when the exit condition is met, exiting the row detection function.
In one embodiment of the present application, the determining whether the starting condition is satisfied according to the first total number of rows includes:
judging whether the first total line number is larger than or equal to a first preset line number or not;
When the first total line number is greater than or equal to the first preset line number, determining that the starting condition is met;
and when the first total line number is smaller than the first preset line number, determining that the starting condition is not met.
In one embodiment of the present application, the determining whether the exit condition is satisfied according to the second total number of rows includes:
judging whether the second total line number is larger than the difference of the total line number corresponding to the display resolution minus the first preset line number;
when the second total line number is larger than the difference between the total line number corresponding to the display resolution and the first preset line number, determining that the exit condition is met;
and when the second total line number is not larger than the difference between the total line number corresponding to the display resolution and the first preset line number, determining that the exit condition is not met.
In one embodiment of the present application, when the exit condition is not satisfied, the method further comprises:
counting the sum of the rows meeting the second difference absolute value more than or equal to the second preset value as a third total row number;
judging whether a maintenance condition is met or not according to the third total line number;
when the maintenance condition is met, maintaining the row detection action correspondingly executed by the previous frame of picture;
And when the maintenance condition is not met, the trip detection function is stopped.
In one embodiment of the present application, determining whether the third total number of rows is greater than or equal to a first preset number of rows;
when the third total line number is greater than or equal to the first preset line number, determining that the maintenance condition is met;
and when the third total number of lines is smaller than the first preset number of lines, determining that the maintaining condition is not met.
A second aspect of an embodiment of the present application provides a liquid crystal display method, including:
in the current frame picture display process, taking the sum of positive polarity column line numbers, of which the sub-pixel gray scale value is larger than or equal to a first preset gray scale threshold value, on column lines corresponding to each row line as a first positive polarity column line total number, taking the sum of negative polarity column line numbers, of which the sub-pixel gray scale value is larger than or equal to the first preset gray scale threshold value, on column lines corresponding to each row line as a first negative polarity column line total number, determining a first difference absolute value between the first positive polarity column line total number and the first negative polarity column line total number, and counting the sum of rows, of which the first difference absolute value is larger than or equal to the first preset value, as a first total row number;
taking the sum of positive polarity column line numbers, which are corresponding to each row line, of sub-pixel gray-scale values which are larger than or equal to a second preset gray-scale threshold value on the column line as a second positive polarity column line total number, taking the sum of negative polarity column line numbers, which are corresponding to each row line and are larger than or equal to the second preset gray-scale threshold value, on the column line, as a second negative polarity column line total number, determining a second difference absolute value between the second positive polarity column line total number and the second negative polarity column line total number, and counting the sum of rows, which meet the second difference absolute value, smaller than a second preset value, as a second total row number, wherein the second preset gray-scale threshold value is smaller than the first preset gray-scale threshold value, and the second preset value is smaller than the first preset value;
Judging whether a starting condition is met according to the first total line number, and judging whether an exiting condition is met according to the second total line number;
starting a row detection function when the starting condition is met but the exiting condition is not met, or when the starting condition is met and the exiting condition is met;
and when the exit condition is met but the starting condition is not met, exiting the travel detection function.
In one embodiment of the present application, after counting the first total number of rows and the second total number of rows, the method includes:
counting the sum of the rows meeting the second difference absolute value more than or equal to the second preset value as a third total row number;
judging whether a starting condition is met according to the first total line number, judging whether an exiting condition is met according to the second total line number, and judging whether a maintaining condition is met according to the third total line number;
when the starting condition is met but the exiting condition and the maintaining condition are not met, starting a row detection function;
when the exit condition is satisfied but the start condition and the maintenance condition are not satisfied, exiting the travel detection function;
when the maintenance condition is met but the starting condition and the exiting condition are not met, maintaining the row detection action correspondingly executed by the previous frame of picture;
And when any two or more of the starting condition, the exiting condition and the maintaining condition are met, executing corresponding line detection actions according to preset priority, wherein the preset priority is that the priority of starting line detection is higher than the priority of exiting line detection and the priority of maintaining the line detection actions correspondingly executed by the previous frame of picture.
A third aspect of an embodiment of the present application provides a liquid crystal display method, including:
in the current frame picture display process, taking the sum of positive polarity column line numbers, of which the sub-pixel gray scale value is larger than or equal to a first preset gray scale threshold value, on column lines corresponding to each row line as a first positive polarity column line total number, taking the sum of negative polarity column line numbers, of which the sub-pixel gray scale value is larger than or equal to the first preset gray scale threshold value, on column lines corresponding to each row line as a first negative polarity column line total number, determining a first difference absolute value between the first positive polarity column line total number and the first negative polarity column line total number, and counting the sum of rows, of which the first difference absolute value is larger than or equal to the first preset value, as a first total row number;
judging whether a starting condition is met or not according to the first total line number;
when the starting condition is met, starting a row detection function;
When the starting condition is not met, taking the sum of positive polarity column line numbers, of which the sub-pixel gray-scale value is larger than or equal to a second preset gray-scale threshold value, on column lines corresponding to each row line as a second positive polarity column line total number, taking the sum of negative polarity column line numbers, of which the sub-pixel gray-scale value is larger than or equal to the second preset gray-scale threshold value, on column lines corresponding to each row line as a second negative polarity column line total number, determining a second difference absolute value between the second positive polarity column line total number and the second negative polarity column line total number, and taking the sum of rows, of which the second difference absolute value is larger than or equal to a second preset value, as a third total row number, wherein the second preset gray-scale threshold value is smaller than the first preset gray-scale threshold value, and the second preset value is smaller than the first preset value;
judging whether a maintenance condition is met or not according to the third total line number;
when the maintenance condition is met, maintaining the row detection action correspondingly executed by the previous frame of picture;
and when the maintenance condition is not met, the trip detection function is stopped.
A fourth aspect of the embodiment of the present application provides an electronic device, where the electronic device includes a memory and a processor, where the memory stores a computer program, and the processor implements the display method according to any of the embodiments of the present application when executing the computer program.
A fifth aspect of the embodiments of the present application proposes a computer-readable storage medium having stored thereon computer-readable instructions, which when executed by a processor of a computer, cause the computer to perform the display method according to any of the embodiments of the present application.
In the technical scheme provided by the embodiment of the application, in the current frame picture display process, whether to start the row detection function can be judged according to the first total number of rows, and whether to withdraw the row detection function can be judged according to the second total number of rows. Since the first total number of rows is determined based on the first preset gray level threshold and the first preset value, the second total number of rows is determined based on the second preset gray level threshold and the second preset value. The second preset gray level threshold value is smaller than the first preset gray level threshold value, namely, gray level hysteresis and the number hysteresis of the difference between the total number of the positive and negative polarity column lines meeting the corresponding conditions are added in the setting of the starting condition and the exiting condition of the row detection function, so that the starting condition and the exiting condition of the row detection function are not in the relation, namely, the number hysteresis of the difference between the total number of the positive and negative polarity column lines meeting the corresponding conditions is set, false triggering caused by shaking of the number of the difference between the gray level and the total number of the positive and negative polarity column lines can be solved, repeated alternation of starting and exiting of the row detection function in the picture display process can be avoided, and the picture flickering problem is solved.
Other features and advantages of the application will be apparent from the following detailed description, or may be learned by the practice of the application.
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 application as claimed.
Drawings
The above and other objects, features and advantages of the present application will become more apparent by describing in detail exemplary embodiments thereof with reference to the attached drawings.
Fig. 1 is a schematic diagram of a driving mode of a TFT-LCD.
Fig. 2 is a simplified circuit schematic of each sub-pixel control circuit.
Fig. 3 is a waveform diagram of the data S-out compared with VCOM.
Fig. 4 is a schematic diagram of a polarity inversion scheme for several columns of pixel electrodes.
Fig. 5 is a flowchart of a liquid crystal display method according to an embodiment of the application.
Fig. 6 is a flowchart of a step of obtaining a first total number of lines according to an embodiment of the present application.
Fig. 7 is a flowchart of steps for determining whether a starting condition is satisfied according to a first total number of rows according to an embodiment of the present application.
Fig. 8 is a flowchart of a step of obtaining a second total number of rows according to an embodiment of the present application.
Fig. 9 is a flowchart of steps for determining whether an exit condition is satisfied according to a second total number of rows according to an embodiment of the present application.
FIG. 10 is a flowchart of steps performed when an exit condition is not satisfied, provided by an embodiment of the present application.
Fig. 11 is a flowchart of a step of obtaining a third total number of rows according to an embodiment of the present application.
Fig. 12 is a flowchart of steps for determining whether a maintenance condition is satisfied according to a third total number of rows according to an embodiment of the present application.
Fig. 13 is another flowchart of a liquid crystal display method according to an embodiment of the application.
Fig. 14 is a flowchart of steps performed after counting the first total number of rows and the second total number of rows according to an embodiment of the present application.
Fig. 15 is another flowchart of a liquid crystal display method according to an embodiment of the present application.
Fig. 16 is a schematic diagram of a hardware structure of an electronic device according to an embodiment of the present application.
Description of main reference numerals:
1601-processor; 1602-memory; 1603-input/output interface; 1604 a communication interface; 1605-bus.
Detailed Description
The present application will be described in further detail with reference to the drawings and examples, in order to make the objects, technical solutions and advantages of the present application more apparent. It should be understood that the specific embodiments described herein are for purposes of illustration only and are not intended to limit the scope of the application.
It should be noted that although functional block division is performed in a device diagram and a logic sequence is shown in a flowchart, in some cases, the steps shown or described may be performed in a different order than the block division in the device, or in the flowchart. The terms first, second and the like in the description and in the claims and in the above-described figures, are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order.
Unless defined otherwise, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this application belongs. The terminology used herein is for the purpose of describing embodiments of the application only and is not intended to be limiting of the application.
A great advantage of the lcd tv over conventional CRT (Cathode Ray Tube) tv and plasma tv is power saving, the lcd has only half the power consumption of the same size CRT, which is much lower than the plasma; compared with the traditional CRT, the liquid crystal is better in environmental protection, because the high-voltage components such as the CRT are not arranged in the liquid crystal display, the situation that the radioactive rays exceed standards due to high voltage is avoided, the display area of the liquid crystal display does not radiate at all, only a small amount of electromagnetic waves from a driving circuit are generated, and the EMI (Electromagnetic Interference ) can be reduced by tightly sealing the shell, so that the radiation index is generally lower than that of the CRT; the liquid crystal display has a large visible area, the liquid crystal display achieves the display purpose by controlling the state of liquid crystal molecules through electrodes on the display screen, even if the screen is enlarged, the volume of the liquid crystal display is not increased in proportion (only the size is increased, the thickness is not increased, a wall-mounted function is provided for a plurality of products, a user can save more space), and the liquid crystal display is much lighter in weight than the traditional display with the same display area, the weight of the liquid crystal display is about 1/3 of that of the traditional television, so the liquid crystal display is also called a cold display or an environment-friendly display, and the LCD (Liquid Crystal Display ) is currently developing towards higher resolution, higher display image quality and larger size.
In the TFT-LCD driving, the driving mode is Line-by-Line (refer to fig. 1), when Gn signal is high, the TFT corresponding to the Line is turned on, data in the column direction can be written into the pixel, each sub-pixel simplified schematic diagram can refer to fig. 2, fig. 2 includes T controlling switch, liquid crystal capacitor Clc, storage capacitor Cst, G Line in charge of transmitting switch signal and S Line in charge of transmitting data (data), one end of Cst and Clc is the pixel electrode and the other end is the common electrode (VCOM). Because the liquid crystal is charged and discharged in a capacitor structure, if a DC (direct current) circuit is used for driving, the two ends of the capacitor inevitably generate residual charges, which is reflected on a display screen, in order to avoid the phenomenon, generally DC is changed into AC (alternating current), and the liquid crystal works by means of different voltages at the two ends, different rotations and different light transmission amounts, as shown in a waveform schematic diagram of data S-out in fig. 3, fig. 4 shows one polarity inversion mode (dot inversion) corresponding to the whole screen, the voltage of "±" is higher than that of VCOM, namely "+" higher than that of VCOM, and "-" lower than that of VCOM, and the VCOM is easily interfered by a data line to generate voltage jitter, and the voltage jitter causes the screen to generate cross talk and other anomalies.
Currently, in order to improve the problem, a Line PDF (Line detection) function is introduced, but when an ACC function (also called gamma gray level adjustment, which is to make a rising and falling motion for a gray level RGB), an OD function (to solve the smear problem, make a rising and falling motion for a previous frame of display gray level and a present frame of display gray level) or a Line OD function (to solve a bright and dark Line, make a rising and falling motion for a Line of display gray level and a present Line of display gray level) is added in the display process, the same display gray level is changed up and down because of the need for a change in the dynamic display, and if the gray level of the Line PDF is set to be in the range of the change, the condition of entering and exiting the Line PDF function exists. In addition, because of dynamic display, the number of +/-also has the jitter problem, and the situation that the Line PDF function is started and stopped repeatedly and alternately is caused, so that the picture flickering phenomenon can occur.
Based on this, the embodiment of the application provides a liquid crystal display method. The method aims to prevent the repeated alternate starting and exiting of the line detection function in the picture display process by improving the conditions of starting and exiting the line detection function, and can solve the picture flickering problem.
Referring to fig. 5, fig. 5 is a flowchart of a liquid crystal display method according to an embodiment of the application, including but not limited to steps S510 to S560.
In step S510, in the current frame display process, the sum of the positive polarity column line numbers with the sub-pixel gray-scale value greater than or equal to the first preset gray-scale threshold value on the column line corresponding to each row line is used as the total number of the first positive polarity column lines, the sum of the negative polarity column line numbers with the sub-pixel gray-scale value greater than or equal to the first preset gray-scale threshold value on the column line corresponding to each row line is used as the total number of the first negative polarity column lines, the first difference absolute value between the total number of the first positive polarity column lines and the total number of the first negative polarity column lines is determined, and the sum of the line numbers with the first difference absolute value greater than or equal to the first preset value is counted to be used as the first total line number.
In the embodiment of the application, in the process of displaying the current frame picture, the positive and negative polarities of each column line corresponding to each row and the sub-pixel gray scale value of each column line are obtained, so that the first total number of rows can be counted according to the positive and negative polarities of each column line corresponding to each row and the sub-pixel gray scale value of each column line.
Referring to fig. 6, fig. 6 is a flowchart illustrating steps for obtaining a first total number of rows according to an embodiment of the present application, including but not limited to steps S610 to S630.
In step S610, positive polarity column lines and negative polarity column lines in each row are determined according to the positive and negative polarities of the column lines corresponding to each row.
Step S620, obtaining the total number of the first positive polarity column lines and the total number of the first negative polarity column lines, of which the sub-pixel gray scale value is greater than or equal to a first preset gray scale threshold value, according to the sub-pixel gray scale values of the column lines corresponding to each row and the positive polarity column lines and the negative polarity column lines in each row;
in step S630, a first difference absolute value between the total number of the first positive polarity column lines and the total number of the first negative polarity column lines in each row is calculated, and a first total row number with the first difference absolute value greater than or equal to a first preset value is obtained.
In the embodiment of the application, for the current row, the positive and negative polarities of each column line are acquired, and the corresponding positive polarity column line and negative polarity column line in the current row can be determined. The sub-pixel gray scale values of all the column lines are obtained, so that the total number of the first positive-polarity column lines with the sub-pixel gray scale values larger than or equal to a first preset gray scale threshold value in all the positive-polarity column lines can be judged, and the total number of the first negative-polarity column lines with the sub-pixel gray scale values larger than or equal to the first preset gray scale threshold value in all the negative-polarity column lines can be judged. And calculating a first difference absolute value of the total number of the first positive polarity column lines and the total number of the first negative polarity column lines in the current row, judging whether the first difference absolute value is larger than or equal to a first preset value, and if the first difference absolute value is larger than or equal to the first preset value, enabling the current row to meet a counting condition, and adding 1 to the first total row number count. If the count value is smaller than the first preset value, the current row does not meet the count condition, and the first total row number count is increased by 0. Then, taking the next line of the current line as the current line, and executing judgment of whether the current line meets the counting condition, if yes, adding 1 to the first total line number count; if not, the first total number of rows count is incremented by 0. In this way, a first total number of numbers can be counted.
For example, the lcd panel is provided with 100 column lines in total, and based on the positive and negative polarities of the column lines corresponding to the current row, it can be determined that 40 column lines corresponding to the current row are positive polarity column lines and 60 column lines corresponding to the current row are negative polarity column lines. The total number of the first positive polarity column lines with the sub-pixel gray scale value larger than or equal to a first preset gray scale threshold value in the 40 positive polarity column lines is 25, and the total number of the first negative polarity column lines with the sub-pixel gray scale value larger than or equal to the first preset gray scale threshold value in the 60 negative polarity column lines is 45. Thus, the absolute value of the first difference between the total number of the first positive polarity column lines and the total number of the first negative polarity column lines is 20. Judging whether the first difference absolute value 20 is larger than or equal to a first preset value, if the first difference absolute value 20 is larger than or equal to the first preset value, the current row meets the counting condition, and the first total row number count is increased by 1. If the absolute value of the first difference 20 is smaller than the first preset value, the current row does not meet the counting condition, and the first total row number count is increased by 0. Then, the next line of the current line is taken as the current line, and the same judgment whether the counting condition is met is executed, so that the first total line number can be obtained through statistics.
It should be noted that the first preset gray-scale threshold is obtained by debugging in the production process of the liquid crystal display device. Based on different liquid crystal display devices, the corresponding first preset gray-scale threshold values may be different. The debugging range of the first preset gray level threshold value can be from a gray level lower limit value to a gray level upper limit value of the corresponding liquid crystal display device. For example, when the liquid crystal display device is an 8-bit panel, the debugging range of the first preset gray-scale threshold may be 0-255. When the liquid crystal display device is a 10bit panel, the debugging range of the first preset gray-scale threshold value can be 0-1023. Similarly, the first preset value is obtained by debugging based on design parameters and display effect requirements of the liquid crystal display device in the production process of the liquid crystal display device. Based on different liquid crystal display devices, the corresponding first preset values may be different.
In some embodiments, the first preset gray level threshold is greater than or equal to the first gray level threshold and less than or equal to the second gray level threshold. The second gray level threshold is a gray level upper limit value of the liquid crystal display device, and the first gray level threshold is 1/2 of the total gray level of the liquid crystal display device.
Step S520, judging whether the starting condition is satisfied according to the first total number of lines.
In the embodiment of the application, after the first total line number is obtained through statistics, whether the starting condition is met can be further judged according to the first total line number.
Referring to fig. 7, fig. 7 is a flowchart of steps for determining whether a starting condition is satisfied according to a first total number of rows, including but not limited to steps S710 to S730, according to an embodiment of the present application.
Step S710, judging whether the first total number of lines is greater than or equal to a first preset number of lines;
step S720, when the first total number of lines is greater than or equal to a first preset number of lines, determining that the starting condition is met;
in step S730, when the first total number of rows is smaller than the first preset number of rows, it is determined that the starting condition is not satisfied.
In the embodiment of the application, after the first total line number is obtained through statistics, the first total line number can be compared with the first preset line number to determine whether the starting condition of the line detection function is met. Specifically, whether the first total line number is greater than or equal to a first preset line number is determined, if the first total line number is greater than or equal to the first preset line number, the starting condition of the line detection function is determined to be satisfied, and if the first total line number is less than the first preset line number, the starting condition of the line detection function is determined not to be satisfied.
It should be noted that the first preset line number is determined in advance according to the display effect requirement, and the first preset line number is a positive integer greater than or equal to 1.
In step S530, when the start condition is satisfied, the column detection function is started.
In the embodiment of the present application, when the first total number of rows is greater than or equal to the first preset number of rows, it is determined that the start condition of the row detection function is satisfied. At this time, the column detection function is required to be activated. Namely, the high-low level time sequence of the polarity inversion control signal is output to the driving circuit, so that the driving circuit changes the corresponding electrode polarity according to the high-low level time sequence, and the positive and negative polarities of all column lines in the display process can be ensured to be symmetrical.
Step S540, when the start condition is not satisfied, the sum of positive polarity column lines with the sub-pixel gray-scale value greater than or equal to a second preset gray-scale threshold value on the column line corresponding to each row line is used as the total number of the second positive polarity column lines, the sum of negative polarity column lines with the sub-pixel gray-scale value greater than or equal to the second preset gray-scale threshold value on the column line corresponding to each row line is used as the total number of the second negative polarity column lines, a second difference absolute value between the total number of the second positive polarity column lines and the total number of the second negative polarity column lines is determined, and the sum of rows with the second difference absolute value smaller than the second preset value is counted and used as the second total number of rows, wherein the second preset gray-scale threshold value is smaller than the first preset gray-scale threshold value, and the second preset value is smaller than the first preset value.
In the embodiment of the application, when the starting condition is not satisfied, the column detection function is not started. At this time, the positive and negative polarities of the column lines and the sub-pixel gray scale values of the column lines corresponding to each row are obtained, so that the second total row number can be obtained through statistics according to the positive and negative polarities of the column lines and the sub-pixel gray scale values of the column lines corresponding to each row.
Referring to fig. 8, fig. 8 is a flowchart of a step of obtaining a second total number of rows according to an embodiment of the present application, including but not limited to steps S810 to S830.
Step S810, determining positive polarity column lines and negative polarity column lines in each row according to the positive and negative polarities of the column lines corresponding to each row.
Step S820, obtaining a total number of second positive polarity column lines and a total number of second negative polarity column lines, of which the sub-pixel gray-scale values are greater than or equal to a second preset gray-scale threshold value, according to the sub-pixel gray-scale values of the column lines corresponding to each row and the positive polarity column lines and the negative polarity column lines in each row, wherein the second preset gray-scale threshold value is smaller than the first preset gray-scale threshold value, and the second preset value is smaller than the first preset value;
in step S830, a second difference absolute value between the total number of the second positive polarity column lines and the total number of the second negative polarity column lines in each row is calculated, and a second total number of rows with the second difference absolute value smaller than a second preset value is obtained, wherein the second preset value is smaller than the first preset value.
In the embodiment of the application, for the current row, the positive and negative polarities of each column line are acquired, and the corresponding positive polarity column line and negative polarity column line in the current row can be determined. The sub-pixel gray scale values of all the column lines are obtained, so that the second positive polarity total number of sub-pixel gray scale values of all positive polarity column lines which are larger than or equal to a second preset gray scale threshold value can be judged, and the second negative polarity column line total number of sub-pixel gray scale values of all negative polarity column lines which are larger than or equal to the second preset gray scale threshold value can be judged. And calculating a second difference absolute value of the second positive polarity total number and the second negative polarity column line total number in the current row, judging whether the second difference absolute value is smaller than a second preset value, and if so, enabling the current row to meet a counting condition, and adding 1 to the second total row number count. If the current line is not smaller than the second preset value, the current line does not meet the counting condition, and the second total line count is increased by 0. Then, taking the next line of the current line as the current line, and executing judgment of whether the current line meets the counting condition, if yes, adding 1 to the second total line count; if not, the second total line count is incremented by 0. In this way, a second total number of rows may be counted.
For example, the lcd panel is provided with 100 column lines in total, and based on the positive and negative polarities of the column lines corresponding to the current row, it can be determined that 40 column lines corresponding to the current row are positive polarity column lines and 60 column lines corresponding to the current row are negative polarity column lines. The total number of the first positive polarity column lines with the sub-pixel gray scale value larger than or equal to a second preset gray scale threshold value in the 40 positive polarity column lines is 30, and the total number of the first negative polarity column lines with the sub-pixel gray scale value larger than or equal to the second preset gray scale threshold value in the 60 negative polarity column lines is 50. Thus, the absolute value of the second difference between the total number of the second positive polarity and the total number of the second negative polarity column lines is 20. Judging whether the second difference absolute value 20 is smaller than a second preset value, if the second difference absolute value 20 is smaller than the second preset value, the current line meets the counting condition, and the second total line count is increased by 1. If the second absolute value of the difference 20 is not smaller than the second preset value, the current line does not meet the counting condition, and the second total line count is increased by 0. And then taking the next line of the current line as the current line, and executing the same judgment whether the counting condition is met or not, so that the second total line number can be obtained through statistics.
Step S550, judging whether the exit condition is satisfied according to the second total number of rows.
In the embodiment of the application, after the second total number of lines is obtained through statistics, whether the starting condition is met can be further judged according to the second total number of lines.
Referring to fig. 9, fig. 9 is a flowchart of steps for determining whether an exit condition is satisfied according to a second total number of rows, including but not limited to steps S910 to S930, according to an embodiment of the present application.
Step S910, judging whether the second total line number is larger than the difference of the total line number corresponding to the display resolution minus the first preset line number;
step S920, when the second total line number is greater than the difference between the total line number corresponding to the display resolution and the first preset line number, determining that the exit condition is satisfied;
in step S930, when the second total line number is not greater than the difference between the total line number corresponding to the display resolution and the first preset line number, it is determined that the exit condition is not satisfied.
In the embodiment of the application, after the second total line number is obtained through statistics, the difference between the second total line number and the total line number corresponding to the display resolution minus the first preset line number can be compared to determine whether the exit condition of the line detection function is satisfied. Specifically, whether the second total line number is greater than the difference of the total line number corresponding to the display resolution minus the first preset line number is determined, if the second total line number is greater than the difference of the total line number corresponding to the display resolution minus the first preset line number, the exit condition of the line detection function is determined to be satisfied, and if the second total line number is not greater than the difference of the total line number corresponding to the display resolution minus the first preset line number, the exit condition of the line detection function is determined not to be satisfied.
In step S560, when the exit condition is satisfied, the column detection function is exited.
In the embodiment of the application, when the second total line number is greater than the difference between the total line number corresponding to the display resolution and the first preset line number, the exit condition meeting the line detection function is determined, and at the moment, the line detection function is exited to ensure that the positive and negative polarities of all the column lines are symmetrical in the display process. And when the second total line number is not greater than the difference between the total line number corresponding to the display resolution and the first preset line number, determining that the exit condition of the line detection function is not met, and at the moment, not executing the action of exiting the line detection function.
In the present application, during the display process of the current frame, whether to start the row detection function can be determined according to the first total number of rows, and whether to exit the row detection function can be determined according to the second total number of rows. Since the first total number of rows is determined based on the first preset gray level threshold and the first preset value, the second total number of rows is determined based on the second preset gray level threshold and the second preset value. The second preset gray level threshold value is smaller than the first preset gray level threshold value, namely, gray level hysteresis and the number hysteresis of the difference between the total number of the positive and negative polarity lines meeting the corresponding conditions are added in the setting of the starting condition and the exiting condition of the row detection function, so that the starting condition and the exiting condition of the row detection function are not in the relation, namely, the relation is not the same, and false triggering caused by gray level jitter and/or the false triggering caused by the jitter of the number of the difference between the total number of the positive and negative polarity lines can be solved through the setting of the gray level hysteresis and the number hysteresis of the difference between the total number of the positive and negative polarity lines meeting the corresponding conditions, thereby avoiding repeated alternation of the starting and the exiting of the row detection function in the picture display process and solving the picture flicker problem. Meanwhile, in the logic judgment process, whether the starting condition of the row detection function is met is judged according to the first total row number, and if yes, the row detection function is started. If not, acquiring a second total line number, judging whether the exit condition of the line detection function is met according to the second total line number, and if so, exiting the line detection function. The calculation amount can be reduced to a certain extent, and the speed of starting the column detection function can be improved.
In one embodiment of the present application, referring to fig. 10, fig. 10 is a flowchart of steps performed when the exit condition is not satisfied, including but not limited to steps S1010 to S1040, provided in the embodiment of the present application.
In step S1010, the sum of the rows satisfying the second difference absolute value being equal to or greater than the second preset value is counted as the third total row number.
In the embodiment of the application, when the exit condition is not satisfied, the action of the exit line detection function is not executed. At this time, the positive and negative polarities of the column lines and the sub-pixel gray scale values of the column lines corresponding to each row are obtained, so that the third total row number can be obtained through statistics according to the positive and negative polarities of the column lines and the sub-pixel gray scale values of the column lines corresponding to each row.
Referring to fig. 11, fig. 11 is a flowchart illustrating steps for obtaining a third total number of rows according to an embodiment of the present application, including but not limited to steps 1110 to 1130.
In step S1110, positive polarity column lines and negative polarity column lines in each row are determined according to the positive and negative polarities of the column lines corresponding to each row.
Step S1120, obtaining a second positive polarity column line total number and a second negative polarity column line total number of which the sub-pixel gray scale value is greater than or equal to a second preset gray scale threshold value in each row according to the sub-pixel gray scale values of the column lines corresponding to each row and the positive polarity column lines and the negative polarity column lines in each row;
In step S1130, a second difference absolute value between the total number of the second positive polarity column lines and the total number of the second negative polarity column lines in each row is calculated, and a third total row number with the second difference absolute value greater than or equal to a second preset value is obtained.
In the embodiment of the application, for the current row, the positive and negative polarities of each column line are acquired, and the corresponding positive polarity column line and negative polarity column line in the current row can be determined. The sub-pixel gray scale values of all the column lines are obtained, so that the second positive polarity total number of sub-pixel gray scale values of all positive polarity column lines which are larger than or equal to a second preset gray scale threshold value can be judged, and the second negative polarity column line total number of sub-pixel gray scale values of all negative polarity column lines which are larger than or equal to the second preset gray scale threshold value can be judged. And calculating a second difference absolute value of the second positive polarity total number and the second negative polarity column line total number in the current row, judging whether the second difference absolute value is larger than or equal to a second preset value, if so, the current row meets the counting condition, and the third total row count is increased by 1. If the total number of the rows is smaller than the second preset value, the current row does not meet the counting condition, and the third total row number count is increased by 0. Then, taking the next line of the current line as the current line, and executing judgment of whether the current line meets the counting condition, if yes, adding 1 to the third total line count; if not, the third total line count is incremented by 0. In this way, a third total number of rows may be counted.
For example, the lcd panel is provided with 100 column lines in total, and based on the positive and negative polarities of the column lines corresponding to the current row, it can be determined that 40 column lines corresponding to the current row are positive polarity column lines and 60 column lines corresponding to the current row are negative polarity column lines. The total number of the first positive polarity column lines with the sub-pixel gray scale value larger than or equal to a second preset gray scale threshold value in the 40 positive polarity column lines is 30, and the total number of the first negative polarity column lines with the sub-pixel gray scale value larger than or equal to the second preset gray scale threshold value in the 60 negative polarity column lines is 50. Thus, the absolute value of the second difference between the total number of the second positive polarity and the total number of the second negative polarity column lines is 20. Judging whether the second difference absolute value 20 is larger than or equal to a second preset value, if the second difference absolute value 20 is larger than or equal to the second preset value, the current line meets the counting condition, and the third total line count is increased by 1. If the second absolute value of the difference 20 is smaller than the second preset value, the current line does not meet the counting condition, and the third total line count is increased by 0. Then, the next line of the current line is taken as the current line, and the same judgment whether the counting condition is met is executed, so that the third total line number can be obtained through statistics.
Step S1020, judging whether the maintenance condition is met according to the third total number of lines.
In the embodiment of the application, after the third total number of rows is obtained through statistics, whether the maintenance condition is met can be further judged according to the third total number of rows.
Referring to fig. 12, fig. 12 is a flowchart of steps for determining whether a maintenance condition is satisfied according to a third total number of rows, including but not limited to steps S1210 to S1230, according to an embodiment of the present application.
Step S1210, judging whether the third total number of rows is greater than or equal to the first preset number of rows;
step S1220, when the third total number of lines is greater than or equal to the first preset number of lines, determining that the maintenance condition is satisfied;
in step S1230, when the third total number of rows is smaller than the first preset number of rows, it is determined that the maintenance condition is not satisfied.
In the embodiment of the present application, after the third total number of rows is obtained by statistics, the third total number of rows may be compared with the first preset number of rows to determine whether the maintenance condition of the row detection function is satisfied. Specifically, judging whether the third total line number is greater than or equal to the first preset line number, and if the third total line number is greater than or equal to the first preset line number, determining that a maintenance condition of the line detection function is met; if the third total number of rows is smaller than the first preset number of rows, determining that the maintenance condition of the row detection function is not met.
In step S1030, when the maintenance condition is satisfied, the column detection operation corresponding to the previous frame is maintained.
In the embodiment of the present application, when the third total number of lines is greater than or equal to the first preset number of lines, it is determined that the maintaining condition of the line detection function is satisfied, and at this time, the line detection action correspondingly executed by the previous frame of picture is maintained, so as to ensure that the positive and negative polarities of each column line are symmetrical in the display process. If the line detection operation executed by the previous frame is to start the line detection function, the line detection function is continuously started when the current frame is displayed. If the line detection action executed by the previous frame is the line detection function, the line detection function is continuously withdrawn when the current frame is displayed.
In step S1040, the trip detection function is disabled when the maintenance condition is not satisfied.
In the embodiment of the application, when the third total number of rows is smaller than the first preset number of rows, it is determined that the maintenance condition of the row detection function is not satisfied, and at this time, the action of moving back the row detection function is executed to ensure that the positive and negative polarities of the column lines are symmetrical in the display process.
In the present application, in the current frame display process, whether to start the line detection function can be determined according to the first total line number, whether to withdraw the line detection function can be determined according to the second total line number, and whether to maintain the line detection function executed by the previous frame can be determined according to the third total line number. Since the first total number of rows is determined based on the first preset gray level threshold and the first preset value, the second total number of rows is determined based on the second preset gray level threshold and the second preset value. The second preset gray level threshold value is smaller than the first preset gray level threshold value, namely, gray level hysteresis and the number hysteresis of the difference between the total number of the positive and negative polarity lines meeting the corresponding conditions are added in the setting of the starting condition and the exiting condition of the row detection function, so that the starting condition and the exiting condition of the row detection function are not in the relation, namely, the relation is not the same, and false triggering caused by gray level jitter and/or the false triggering caused by the jitter of the number of the difference between the total number of the positive and negative polarity lines can be solved through the setting of the gray level hysteresis and the number hysteresis of the difference between the total number of the positive and negative polarity lines meeting the corresponding conditions, thereby avoiding repeated alternation of the starting and the exiting of the row detection function in the picture display process and solving the picture flicker problem. And by supplementing the maintenance conditions, the operation of starting or exiting the row detection function can be correspondingly executed in the display process of each frame of picture.
Referring to fig. 13, fig. 13 is another flowchart of the liquid crystal display method according to the embodiment of the application, including but not limited to steps S1310 to S1350.
Step S1310, in the current frame display process, taking the sum of positive polarity column lines with the sub-pixel gray-scale value larger than or equal to a first preset gray-scale threshold value on the column line corresponding to each row line as a first positive polarity column line total number, taking the sum of negative polarity column lines with the sub-pixel gray-scale value larger than or equal to the first preset gray-scale threshold value on the column line corresponding to each row line as a first negative polarity column line total number, determining a first difference absolute value of the first positive polarity column line total number and the first negative polarity column line total number, and counting the sum of rows meeting the first difference absolute value larger than or equal to the first preset value as a first total row number;
step S1320, the sum of positive polarity column line numbers with the sub-pixel gray-scale value larger than or equal to a second preset gray-scale threshold value on the column line corresponding to each row line is used as a second positive polarity column line total number, the sum of negative polarity column line numbers with the sub-pixel gray-scale value larger than or equal to the second preset gray-scale threshold value on the column line corresponding to each row line is used as a second negative polarity column line total number, a second difference absolute value between the second positive polarity column line total number and the second negative polarity column line total number is determined, and the sum of rows meeting the second difference absolute value smaller than the second preset value is counted to be used as a second total row number, wherein the second preset gray-scale threshold value is smaller than the first preset gray-scale threshold value;
Step S1330, judging whether the starting condition is met according to the first total number of rows and judging whether the exiting condition is met according to the second total number of rows;
step S1340, when the start condition is satisfied but the exit condition is not satisfied, or when the start condition is satisfied and the exit condition is satisfied, starting the row detection function;
in step S1350, when the exit condition is satisfied but the start condition is not satisfied, the trip detection function is exited.
In the embodiment of the application, the first total line number is obtained based on the first preset gray-scale threshold value and the first preset value, and the second total line number is obtained based on the second preset gray-scale threshold value and the second preset value. And then judging whether the starting condition is met according to the first total line number and judging whether the exiting condition is met according to the second total line number. The row detection function is activated when the start condition is satisfied but the exit condition is not satisfied, or when the start condition is satisfied and the exit condition is satisfied. And when the exit condition is satisfied but the start condition is not satisfied, the trip detection function is exited. Namely, in the logic judging process, the starting condition and the exiting condition are required to be judged at the same time, and then the action of the line detection function to be executed is determined according to the judging result of the starting condition and the exiting condition.
In the present application, during the display process of the current frame, whether to start the row detection function can be determined according to the first total number of rows, and whether to exit the row detection function can be determined according to the second total number of rows. Since the first total number of rows is determined based on the first preset gray level threshold and the first preset value, the second total number of rows is determined based on the second preset gray level threshold and the second preset value. The second preset gray level threshold value is smaller than the first preset gray level threshold value, namely, gray level hysteresis and the number hysteresis of the difference between the total number of the positive and negative polarity lines meeting the corresponding conditions are added in the setting of the starting condition and the exiting condition of the row detection function, so that the starting condition and the exiting condition of the row detection function are not in the relation, namely, the relation is not the same, and false triggering caused by gray level jitter and/or the false triggering caused by the jitter of the number of the difference between the total number of the positive and negative polarity lines can be solved through the setting of the gray level hysteresis and the number hysteresis of the difference between the total number of the positive and negative polarity lines meeting the corresponding conditions, thereby avoiding repeated alternation of the starting and the exiting of the row detection function in the picture display process and solving the picture flicker problem. Meanwhile, by judging the start condition and the exit condition at the same time and determining the action of the line detection function to be executed according to the judging results of the start condition and the exit condition, the judging result can be ensured to be more correct, and the action of executing the detection function can be ensured to be more accurate.
Referring to fig. 14, fig. 14 is a flowchart of steps performed after counting a first total number of rows and a second total number of rows according to an embodiment of the present application, including but not limited to steps S1410 to S1460.
Step S1410, counting the sum of the rows satisfying the second difference absolute value being greater than or equal to the second preset value as the third total row number;
step S1420, judging whether the starting condition is met according to the first total number of lines, judging whether the exiting condition is met according to the second total number of lines, and judging whether the maintaining condition is met according to the third total number of lines;
step S1430, when the start condition is satisfied but the exit condition and the maintenance condition are not satisfied, starting the row detection function;
step S1440, when the exit condition is satisfied but the start condition and the maintenance condition are not satisfied, the trip detection function is exited;
step S1450, when the maintenance condition is satisfied but the start condition and the exit condition are not satisfied, maintaining the row detection action correspondingly executed for the previous frame;
in step S1460, when any two or more of the start condition, the exit condition and the sustain condition are satisfied, corresponding line detection is performed according to a preset priority, where the preset priority is that the priority of starting line detection is greater than the priority of exiting line detection and greater than the priority of sustaining the line detection performed corresponding to the previous frame of picture.
In the embodiment of the application, the first total line number is obtained based on the first preset gray-scale threshold value and the first preset value, and the second total line number and the third total line number are obtained based on the second preset gray-scale threshold value and the second preset value. And then judging whether the starting condition is met according to the first total line number, judging whether the exiting condition is met according to the second total line number, and judging whether the maintaining condition is met according to the third total line number. When the start condition is satisfied but the exit condition and the sustain condition are not satisfied, the column detection function is started. And when the exit condition is satisfied but the start condition and the sustain condition are not satisfied, the trip detection function is exited. And when the maintenance condition is met but the starting condition and the exiting condition are not met, maintaining the row detection action correspondingly executed by the previous frame of picture. When any two or more conditions of the start condition, the exit condition and the maintenance condition are met, corresponding row detection actions are executed according to the preset priority. In the logic judging process, the starting condition, the exiting condition and the maintaining condition are required to be judged simultaneously, and then the action of the line detection function to be executed is determined according to the judging results of the starting condition, the exiting condition and the maintaining condition.
In the present application, in the current frame display process, whether to start the row detection function can be determined according to the first total row number, whether to withdraw the row detection function can be determined according to the second total row number, and whether to maintain the row detection action correspondingly executed by the previous frame can be determined according to the third total row number. Since the first total number of rows is determined based on the first preset gray level threshold and the first preset value, the second total number of rows is determined based on the second preset gray level threshold and the second preset value. The second preset gray level threshold value is smaller than the first preset gray level threshold value, namely, gray level hysteresis and the number hysteresis of the difference between the total number of the positive and negative polarity lines meeting the corresponding conditions are added in the setting of the starting condition, the maintaining condition and the exiting condition of the row detection function, so that the starting condition and the exiting condition of the row detection function are not in the relation, and the problem of picture flicker is solved by setting the gray level hysteresis and the number hysteresis of the difference between the total number of the positive and negative polarity lines meeting the corresponding conditions, so that false triggering caused by gray level jitter and/or the number of the difference between the total number of the positive and negative polarity lines can be solved, and repeated alternation of the starting and the exiting of the row detection function in the picture display process can be avoided. Meanwhile, by judging the starting condition, the exiting condition and the maintaining condition at the same time and determining the action of the line detection function to be executed according to the judging results of the starting condition, the exiting condition and the maintaining condition, the judging result can be ensured to be more correct, and each frame of picture can be ensured to correspondingly execute the action of the starting or exiting line detection function in the display process.
Referring to fig. 15, fig. 15 is another flowchart of the liquid crystal display method according to the embodiment of the application, including but not limited to steps S1510 to S1570.
Step S1510, in the current frame display process, taking the sum of positive polarity column lines with the sub-pixel gray-scale value larger than or equal to a first preset gray-scale threshold value on the column line corresponding to each row line as a first positive polarity column line total number, taking the sum of negative polarity column lines with the sub-pixel gray-scale value larger than or equal to the first preset gray-scale threshold value on the column line corresponding to each row line as a first negative polarity column line total number, determining a first difference absolute value of the first positive polarity column line total number and the first negative polarity column line total number, and counting the sum of rows meeting the first difference absolute value larger than or equal to the first preset value as a first total row number;
step S1520, judging whether the starting condition is satisfied according to the first total number of lines;
step S1530, when the starting condition is satisfied, starting the row detection function;
step S1540, when the starting condition is not met, taking the sum of positive polarity column line numbers with the gray level value of the sub-pixel on the column line corresponding to each row line being greater than or equal to a second preset gray level threshold value as a second positive polarity column line total number, taking the sum of negative polarity column line numbers with the gray level value of the sub-pixel on the column line corresponding to each row line being greater than or equal to the second preset gray level threshold value as a second negative polarity column line total number, determining a second difference absolute value between the second positive polarity column line total number and the second negative polarity column line total number, and counting the sum of rows meeting the second difference absolute value being greater than or equal to the second preset value as a third total row number, wherein the second preset gray level threshold value is smaller than the first preset gray level threshold value and the second preset value is smaller than the first preset value;
Step S1550, judging whether the maintenance condition is met or not according to the third total number of rows;
step S1560, when the maintenance condition is satisfied, maintaining the row detection action correspondingly executed for the previous frame;
in step S1570, when the maintenance condition is not satisfied, the trip detection function is disabled.
In the embodiment of the application, the first total line number is obtained based on the first preset gray-scale threshold value and the first preset value, and the third total line number is obtained based on the second preset gray-scale threshold value and the second preset value.
In the present application, during the display process of the current frame, whether to start the line detection function can be determined according to the first total line number, and whether to maintain the line detection action correspondingly executed by the previous frame can be determined according to the third total line number. Since the first total number of lines is determined based on the first preset gray-scale threshold and the first preset value, the third total number of lines is determined based on the second preset gray-scale threshold and the second preset value. The second preset gray level threshold value is smaller than the first preset gray level threshold value, namely, gray level hysteresis and the number hysteresis of the difference between the total number of the positive and negative polarity column lines meeting the corresponding conditions are added in the setting of the starting condition and the maintaining condition of the line detection function, so that false triggering caused by gray level jitter and/or the jitter of the number of the difference between the total number of the positive and negative polarity column lines can be solved through the setting of the gray level hysteresis and the number hysteresis of the difference between the total number of the positive and negative polarity column lines meeting the corresponding conditions, and the repeated alternation of the starting and the exiting of the line detection function in the picture display process can be avoided, and the picture flicker problem is solved. And meanwhile, in the logic judgment process, whether the starting condition of the row detection function is met is judged according to the first total row number, and if so, the row detection function is started. If not, acquiring a third total line number, judging whether the maintaining condition of the line detection function is met according to the third total line number, if so, maintaining the line detection action correspondingly executed by the previous frame picture, and if not, exiting the line detection function. The method can reduce the calculated amount to a certain extent, improve the speed of starting the line detection function, and simultaneously ensure that each frame of picture can correspondingly execute the action of starting or exiting the line detection function in the display process.
The embodiment of the application also provides electronic equipment, which comprises a memory and a processor, wherein the memory stores a computer program, and the processor realizes the liquid crystal display method when executing the computer program. The electronic equipment can be any intelligent terminal including a tablet personal computer, a vehicle-mounted computer and the like.
Referring to fig. 16, fig. 16 illustrates a hardware structure of an electronic device according to another embodiment, the electronic device includes:
the processor 1601 may be implemented by a general-purpose CPU (central processing unit), a microprocessor, an application-specific integrated circuit (ApplicationSpecificIntegratedCircuit, ASIC), or one or more integrated circuits, etc. for executing related programs to implement the technical solution provided by the embodiments of the present application;
memory 1602 may be implemented in the form of read-only memory (ReadOnlyMemory, ROM), static storage, dynamic storage, or random access memory (RandomAccessMemory, RAM). The memory 1602 may store an operating system and other application programs, and when the technical solutions provided in the embodiments of the present disclosure are implemented by software or firmware, relevant program codes are stored in the memory 1602, and the processor 1601 invokes a liquid crystal display method for executing the embodiments of the present disclosure;
An input/output interface 1603 for implementing information input and output;
the communication interface 1604 is configured to implement communication interaction between the device and other devices, and may implement communication in a wired manner (e.g., USB, network cable, etc.), or may implement communication in a wireless manner (e.g., mobile network, WIFI, bluetooth, etc.);
a bus 1605 for transferring information between various components of the device (e.g., processor 1601, memory 1602, input/output interface 1603, and communication interface 1604);
wherein the processor 1601, the memory 1602, the input/output interface 1603 and the communication interface 1604 enable communication connection with each other inside the device via a bus 1605.
The embodiment of the application also provides a storage medium, which is a computer readable storage medium, and the storage medium stores a computer program, and the computer program realizes the liquid crystal display method when being executed by a processor.
The memory, as a non-transitory computer readable storage medium, may be used to store non-transitory software programs as well as non-transitory computer executable programs. In addition, the memory may include high-speed random access memory, and may also include non-transitory memory, such as at least one magnetic disk storage device, flash memory device, or other non-transitory solid state storage device. In some embodiments, the memory optionally includes memory remotely located relative to the processor, the remote memory being connectable to the processor through a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
The embodiments described in the embodiments of the present application are for more clearly describing the technical solutions of the embodiments of the present application, and do not constitute a limitation on the technical solutions provided by the embodiments of the present application, and those skilled in the art can know that, with the evolution of technology and the appearance of new application scenarios, the technical solutions provided by the embodiments of the present application are equally applicable to similar technical problems.
It will be appreciated by persons skilled in the art that the embodiments of the application are not limited by the illustrations, and that more or fewer steps than those shown may be included, or certain steps may be combined, or different steps may be included.
The above described apparatus embodiments are merely illustrative, wherein the units illustrated as separate components may or may not be physically separate, i.e. may be located in one place, or may be distributed over a plurality of network elements. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
Those of ordinary skill in the art will appreciate that all or some of the steps of the methods, systems, functional modules/units in the devices disclosed above may be implemented as software, firmware, hardware, and suitable combinations thereof.
The terms "first," "second," "third," "fourth," and the like in the description of the application and in the above figures, if any, are used for distinguishing between similar objects and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used may be interchanged where appropriate such that the embodiments of the application described herein may be implemented in sequences other than those illustrated or otherwise described herein. Furthermore, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
It should be understood that in the present application, "at least one (item)" means one or more, and "a plurality" means two or more. "and/or" for describing the association relationship of the association object, the representation may have three relationships, for example, "a and/or B" may represent: only a, only B and both a and B are present, wherein a, B may be singular or plural. The character "/" generally indicates that the context-dependent object is an "or" relationship. "at least one of" or the like means any combination of these items, including any combination of single item(s) or plural items(s). For example, at least one (one) of a, b or c may represent: a, b, c, "a and b", "a and c", "b and c", or "a and b and c", wherein a, b, c may be single or plural.
In the several embodiments provided by the present application, it should be understood that the disclosed apparatus and method may be implemented in other manners. For example, the above-described apparatus embodiments are merely illustrative, and for example, the above-described division of units is merely a logical function division, and there may be another division manner in actual implementation, for example, a plurality of units or components may be combined or may be integrated into another system, or some features may be omitted, or not performed. Alternatively, the coupling or direct coupling or communication connection shown or discussed with each other may be an indirect coupling or communication connection via some interfaces, devices or units, which may be in electrical, mechanical or other form.
The units described above as separate components may or may not be physically separate, and components shown as units may or may not be physical units, may be located in one place, or may be distributed over a plurality of network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
In addition, each functional unit in the embodiments of the present application may be integrated in one processing unit, or each unit may exist alone physically, or two or more units may be integrated in one unit. The integrated units may be implemented in hardware or in software functional units.
The integrated units, if implemented in the form of software functional units and sold or used as stand-alone products, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present application may be embodied in essence or a part contributing to the prior art or all or part of the technical solution in the form of a software product stored in a storage medium, including multiple instructions to cause a computer device (which may be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the method of the various embodiments of the present application. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a random access Memory (Random Access Memory, RAM), a magnetic disk, or an optical disk, or other various media capable of storing a program.
The preferred embodiments of the present application have been described above with reference to the accompanying drawings, and are not thereby limiting the scope of the claims of the embodiments of the present application. Any modifications, equivalent substitutions and improvements made by those skilled in the art without departing from the scope and spirit of the embodiments of the present application shall fall within the scope of the claims of the embodiments of the present application.

Claims (10)

1. A method of liquid crystal display, the method comprising:
in the current frame picture display process, taking the sum of positive polarity column line numbers, of which the sub-pixel gray scale value is larger than or equal to a first preset gray scale threshold value, on column lines corresponding to each row line as a first positive polarity column line total number, taking the sum of negative polarity column line numbers, of which the sub-pixel gray scale value is larger than or equal to the first preset gray scale threshold value, on column lines corresponding to each row line as a first negative polarity column line total number, determining a first difference absolute value between the first positive polarity column line total number and the first negative polarity column line total number, and counting the sum of rows, of which the first difference absolute value is larger than or equal to the first preset value, as a first total row number;
judging whether a starting condition is met or not according to the first total line number;
when the starting condition is met, starting a row detection function;
when the starting condition is not met, taking the sum of positive polarity column line numbers, of which the sub-pixel gray-scale value is larger than or equal to a second preset gray-scale threshold value, on column lines corresponding to each row line as a second positive polarity column line total number, taking the sum of negative polarity column line numbers, of which the sub-pixel gray-scale value is larger than or equal to the second preset gray-scale threshold value, on column lines corresponding to each row line as a second negative polarity column line total number, determining a second difference absolute value between the second positive polarity column line total number and the second negative polarity column line total number, and taking the sum of rows, of which the second difference absolute value is smaller than a second preset value, as a second total row number, wherein the second preset gray-scale threshold value is smaller than the first preset gray-scale threshold value, and the second preset value is smaller than the first preset value;
Judging whether an exit condition is met or not according to the second total number of rows;
and when the exit condition is met, exiting the row detection function.
2. The method of claim 1, wherein the determining whether the start-up condition is satisfied based on the first total number of rows comprises:
judging whether the first total line number is larger than or equal to a first preset line number or not;
when the first total line number is greater than or equal to the first preset line number, determining that the starting condition is met;
and when the first total line number is smaller than the first preset line number, determining that the starting condition is not met.
3. The method of claim 2, wherein determining whether an exit condition is satisfied based on the second total number of rows comprises:
judging whether the second total line number is larger than the difference of the total line number corresponding to the display resolution minus the first preset line number;
when the second total line number is larger than the difference between the total line number corresponding to the display resolution and the first preset line number, determining that the exit condition is met;
and when the second total line number is not larger than the difference between the total line number corresponding to the display resolution and the first preset line number, determining that the exit condition is not met.
4. The method of claim 1, wherein when the exit condition is not satisfied, the method further comprises:
counting the sum of the rows meeting the second difference absolute value more than or equal to the second preset value as a third total row number;
judging whether a maintenance condition is met or not according to the third total line number;
when the maintenance condition is met, maintaining the row detection action correspondingly executed by the previous frame of picture;
and when the maintenance condition is not met, the trip detection function is stopped.
5. The method of claim 4, wherein determining whether a maintenance condition is satisfied based on the third total number of rows comprises:
judging whether the third total line number is larger than or equal to a first preset line number;
when the third total line number is greater than or equal to the first preset line number, determining that the maintenance condition is met;
and when the third total number of lines is smaller than the first preset number of lines, determining that the maintaining condition is not met.
6. A method of liquid crystal display, the method comprising:
in the current frame picture display process, taking the sum of positive polarity column line numbers, of which the sub-pixel gray scale value is larger than or equal to a first preset gray scale threshold value, on column lines corresponding to each row line as a first positive polarity column line total number, taking the sum of negative polarity column line numbers, of which the sub-pixel gray scale value is larger than or equal to the first preset gray scale threshold value, on column lines corresponding to each row line as a first negative polarity column line total number, determining a first difference absolute value between the first positive polarity column line total number and the first negative polarity column line total number, and counting the sum of rows, of which the first difference absolute value is larger than or equal to the first preset value, as a first total row number;
Taking the sum of positive polarity column line numbers, which are corresponding to each row line, of sub-pixel gray-scale values which are larger than or equal to a second preset gray-scale threshold value on the column line as a second positive polarity column line total number, taking the sum of negative polarity column line numbers, which are corresponding to each row line and are larger than or equal to the second preset gray-scale threshold value, on the column line, as a second negative polarity column line total number, determining a second difference absolute value between the second positive polarity column line total number and the second negative polarity column line total number, and counting the sum of rows, which meet the second difference absolute value, smaller than a second preset value, as a second total row number, wherein the second preset gray-scale threshold value is smaller than the first preset gray-scale threshold value, and the second preset value is smaller than the first preset value;
judging whether a starting condition is met according to the first total line number, and judging whether an exiting condition is met according to the second total line number;
starting a row detection function when the starting condition is met but the exiting condition is not met, or when the starting condition is met and the exiting condition is met;
and when the exit condition is met but the starting condition is not met, exiting the travel detection function.
7. The method of claim 6, wherein after counting the first total number of rows and the second total number of rows, the method comprises:
Counting the sum of the rows meeting the second difference absolute value more than or equal to the second preset value as a third total row number;
judging whether a starting condition is met according to the first total line number, judging whether an exiting condition is met according to the second total line number, and judging whether a maintaining condition is met according to the third total line number;
when the starting condition is met but the exiting condition and the maintaining condition are not met, starting a row detection function;
when the exit condition is satisfied but the start condition and the maintenance condition are not satisfied, exiting the travel detection function;
when the maintenance condition is met but the starting condition and the exiting condition are not met, maintaining the row detection action correspondingly executed by the previous frame of picture;
and when any two or more of the starting condition, the exiting condition and the maintaining condition are met, executing corresponding line detection actions according to preset priority, wherein the preset priority is that the priority of starting line detection is higher than the priority of exiting line detection and the priority of maintaining the line detection actions correspondingly executed by the previous frame of picture.
8. A method of liquid crystal display, the method comprising:
in the current frame picture display process, taking the sum of positive polarity column line numbers, of which the sub-pixel gray scale value is larger than or equal to a first preset gray scale threshold value, on column lines corresponding to each row line as a first positive polarity column line total number, taking the sum of negative polarity column line numbers, of which the sub-pixel gray scale value is larger than or equal to the first preset gray scale threshold value, on column lines corresponding to each row line as a first negative polarity column line total number, determining a first difference absolute value between the first positive polarity column line total number and the first negative polarity column line total number, and counting the sum of rows, of which the first difference absolute value is larger than or equal to the first preset value, as a first total row number;
Judging whether a starting condition is met or not according to the first total line number;
when the starting condition is met, starting a row detection function;
when the starting condition is not met, taking the sum of positive polarity column line numbers, of which the sub-pixel gray-scale value is larger than or equal to a second preset gray-scale threshold value, on column lines corresponding to each row line as a second positive polarity column line total number, taking the sum of negative polarity column line numbers, of which the sub-pixel gray-scale value is larger than or equal to the second preset gray-scale threshold value, on column lines corresponding to each row line as a second negative polarity column line total number, determining a second difference absolute value between the second positive polarity column line total number and the second negative polarity column line total number, and taking the sum of rows, of which the second difference absolute value is larger than or equal to a second preset value, as a third total row number, wherein the second preset gray-scale threshold value is smaller than the first preset gray-scale threshold value, and the second preset value is smaller than the first preset value;
judging whether a maintenance condition is met or not according to the third total line number;
when the maintenance condition is met, maintaining the row detection action correspondingly executed by the previous frame of picture;
and when the maintenance condition is not met, the trip detection function is stopped.
9. An electronic device comprising a memory storing a computer program and a processor implementing the method of any of claims 1-8 when the computer program is executed by the processor.
10. A computer readable storage medium having stored thereon computer readable instructions which, when executed by a processor of a computer, cause the computer to perform the method of any of claims 1-8.
CN202311065472.0A 2023-08-23 2023-08-23 Liquid crystal display method, electronic device, and storage medium Active CN116798378B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202311065472.0A CN116798378B (en) 2023-08-23 2023-08-23 Liquid crystal display method, electronic device, and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202311065472.0A CN116798378B (en) 2023-08-23 2023-08-23 Liquid crystal display method, electronic device, and storage medium

Publications (2)

Publication Number Publication Date
CN116798378A true CN116798378A (en) 2023-09-22
CN116798378B CN116798378B (en) 2023-10-24

Family

ID=88045009

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202311065472.0A Active CN116798378B (en) 2023-08-23 2023-08-23 Liquid crystal display method, electronic device, and storage medium

Country Status (1)

Country Link
CN (1) CN116798378B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117496916A (en) * 2023-12-06 2024-02-02 惠科股份有限公司 Picture detection circuit and display device

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2012220632A (en) * 2011-04-06 2012-11-12 Seiko Epson Corp Electro-optical device, control method of electro-optical device and electronic apparatus
CN103151012A (en) * 2013-03-06 2013-06-12 京东方科技集团股份有限公司 Polarity inversion driving method, driving device and liquid crystal display equipment
WO2016049954A1 (en) * 2014-09-29 2016-04-07 深圳市华星光电技术有限公司 Liquid crystal display panel and liquid crystal display having same
US20200365090A1 (en) * 2019-05-17 2020-11-19 Samsung Display Co., Ltd. Display device compensating for horizontal crosstalk
CN115565503A (en) * 2022-11-09 2023-01-03 惠科股份有限公司 Image processing method, image processing apparatus, storage medium, and display apparatus
CN116189627A (en) * 2022-08-19 2023-05-30 惠科股份有限公司 Display panel driving method and device and display panel
CN116343701A (en) * 2023-03-15 2023-06-27 惠科股份有限公司 Display panel, driving method thereof and computer storage medium

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2012220632A (en) * 2011-04-06 2012-11-12 Seiko Epson Corp Electro-optical device, control method of electro-optical device and electronic apparatus
CN103151012A (en) * 2013-03-06 2013-06-12 京东方科技集团股份有限公司 Polarity inversion driving method, driving device and liquid crystal display equipment
WO2016049954A1 (en) * 2014-09-29 2016-04-07 深圳市华星光电技术有限公司 Liquid crystal display panel and liquid crystal display having same
US20200365090A1 (en) * 2019-05-17 2020-11-19 Samsung Display Co., Ltd. Display device compensating for horizontal crosstalk
CN116189627A (en) * 2022-08-19 2023-05-30 惠科股份有限公司 Display panel driving method and device and display panel
CN115565503A (en) * 2022-11-09 2023-01-03 惠科股份有限公司 Image processing method, image processing apparatus, storage medium, and display apparatus
CN116343701A (en) * 2023-03-15 2023-06-27 惠科股份有限公司 Display panel, driving method thereof and computer storage medium

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117496916A (en) * 2023-12-06 2024-02-02 惠科股份有限公司 Picture detection circuit and display device
CN117496916B (en) * 2023-12-06 2024-04-19 惠科股份有限公司 Picture detection circuit and display device

Also Published As

Publication number Publication date
CN116798378B (en) 2023-10-24

Similar Documents

Publication Publication Date Title
CN116798378B (en) Liquid crystal display method, electronic device, and storage medium
US9311873B2 (en) Polarity inversion driving method for liquid crystal display panel, driving apparatus and display device
US9607562B2 (en) Method of driving display panel and display apparatus for performing the same
US9530380B2 (en) Display device and driving method thereof
CN115565503B (en) Image processing method, device, storage medium and display device
CN104933986B (en) Display drive apparatus and display driving method and display device
KR101222988B1 (en) Liquid Crystal Display and Driving Method thereof
CN105047138A (en) Driving system of display device and driving circuit suitable for OLED
CN109285506A (en) A kind of display device and its driving method and drive system
JP2013250553A (en) Method and system for display channel driving and scanning
US8384640B2 (en) Image processing method and related apparatus for a display device
KR101746616B1 (en) A liquid crystal display apparatus and a method for driving the same
KR20150061568A (en) Display device and deriving method thereof
KR102052330B1 (en) Liquid crystal display deviced and driving method thereof
JP2001242826A (en) Plasma display device and its driving method
US20120200541A1 (en) Lcd and driving method applicable thereto
CN102214450A (en) Liquid crystal display and driving method thereof
CN101295474A (en) Image processing method and related device for display equipment
CN116543675B (en) Picture detection method, device, display panel and computer readable storage medium
US8400373B2 (en) Driving method of plasma display device
KR20070041845A (en) Liquid crystal display, apparatus and method driving thereof
CN113808515B (en) Common electrode structure, driving method and display device
US9019325B2 (en) Liquid crystal display device
CN115171585A (en) Display panel, pixel pre-charging method, electronic device and readable medium
CN114613338B (en) Pixel data improving method, pixel matrix driving device and display

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