WO2023143510A1 - 环境光检测方法及装置、显示屏补偿显示方法及装置 - Google Patents
环境光检测方法及装置、显示屏补偿显示方法及装置 Download PDFInfo
- Publication number
- WO2023143510A1 WO2023143510A1 PCT/CN2023/073548 CN2023073548W WO2023143510A1 WO 2023143510 A1 WO2023143510 A1 WO 2023143510A1 CN 2023073548 W CN2023073548 W CN 2023073548W WO 2023143510 A1 WO2023143510 A1 WO 2023143510A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- target
- ambient light
- brightness
- area
- display
- Prior art date
Links
- 238000001514 detection method Methods 0.000 title claims abstract description 82
- 238000000034 method Methods 0.000 title claims abstract description 57
- 238000013507 mapping Methods 0.000 claims abstract description 47
- 238000012545 processing Methods 0.000 claims description 20
- 238000004891 communication Methods 0.000 claims description 7
- 230000008569 process Effects 0.000 description 20
- 230000000694 effects Effects 0.000 description 10
- 239000003086 colorant Substances 0.000 description 7
- 238000010586 diagram Methods 0.000 description 7
- 230000006870 function Effects 0.000 description 7
- 230000010287 polarization Effects 0.000 description 4
- 238000004519 manufacturing process Methods 0.000 description 2
- 241000699670 Mus sp. Species 0.000 description 1
- 230000009471 action Effects 0.000 description 1
- 230000032683 aging Effects 0.000 description 1
- 230000008859 change Effects 0.000 description 1
- 230000002301 combined effect Effects 0.000 description 1
- 238000013461 design Methods 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 230000018109 developmental process Effects 0.000 description 1
- 238000007599 discharging Methods 0.000 description 1
- 230000007613 environmental effect Effects 0.000 description 1
- 230000006872 improvement Effects 0.000 description 1
- 239000004973 liquid crystal related substance Substances 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 230000004044 response Effects 0.000 description 1
Classifications
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01J—MEASUREMENT OF INTENSITY, VELOCITY, SPECTRAL CONTENT, POLARISATION, PHASE OR PULSE CHARACTERISTICS OF INFRARED, VISIBLE OR ULTRAVIOLET LIGHT; COLORIMETRY; RADIATION PYROMETRY
- G01J1/00—Photometry, e.g. photographic exposure meter
- G01J1/42—Photometry, e.g. photographic exposure meter using electric radiation detectors
- G01J1/4204—Photometry, e.g. photographic exposure meter using electric radiation detectors with determination of ambient light
-
- G—PHYSICS
- G09—EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
- G09G—ARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
- G09G3/00—Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes
- G09G3/20—Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes for presentation of an assembly of a number of characters, e.g. a page, by composing the assembly by combination of individual elements arranged in a matrix no fixed position being assigned to or needed to be assigned to the individual characters or partial characters
- G09G3/22—Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes for presentation of an assembly of a number of characters, e.g. a page, by composing the assembly by combination of individual elements arranged in a matrix no fixed position being assigned to or needed to be assigned to the individual characters or partial characters using controlled light sources
- G09G3/30—Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes for presentation of an assembly of a number of characters, e.g. a page, by composing the assembly by combination of individual elements arranged in a matrix no fixed position being assigned to or needed to be assigned to the individual characters or partial characters using controlled light sources using electroluminescent panels
- G09G3/32—Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes for presentation of an assembly of a number of characters, e.g. a page, by composing the assembly by combination of individual elements arranged in a matrix no fixed position being assigned to or needed to be assigned to the individual characters or partial characters using controlled light sources using electroluminescent panels semiconductive, e.g. using light-emitting diodes [LED]
- G09G3/3208—Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes for presentation of an assembly of a number of characters, e.g. a page, by composing the assembly by combination of individual elements arranged in a matrix no fixed position being assigned to or needed to be assigned to the individual characters or partial characters using controlled light sources using electroluminescent panels semiconductive, e.g. using light-emitting diodes [LED] organic, e.g. using organic light-emitting diodes [OLED]
-
- G—PHYSICS
- G09—EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
- G09G—ARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
- G09G3/00—Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes
- G09G3/20—Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes for presentation of an assembly of a number of characters, e.g. a page, by composing the assembly by combination of individual elements arranged in a matrix no fixed position being assigned to or needed to be assigned to the individual characters or partial characters
- G09G3/34—Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes for presentation of an assembly of a number of characters, e.g. a page, by composing the assembly by combination of individual elements arranged in a matrix no fixed position being assigned to or needed to be assigned to the individual characters or partial characters by control of light from an independent source
- G09G3/36—Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes for presentation of an assembly of a number of characters, e.g. a page, by composing the assembly by combination of individual elements arranged in a matrix no fixed position being assigned to or needed to be assigned to the individual characters or partial characters by control of light from an independent source using liquid crystals
- G09G3/3607—Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes for presentation of an assembly of a number of characters, e.g. a page, by composing the assembly by combination of individual elements arranged in a matrix no fixed position being assigned to or needed to be assigned to the individual characters or partial characters by control of light from an independent source using liquid crystals for displaying colours or for displaying grey scales with a specific pixel layout, e.g. using sub-pixels
-
- G—PHYSICS
- G09—EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
- G09G—ARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
- G09G2320/00—Control of display operating conditions
- G09G2320/06—Adjustment of display parameters
- G09G2320/0626—Adjustment of display parameters for control of overall brightness
Definitions
- the application belongs to the technical field of ambient light detection, and in particular relates to an ambient light detection method and device, a display screen compensation display method and device, electronic equipment, and a readable storage medium.
- the screen-to-body ratio has become one of the important considerations for consumers to choose electronic equipment.
- manufacturers of electronic equipment have continuously improved the screen-to-body ratio through various channels. The room for improvement is getting smaller and smaller, so how to increase the screen-to-body ratio has become one of the important challenges in the structural design of electronic devices.
- the ambient light sensor can detect the intensity of the ambient light, and the electronic device can automatically adjust the brightness of the display screen according to the intensity of the ambient light, thereby protecting the user's eyes.
- the ambient light sensor can be arranged below the display screen. At this time, the light emitted by the display screen is easily sensed by the ambient light sensor, resulting in low detection accuracy of ambient light.
- a polarization structure can be added to filter out the light emitted by the display screen, or a compensation algorithm can be used to compensate the detection results of the ambient light sensor, so as to eliminate the influence of the light emitted by the display screen on the detection results.
- the former scheme requires an additional polarization structure, resulting in electron
- the structure of the device is relatively complicated, and the polarization structure cannot completely filter out the light emitted by the display screen, and at the same time filter out part of the ambient light, resulting in low detection accuracy of the ambient light.
- the latter solution does not need to add an additional polarization structure, but this solution is only roughly compensated according to the detection value of the ambient light sensor and the luminance of the display screen, so this method also leads to low detection accuracy of ambient light.
- the purpose of the embodiments of the present application is to provide an ambient light detection method and device, a display screen compensation display method and device, electronic equipment, and a readable storage medium, which can solve the problem of low detection accuracy of ambient light.
- an ambient light detection method including:
- the embodiment of the present application provides a display compensation display method, including:
- the display screen is controlled to display according to the display screen driving information.
- an ambient light detection device including:
- the first obtaining module is used to obtain the target brightness value
- the second acquisition module is used to acquire the display information of each target pixel in the target area
- a first processing module configured to determine a brightness interference value corresponding to each of the target pixels according to the display information of each of the target pixels and a pixel mapping relationship table;
- the second processing module is configured to determine an ambient light brightness value according to the target brightness value and the brightness interference value.
- the embodiment of the present application provides a display screen compensation display device, including:
- the first obtaining module is used to obtain the target brightness value
- the second acquisition module is used to acquire the display information of each target pixel in the target area
- a first processing module configured to determine a brightness interference value corresponding to each of the target pixels according to the display information of each of the target pixels and a pixel mapping relationship table;
- a second processing module configured to determine an ambient light brightness value according to the target brightness value and the brightness interference value
- a fourth acquisition module configured to acquire corresponding display screen drive information according to the ambient light brightness value
- the second control module is configured to control the display screen to display according to the display screen driving information.
- the embodiment of the present application provides an electronic device, including a processor, a memory, and a program or instruction stored in the memory and operable on the processor, and the program or instruction is processed by the The steps of the methods described in the first aspect and the second aspect are realized when the device is executed.
- an embodiment of the present application provides a readable storage medium, on which a program or instruction is stored, and when the program or instruction is executed by a processor, the first aspect and the second aspect are implemented. The steps of the method described in the aspect.
- the embodiment of the present application provides a chip, the chip includes a processor and a communication interface, the communication interface is coupled to the processor, and the processor is used to run programs or instructions, so as to implement the first aspect and the method described in the second aspect.
- the ambient light detection method in the embodiment of the present application can predetermine the influence of a single pixel on the ambient light detection, so as to eliminate the influence of the target pixel in the lit state as much as possible during the ambient light detection process, because this method will display
- the light emitted by the screen is specifically refined to a single target pixel, so the brightness interference value of the target pixel at different positions in the target area can be determined more accurately, so that the final ambient light brightness value is closer to the real ambient light brightness. Therefore, the detection accuracy of the ambient light detection method is higher.
- FIG. 1 is a schematic diagram of a partial structure of an electronic device disclosed in the first embodiment of the present application
- FIG. 2 is a comparison diagram of different lighting schemes of the target pixel disclosed in the first embodiment of the present application
- FIG. 3 is a schematic diagram of a partial structure of an electronic device disclosed in a second embodiment of the present application.
- FIG. 4 is a comparison diagram of different lighting schemes of the target pixel disclosed in the second embodiment of the present application.
- FIG. 5 is a schematic flow chart of an ambient light detection method disclosed in an embodiment of the present application.
- FIG. 6 is a schematic flow chart of a compensation display method for a display screen disclosed in an embodiment of the present application.
- FIG. 7 is a structural block diagram of an electronic device implementing an embodiment of the present application.
- FIG. 8 is a schematic diagram of a hardware structure of an electronic device implementing an embodiment of the present application.
- 400-electronic equipment 401-processor, 410-radio frequency unit, 420-network module, 430-audio output unit, 440-input unit, 441-graphics processor, 442-microphone, 450-sensor, 460-display unit, 461-display panel, 470-user input unit, 471-touch panel, 472-other input devices, 480-interface unit, 490-storage, 491-application program, 492-operating system.
- an embodiment of the present application discloses an ambient light detection method.
- the ambient light detection method can be used to detect the light intensity of the environment where the electronic device is located, so as to adjust the brightness of the display screen of the electronic device according to the light intensity.
- an ambient light sensor 200 may be provided below the display screen 100 of the electronic device, and the ambient light sensor 200 may detect the intensity of ambient light. screen-to-body ratio.
- the target brightness value here is the brightness value detected by the ambient light sensor 200. Since the light reaching the ambient light sensor 200 includes at least a part of the ambient light and the light emitted by the display screen 100, the target brightness value is actually the ambient light and the display screen 100. 100 The value obtained after the combined effect of the emitted light, the target brightness value usually cannot accurately reflect the intensity of the ambient light.
- the target area 110 here may be the entire display area of the electronic device, or a part of the display area.
- the target pixels in the target area 110 When the target pixels in the target area 110 are turned on, the light emitted by the target pixels will at least partially enter the ambient light sensor 200, thereby Affects the detection value of the ambient light sensor 200 . Since the ambient light sensor 200 has a field of view, the light within the field of view can enter the ambient light sensor 200, and the light outside the field of view cannot enter the ambient light sensor 200, so in order to reduce the data processing capacity of the electronic device,
- the target area 110 may be set as a part of the display area, and the specific boundary of the target area 110 may be determined according to the field of view of the ambient light sensor 200 , which is not limited in this embodiment of the present application.
- the target pixel is the unit used to realize the display function in the display area, and the target pixel can include A plurality of sub-pixels, these sub-pixels include red sub-pixels, green sub-pixels and blue sub-pixels, through the control of red sub-pixels, green sub-pixels and blue sub-pixels, so that the target pixel can emit a target color, the target color It can be red, green, blue, and other colors formed by mixing these three colors in different proportions.
- the display information of the target pixel may include information such as whether to emit light, the emitted color, and the brightness of the light. According to the display information, it can be determined which pixels in the target area 110 are in the light emitting state, and information such as the color and brightness of the light emitted by these pixels. When the displayed information is different, the brightness values measured by the ambient light sensor 200 are different.
- the pixel mapping table above can be obtained in advance and stored in the electronic device.
- the pixel mapping table records the relationship between the display information of the target pixel and the brightness interference value of the target pixel. Therefore, if the display information of the target pixel is known, it can be obtained corresponding luminance disturbance value, so as to calibrate the target luminance value according to the luminance disturbance value.
- the display information in the pixel mapping table may include the coordinates of the luminous pixels, the luminous color of the luminous pixels, the brightness of the luminous pixels, etc., and the value corresponding to the display information may be the luminance interference value itself, of course, it may also be the same as Data related to the brightness disturbance value (for example, it may be the detection value of the ambient light sensor 200 when the target pixel is turned on under the preset ambient light).
- the value measured by the ambient light sensor 200 is the target pixel’s response to the ambient light
- the interference value caused by the detection if the light intensity of the environment where the electronic device is located is not 0 when the pixel mapping table is determined, but the light intensity of the ambient light is known, then the brightness interference value of the target pixel is the value of the ambient light sensor 200 The difference between the detected value and this known light intensity.
- the brightness interference value can be directly recorded, and the interference weight of the target pixel to the ambient light brightness value can also be recorded, according to The interference weight can obtain the brightness interference value.
- S400 Determine an ambient light brightness value according to the target brightness value and the brightness interference value.
- the influence of the target pixel on the detection value of the ambient light sensor 200 is known, that is, the brightness interference value is a known quantity, and the target brightness value can be calibrated in the process of actually detecting the ambient light brightness, so as to eliminate the light emitted by the display screen 100.
- the influence of light on the detection of ambient light brightness can obtain a more accurate value of ambient light brightness.
- the above pixel mapping relationship table can be determined in various ways.
- the target pixel emits light under the control of instruction information, so it can be obtained by obtaining the instruction information and the corresponding brightness value measured by the ambient light sensor 200.
- Pixel mapping table In another optional embodiment, the method for determining the above-mentioned pixel mapping relationship table includes:
- the above preset conditions may include the brightness of the environment where the electronic device is located, the color to be emitted by the target pixel, the luminous brightness of the target pixel, the lighting form of the target pixel, etc., wherein:
- the brightness of the environment where the electronic device is located can be set as low as possible, so that the process is affected by the ambient light as little as possible.
- the electronic device can be set at the brightness In an environment where the value is 0, so that when the target pixel is turned on, the brightness value measured by the ambient light sensor 200 is the brightness interference value of the target pixel.
- a movable light-shielding structure can be added to the electronic device, and the light-shielding structure can prevent ambient light from entering the ambient light sensor 200, so that when the target pixel is lit, the brightness value measured by the ambient light sensor 200 is the brightness value of the target pixel. Brightness noise value.
- the color that the target pixel needs to emit can include a variety of colors, such as red, green, blue, purple, yellow, gray, etc., in order to enrich the data in the pixel mapping table, so that The data in the obtained pixel mapping relationship table can cover any color emitted by the target pixel when the display screen 100 is working as much as possible, and can control the target pixel to emit as many colors as possible, thereby more comprehensively determining the various colors that the target pixel can emit. degree of interference.
- the luminance of the target pixel is also different. Therefore, the luminance of the target pixel is also one of the important parameters affecting the accuracy of ambient light detection.
- the brightness of the target pixel can be set to a preset brightness, and the preset brightness can adopt different values, so as to determine the detection value of the ambient light sensor 200 corresponding to the different light emitting brightness of the target pixel.
- the lighting form of the target pixel refers to the form in which the target pixel is lit.
- at least two target pixels in the target area 110 can be lit at the same time.
- the detection value of the ambient light sensor 200 is all simultaneous points
- the total luminance value brought by bright target pixels, so the luminance interference value corresponding to a single target pixel can be the ratio between the total luminance value and the number of target pixels that are simultaneously in a light-emitting state.
- multiple target pixels in the target area 110 can also be turned on one by one, and at this time, the detection value of the ambient light sensor 200 corresponds to the brightness interference value of a single target pixel.
- the target pixels can be controlled to light up sequentially with the same brightness, and at the same time, they can be lighted up in cycles with different brightness and colors, so as to obtain the pixel mapping relationship table more quickly.
- the target pixel Under the action of the control command corresponding to step S110, the target pixel will light up for display, but the final display effect of the target pixel may be different from the corresponding control command. This is because the target pixel may be affected by other devices when it emits light, and the manufacturing quality of the electronic device will also affect the display effect of the target pixel. There will also be aging and other situations, and the degree of influence of the target pixel on the detection of ambient light will also change at this time. Therefore, taking these situations into consideration, the pixel mapping relationship table corresponding to the brightness value measured by the ambient light can be the actual value of the target pixel. The presented display information further improves the accuracy of the pixel mapping relationship table.
- the above pixel mapping relationship table can be obtained in the process of manufacturing the electronic device, and can also be obtained in the process of using the electronic device, so that the pixel mapping relationship table can be corrected at different stages of the electronic device, so as to improve the brightness of the ambient light. Detection accuracy.
- the above-mentioned ambient light detection method can predetermine the influence of a single pixel on the ambient light detection, so that the influence of the target pixel in the lit state can be eliminated as much as possible during the ambient light detection process. It is specifically refined to a single target pixel, so the luminance interference values of the target pixels at different positions in the target area 110 can be determined more accurately, so that the finally obtained ambient light luminance value is closer to the real ambient light luminance. Therefore, the detection accuracy of the ambient light detection method is higher.
- all target pixels in the target area 110 may be controlled to light up one by one, so as to determine the brightness interference value of the corresponding single target pixel.
- the number of target pixels that are simultaneously lit can be appropriately increased, so that the brightness of each target pixel is higher when lit, thereby improving the signal-to-noise ratio.
- the target area 110 may include the first area, and step S110 specifically includes:
- S111 Control at least two target pixels in the first area to simultaneously light up with the same display information.
- the first area here can be any area in the target area 110, for example, the first area can be is the central area of the target area 110 . All the target pixels in the first area can be lit at the same time, or all the target pixels in the first area can be divided into multiple pixel groups, each pixel group includes at least two target pixels, and each pixel group can be lit up sequentially, and at the same time
- the display information of the target pixels in the lit state is the same, so that the luminance interference value of each target pixel in the lit state tends to be equal.
- the luminance interference value of a single target pixel is a ratio between the total luminance value of all target pixels that are simultaneously lit and the number of target pixels that are simultaneously lit.
- the above-mentioned first area may include the edge area of the target area 110, and the distance between the edge area and the ambient light sensor 200 is relatively long, so if a single target pixel is controlled to light up, then the brightness of the target pixel low, and thus not easily perceived by the ambient light sensor 200, and at least two target pixels in the control edge area are simultaneously lit with the same display information, which can increase the luminous brightness, thereby increasing the signal-to-noise ratio, thereby further improving the environment. Accuracy of light detection.
- FIG. 2 two different lighting control schemes are shown in FIG. 2.
- the first region may include a plurality of target pixels arranged along the circumferential direction of the first region, and these target pixels Pixels can be lit simultaneously, improving the signal-to-noise ratio.
- the first area may include a plurality of first pixels 111, and when the plurality of first pixels 111 are turned on at the same time, they may emit light of the same color, and other areas of the target area 110 may include first pixels 111 and second pixels capable of emitting different colors.
- the light emission color of the first pixel 111 in the other area may be the same as the light emission color of the first pixel 111 in the first area.
- step S110 specifically includes:
- All target pixels in the first area are controlled to light up simultaneously with the same display information.
- each target pixel in the edge area and the ambient light sensor 200 Since the distance between each target pixel in the edge area and the ambient light sensor 200 is basically the same etc., so the luminance interference value of each target pixel is basically equal. Based on this, controlling all target pixels in the first area to light up simultaneously with the same display information can properly reduce the brightness of all target pixels in the first area. The number of hours is more convenient for the control of electronic equipment, and at the same time reduces the power consumption of electronic equipment and simplifies the data processing process.
- the luminance interference value of a single target pixel in the first area is: the ratio of the total luminance value of all target pixels in the first area to the total number of target pixels contained in the first area , that is to say, the luminance interference value of a single target pixel is equal to the aforementioned total luminance value divided by the total number of target pixels included in the first region.
- the target area 110 may include at least two first areas arranged in an array.
- step S110 specifically includes:
- All target pixels in each first area are sequentially controlled to light up simultaneously with the same display information.
- the entire target area 110 is divided into multiple first areas, and multiple target pixels contained in each first area can be lit at the same time, so there are more target pixels in the lit state at the same time, and the pixel mapping relationship is determined
- the signal-to-noise ratio of the watch is higher, and the detection accuracy of ambient light is improved accordingly.
- Different first regions may be lit with the same display information, or may be lit with different display information.
- the luminance interference value of a single target pixel in each first area is between the total luminance value when all target pixels in the first area are lit and the total number of target pixels contained in the first area
- the brightness interference value of a single target pixel in each first region is equal to the total brightness value of the lit first region divided by the total number of target pixels contained in the first region.
- All the target pixels in the above-mentioned first area can be arranged radially or in an array.
- the arrangement of the target pixels in each first area It is more consistent, so it is easier to control the lighting state of each target pixel.
- the first area in this embodiment may include the above-mentioned edge area, or may not include the edge area. Please do not limit this in the embodiment.
- the target pixels contained in the first area should not be too few or too many. If the target pixels contained in the first area are too few, it is not enough to improve the signal-to-noise ratio. If the target pixels contained in the first area are too many, then The brightness interference values of the target pixels at different positions differ too much, and the error of the finally determined ambient brightness value is too large.
- the first region may include four target pixels, and the four target pixels may be arranged in two rows and two columns. The four target pixels can be lit simultaneously, thereby improving the signal-to-noise ratio and improving the accuracy of the brightness interference value of a single target pixel.
- one first region may include four first pixels 111, and the four first pixels 111 may emit red light at the same time, and one first region may include four first pixels 111.
- Two pixels 112, four second pixels 112 can emit green light at the same time, one first region can include four third pixels 113, and four third pixels 113 can emit blue light at the same time.
- the color displayed in the first area may be a primary color with a fixed grayscale, and the first area will present a "blurring" effect, That is, the resolution will be reduced, but this display effect will basically not affect the normal display.
- the display screen 100 has a status bar area 120, and the status bar area 120 further includes a variegated icon area 130.
- the variegated icon area 130 has lower requirements on the complexity of the variegated interface, and environmental sensors can be arranged in the variegated icon area 130.
- the target area 110 may be a non-colored icon area 130 , so that even if the target area 110 is "blurred", the user will not easily perceive the color difference of the icons displayed in the status bar.
- the embodiment of the present application also discloses a display screen compensation display method, which can adjust the display screen based on the ambient light brightness value measured by the above ambient light detection method.
- the brightness of the display screen can be improved to improve the display effect of the display screen.
- Display compensation display methods include:
- S540 Determine an ambient light brightness value according to the target brightness value and the brightness interference value.
- the above steps S510-S540 are used to obtain the ambient light brightness value of the environment where the display screen is located.
- the content of these steps may be the same as the content of steps S100-S400 in the above-mentioned ambient light detection method, so details will not be repeated here.
- the ambient light brightness value can accurately obtain the ambient light brightness of the environment where the display screen 100 is located, and different ambient light brightnesses can correspond to different display screen driving information, and the display screen driving information can include the driving voltage and driving current of the target pixel, etc.
- the display brightness of the display screen 100 can be changed by adjusting the display screen driving information, so that the display brightness is adapted to the ambient light brightness of the environment where the display screen 100 is located, so that the user can clearly see the content displayed on the display screen 100, At the same time, it can protect the user's eyes.
- the corresponding relationship between the ambient light brightness value and the display screen driving information can be pre-stored in the electronic device, so as to facilitate obtaining the corresponding display screen driving information according to the ambient light brightness value.
- the ambient light brightness value obtained by the display screen compensation display method above is more accurate, so when the display screen 100 is controlled to display according to the ambient light brightness value, the display brightness of the display screen 100 can more accurately match the environment where the display screen 100 is currently located. Brightness, so that the compensation effect when the display screen 100 is displayed is better.
- the execution subject may be an ambient light detection device, or a control unit in the ambient light detection device for executing the ambient light detection method;
- the executing subject may be a display screen compensation display device, or a control unit in the display screen compensation display device for executing the display screen compensation display method.
- the ambient light detection device and the display compensation display device provided in the embodiments of the present application are described by taking the ambient light detection device executing the ambient light detection method and the display screen compensation display device executing the display screen compensation display method as examples.
- An embodiment of the present application discloses an ambient light detection device, which includes a first acquisition module, a second acquisition module, a first processing module, and a second processing module.
- the first acquiring module is configured to acquire the target brightness value, optionally, the first acquiring module may acquire the target brightness value detected by the ambient light sensor 200 .
- the second acquisition module is used to acquire the display information of each target pixel in the target area 110, and the first processing module is used to determine the brightness interference corresponding to each target pixel according to the display information of each target pixel and the pixel mapping table. value, the second processing module is used to determine the ambient light brightness value according to the target brightness value and the brightness interference value.
- the ambient light detection device may further include a mapping relationship determination module, the mapping relationship determination module is used to determine the pixel mapping relationship table, the mapping relationship determination module includes: a first control module, used to control the target pixel in the target area 110 Light up with preset conditions; the third acquisition module is used to acquire the display information of the target pixel and the brightness value measured by the ambient light sensor 200, and determine the mapping relationship between the display information of each target pixel and the brightness interference value surface.
- the mapping relationship determination module here can obtain a more accurate pixel mapping relationship table, thereby improving the accuracy of ambient light detection.
- the ambient light detection device in the embodiment of the present application can pre-determine the influence of a single pixel on ambient light detection, so as to eliminate as much as possible during the process of ambient light detection Because the ambient light detection device refines the light emitted by the display screen 100 to a single target pixel, it can more accurately determine the brightness interference value of the target pixel at different positions in the target area 110, so that the final The ambient light brightness value of is closer to the real ambient light brightness. Therefore, the detection accuracy of the ambient light detection device is higher.
- the target area 110 includes a first area
- the first control module is used to control at least two target pixels in the first area to simultaneously light up with the same display information.
- the brightness interference value of each target that is simultaneously lit The ratio between the pixel's total brightness value and the number of target pixels lit simultaneously.
- the number of target pixels that are simultaneously lit can be appropriately increased, so that the brightness of each target pixel is higher when lit, thereby improving the signal-to-noise ratio.
- the above-mentioned first area includes an edge area of the target area 110 .
- the distance between the edge area and the ambient light sensor 200 is relatively far, so if a single target pixel is controlled to light up, the brightness of the target pixel is low, and it is not easy to be perceived by the ambient light sensor 200, while controlling at least one target pixel in the edge area Two target pixels are simultaneously lit with the same display information, which can increase the luminance, thereby improving the signal-to-noise ratio, thereby further improving the accuracy of ambient light detection.
- the first control module is configured to control all target pixels in the first area to light up simultaneously with the same display information. Since the distance between each target pixel in the edge area and the ambient light sensor 200 is substantially equal, the brightness interference value of each target pixel is substantially equal, based on this, all target pixels in the first area are controlled to display information with the same Lighting up at the same time can appropriately reduce the number of times when all target pixels in the first area are controlled to be turned on, which is more convenient for the control of the electronic device, and at the same time reduces the power consumption of the electronic device and simplifies the data processing process.
- the target area 110 includes at least two first areas arranged in an array, and the first control module is used to sequentially control all target pixels in each first area to display the same information light up at the same time.
- the entire target area 110 is divided into multiple first areas, and multiple target pixels contained in each first area can be lit at the same time, so there are more target pixels in the lit state at the same time, and the pixel mapping relationship is determined The signal-to-noise ratio of the watch is higher, and the detection accuracy of ambient light is improved accordingly.
- all the target pixels in the first area are arranged in an array, and at this time, the arrangement of the target pixels in each first area is more consistent, so that it is easier to control each target pixel to be in a lighting state.
- the embodiment of the present application also discloses a display screen compensation display device, which includes a first acquisition module, a second acquisition module, a first processing module, a second processing module, a fourth acquisition module and a second control module.
- the first acquisition module is used to acquire the target brightness value; the second acquisition module is used to acquire the display information of each target pixel in the target area; the first processing module is used to obtain the display information of each target pixel and the pixel mapping relationship table , to determine the brightness interference value corresponding to each target pixel; the second processing module is used to determine the ambient light brightness value according to the target brightness value and the brightness interference value; the fourth acquisition module is used to obtain the corresponding brightness value according to the ambient light brightness value display screen driving information; the second control module is used to control the display screen to display according to the display screen driving information.
- the ambient light brightness value obtained by the above display screen compensation display device is more accurate, so when the display screen 100 is controlled to display according to the ambient light brightness value, the display brightness of the display screen 100 can more accurately match the environment where the display screen 100 is currently located. Brightness, so that the compensation effect when the display screen 100 is displayed is better.
- the ambient light detection device and the display screen compensation display device in the embodiment of the present application may be a device, or may be a component, an integrated circuit, or a chip in a terminal.
- the ambient light detection device and the display screen compensation display device may be mobile electronic equipment or non-mobile electronic equipment.
- the mobile electronic device may be a mobile phone, a tablet computer, a notebook computer, a palmtop computer, a vehicle electronic device, Wearable devices, ultra-mobile personal computer (ultra-mobile personal computer, UMPC), netbook or personal digital assistant (personal digital assistant, PDA), etc.
- Non-mobile electronic devices can be servers, network attached storage (Network Attached Storage, NAS) , a personal computer (personal computer, PC), a television (television, TV), a teller machine, or a self-service machine, etc., which are not specifically limited in this embodiment of the present application.
- Network Attached Storage NAS
- a personal computer personal computer, PC
- a television television
- teller machine or a self-service machine, etc.
- the ambient light detection device and the display screen compensation display device in the embodiment of the present application may be devices with an operating system.
- the operating system may be an Android (Android) operating system, an ios operating system, or other possible operating systems, which are not specifically limited in this embodiment of the present application.
- the embodiment of the present application further provides an electronic device 300, including a processor 320, a memory 310, and programs or instructions stored in the memory 310 and operable on the processor 320,
- the program or instruction is executed by the processor 320, it realizes each process of the above-mentioned embodiment of the ambient light detection method and the embodiment of the display screen compensation display method, and can achieve the same technical effect. To avoid repetition, details are not repeated here.
- the electronic devices in the embodiments of the present application include the above-mentioned mobile electronic devices and non-mobile electronic devices.
- FIG. 8 is a schematic diagram of a hardware structure of an electronic device implementing an embodiment of the present application.
- the electronic device 400 includes but is not limited to: a radio frequency unit 410, a network module 420, an audio output unit 430, an input unit 440, a sensor 450, a display unit 460, a user input unit 470, an interface unit 480, a memory 490, and a processor 401, etc. part.
- the sensor 450 may include the ambient light sensor 200 .
- the electronic device 400 may also include a power supply (such as a battery) for supplying power to each component, and the power supply may be logically connected to the processor 401 through a power management system, thereby The functions of charging, discharging, and power consumption management are realized through the power management system.
- the structure of the electronic device shown in FIG. 8 does not constitute a limitation to the electronic device.
- the electronic device may include more or fewer components than shown in the figure, or combine some components, or arrange different components, and details will not be repeated here. .
- the processor 401 is used to obtain the target brightness value, obtain the display information of each target pixel in the target area 110, and determine the brightness interference corresponding to each target pixel according to the display information of each target pixel and the pixel mapping table. value, and determine the ambient light brightness value according to the target brightness value and the brightness interference value.
- the processor 401 is also used to determine the pixel mapping relationship table, which is specifically used to control the target pixels in the target area 110 to light up under preset conditions, obtain the display information of the target pixels, and the brightness measured by the ambient light sensor 200 Value, determine the mapping relationship table between the display information of each target pixel and the brightness interference value.
- the above-mentioned processor 401 may predetermine the influence of a single pixel on the ambient light detection, so as to eliminate the influence of the target pixel in the lit state as much as possible during the ambient light detection process.
- the emitted light is specifically refined to a single target pixel, so the brightness interference value of the target pixel at different positions in the target area 110 can be determined more accurately, so that the finally obtained ambient light brightness value is closer to the real ambient light brightness. Therefore, the detection accuracy of ambient light brightness is higher.
- the processor 401 is configured to obtain the target brightness value, obtain the display information of each target pixel in the target area, and determine the value of each target pixel according to the display information of each target pixel and the pixel mapping table According to the corresponding brightness interference value, the ambient light brightness value is determined according to the target brightness value and the brightness interference value, the corresponding display screen driving information is obtained according to the ambient light brightness value, and the display screen is controlled to display according to the display screen driving information.
- the input unit 440 may include a graphics processor (Graphics Processing Unit, GPU) 441 and a microphone 442, the graphics processor 441 processes image data of still pictures or videos obtained by an image capture device (such as a camera) in the video capture mode or image capture mode.
- the display unit 460 may include a display panel 461, and the display panel 461 may be configured in the form of a liquid crystal display, an organic light emitting diode, or the like.
- the user input unit 470 includes a touch panel 471 and other input devices 472 .
- the touch panel 471 is also called a touch screen.
- the touch panel 471 may include two parts, a touch detection device and a touch controller.
- Other input devices 472 may include, but are not limited to, physical keyboards, function keys (such as volume control keys, switch keys, etc.), trackballs, mice, and joysticks, which will not be repeated here.
- Memory 490 may be used to store software programs as well as various data, including but not limited to application programs 491 and operating system 492 .
- the processor 401 may integrate an application processor and a modem processor, wherein the application processor mainly processes operating systems, user interfaces, and application programs, and the modem processor mainly processes wireless communications. It can be understood that the foregoing modem processor may not be integrated into the processor 401 .
- the embodiment of the present application also provides a readable storage medium, the readable storage medium stores a program or an instruction, and when the program or instruction is executed by a processor, the implementation of the above-mentioned embodiment of the ambient light detection method and the display screen compensation display method are implemented.
- the readable storage medium stores a program or an instruction
- the program or instruction is executed by a processor, the implementation of the above-mentioned embodiment of the ambient light detection method and the display screen compensation display method are implemented.
- the processor is the processor in the electronic device described in the above embodiments.
- the readable storage medium includes computer readable storage medium, such as computer read-only memory (Read-Only Memory, ROM), random access memory (Random Access Memory, RAM), magnetic disk or optical disk, etc.
- the embodiment of the present application further provides a chip, the chip includes a processor and a communication interface, the communication interface is coupled to the processor, and the processor is used to run programs or instructions to achieve the above.
- chips mentioned in the embodiments of the present application may also be called system-on-chip, system-on-chip, system-on-a-chip, or system-on-a-chip.
- the term “comprising”, “comprising” or any other variation thereof is intended to cover a non-exclusive inclusion such that a process, method, article or apparatus comprising a set of elements includes not only those elements, It also includes other elements not expressly listed, or elements inherent in the process, method, article, or device. Without further limitations, an element defined by the phrase “comprising a " does not preclude the presence of additional identical elements in the process, method, article, or apparatus comprising that element.
- the scope of the methods and devices in the embodiments of the present application is not limited to performing functions in the order shown or discussed, and may also include performing functions in a substantially simultaneous manner or in reverse order according to the functions involved. Functions are performed, for example, the described methods may be performed in an order different from that described, and various steps may also be added, omitted, or combined. Additionally, features described with reference to certain examples may be combined in other examples.
- the methods of the above embodiments can be implemented by means of software plus a necessary general-purpose hardware platform, and of course also by hardware, but in many cases the former is better implementation.
- the technical solution of the present application can be embodied in the form of a software product in essence or the part that contributes to the prior art, and the computer software product is stored in a storage medium (such as ROM/RAM, disk, CD) contains several instructions to enable a terminal (which may be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) to execute the methods described in various embodiments of the present application.
- a terminal which may be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.
Landscapes
- Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Computer Hardware Design (AREA)
- Theoretical Computer Science (AREA)
- Life Sciences & Earth Sciences (AREA)
- Sustainable Development (AREA)
- Spectroscopy & Molecular Physics (AREA)
- Chemical & Material Sciences (AREA)
- Crystallography & Structural Chemistry (AREA)
- Controls And Circuits For Display Device (AREA)
- Control Of El Displays (AREA)
Abstract
提供一种环境光检测方法及装置、显示屏补偿显示方法及装置、电子设备、可读存储介质,属于环境光检测技术领域。环境光检测方法包括:获取目标亮度值(S100);获取目标区域内的每个目标像素的显示信息(S200);根据每个目标像素的显示信息和像素映射关系表,确定每个目标像素所对应的亮度干扰值(S300);根据目标亮度值和亮度干扰值,确定环境光亮度值(S400)。
Description
交叉引用
本发明要求在2022年01月29日提交中国专利局、申请号为202210111935.1、发明名称为“环境光检测方法及装置、显示屏补偿显示方法及装置”的中国专利申请的优先权,该申请的全部内容通过引用结合在本发明中。
本申请属于环境光检测技术领域,具体涉及一种环境光检测方法及装置、显示屏补偿显示方法及装置、电子设备、可读存储介质。
随着电子设备的不断发展,屏占比已经成为消费者选择电子设备的重要考量因素之一,与此同时,电子设备的生产商已经通过多种途径不断地提升了屏占比,屏占比的提升空间越来越小,因此如何提升屏占比就成为了电子设备的结构设计的重要挑战之一。
环境光传感器可以检测环境光的强度,电子设备可以根据环境光的强度自动调节显示屏的亮度,从而保护用户的眼睛。为了提升屏占比,可以将环境光传感器设置于显示屏的下方,此时,显示屏所发出的光容易被环境光传感器感应到,从而导致环境光的检测精度较低。
为了解决上述问题,可以增加偏振结构滤除显示屏发出的光,或者通过补偿算法对环境光传感器的检测结果进行补偿处理,从而消除显示屏发出的光对检测结果的影响。然而,前一种方案需要额外增加偏振结构,导致电子
设备的结构比较复杂,并且偏振结构不能完全滤除显示屏发出的光,同时还会滤除一部分环境光,导致环境光的检测精度仍然较低。后一种方案不需要额外增加偏振结构,但是该方案只是根据环境光传感器的检测值和显示屏的发光亮度进行粗略补偿,因此此种方式同样会导致环境光的检测精度较低。
发明内容
本申请实施例的目的是提供一种环境光检测方法及装置、显示屏补偿显示方法及装置、电子设备、可读存储介质,能够解决环境光的检测精度较低的问题。
为了解决上述技术问题,本申请是这样实现的:
第一方面,本申请实施例提供了一种环境光检测方法,包括:
获取目标亮度值;
获取目标区域内的每个目标像素的显示信息;
根据每个所述目标像素的显示信息和像素映射关系表,确定每个所述目标像素所对应的亮度干扰值;
根据所述目标亮度值和所述亮度干扰值,确定环境光亮度值。
第二方面,本申请实施例提供了一种显示屏补偿显示方法,包括:
获取目标亮度值;
获取目标区域内的每个目标像素的显示信息;
根据每个所述目标像素的显示信息和像素映射关系表,确定每个所述目标像素所对应的亮度干扰值;
根据所述目标亮度值和所述亮度干扰值,确定环境光亮度值;
根据所述环境光亮度值获取对应的显示屏驱动信息;
根据所述显示屏驱动信息控制显示屏进行显示。
第三方面,本申请实施例提供了一种环境光检测装置,包括:
第一获取模块,用于获取目标亮度值;
第二获取模块,用于获取目标区域内的每个目标像素的显示信息;
第一处理模块,用于根据每个所述目标像素的显示信息和像素映射关系表,确定每个所述目标像素所对应的亮度干扰值;
第二处理模块,用于根据所述目标亮度值和所述亮度干扰值,确定环境光亮度值。
第四方面,本申请实施例提供了一种显示屏补偿显示装置,包括:
第一获取模块,用于获取目标亮度值;
第二获取模块,用于获取目标区域内的每个目标像素的显示信息;
第一处理模块,用于根据每个所述目标像素的显示信息和像素映射关系表,确定每个所述目标像素所对应的亮度干扰值;
第二处理模块,用于根据所述目标亮度值和所述亮度干扰值,确定环境光亮度值;
第四获取模块,用于根据所述环境光亮度值获取对应的显示屏驱动信息;
第二控制模块,用于根据所述显示屏驱动信息控制所述显示屏进行显示。
第五方面,本申请实施例提供了一种电子设备,包括处理器,存储器及存储在所述存储器上并可在所述处理器上运行的程序或指令,所述程序或指令被所述处理器执行时实现如第一方面和第二方面所述方法的步骤。
第六方面,本申请实施例提供了一种可读存储介质,所述可读存储介质上存储程序或指令,所述程序或指令被处理器执行时实现如第一方面和第二
方面所述方法的步骤。
第七方面,本申请实施例提供了一种芯片,所述芯片包括处理器和通信接口,所述通信接口和所述处理器耦合,所述处理器用于运行程序或指令,实现如第一方面和第二方面所述的方法。
本申请实施例中的环境光检测方法可以预先确定单个像素对于环境光检测的影响,从而在环境光检测的过程中尽量剔除处于点亮状态的目标像素所带来的影响,由于该方法将显示屏发出的光具体细化至单个目标像素,因此可以更精确地确定目标区域的不同位置的目标像素的亮度干扰值,从而使得最终得到的环境光亮度值更接近真实的环境光亮度。故,该环境光检测方法的检测精度更高。
图1为本申请第一实施例公开的电子设备的局部结构示意图;
图2为本申请第一实施例公开的目标像素的不同发光方案的对比图;
图3为本申请第二实施例公开的电子设备的局部结构示意图;
图4为本申请第二实施例公开的目标像素的不同发光方案的对比图;
图5为本申请实施例公开的环境光检测方法的流程示意图;
图6为本申请实施例公开的显示屏补偿显示方法的流程示意图;
图7为实现本申请实施例的一种电子设备的结构框图;
图8为实现本申请实施例的一种电子设备的硬件结构示意图。
附图标记说明:
100-显示屏、110-目标区域、111-第一像素、112-第二像素、113-第三像
素、120-状态栏区域、130-杂色图标区域、200-环境光传感器;
300-电子设备、310-存储器、320-处理器;
400-电子设备、401-处理器、410-射频单元、420-网络模块、430-音频输出单元、440-输入单元、441-图形处理器、442-麦克风、450-传感器、460-显示单元、461-显示面板、470-用户输入单元、471-触控面板、472-其他输入设备、480-接口单元、490-存储器、491-应用程序、492-操作系统。
下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚、完整的描述,显然,所描述的实施例是本申请一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本申请保护的范围。
本申请的说明书和权利要求书中的术语“第一”、“第二”等是用于区别类似的对象,而不用于描述特定的顺序或先后次序。应该理解这样使用的数据在适当情况下可以互换,以便本申请的实施例能够以除了在这里图示或描述的那些以外的顺序实施,且“第一”、“第二”等所区分的对象通常为一类,并不限定对象的个数,例如第一对象可以是一个,也可以是多个。此外,说明书以及权利要求中“和/或”表示所连接对象的至少其中之一,字符“/”,一般表示前后关联对象是一种“或”的关系。
下面结合附图,通过具体的实施例及其应用场景对本申请实施例提供的环境光检测方法及装置、显示屏补偿显示方法及装置、电子设备、可读存储介质进行详细地说明。
参考图1至图5,本申请实施例公开一种环境光检测方法,该环境光检测方法可以用于检测电子设备所处环境的光线强度,从而根据光线强度对应调整电子设备的显示屏亮度,以防止显示屏100的亮度不足或亮度过高而对用户的眼睛带来损害。可选地,电子设备的显示屏100下方可以设置环境光传感器200,该环境光传感器200可以检测环境光的强度,同时,环境光传感器200可以不占用电子设备的显示区域,从而提升电子设备的屏占比。
本申请实施例公开的环境光检测方法具体包括:
S100、获取目标亮度值。
这里的目标亮度值为环境光传感器200检测到的亮度值,由于到达环境光传感器200的光线至少包括了环境光和显示屏100所发出的一部分光,因此目标亮度值实际是环境光和显示屏100所发出光共同作用后所得到的值,该目标亮度值通常无法准确体现环境光的强度。
S200、获取目标区域110内的每个目标像素的显示信息。
这里的目标区域110可以是电子设备的整个显示区域,也可以是显示区域的一部分区域,目标区域110内的目标像素点亮时,目标像素所发出的光会至少部分进入环境光传感器200,从而影响环境光传感器200的检测值。由于环境光传感器200具有视场范围,位于该视场范围内的光线可以进入环境光传感器200,该视场范围外的光线则无法进入环境光传感器200,因此为了降低电子设备的数据处理量,可以将目标区域110设置为显示区域的一部分区域,目标区域110的具体边界可以根据环境光传感器200的视场范围来确定,本申请实施例对此不作限制。
目标像素是显示区域中用于实现显示功能的单元,该目标像素可以包括
多个子像素,这些子像素包括红色子像素、绿色子像素和蓝色子像素,通过对红色子像素、绿色子像素和蓝色子像素的控制,从而使得目标像素可以发出目标颜色,该目标颜色可以是红色、绿色、蓝色,以及这三种颜色以不同的比例混合后所形成的其他颜色。目标像素的显示信息可以包括是否发光、所发出的颜色、发光亮度等信息,根据该显示信息可以确定目标区域110中的哪些像素处于发光状态,以及这些像素所发光的颜色、亮度等信息。显示信息不同时,环境光传感器200所测得的亮度值不同。
S300、根据每个目标像素的显示信息和像素映射关系表,确定每个目标像素所对应的亮度干扰值。
上述像素映射表可以预先得到并存储在电子设备内,该像素映射表记录了目标像素的显示信息与目标像素的亮度干扰值之间的关系,因此如果已知目标像素的显示信息,就可以获得对应的亮度干扰值,从而根据该亮度干扰值校准目标亮度值。可选地,像素映射表中的显示信息可以包括发光像素的坐标、发光像素的发光颜色、发光像素的亮度等信息,而显示信息对应的值则可以是亮度干扰值本身,当然也可以是与亮度干扰值相关的数据(例如可以是目标像素在预设环境光下点亮时环境光传感器200的检测值)。举例而言,如果确定像素映射表时,电子设备所处环境的光强为0,则当目标区域110内的目标像素点亮时,环境光传感器200所测得的值就是目标像素对于环境光检测所带来的干扰值;如果确定像素映射表时,电子设备所处环境的光强不为0,但环境光的光强已知,那么目标像素的亮度干扰值则是环境光传感器200的检测值与该已知光强之间的差值。像素映射关系表中,可以直接记录亮度干扰值,也可以记录目标像素对环境光亮度值的干扰权重,根据
该干扰权重可以获得亮度干扰值。
S400、根据目标亮度值和亮度干扰值,确定环境光亮度值。
已知目标像素对于环境光传感器200的检测值的影响,即亮度干扰值属于已知量,实际检测环境光亮度的过程中,就可以对目标亮度值进行校准,从而剔除显示屏100所发光的光对环境光亮度检测的影响,得到更加准确的环境光亮度值。
上述像素映射关系表可以通过多种方式来确定,可选地,目标像素在指令信息的控制作用下发光,因此可以通过获取该指令信息以及环境光传感器200所测得的对应亮度值,来得到像素映射关系表。另一可选的实施例中,上述像素映射关系表的确定方法包括:
S110、控制目标区域110内的目标像素以预设条件点亮。
上述预设条件可以包括电子设备所处环境的亮度、目标像素需要发出的颜色、目标像素的发光亮度、目标像素的点亮形式等等,其中:
在确定像素映射关系表的过程中,电子设备所处环境的亮度可以设置得尽量低,从而使得该过程所受到的来自于环境光的影响尽量小,可选地,可以将电子设备置于亮度值为0的环境中,从而使得目标像素点亮时,环境光传感器200所测得的亮度值就是目标像素的亮度干扰值。或者,可以在电子设备中增加可动的遮光结构,通过该遮光结构可以阻止环境光进入环境光传感器200,从而使得目标像素点亮时,环境光传感器200所测得的亮度值就是目标像素的亮度干扰值。
目标像素需要发出的颜色可以包括多种颜色,例如可以是红色、绿色、蓝色、紫色、黄色、灰色等颜色,为了丰富像素映射关系表的数据,从而使
得像素映射关系表内的数据尽量覆盖显示屏100工作时目标像素发出的任意颜色,可以控制目标像素发出尽量多的颜色,从而更全面地确定目标像素所能够发出的各种颜色对环境光检测的干扰程度。
目标像素的发光亮度不同时,环境光传感器200所测得的亮度值也不同,因此目标像素的发光亮度也是影响环境光检测精度的重要参数之一。控制目标像素点亮时,可以使目标像素的亮度为预设亮度,该预设亮度可以采用不同的数值,从而确定目标像素的不同发光亮度所对应的环境光传感器200的检测值。
目标像素的点亮形式指的是目标像素以何种形式点亮,可选地,目标区域110内的至少两个目标像素可以同时点亮,此时环境光传感器200的检测值是所有同时点亮的目标像素所带来的总亮度值,因此单个目标像素所对应的亮度干扰值可以是该总亮度值与同时处于发光状态的目标像素的数量之间的比值。当然,目标区域110内的多个目标像素也可以逐个依次点亮,此时,环境光传感器200的检测值即对应单个目标像素的亮度干扰值。为了降低控制难度,可以控制目标像素以同等亮度依次点亮,同时可以以不同的亮度、颜色循环点亮,从而更快速地得到像素映射关系表。
需要说明的是,上述预设条件还可以包括其他参数,本申请实施例对此不作具体限制。
S120、获取目标像素的显示信息,以及环境光传感器200所测得的亮度值,确定每个目标像素的显示信息与亮度干扰值之间的像素映射关系表。
在步骤S110所对应的控制指令的作用下,目标像素将点亮,从而进行显示,但目标像素最终呈现出的显示效果可能与对应的控制指令存在一定的出
入,这是因为目标像素发光时可能还会受到其他器件的影响,电子设备的制造质量也会对目标像素的显示效果带来影响,同时,随着电子设备的使用时间不断增加,显示屏100也会出现老化等情况,此时目标像素对环境光检测的影响程度也会变化,因此综合考虑到这些情况,像素映射关系表中与环境光所测得的亮度值对应的可以是目标像素实际所呈现的显示信息,从而进一步提升像素映射关系表的准确性。
需要说明的是,上述像素映射关系表可以在制造电子设备的过程中获得,也可以在使用电子设备的过程中获得,从而在电子设备的不同阶段校正像素映射关系表,以此提升环境光的检测精度。
上述环境光检测方法可以预先确定单个像素对于环境光检测的影响,从而在环境光检测的过程中尽量剔除处于点亮状态的目标像素所带来的影响,由于该方法将显示屏100发出的光具体细化至单个目标像素,因此可以更精确地确定目标区域110的不同位置的目标像素的亮度干扰值,从而使得最终得到的环境光亮度值更接近真实的环境光亮度。故,该环境光检测方法的检测精度更高。
如前,在确定像素映射关系表时,可以控制目标区域110内的所有目标像素逐个点亮,从而确定对应的单个目标像素的亮度干扰值。另一实施例中,可以适当增加同时点亮的目标像素的数量,从而使得各目标像素点亮时的亮度更高,以此提升信噪比。基于此,目标区域110可以包括第一区域,步骤S110具体包括:
S111、控制第一区域内的至少两个目标像素以相同的显示信息同时点亮。
这里的第一区域可以是目标区域110内的任意区域,例如,第一区域可
以是目标区域110的中心区域。第一区域内的所有目标像素可以同时点亮,或者第一区域内的所有目标像素可以分成多个像素组,每个像素组包括至少两个目标像素,各像素组可以依次点亮,同时处于点亮状态的目标像素的显示信息相同,如此就可以使同时处于点亮状态的每个目标像素的亮度干扰值趋于相等。此时,单个目标像素的亮度干扰值为同时点亮的各目标像素的总亮度值与同时点亮的目标像素的数量之间的比值。
可选的实施例中,上述第一区域可以包括目标区域110的边缘区域,该边缘区域与环境光传感器200之间的距离较远,因此如果控制单个目标像素点亮,那么该目标像素的亮度较低,进而不容易被环境光传感器200感知到,而控制边缘区域的至少两个目标像素以相同的显示信息同时点亮,则可以提升发光亮度,从而提升信噪比,以此进一步提升环境光检测的准确度。可选地,参考图2,图2中示出了两种不同的发光控制方案,在右侧方案中,第一区域可以包括沿第一区域的周向排布的多个目标像素,这些目标像素可以同时点亮,从而提升信噪比。第一区域可以包括多个第一像素111,多个第一像素111同时点亮时可以发出同种颜色的光,目标区域110的其它区域则可以包括能够发不同颜色的第一像素111、第二像素112和第三像素113,该其他区域中的第一像素111的发光颜色可以与第一区域内的第一像素111的发光颜色相同。
当第一区域包括目标区域110的边缘区域时,第一区域内的所有目标像素可以分批依次点亮,其他实施例中,步骤S110具体包括:
控制第一区域内的所有目标像素以相同的显示信息同时点亮。
由于边缘区域内的每个目标像素与环境光传感器200之间的距离基本相
等,因此每个目标像素的亮度干扰值基本相等,基于此,控制第一区域内的所有目标像素以相同的显示信息同时点亮,就可以适当降低控制第一区域内的所有目标像素点亮时的次数,更便于电子设备的控制,同时降低电子设备的功耗,简化数据处理过程。此实施例中,第一区域内的单个目标像素的亮度干扰值为:第一区域内的所有目标像素点亮时的总亮度值与第一区域所包含的目标像素的总数量之间的比值,也就是说,单个目标像素的亮度干扰值等于前文所述的总亮度值除以第一区域所包含的目标像素的总数量。
另一可选的实施例中,目标区域110可以包括至少两个呈阵列排布的第一区域,此时,步骤S110具体包括:
依次控制每个第一区域内的所有目标像素以相同的显示信息同时点亮。
该实施例将整个目标区域110划分成多个第一区域,每个第一区域所包含的多个目标像素可以同时被点亮,因此同时处于点亮状态的目标像素更多,确定像素映射关系表时的信噪比更高,环境光的检测精度随之提升。不同的第一区域可以以相同的显示信息点亮,也可以以不同的显示信息点亮。此实施例中,每个第一区域内的单个目标像素的亮度干扰值为:第一区域内的所有目标像素点亮时的总亮度值与第一区域所包含的目标像素的总数量之间的比值,也就是说,每个第一区域内的单个目标像素的亮度干扰值等于被点亮的第一区域的总亮度值除以该第一区域所包含的目标像素的总数量。
上述第一区域内的所有目标像素可以呈辐射状排布,也可以呈阵列排布,当第一区域内的所有目标像素呈阵列排布时,每个第一区域内的目标像素的排布更加一致,从而更便于控制各目标像素处于点亮状态。当然,此实施例中的第一区域可以包括前文所述的边缘区域,也可以不包括边缘区域,本申
请实施例对此不作限制。
第一区域所包含的目标像素不宜过少,也不宜过多,如果第一区域所包含的目标像素过少,则不足以提升信噪比,如果第一区域所包含的目标像素过多,则不同位置处的目标像素的亮度干扰值相差过大,最终确定的环境亮度值误差过大。可选地,参考图4,图4中示出了两种不同的发光控制方案,在右侧方案中,第一区域可以包括四个目标像素,这四个目标像素可以呈两行两列排布,该四个目标像素可以同时点亮,从而既提升信噪比,又提升单个目标像素的亮度干扰值的精确度。可选地,其中的三个相邻的第一区域中,一个第一区域可以包括四个第一像素111,四个第一像素111可以同时发红光,一个第一区域可以包括四个第二像素112,四个第二像素112可以同时发绿光,一个第一区域可以包括四个第三像素113,四个第三像素113可以同时发蓝光。
此外,需要说明的是,当第一区域内的至少两个目标像素被点亮时,第一区域所显示的颜色可以是具有固定灰度的原色,第一区域会呈现“虚化”效果,即分辨率会有所下降,但此种显示效果基本不会影响正常的显示。显示屏100具有状态栏区域120,该状态栏区域120进一步包括杂色图标区域130,该杂色图标区域130对杂色界面的复杂度要求较低,环境传感器可以布置于杂色图标区域130,此时,目标区域110可以是杂色图标区域130,如此一来,即使对目标区域110进行“虚化”处理,用户也不容易感知到状态栏所显示的图标的颜色差异。
如图6所示,本申请实施例还公开一种显示屏补偿显示方法,该显示屏补偿显示方法可以基于上述环境光检测方法所测得的环境光亮度值来调节显
示屏的亮度,从而提升显示屏的显示效果。显示屏补偿显示方法包括:
S510、获取目标亮度值。
S520、获取目标区域内的每个目标像素的显示信息。
S530、根据每个目标像素的显示信息和像素映射关系表,确定每个目标像素所对应的亮度干扰值。
S540、根据目标亮度值和亮度干扰值,确定环境光亮度值。
上述步骤S510~S540用于获取显示屏所处环境的环境光亮度值,这些步骤的内容可与前文的环境光检测方法中的步骤S100~S400的内容相同,因此此处不再赘述。
S550、根据环境光亮度值获取对应的显示屏驱动信息。
S560、根据显示屏驱动信息控制显示屏进行显示。
环境光亮度值可以准确得到显示屏100所处环境的环境光亮度,不同的环境光亮度可以对应不同的显示屏驱动信息,该显示屏驱动信息可以包括目标像素的驱动电压、驱动电流等等,通过调整显示屏驱动信息可以改变显示屏100的显示亮度,从而使得该显示亮度与显示屏100所处环境的环境光亮度相适配,使得用户可以清楚地看到显示屏100所显示的内容,同时可以保护用户的眼睛。环境光亮度值与显示屏驱动信息之间的对应关系可以预先存储在电子设备中,从而便于根据环境光亮度值得到对应的显示屏驱动信息。
上述显示屏补偿显示方法所获得的环境光亮度值更精确,因此根据该环境光亮度值控制显示屏100显示时,显示屏100的显示亮度可以更准确地匹配显示屏100当前所处环境的环境光亮度,从而使得显示屏100进行显示时的补偿效果更好。
需要说明的是,本申请实施例提供的环境光检测方法,执行主体可以为环境光检测装置,或者该环境光检测装置中的用于执行环境光检测方法的控制单元;本申请实施例提供的显示屏补偿显示方法,执行主体可以为显示屏补偿显示装置,或者该显示屏补偿显示装置中的用于执行显示屏补偿显示方法的控制单元。本申请实施例中以环境光检测装置执行环境光检测方法,显示屏补偿显示装置执行显示屏补偿显示方法为例,说明本申请实施例提供的环境光检测装置和显示屏补偿显示装置。
本申请实施例公开一种环境光检测装置,其包括第一获取模块、第二获取模块、第一处理模块和第二处理模块。
第一获取模块用于获取目标亮度值,可选地,该第一获取模块可以获取由环境光传感器200所检测到的目标亮度值。第二获取模块用于获取目标区域110内的每个目标像素的显示信息,第一处理模块用于根据每个目标像素的显示信息和像素映射关系表,确定每个目标像素所对应的亮度干扰值,第二处理模块用于根据目标亮度值和亮度干扰值,确定环境光亮度值。
可选地,环境光检测装置还可以包括映射关系确定模块,该映射关系确定模块用于确定像素映射关系表,映射关系确定模块包括:第一控制模块,用于控制目标区域110内的目标像素以预设条件点亮;第三获取模块,用于获取目标像素的显示信息,以及环境光传感器200所测得的亮度值,确定每个目标像素的显示信息与亮度干扰值之间的映射关系表。这里的映射关系确定模块可以得到更准确的像素映射关系表,从而提升环境光检测精度。
本申请实施例中的环境光检测装置可以预先确定单个像素对于环境光检测的影响,从而在环境光检测的过程中尽量剔除处于点亮状态的目标像素所
带来的影响,由于该环境光检测装置将显示屏100发出的光具体细化至单个目标像素,因此可以更精确地确定目标区域110的不同位置的目标像素的亮度干扰值,从而使得最终得到的环境光亮度值更接近真实的环境光亮度。故,该环境光检测装置的检测精度更高。
可选地,目标区域110包括第一区域,第一控制模块用于控制第一区域内的至少两个目标像素以相同的显示信息同时点亮,此时亮度干扰值为同时点亮的各目标像素的总亮度值与同时点亮的目标像素的数量之间的比值。该实施例可以适当增加同时点亮的目标像素的数量,从而使得各目标像素点亮时的亮度更高,以此提升信噪比。
可选的实施例中,上述第一区域包括目标区域110的边缘区域。该边缘区域与环境光传感器200之间的距离较远,因此如果控制单个目标像素点亮,那么该目标像素的亮度较低,进而不容易被环境光传感器200感知到,而控制边缘区域的至少两个目标像素以相同的显示信息同时点亮,则可以提升发光亮度,从而提升信噪比,以此进一步提升环境光检测的准确度。
可选地,第一控制模块用于控制第一区域内的所有目标像素以相同的显示信息同时点亮。由于边缘区域内的每个目标像素与环境光传感器200之间的距离基本相等,因此每个目标像素的亮度干扰值基本相等,基于此,控制第一区域内的所有目标像素以相同的显示信息同时点亮,就可以适当降低控制第一区域内的所有目标像素点亮时的次数,更便于电子设备的控制,同时降低电子设备的功耗,简化数据处理过程。
另一实施例中,目标区域110包括至少两个呈阵列排布的第一区域,第一控制模块用于依次控制每个第一区域内的所有目标像素以相同的显示信息
同时点亮。该实施例将整个目标区域110划分成多个第一区域,每个第一区域所包含的多个目标像素可以同时被点亮,因此同时处于点亮状态的目标像素更多,确定像素映射关系表时的信噪比更高,环境光的检测精度随之提升。
可选地,第一区域内的所有目标像素呈阵列排布,此时每个第一区域内的目标像素的排布更加一致,从而更便于控制各目标像素处于点亮状态。
本申请实施例还公开一种显示屏补偿显示装置,其包括第一获取模块、第二获取模块、第一处理模块、第二处理模块、第四获取模块和第二控制模块。
第一获取模块用于获取目标亮度值;第二获取模块用于获取目标区域内的每个目标像素的显示信息;第一处理模块,用于根据每个目标像素的显示信息和像素映射关系表,确定每个目标像素所对应的亮度干扰值;第二处理模块,用于根据目标亮度值和亮度干扰值,确定环境光亮度值;第四获取模块,用于根据环境光亮度值获取对应的显示屏驱动信息;第二控制模块,用于根据显示屏驱动信息控制显示屏进行显示。
上述显示屏补偿显示装置所获得的环境光亮度值更精确,因此根据该环境光亮度值控制显示屏100显示时,显示屏100的显示亮度可以更准确地匹配显示屏100当前所处环境的环境光亮度,从而使得显示屏100进行显示时的补偿效果更好。
本申请实施例中的环境光检测装置和显示屏补偿显示装置可以是装置,也可以是终端中的部件、集成电路、或芯片。该环境光检测装置和显示屏补偿显示装置可以是移动电子设备,也可以为非移动电子设备。示例性的,移动电子设备可以为手机、平板电脑、笔记本电脑、掌上电脑、车载电子设备、
可穿戴设备、超级移动个人计算机(ultra-mobile personal computer,UMPC)、上网本或者个人数字助理(personal digital assistant,PDA)等,非移动电子设备可以为服务器、网络附属存储器(Network Attached Storage,NAS)、个人计算机(personal computer,PC)、电视机(television,TV)、柜员机或者自助机等,本申请实施例不作具体限定。
本申请实施例中的环境光检测装置和显示屏补偿显示装置可以为具有操作系统的装置。该操作系统可以为安卓(Android)操作系统,可以为ios操作系统,还可以为其他可能的操作系统,本申请实施例不作具体限定。
可选地,如图7所示,本申请实施例还提供一种电子设备300,包括处理器320,存储器310,存储在存储器310上并可在所述处理器320上运行的程序或指令,该程序或指令被处理器320执行时实现上述环境光检测方法实施例和显示屏补偿显示方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。
需要说明的是,本申请实施例中的电子设备包括上述所述的移动电子设备和非移动电子设备。
图8为实现本申请实施例的一种电子设备的硬件结构示意图。
该电子设备400包括但不限于:射频单元410、网络模块420、音频输出单元430、输入单元440、传感器450、显示单元460、用户输入单元470、接口单元480、存储器490、以及处理器401等部件。其中,传感器450可以包括环境光传感器200。
本领域技术人员可以理解,电子设备400还可以包括给各个部件供电的电源(比如电池),电源可以通过电源管理系统与处理器401逻辑相连,从
而通过电源管理系统实现管理充电、放电、以及功耗管理等功能。图8中示出的电子设备结构并不构成对电子设备的限定,电子设备可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置,在此不再赘述。
其中,处理器401用于获取目标亮度值,获取目标区域110内的每个目标像素的显示信息,根据每个目标像素的显示信息和像素映射关系表,确定每个目标像素所对应的亮度干扰值,以及根据目标亮度值和亮度干扰值,确定环境光亮度值。此外,处理器401还用于确定像素映射关系表,其具体用于控制目标区域110内的目标像素以预设条件点亮,获取目标像素的显示信息,以及环境光传感器200所测得的亮度值,确定每个目标像素的显示信息与亮度干扰值之间的映射关系表。
可选地,上述处理器401可以预先确定单个像素对于环境光检测的影响,从而在环境光检测的过程中尽量剔除处于点亮状态的目标像素所带来的影响,由于该方案将显示屏100发出的光具体细化至单个目标像素,因此可以更精确地确定目标区域110的不同位置的目标像素的亮度干扰值,从而使得最终得到的环境光亮度值更接近真实的环境光亮度。故,环境光亮度的检测精度更高。
此外,另一实施例中,处理器401用于获取目标亮度值,获取目标区域内的每个目标像素的显示信息,根据每个目标像素的显示信息和像素映射关系表,确定每个目标像素所对应的亮度干扰值,根据目标亮度值和亮度干扰值,确定环境光亮度值,根据环境光亮度值获取对应的显示屏驱动信息,根据显示屏驱动信息控制显示屏进行显示。
应理解的是,本申请实施例中,输入单元440可以包括图形处理器
(Graphics Processing Unit,GPU)441和麦克风442,图形处理器441对在视频捕获模式或图像捕获模式中由图像捕获装置(如摄像头)获得的静态图片或视频的图像数据进行处理。显示单元460可包括显示面板461,可以采用液晶显示器、有机发光二极管等形式来配置显示面板461。用户输入单元470包括触控面板471以及其他输入设备472。触控面板471,也称为触摸屏。触控面板471可包括触摸检测装置和触摸控制器两个部分。其他输入设备472可以包括但不限于物理键盘、功能键(比如音量控制按键、开关按键等)、轨迹球、鼠标、操作杆,在此不再赘述。存储器490可用于存储软件程序以及各种数据,包括但不限于应用程序491和操作系统492。处理器401可集成应用处理器和调制解调处理器,其中,应用处理器主要处理操作系统、用户界面和应用程序等,调制解调处理器主要处理无线通信。可以理解的是,上述调制解调处理器也可以不集成到处理器401中。
本申请实施例还提供一种可读存储介质,所述可读存储介质上存储有程序或指令,该程序或指令被处理器执行时实现上述环境光检测方法实施例和显示屏补偿显示方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。
其中,所述处理器为上述实施例中所述的电子设备中的处理器。所述可读存储介质,包括计算机可读存储介质,如计算机只读存储器(Read-Only Memory,ROM)、随机存取存储器(Random Access Memory,RAM)、磁碟或者光盘等。
本申请实施例另提供了一种芯片,所述芯片包括处理器和通信接口,所述通信接口和所述处理器耦合,所述处理器用于运行程序或指令,实现上述
环境光检测方法实施例和显示屏补偿显示方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。
应理解,本申请实施例提到的芯片还可以称为系统级芯片、系统芯片、芯片系统或片上系统芯片等。
需要说明的是,在本文中,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者装置不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者装置所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括该要素的过程、方法、物品或者装置中还存在另外的相同要素。此外,需要指出的是,本申请实施方式中的方法和装置的范围不限按示出或讨论的顺序来执行功能,还可包括根据所涉及的功能按基本同时的方式或按相反的顺序来执行功能,例如,可以按不同于所描述的次序来执行所描述的方法,并且还可以添加、省去、或组合各种步骤。另外,参照某些示例所描述的特征可在其他示例中被组合。
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到上述实施例方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本申请的技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质(如ROM/RAM、磁碟、光盘)中,包括若干指令用以使得一台终端(可以是手机,计算机,服务器,空调器,或者网络设备等)执行本申请各个实施例所述的方法。
上面结合附图对本申请的实施例进行了描述,但是本申请并不局限于上
述的具体实施方式,上述的具体实施方式仅仅是示意性的,而不是限制性的,本领域的普通技术人员在本申请的启示下,在不脱离本申请宗旨和权利要求所保护的范围情况下,还可做出很多形式,均属于本申请的保护之内。
Claims (13)
- 一种环境光检测方法,包括:获取目标亮度值;获取目标区域内的每个目标像素的显示信息;根据每个所述目标像素的显示信息和像素映射关系表,确定每个所述目标像素所对应的亮度干扰值;根据所述目标亮度值和所述亮度干扰值,确定环境光亮度值。
- 根据权利要求1所述的环境光检测方法,其中,所述像素映射关系表的确定方法包括:控制所述目标区域内的目标像素以预设条件点亮;获取所述目标像素的显示信息,以及环境光传感器所测得的亮度值,确定每个所述目标像素的显示信息与所述亮度干扰值之间的映射关系表。
- 根据权利要求2所述的环境光检测方法,其中,所述目标区域包括第一区域,所述控制所述目标区域内的目标像素以预设条件点亮,具体包括:控制所述第一区域内的至少两个所述目标像素以相同的显示信息同时点亮;所述亮度干扰值为同时点亮的各所述目标像素的总亮度值与同时点亮的所述目标像素的数量之间的比值。
- 根据权利要求3所述的环境光检测方法,其中,所述第一区域包括所述目标区域的边缘区域。
- 根据权利要求4所述的环境光检测方法,其中,所述控制所述目标区域内的目标像素以预设条件点亮,具体包括:控制所述第一区域内的所有所述目标像素以相同的显示信息同时点亮。
- 根据权利要求3或4所述的环境光检测方法,其中,所述目标区域包括至少两个呈阵列排布的所述第一区域,所述控制所述目标区域内的目标像素以预设条件点亮,具体包括:依次控制每个所述第一区域内的所有所述目标像素以相同的显示信息同时点亮。
- 根据权利要求6所述的环境光检测方法,其中,所述第一区域内的所有所述目标像素呈阵列排布。
- 一种显示屏补偿显示方法,包括:获取目标亮度值;获取目标区域内的每个目标像素的显示信息;根据每个所述目标像素的显示信息和像素映射关系表,确定每个所述目标像素所对应的亮度干扰值;根据所述目标亮度值和所述亮度干扰值,确定环境光亮度值;根据所述环境光亮度值获取对应的显示屏驱动信息;根据所述显示屏驱动信息控制显示屏进行显示。
- 一种环境光检测装置,包括:第一获取模块,用于获取目标亮度值;第二获取模块,用于获取目标区域内的每个目标像素的显示信息;第一处理模块,用于根据每个所述目标像素的显示信息和像素映射关系表,确定每个所述目标像素所对应的亮度干扰值;第二处理模块,用于根据所述目标亮度值和所述亮度干扰值,确定环境光亮度值。
- 一种显示屏补偿显示装置,包括:第一获取模块,用于获取目标亮度值;第二获取模块,用于获取目标区域内的每个目标像素的显示信息;第一处理模块,用于根据每个所述目标像素的显示信息和像素映射关系表,确定每个所述目标像素所对应的亮度干扰值;第二处理模块,用于根据所述目标亮度值和所述亮度干扰值,确定环境光亮度值;第四获取模块,用于根据所述环境光亮度值获取对应的显示屏驱动信息;第二控制模块,用于根据所述显示屏驱动信息控制所述显示屏进行显示。
- 一种电子设备,包括处理器,存储器及存储在所述存储器上并可在所述处理器上运行的程序或指令,所述程序或指令被所述处理器执行时实现如权利要求1至8任一项所述的方法的步骤。
- 一种可读存储介质,所述可读存储介质上存储程序或指令,所述程序或指令被处理器执行时实现如权利要求1至8任一项所述的方法的步骤。
- 一种芯片,所述芯片包括处理器和通信接口,所述通信接口和所述处理器耦合,所述处理器用于运行程序或指令,实现如权利要求1至8任一项所述的方法的步骤。
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202210111935.1A CN114459600A (zh) | 2022-01-29 | 2022-01-29 | 环境光检测方法及装置、显示屏补偿显示方法及装置 |
CN202210111935.1 | 2022-01-29 |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2023143510A1 true WO2023143510A1 (zh) | 2023-08-03 |
Family
ID=81410935
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2023/073548 WO2023143510A1 (zh) | 2022-01-29 | 2023-01-28 | 环境光检测方法及装置、显示屏补偿显示方法及装置 |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN114459600A (zh) |
WO (1) | WO2023143510A1 (zh) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN117750595A (zh) * | 2024-02-19 | 2024-03-22 | 深圳市光脉电子有限公司 | 一种混合光源控制方法、系统、电子设备及存储介质 |
Families Citing this family (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114459600A (zh) * | 2022-01-29 | 2022-05-10 | 维沃移动通信有限公司 | 环境光检测方法及装置、显示屏补偿显示方法及装置 |
CN115547226B (zh) * | 2022-10-17 | 2023-09-08 | 深圳市安立信电子有限公司 | 医用显示器的亮度自检及预警方法、装置及电子设备 |
WO2024131365A1 (zh) * | 2022-12-21 | 2024-06-27 | 武汉市聚芯微电子有限责任公司 | 一种环境光检测方法、装置、设备及存储介质 |
CN115881009A (zh) * | 2022-12-30 | 2023-03-31 | 联想(北京)有限公司 | 一种处理方法及电子设备 |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107957294A (zh) * | 2017-11-22 | 2018-04-24 | 广东欧珀移动通信有限公司 | 环境光强度检测方法、装置、存储介质及电子设备 |
US9997137B2 (en) * | 2015-09-30 | 2018-06-12 | Apple Inc. | Content-based statistics for ambient light sensing |
CN108494936A (zh) * | 2018-02-11 | 2018-09-04 | 维沃移动通信有限公司 | 一种光强度的检测方法、移动终端 |
CN111380610A (zh) * | 2020-05-29 | 2020-07-07 | 北京小米移动软件有限公司 | 环境光检测方法和装置、电子设备、存储介质 |
CN111486950A (zh) * | 2020-04-20 | 2020-08-04 | Oppo广东移动通信有限公司 | 环境光检测方法、装置、电子设备及存储介质 |
CN111613176A (zh) * | 2020-05-18 | 2020-09-01 | 维沃移动通信有限公司 | 环境光检测方法及电子设备 |
CN114459600A (zh) * | 2022-01-29 | 2022-05-10 | 维沃移动通信有限公司 | 环境光检测方法及装置、显示屏补偿显示方法及装置 |
Family Cites Families (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP5474264B2 (ja) * | 2012-01-05 | 2014-04-16 | 三菱電機株式会社 | 表示装置 |
CN107966209B (zh) * | 2017-11-22 | 2020-07-07 | Oppo广东移动通信有限公司 | 环境光检测方法、装置、存储介质和电子设备 |
CN107818753A (zh) * | 2017-11-22 | 2018-03-20 | 广东欧珀移动通信有限公司 | 屏幕亮度调整方法、装置、存储介质和电子设备 |
-
2022
- 2022-01-29 CN CN202210111935.1A patent/CN114459600A/zh active Pending
-
2023
- 2023-01-28 WO PCT/CN2023/073548 patent/WO2023143510A1/zh unknown
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US9997137B2 (en) * | 2015-09-30 | 2018-06-12 | Apple Inc. | Content-based statistics for ambient light sensing |
CN107957294A (zh) * | 2017-11-22 | 2018-04-24 | 广东欧珀移动通信有限公司 | 环境光强度检测方法、装置、存储介质及电子设备 |
CN108494936A (zh) * | 2018-02-11 | 2018-09-04 | 维沃移动通信有限公司 | 一种光强度的检测方法、移动终端 |
CN111486950A (zh) * | 2020-04-20 | 2020-08-04 | Oppo广东移动通信有限公司 | 环境光检测方法、装置、电子设备及存储介质 |
CN111613176A (zh) * | 2020-05-18 | 2020-09-01 | 维沃移动通信有限公司 | 环境光检测方法及电子设备 |
CN111380610A (zh) * | 2020-05-29 | 2020-07-07 | 北京小米移动软件有限公司 | 环境光检测方法和装置、电子设备、存储介质 |
CN114459600A (zh) * | 2022-01-29 | 2022-05-10 | 维沃移动通信有限公司 | 环境光检测方法及装置、显示屏补偿显示方法及装置 |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN117750595A (zh) * | 2024-02-19 | 2024-03-22 | 深圳市光脉电子有限公司 | 一种混合光源控制方法、系统、电子设备及存储介质 |
Also Published As
Publication number | Publication date |
---|---|
CN114459600A (zh) | 2022-05-10 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
WO2023143510A1 (zh) | 环境光检测方法及装置、显示屏补偿显示方法及装置 | |
US9524676B2 (en) | Organic light-emitting diode display with burn-in reduction capabilities | |
EP2979264B1 (en) | Image processing method and apparatus for display devices | |
CN101477783B (zh) | 有机发光二极管显示器、信息装置及显示影像的方法 | |
KR101958870B1 (ko) | 소비 전력을 절감하기 위한 표시 제어 방법 및 장치 | |
US10096287B2 (en) | Display device and method of controlling the same | |
CN113053310B (zh) | 显示面板的伽玛调节方法及调节装置、显示设备 | |
JP2022141657A (ja) | 電子ディスプレイの色精度補償 | |
WO2023045884A1 (zh) | 屏幕光检测模型训练方法、环境光检测方法及装置 | |
US11625089B2 (en) | Changing display resolutions based on context | |
KR102528996B1 (ko) | 터치 디스플레이 장치 | |
CN105493170A (zh) | 显示装置及其亮度控制方法 | |
KR20130098919A (ko) | 적응적 디스플레이 보정을 위한 방법 및 장치 | |
CN105741771A (zh) | 一种发光元件的亮度确定方法、装置及移动终端 | |
KR20200139941A (ko) | 광학적 지문 인식을 위한 디스플레이 패널의 광원 설정 방법 및 이를 이용한 광학적 지문 인식 방법 | |
US11321883B2 (en) | Method for preventing display burn-in in electronic device, and electronic device | |
CN112150972A (zh) | 图像补偿方法及装置、显示装置 | |
KR102550042B1 (ko) | 디스플레이를 통해 어플리케이션의 콘텐트를 표시하는 방법 및 이를 구현한 전자 장치 | |
KR20230099610A (ko) | 스크린 광 누설량을 추정하는 방법, 장치 및 전자기기 | |
CN114119431A (zh) | 图像处理方法、装置、电子设备及存储介质 | |
US20240087495A1 (en) | Compensation method and compensation apparatus for display panel, and display apparatus and storage medium | |
KR102558472B1 (ko) | 밝기 정보에 기반하여 콘텐트의 표시를 제어하는 전자 장치 및 그의 동작 방법 | |
US10997914B1 (en) | Systems and methods for compensating pixel voltages | |
CN111816106A (zh) | 显示控制方法、装置及计算机可读存储介质 | |
CN111816129B (zh) | 显示控制参数确定方法、装置及计算机可读存储介质 |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 23746387 Country of ref document: EP Kind code of ref document: A1 |
|
NENP | Non-entry into the national phase |
Ref country code: DE |