CN110782854B - Electronic equipment and reading mode identification method thereof - Google Patents

Electronic equipment and reading mode identification method thereof Download PDF

Info

Publication number
CN110782854B
CN110782854B CN201910949099.2A CN201910949099A CN110782854B CN 110782854 B CN110782854 B CN 110782854B CN 201910949099 A CN201910949099 A CN 201910949099A CN 110782854 B CN110782854 B CN 110782854B
Authority
CN
China
Prior art keywords
pixels
electronic equipment
target electronic
reading mode
sub
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201910949099.2A
Other languages
Chinese (zh)
Other versions
CN110782854A (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.)
Shenzhen China Star Optoelectronics Semiconductor Display Technology Co Ltd
Original Assignee
Shenzhen China Star Optoelectronics Semiconductor Display Technology 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 Shenzhen China Star Optoelectronics Semiconductor Display Technology Co Ltd filed Critical Shenzhen China Star Optoelectronics Semiconductor Display Technology Co Ltd
Priority to CN201910949099.2A priority Critical patent/CN110782854B/en
Priority to PCT/CN2019/114241 priority patent/WO2021068303A1/en
Publication of CN110782854A publication Critical patent/CN110782854A/en
Application granted granted Critical
Publication of CN110782854B publication Critical patent/CN110782854B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G09EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09GARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
    • 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
    • G09G3/00Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes
    • G09G3/20Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes for presentation of an assembly of a number of characters, e.g. a page, by composing the assembly by combination of individual elements arranged in a matrix no fixed position being assigned to or needed to be assigned to the individual characters or partial characters
    • G09G3/22Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes for presentation of an assembly of a number of characters, e.g. a page, by composing the assembly by combination of individual elements arranged in a matrix no fixed position being assigned to or needed to be assigned to the individual characters or partial characters using controlled light sources
    • G09G3/30Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes for presentation of an assembly of a number of characters, e.g. a page, by composing the assembly by combination of individual elements arranged in a matrix no fixed position being assigned to or needed to be assigned to the individual characters or partial characters using controlled light sources using electroluminescent panels
    • G09G3/32Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes for presentation of an assembly of a number of characters, e.g. a page, by composing the assembly by combination of individual elements arranged in a matrix no fixed position being assigned to or needed to be assigned to the individual characters or partial characters using controlled light sources using electroluminescent panels semiconductive, e.g. using light-emitting diodes [LED]
    • G09G3/3208Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes for presentation of an assembly of a number of characters, e.g. a page, by composing the assembly by combination of individual elements arranged in a matrix no fixed position being assigned to or needed to be assigned to the individual characters or partial characters using controlled light sources using electroluminescent panels semiconductive, e.g. using light-emitting diodes [LED] organic, e.g. using organic light-emitting diodes [OLED]
    • GPHYSICS
    • G09EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09GARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
    • G09G5/00Control arrangements or circuits for visual indicators common to cathode-ray tube indicators and other visual indicators
    • G09G5/10Intensity circuits
    • 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/06Adjustment of display parameters
    • G09G2320/0613The adjustment depending on the type of the information to be displayed
    • 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/06Adjustment of display parameters
    • G09G2320/0626Adjustment of display parameters for control of overall brightness
    • GPHYSICS
    • G09EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09GARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
    • G09G2330/00Aspects of power supply; Aspects of display protection and defect management
    • G09G2330/02Details of power systems and of start or stop of display operation
    • G09G2330/021Power management, e.g. power saving

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Computer Hardware Design (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Chemical & Material Sciences (AREA)
  • Crystallography & Structural Chemistry (AREA)
  • Control Of Indicators Other Than Cathode Ray Tubes (AREA)

Abstract

The application provides an electronic device and a reading mode identification method thereof, wherein the identification method comprises the steps of acquiring RGB data of any n lines of pixels in an ith frame of a target electronic device; acquiring the RGB data proportioning variety number of each line of pixels and the line number m of which the RGB data proportioning variety number is not more than 2 according to the RGB data of the n lines of pixels; and judging whether the target electronic equipment is in a reading mode or not according to the ratio of the m to the n and the size of the first threshold. According to the method and the device, whether the target electronic equipment is in a reading mode is judged by calculating the relation between the data matching type number of each sub-pixel of any n rows of pixels in the ith frame or the ith-j frame and the preset threshold of the target electronic equipment, so that the display state of the target electronic equipment is obtained in real time, energy is saved, and the cruising ability of the target electronic equipment is enhanced.

Description

Electronic equipment and reading mode identification method thereof
Technical Field
The present disclosure relates to display technologies, and in particular, to an electronic device and a reading mode recognition method thereof.
Background
With the development of science and technology, mobile electronic devices are common display products for users to read characters. The traditional reading mode is a black font white background, and when a user is identified to be in the reading mode by a display product, the brightness of the display screen is reduced to save energy and prolong the endurance of the display.
With the development of LCD and OLED displays, reading modes with colored fonts and another color as background are becoming more common in display products. The existing reading identification mode cannot identify the reading mode in the color font, so that the brightness of the display screen is in a non-reading mode state, and the concept of energy conservation and long endurance of a display product is not facilitated.
Therefore, a reading mode identification method is needed to solve the above technical problems.
Disclosure of Invention
The application provides an electronic device and a method for identifying a reading mode thereof, which aim to solve the technical problem that the existing electronic device cannot identify color fonts.
In order to solve the above problems, the technical solution provided by the present application is as follows:
the application provides a method for identifying a reading mode of electronic equipment, which comprises the following steps:
s10, acquiring RGB data of any n lines of pixels in the ith frame of the target electronic equipment;
s20, acquiring the RGB data proportioning type number of each line of pixels and the line number m of the RGB data proportioning type number not more than 2 according to the RGB data of the n lines of pixels;
s30, when the ratio of m to n is larger than a first threshold, the target electronic equipment is in a reading mode, and the display brightness of the target electronic equipment is reduced; when the ratio of m to n is smaller than a first threshold, the target electronic equipment is in a non-reading mode, and the display brightness of the target electronic equipment is kept unchanged;
wherein n is greater than m, and i, n and m are positive integers.
In the identification method of the reading mode of the electronic device, the method further includes:
s40, acquiring RGB data of any n lines of pixels in the (i + 1) th to (i + j) th frame pictures of the target electronic equipment, wherein j is larger than 1 and is a positive integer;
s50, repeating the step S20;
s60, when the ratio of m to n in the ith to ith + j frame pictures of the target electronic equipment is larger than a second threshold value, the target electronic equipment is in a reading mode, and the display brightness of the target electronic equipment is reduced; when the ratio of m to n is smaller than a second threshold, the target electronic equipment is in a non-reading mode, and the display brightness of the target electronic equipment is kept unchanged;
wherein the second threshold is less than the first threshold.
In the identification method of the reading mode of the electronic device of the present application, step S20 includes:
s201, acquiring first sub-pixel data of pixels in a k line of the n lines of pixels;
s202, when the pixels in the kth row comprise at most one first sub-pixel data different from the rest first sub-pixel data in the kth row, the first sub-pixels of the pixels in the kth row meet the data proportion of a reading mode; otherwise, the target electronic equipment is in a non-reading mode, and the display brightness of the target electronic equipment is kept unchanged;
wherein k is more than or equal to 1 and less than or equal to n, and k is a positive integer.
In the identification method of the reading mode of the electronic device, the first sub-pixel data includes red sub-pixel data, green sub-pixel data and blue sub-pixel data.
In the identification method of the reading mode of the electronic device, when the red sub-pixel data, the green sub-pixel data, and the blue sub-pixel data in the k-th row of pixels satisfy the data ratio of the reading mode, step S20 further includes:
s203, acquiring the sum of red sub-pixel data, green sub-pixel data and blue sub-pixel data in each pixel of the kth row as S;
s204, acquiring the product of red sub-pixel data, green sub-pixel data and blue sub-pixel data in each pixel of the kth row as M;
s205, when the number of the types of any one of the pixels S, M in the k row exceeds 2, the target electronic equipment is in a non-reading mode, and the display brightness of the target electronic equipment is kept unchanged; otherwise, the data proportion of the k row of pixels meeting the reading mode is obtained;
s206, repeating the steps S201 to S205, and obtaining the RGB data proportioning type number of each line of pixels in the n lines of pixels and the line number m of which the RGB data proportioning type number is not more than 2.
The application also provides an electronic device, which comprises a scanning module, a first processing module and a first adjusting module;
the scanning module is used for acquiring RGB data of any n lines of pixels in the ith frame of the target electronic equipment;
the first processing module is used for acquiring the RGB data proportioning type number of each line of pixels and the line number m of the RGB data proportioning type number not more than 2 according to the RGB data of the n lines of pixels;
the first adjusting module is used for reducing the display brightness of the target electronic equipment when the ratio of m to n is larger than a first threshold value, and the target electronic equipment is in a reading mode; when the ratio of m to n is smaller than a first threshold, the target electronic equipment is in a non-reading mode, and the display brightness of the target electronic equipment is kept unchanged;
wherein n is greater than m, and i, n and m are positive integers.
In the electronic device of the present application, the electronic device further includes a second processing module and a second adjusting module;
the second processing module is used for acquiring RGB data of any n rows of pixels in the (i + 1) th to (i + j) th frame pictures of the target electronic equipment, wherein j is greater than 1 and is a positive integer;
the second adjusting module is used for reducing the display brightness of the target electronic equipment when the ratio of m to n in the ith to (i + j) th frames of the target electronic equipment is greater than a second threshold value, wherein the target electronic equipment is in a reading mode; when the ratio of m to n is smaller than a second threshold, the target electronic equipment is in a non-reading mode, and the display brightness of the target electronic equipment is kept unchanged;
wherein the second threshold is less than the first threshold.
In the electronic device of the present application, the first processing module includes a first scanning unit and a first determination unit
The first scanning unit is used for acquiring first sub-pixel data of a k-th row of pixels in the n rows of pixels;
the first judging unit is used for judging that the first sub-pixel of the kth line of pixels meets the data proportion of a reading mode when the kth line of pixels comprises at most one first sub-pixel data different from the rest first sub-pixel data of the kth line; otherwise, the target electronic equipment is in a non-reading mode, and the display brightness of the target electronic equipment is kept unchanged;
wherein k is more than or equal to 1 and less than or equal to n, and k is a positive integer.
In the electronic device of the present application, the first sub-pixel data includes red sub-pixel data, green sub-pixel data, and blue sub-pixel data.
In the electronic device of the present application, the first processing module further includes a first calculating unit, a second determining unit, and a third calculating unit;
the first calculating unit is used for acquiring the sum S of red sub-pixel data, green sub-pixel data and blue sub-pixel data in each pixel of the kth line;
the second calculating unit is used for acquiring the product of red sub-pixel data, green sub-pixel data and blue sub-pixel data in each pixel of the kth line as M;
the second determination unit is used for keeping the display brightness of the target electronic device unchanged when the number of the types of any one of the pixels S, M in the k-th row exceeds 2 and the target electronic device is in a non-reading mode; otherwise, the data proportion of the k row of pixels meeting the reading mode is obtained;
the third calculating unit is used for obtaining the RGB data matching type number of each line of pixels in the n lines of pixels and the line number m of which the RGB data matching type number is not more than 2.
Has the advantages that: according to the method and the device, whether the target electronic equipment is in a reading mode is judged by calculating the relation between the data matching type number of each sub-pixel of any n rows of pixels in the ith frame or the ith-j frame and the preset threshold of the target electronic equipment, so that the display state of the target electronic equipment is obtained in real time, energy is saved, and the cruising ability of the target electronic equipment is enhanced.
Drawings
In order to illustrate the embodiments or the technical solutions in the prior art more clearly, the drawings needed to be used in the description of the embodiments or the prior art will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the invention, and it is obvious for a person skilled in the art that other drawings can be obtained according to these drawings without creative efforts.
FIG. 1 is a flowchart illustrating a method for recognizing a reading mode of an electronic device according to the present invention;
FIG. 2 is a diagram of a first algorithm implementation of the method for recognizing a reading mode of an electronic device according to the present application;
FIG. 3 is a diagram of a second algorithm implementation of the method for recognizing a reading mode of an electronic device according to the present application;
FIG. 4 is a block diagram of a first configuration of an electronic device according to the present application;
fig. 5 is a second structural block diagram of the electronic device of the present application.
Detailed Description
The following description of the various embodiments refers to the accompanying drawings, which are included to illustrate specific embodiments that can be implemented by the application. Directional phrases used in this application, such as [ upper ], [ lower ], [ front ], [ rear ], [ left ], [ right ], [ inner ], [ outer ], [ side ], etc., refer only to the directions of the attached drawings. Accordingly, the directional terminology is used for purposes of illustration and understanding, and is in no way limiting. In the drawings, elements having similar structures are denoted by the same reference numerals.
Referring to fig. 1, fig. 1 is a flowchart illustrating a method for recognizing a reading mode of an electronic device according to the present application.
The method for identifying the reading mode of the electronic equipment comprises the following steps:
s10, acquiring RGB data of any n lines of pixels in the ith frame of the target electronic equipment;
in this step, the display panel of the ith frame of the target electronic device is selected as a target picture. In the ith frame display picture, n rows of pixels are randomly selected as study objects. And acquiring data of the n lines of pixels in the RGB color space through preset equipment.
For example, the data in x pixels of the k-th row is A1(R1、G1、B1)、A2(R2、G2、B2)、……、Ax(Rx、Gx、Bx)。
In the embodiment, i, n, k and x are positive integers, and k is more than or equal to 1 and less than or equal to n.
S20, acquiring the RGB data proportioning number of each line of pixels and the line number m of the RGB data proportioning number not more than 2 according to the RGB data of the n lines of pixels.
Referring to fig. 2, fig. 2 is a diagram illustrating a first algorithm implementation of the method for recognizing a reading mode of an electronic device according to the present application. In this embodiment, step S20 specifically includes:
s201, acquiring first sub-pixel data of pixels in a k line of the n lines of pixels;
in the step, the first sub-pixel in a certain row of pixels in the n rows of pixels is mainly used as a research object. The first subpixel may be at least one of red subpixel data, green subpixel data, or blue subpixel data.
For example, in step S10, the data of the red sub-pixel in the x pixels of the k-th row is a1(R1)、A2(R2)、……、Ax(Rx)。
S202, when the pixels in the kth row comprise at most one first sub-pixel data different from the rest first sub-pixel data in the kth row, the first sub-pixels of the pixels in the kth row meet the data proportion of a reading mode; otherwise, the target electronic equipment is in a non-reading mode, and the display brightness of the target electronic equipment is kept unchanged;
the method is mainly used for judging the matching type of the first sub-pixel data in the k-th row of pixels. For example, R is randomly selected1And R2When R1 is equal to R2, and R1, R2, R … …, and Rx are equal to each other, the red sub-pixels in the k-th row of pixels have only one data allocation, and the data allocation of the reading mode of the target electronic device is satisfied. When R1 is not equal to R2, whether the values of R3, R4, … …, Rx and R1 or R2 are equal is judged, if the values of R3, R4, … …, Rx and R1 or R2 are equal, the red sub-pixels in the kth row of pixels have only two data ratios, and the data ratio of the reading mode of the target electronic equipment is met. If more than one of R3, R4, … … and Rx is not equal to the value of R1 or R2, the data matching type of the red sub-pixels in the k-th row of pixels exceeds 2, the data matching of the reading mode of the target electronic equipment is not met, the target electronic equipment is in the non-reading mode, and the display brightness of the target electronic equipment is kept unchanged.
Then, the data ratio of the green sub-pixel and the blue sub-pixel in the k-th row of pixels is calculated. And calculating the data ratio of the green sub-pixel and the blue sub-pixel in each row of the n rows of pixels.
In this embodiment, when the red sub-pixel data, the green sub-pixel data, and the blue sub-pixel data in the K-th row of pixels satisfy the data matching of the reading mode, the RGB data matching calculation is performed on the red sub-pixel data, the green sub-pixel data, and the blue sub-pixel data of the K-th row of pixels at the same time.
Referring to fig. 3, fig. 3 is a diagram illustrating a second algorithm implementation of the method for recognizing a reading mode of an electronic device according to the present application. Step S20 specifically includes:
s203, acquiring the sum of red sub-pixel data, green sub-pixel data and blue sub-pixel data in each pixel of the kth row as S;
referring to fig. 3, the first three pixels in the kth row are selected as an example for description.
S1=R1+G1+B1;
S2=S2+G2+B2;
S3=R3+G3+B3;
And obtaining whether S1, S2 and S3 are equal or the numerical value type number of S according to the sum. If S1, S2 and S3 are all equal, the number of S types is 1; if S1 ≠ S2 ≠ S3, then the number of species of S is 2; if S1 ≠ S2 ≠ S3, the number of classes of S is 3.
S204, acquiring the product of red sub-pixel data, green sub-pixel data and blue sub-pixel data in each pixel of the kth row as M;
referring to fig. 3, the first three pixels in the kth row are also selected for illustration.
M1=R1*G1*B1;
M2=S2*G2*B2;
M3=R3*G3*B3;
And obtaining whether the M1, the M2 and the M3 are equal or the number of the numerical value types of the M according to the sum. If M1, M2 and M3 are all equal, the number of M types is 1; if M1 ≠ M2 ≠ M3, then the number of M classes is 2; if M1 ≠ M2 ≠ M3, the number of M classes is 3.
S205, when the number of the types of any one of the pixels S, M in the k row exceeds 2, the target electronic equipment is in a non-reading mode, and the display brightness of the target electronic equipment is kept unchanged; otherwise, the data proportion of the k row of pixels meeting the reading mode is obtained;
s206, repeating the steps S201 to S205, and obtaining the RGB data proportioning type number of each line of pixels in the n lines of pixels and the line number m of which the RGB data proportioning type number is not more than 2.
That is, the RGB data matching type of the target line pixel in the ith frame is obtained according to step S20. To determine whether the ith frame is in a reading mode.
S30, when the ratio of m to n is larger than a first threshold, the target electronic equipment is in a reading mode, and the display brightness of the target electronic equipment is reduced; and when the ratio of m to n is smaller than a first threshold, the target electronic equipment is in a non-reading mode, and the display brightness of the target electronic equipment is kept unchanged.
In this embodiment, the first threshold is a set value, and may be obtained according to a specific experiment, which is not limited in this application.
S40, acquiring RGB data of any n lines of pixels in the (i + 1) th to (i + j) th frame pictures of the target electronic equipment, wherein j is larger than 1 and is a positive integer;
s50, repeating the step S20;
s60, when the ratio of m to n in the ith to ith + j frame pictures of the target electronic equipment is larger than a second threshold value, the target electronic equipment is in a reading mode, and the display brightness of the target electronic equipment is reduced; and when the ratio of m to n is smaller than a second threshold, the target electronic equipment is in a non-reading mode, and the display brightness of the target electronic equipment is kept unchanged.
In this embodiment, the second threshold is a set value, and may be obtained according to a specific experiment, which is not limited in this application.
In this embodiment, the second threshold is smaller than the first threshold.
In order to ensure the detection accuracy, the present embodiment adds steps S30 to S60 to ensure the detection accuracy by detecting multiple frames continuously.
According to the method and the device, whether the target electronic equipment is in a reading mode is judged by calculating the relation between the data matching type number of each sub-pixel of any n rows of pixels in the ith frame or the ith-j frame and the preset threshold of the target electronic equipment, so that the display state of the target electronic equipment is obtained in real time, energy is saved, and the cruising ability of the target electronic equipment is enhanced.
Referring to fig. 4, fig. 4 is a first structural block diagram of a reading pattern recognition apparatus according to the present application.
The electronic device comprises a scanning module 21, a first processing module 22 and a first adjusting module 23.
The scanning module 21 is configured to acquire RGB data of any n rows of pixels in an ith frame of a target electronic device.
For example, the data in x pixels of the k-th row is A1(R1、G1、B1)、A2(R2、G2、B2)、……、Ax(Rx、Gx、Bx)。
The first processing module 22 is configured to obtain, according to the RGB data of the n rows of pixels, a RGB data matching type number of each row of pixels and a row number m where the RGB data matching type number is not more than 2.
The first adjusting module 23 is configured to, when a ratio of m to n is greater than a first threshold, enable the target electronic device to be in a reading mode, and reduce display brightness of the target electronic device; when the ratio of m to n is smaller than a first threshold, the target electronic equipment is in a non-reading mode, and the display brightness of the target electronic equipment is kept unchanged;
in this embodiment, n is greater than m, and i, n, and m are positive integers.
Referring to fig. 5, fig. 5 is a second structural block diagram of the electronic device of the present application.
In the electronic device of the present application, the first processing module 22 includes a first scanning unit 221 and a first determination unit 222.
The first scanning unit 221 is configured to acquire first sub-pixel data of a k-th row of pixels in the n rows of pixels. For example, the data in x pixels of the k-th row is A1(R1、G1、B1)、A2(R2、G2、B2)、……、Ax(Rx、Gx、Bx)。
The first determining unit 222 is configured to, when at most one first sub-pixel data included in the pixels in the kth row is different from the remaining first sub-pixel data in the kth row, satisfy the data matching of the reading mode for the first sub-pixels in the kth row; otherwise, the target electronic equipment is in a non-reading mode, and the display brightness of the target electronic equipment is kept unchanged.
In this embodiment, k is 1. ltoreq. n, k being a positive integer.
The first determining unit 222 is mainly used for determining the first sub-pixel data matching type in the k-th row of pixels. For example, R is randomly selected1And R2When R1 is equal to R2, and R1, R2, R … …, and Rx are equal to each other, the red sub-pixels in the k-th row of pixels have only one data allocation, and the data allocation of the reading mode of the target electronic device is satisfied. When R1 is not equal to R2, whether the values of R3, R4, … …, Rx and R1 or R2 are equal is judged, if the values of R3, R4, … …, Rx and R1 or R2 are equal, the red sub-pixels in the kth row of pixels have only two data ratios, and the data ratio of the reading mode of the target electronic equipment is met. If more than one of R3, R4, … … and Rx is not equal to the value of R1 or R2, the data matching type of the red sub-pixels in the k-th row of pixels exceeds 2, the data matching of the reading mode of the target electronic equipment is not met, the target electronic equipment is in the non-reading mode, and the display brightness of the target electronic equipment is kept unchanged.
Then, the data ratio of the green sub-pixel and the blue sub-pixel in the k-th row of pixels is calculated. And calculating the data ratio of the green sub-pixel and the blue sub-pixel in each row of the n rows of pixels.
In this embodiment, when the red sub-pixel data, the green sub-pixel data, and the blue sub-pixel data in the K-th row of pixels satisfy the data matching of the reading mode, the RGB data matching calculation is performed on the red sub-pixel data, the green sub-pixel data, and the blue sub-pixel data of the K-th row of pixels at the same time.
Referring to fig. 5, the first processing module 22 further includes a first calculating unit 223, a second calculating unit 224, a second determining unit 225 and a third calculating unit 226;
the first calculating unit 223 is configured to obtain a sum S of red sub-pixel data, green sub-pixel data, and blue sub-pixel data in each pixel of the kth row;
for example, the first three pixels in the k-th row are taken as an example for explanation.
S1=R1+G1+B1;
S2=S2+G2+B2;
S3=R3+G3+B3;
And obtaining whether S1, S2 and S3 are equal or the numerical value type number of S according to the sum. If S1, S2 and S3 are all equal, the number of S types is 1; if S1 ≠ S2 ≠ S3, then the number of species of S is 2; if S1 ≠ S2 ≠ S3, the number of classes of S is 3.
The second calculating unit 224 is configured to obtain a product M of red sub-pixel data, green sub-pixel data, and blue sub-pixel data in each pixel of the kth row;
for example, the first three pixels in the k-th row are also taken as an example for explanation.
M1=R1*G1*B1;
M2=S2*G2*B2;
M3=R3*G3*B3;
And obtaining whether the M1, the M2 and the M3 are equal or the number of the numerical value types of the M according to the sum. If M1, M2 and M3 are all equal, the number of M types is 1; if M1 ≠ M2 ≠ M3, then the number of M classes is 2; if M1 ≠ M2 ≠ M3, the number of M classes is 3.
The second determination unit 225 is configured to, when the number of kinds of any one of the pixels S, M in the k-th row exceeds 2, place the target electronic device in a non-reading mode, and keep the display brightness of the target electronic device unchanged; otherwise, the data proportion of the k row of pixels meeting the reading mode is obtained;
the third calculating unit 226 is configured to obtain the RGB data matching type number of each line of pixels in the n lines of pixels, and the line number m where the RGB data matching type number does not exceed 2.
The first processing module 22 is mainly used for obtaining the RGB data matching type of the target line pixels in the ith frame. To determine whether the ith frame is in a reading mode.
The first processing module 22 only processes and determines data, and the first adjusting module 23 receives the determination result output by the first processing module.
Referring to fig. 4 or fig. 5, the electronic device further includes a second processing module 24 and a second adjusting module 25.
The second processing module 24 is configured to obtain RGB data of any n rows of pixels in the i +1 th to i + j th frame pictures of the target electronic device, where j is greater than 1 and is a positive integer;
the second adjusting module 25 is configured to, when a ratio of m to n in the i-th to i + j-th frames of the target electronic device is greater than a second threshold, enable the target electronic device to be in a reading mode, and reduce display brightness of the target electronic device; and when the ratio of m to n is smaller than a second threshold, the target electronic equipment is in a non-reading mode, and the display brightness of the target electronic equipment is kept unchanged.
In this embodiment, the first threshold and the second threshold are set values, and may be obtained according to a specific experiment, which is not limited in this application.
In this embodiment, the second threshold is smaller than the first threshold.
In order to ensure the detection accuracy, the second processing module 24 and the second adjusting module 25 are added to continuously detect multiple frames of pictures to ensure the detection accuracy.
The application also provides a controller, wherein the controller is used for executing a plurality of instructions stored in the memory so as to realize the identification method of the reading mode of the electronic equipment.
The invention also provides a terminal, wherein the terminal comprises the controller and the memory.
The invention also provides a computer-readable storage medium, which stores instructions that, when run on a computer, cause the computer to execute the method for recognizing the reading mode of the electronic device.
The application provides an electronic device and a reading mode identification method thereof, wherein the identification method comprises the steps of acquiring RGB data of any n lines of pixels in an ith frame of a target electronic device; acquiring the RGB data proportioning variety number of each line of pixels and the line number m of which the RGB data proportioning variety number is not more than 2 according to the RGB data of the n lines of pixels; and judging whether the target electronic equipment is in a reading mode or not according to the ratio of the m to the n and the size of the first threshold. According to the method and the device, whether the target electronic equipment is in a reading mode is judged by calculating the relation between the data matching type number of each sub-pixel of any n rows of pixels in the ith frame or the ith-j frame and the preset threshold of the target electronic equipment, so that the display state of the target electronic equipment is obtained in real time, energy is saved, and the cruising ability of the target electronic equipment is enhanced.
In summary, although the present application has been described with reference to the preferred embodiments, the above-described preferred embodiments are not intended to limit the present application, and those skilled in the art can make various changes and modifications without departing from the spirit and scope of the present application, so that the scope of the present application shall be determined by the appended claims.

Claims (10)

1. A method for recognizing a reading mode of an electronic device is characterized by comprising the following steps:
s10, acquiring RGB data of any n lines of pixels in the ith frame of the target electronic equipment;
s20, acquiring the RGB data proportioning type number of each line of pixels and the line number m of the RGB data proportioning type number not more than 2 according to the RGB data of the n lines of pixels;
s30, when the ratio of m to n is larger than a first threshold, the target electronic equipment is in a reading mode, and the display brightness of the target electronic equipment is reduced; when the ratio of m to n is smaller than a first threshold, the target electronic equipment is in a non-reading mode, and the display brightness of the target electronic equipment is kept unchanged;
wherein n is greater than m, and i, n and m are positive integers.
2. The method for recognizing the reading mode of the electronic device as claimed in claim 1, further comprising:
s40, acquiring RGB data of any n lines of pixels in the (i + 1) th to (i + j) th frame pictures of the target electronic equipment, wherein j is larger than 1 and is a positive integer;
s50, repeating the step S20;
s60, when the ratio of m to n in the ith to ith + j frame pictures of the target electronic equipment is larger than a second threshold value, the target electronic equipment is in a reading mode, and the display brightness of the target electronic equipment is reduced; and when the ratio of m to n is smaller than a second threshold, the target electronic equipment is in a non-reading mode, and the display brightness of the target electronic equipment is kept unchanged.
3. The method for recognizing reading mode of electronic device as claimed in claim 1, wherein step S20 comprises:
s201, acquiring first sub-pixel data of pixels in a k line of the n lines of pixels;
s202, when the pixels in the kth row comprise at most one first sub-pixel data different from the rest first sub-pixel data in the kth row, the first sub-pixels of the pixels in the kth row meet the data proportion of a reading mode; otherwise, the target electronic equipment is in a non-reading mode, and the display brightness of the target electronic equipment is kept unchanged;
wherein k is more than or equal to 1 and less than or equal to n, and k is a positive integer.
4. The method as claimed in claim 3, wherein the first sub-pixel data comprises red sub-pixel data, green sub-pixel data and blue sub-pixel data.
5. The method for recognizing a reading mode of an electronic device as claimed in claim 4, wherein when the red sub-pixel data, the green sub-pixel data and the blue sub-pixel data in the k-th row of pixels satisfy the data ratio of the reading mode, the step S20 further includes:
s203, acquiring the sum of red sub-pixel data, green sub-pixel data and blue sub-pixel data in each pixel of the kth row as S;
s204, acquiring the product of red sub-pixel data, green sub-pixel data and blue sub-pixel data in each pixel of the kth row as M;
s205, when the number of the types of any one of the pixels S, M in the k row exceeds 2, the target electronic equipment is in a non-reading mode, and the display brightness of the target electronic equipment is kept unchanged; otherwise, the data proportion of the k row of pixels meeting the reading mode is obtained;
s206, repeating the steps S201 to S205, and obtaining the RGB data proportioning type number of each line of pixels in the n lines of pixels and the line number m of which the RGB data proportioning type number is not more than 2.
6. An electronic device is characterized by comprising a scanning module, a first processing module and a first adjusting module;
the scanning module is used for acquiring RGB data of any n lines of pixels in the ith frame of the target electronic equipment;
the first processing module is used for acquiring the RGB data proportioning type number of each line of pixels and the line number m of the RGB data proportioning type number not more than 2 according to the RGB data of the n lines of pixels;
the first adjusting module is used for reducing the display brightness of the target electronic equipment when the ratio of m to n is larger than a first threshold value, and the target electronic equipment is in a reading mode; when the ratio of m to n is smaller than a first threshold, the target electronic equipment is in a non-reading mode, and the display brightness of the target electronic equipment is kept unchanged;
wherein n is greater than m, and i, n and m are positive integers.
7. The electronic device of claim 6, further comprising a second processing module and a second conditioning module;
the second processing module is used for acquiring RGB data of any n rows of pixels in the (i + 1) th to (i + j) th frame pictures of the target electronic equipment, wherein j is greater than 1 and is a positive integer;
the second adjusting module is used for reducing the display brightness of the target electronic equipment when the ratio of m to n in the ith to (i + j) th frames of the target electronic equipment is greater than a second threshold value, wherein the target electronic equipment is in a reading mode; and when the ratio of m to n is smaller than a second threshold, the target electronic equipment is in a non-reading mode, and the display brightness of the target electronic equipment is kept unchanged.
8. The electronic device according to claim 6, wherein the first processing module includes a first scanning unit, a first determination unit;
the first scanning unit is used for acquiring first sub-pixel data of a k-th row of pixels in the n rows of pixels;
the first judging unit is used for judging that the first sub-pixel of the kth line of pixels meets the data proportion of a reading mode when the kth line of pixels comprises at most one first sub-pixel data different from the rest first sub-pixel data of the kth line; otherwise, the target electronic equipment is in a non-reading mode, and the display brightness of the target electronic equipment is kept unchanged;
wherein k is more than or equal to 1 and less than or equal to n, and k is a positive integer.
9. The electronic device of claim 8,
the first sub-pixel data includes red sub-pixel data, green sub-pixel data, and blue sub-pixel data.
10. The electronic device of claim 9,
the first processing module further comprises a first calculating unit, a second judging unit and a third calculating unit;
the first calculating unit is used for acquiring the sum S of red sub-pixel data, green sub-pixel data and blue sub-pixel data in each pixel of the kth line;
the second calculating unit is used for acquiring the product of red sub-pixel data, green sub-pixel data and blue sub-pixel data in each pixel of the kth line as M;
the second determination unit is used for keeping the display brightness of the target electronic device unchanged when the number of the types of any one of the pixels S, M in the k-th row exceeds 2 and the target electronic device is in a non-reading mode; otherwise, the data proportion of the k row of pixels meeting the reading mode is obtained;
the third calculating unit is used for obtaining the RGB data matching type number of each line of pixels in the n lines of pixels and the line number m of which the RGB data matching type number is not more than 2.
CN201910949099.2A 2019-10-08 2019-10-08 Electronic equipment and reading mode identification method thereof Active CN110782854B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201910949099.2A CN110782854B (en) 2019-10-08 2019-10-08 Electronic equipment and reading mode identification method thereof
PCT/CN2019/114241 WO2021068303A1 (en) 2019-10-08 2019-10-30 Electronic device and reading mode identification method thereof, and controller

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910949099.2A CN110782854B (en) 2019-10-08 2019-10-08 Electronic equipment and reading mode identification method thereof

Publications (2)

Publication Number Publication Date
CN110782854A CN110782854A (en) 2020-02-11
CN110782854B true CN110782854B (en) 2020-09-08

Family

ID=69385648

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910949099.2A Active CN110782854B (en) 2019-10-08 2019-10-08 Electronic equipment and reading mode identification method thereof

Country Status (2)

Country Link
CN (1) CN110782854B (en)
WO (1) WO2021068303A1 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113792771B (en) * 2021-08-31 2024-03-08 青岛信芯微电子科技股份有限公司 TCON chip for processing graphics card

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2000214838A (en) * 1999-01-27 2000-08-04 Fuji Photo Film Co Ltd Display
CN106128407A (en) * 2016-09-13 2016-11-16 深圳市华星光电技术有限公司 Image element driving method and pixel driver system
CN110010065A (en) * 2019-04-30 2019-07-12 深圳市华星光电半导体显示技术有限公司 Display panel brightness adjusting method and display panel brightness control system

Family Cites Families (21)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102290005B (en) * 2001-09-21 2017-06-20 株式会社半导体能源研究所 The driving method of organic LED display device
KR100500692B1 (en) * 2002-03-12 2005-07-12 비오이 하이디스 테크놀로지 주식회사 A liquid crystal display device which accomplishes both image display mode and fingerprint recognition mode
JP5278257B2 (en) * 2009-09-03 2013-09-04 富士ゼロックス株式会社 Color processing apparatus, image processing apparatus, and program
CN101840693B (en) * 2010-03-05 2013-08-14 惠州Tcl移动通信有限公司 Electronic document display method
WO2012156942A1 (en) * 2011-05-17 2012-11-22 Ignis Innovation Inc. Systems and methods for display systems with dynamic power control
US9298314B2 (en) * 2014-02-04 2016-03-29 Synaptics Incorporated Mitigation of display update noise using proximately disposed coupling electrode
CN105335139B (en) * 2014-07-24 2019-05-17 广州市动景计算机科技有限公司 Webpage display process and device
TWM505908U (en) * 2014-08-11 2015-08-01 Yao-wen LI Mop with dewatering function
CN105118413B (en) * 2015-09-17 2018-06-12 深圳市华星光电技术有限公司 The compensation method of RGBW based on white sub-pixels colour cast and device
CN105653505A (en) * 2015-12-24 2016-06-08 小米科技有限责任公司 Method and device for regulating character display
CN109859673B (en) * 2016-08-04 2022-04-01 苹果公司 Display with pixel dimming for curved edges
US10431142B2 (en) * 2016-11-14 2019-10-01 Int Tech Co., Ltd. Pixel circuit and electroluminescent display comprising the pixel circuit
CN107068035B (en) * 2017-04-06 2020-12-18 京东方科技集团股份有限公司 Display method and display device
CN107424137B (en) * 2017-08-01 2020-06-19 深信服科技股份有限公司 Text enhancement method and device, computer device and readable storage medium
CN111164670B (en) * 2017-08-10 2023-06-02 罗伯特·博世有限公司 Low power and low data rate imager
TWI687812B (en) * 2018-03-19 2020-03-11 仁寶電腦工業股份有限公司 Electronic device and operating method thereof
CN109658875B (en) * 2019-01-18 2020-09-04 昆山龙腾光电股份有限公司 Color gamut control method and display device thereof
CN109669660B (en) * 2019-02-28 2020-06-02 深圳市华星光电半导体显示技术有限公司 Image processing system and image processing method
CN109920359B (en) * 2019-03-29 2022-06-10 武汉天马微电子有限公司 Display panel, display panel driving method and display device
CN110109531A (en) * 2019-05-07 2019-08-09 北京字节跳动网络技术有限公司 Display control method, device, electronic equipment and storage medium
CN113990260B (en) * 2019-06-25 2022-12-02 荣耀终端有限公司 Mobile terminal, driving method thereof and driving chip

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2000214838A (en) * 1999-01-27 2000-08-04 Fuji Photo Film Co Ltd Display
CN106128407A (en) * 2016-09-13 2016-11-16 深圳市华星光电技术有限公司 Image element driving method and pixel driver system
CN110010065A (en) * 2019-04-30 2019-07-12 深圳市华星光电半导体显示技术有限公司 Display panel brightness adjusting method and display panel brightness control system

Also Published As

Publication number Publication date
CN110782854A (en) 2020-02-11
WO2021068303A1 (en) 2021-04-15

Similar Documents

Publication Publication Date Title
US9620050B2 (en) Display method and display device
CN108764352B (en) Method and device for detecting repeated page content
US10817723B2 (en) Image recognition system and information-display method thereof
CN110363209B (en) Image processing method, image processing apparatus, display apparatus, and storage medium
CN113990263B (en) Backlight processing method and device for display screen, storage medium and electronic equipment
CN100556071C (en) Image processing method
CN110782854B (en) Electronic equipment and reading mode identification method thereof
CN114495812B (en) Display panel brightness compensation method and device, electronic equipment and readable storage medium
US11321812B2 (en) Display method, display device, virtual reality display device, virtual reality device, and storage medium
CN114792283A (en) Image processing method, device and equipment and computer readable storage medium
CN114119778A (en) Deep color mode generation method of user interface, electronic equipment and storage medium
US11315470B2 (en) Display device and display method thereof
US10062312B2 (en) Method and apparatus for discriminating luminance backgrounds for images, and a display apparatus
US20210174725A1 (en) Sub-pixel rendering method and display device
CN109064441B (en) Mura detection method based on independent component adaptive selection
CN110321907B (en) Data processing sequence determining method, display device and display method thereof
CN110176207A (en) Image data determination method and device and electronic equipment
CN111710279B (en) Image rendering method and device, display device, storage medium and electronic device
US11538393B2 (en) Text boundary processing method, display panel, and computer-readable storage medium
CN103558702B (en) The detection method of color membrane substrates and pick-up unit
CN102194203B (en) A kind of method and apparatus reducing Face datection memory space
KR20170040600A (en) Data processing device and display device having the same
CN109712126B (en) Picture identification method and device
CN111325658A (en) Color image self-adaptive decolorizing method
US7313275B2 (en) Method of separating text and graphs in digital image data

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