Screen brightness processing method, electronic device and storage medium

By using the first light-sensing array and the second light-sensing array in the electronic device to obtain the brightness parameters of the covered and uncovered areas respectively, the problem of inaccurate acquisition by the existing light sensors is solved, and the brightness of the display screen is adjusted. Accurate adjustment.

CN112905135BActive Publication Date: 2025-01-21BEIJING XIAOMI MOBILE SOFTWARE CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202110250994.2
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-03-08
Publication Date
2025-01-21
Estimated Expiration
2041-03-08

AI Technical Summary

Technical Problem

When existing light sensors acquire external light brightness parameters, due to the influence of screen light transmittance and display content, the obtained brightness parameters are inaccurate, which in turn affects the automatic adjustment of the display brightness.

Method used

Design an electronic device, including a first light-sensing array and a second light-sensing array, respectively used to obtain the brightness parameters of a first area covered with a cover and a second area without a cover, and through connection and data comparison, Adjust the screen brightness of the display.

Benefits of technology

Through this method, the influence of the screen on external light can be partially offset, and more accurate external light brightness parameters can be obtained, thereby achieving accurate adjustment of the brightness of the display screen, with simple hardware structure and low cost.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN112905135B_ABST
    Figure CN112905135B_ABST
Patent Text Reader

Abstract

The present disclosure is about a screen processing method, an electronic device and a storage medium; the electronic device includes: a first light sensing array connected to a first area of ​​a display screen, used to obtain a first brightness parameter of the first area, wherein the upper surface of the first area has a shading object; a second light sensing array connected to a second area of ​​the display screen, used to obtain a second brightness parameter of the second area, wherein the upper surface of the second area has no shading object; the second light sensing array is also connected to the first light sensing array, used to determine a third brightness parameter for adjusting the screen brightness of the display screen based on the first brightness parameter and the second brightness parameter obtained. In this way, the embodiment of the present disclosure can obtain relatively accurate brightness parameters of external light, realize accurate adjustment of the screen brightness of the display screen, and no complicated calculation is required; and the electronic device described in the embodiment of the present disclosure has a simple structure and low hardware cost.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to, but is not limited to, the field of electronic equipment or automatic screen backlight technology, and in particular to a screen brightness processing method, an electronic device, and a storage medium. Background Art

[0002] In the related technology, with the development of full screen, the under-screen light sensor has become the mainstream for adjusting the brightness of the display screen, and will be further developed. Usually, the brightness parameters for adjusting the brightness of the display screen are derived from the brightness parameters of the light collected by the light sensor; for example, the light sensor continuously collects the brightness parameters of the external light, and then obtains the brightness parameters of the real-time external light, and completes the adjustment of the screen brightness of related functions such as automatic brightness and camera shooting based on the brightness parameters. However, since the current light sensor is limited by the screen's transmittance, the screen display content, etc., the brightness parameters of the external light obtained are not accurate. Summary of the invention

[0003] The present disclosure provides a screen brightness processing method, an electronic device and a storage medium.

[0004] According to a first aspect of an embodiment of the present disclosure, there is provided an electronic device, comprising:

[0005] A first light sensing array is connected to a first area of ​​the display screen and is used to obtain a first brightness parameter of the first area, wherein a light shielding object is provided on an upper surface of the first area;

[0006] A second light sensing array is connected to a second area of ​​the display screen and is used to obtain a second brightness parameter of the second area, wherein there is no light shielding object on an upper surface of the second area;

[0007] The second photosensitive array is connected to the first photosensitive array, and the second photosensitive array obtains the first brightness parameter from the first photosensitive array, and adjusts the screen brightness of the display screen based on the second brightness parameter and the obtained first brightness parameter.

[0008] In the above solution, the electronic device further includes:

[0009] Light guide column;

[0010] The first light sensing array is connected to the first area through the light guide column; wherein the light incident surface of the light guide column is located on the lower surface of the first area, and the light exit surface of the light guide column covers the first light sensing array;

[0011] The first light sensing array obtains the first brightness parameter of a first area on a light incident surface of the light guide column through the light exit surface of the light guide column.

[0012] In the above solution, the first light sensing array and the second light sensing array are located in different light sensors.

[0013] In the above solution, the first light sensing array and the second light sensing array are located in the same light sensor.

[0014] In the above solution, the display content in the first area is the same as that in the second area;

[0015] The displayed contents are the same, including at least one of the following:

[0016] The displayed text content is the same;

[0017] Display pictures with the same content;

[0018] The same color as the displayed text;

[0019] Display the same color of the picture;

[0020] The displayed text has the same size;

[0021] The displayed images are the same size.

[0022] In the above solution, the second light sensing array adjusts the screen brightness of the display screen based on the difference between the second brightness parameter and the first brightness parameter.

[0023] According to a second aspect of an embodiment of the present disclosure, a screen brightness processing method is provided, the method comprising:

[0024] Acquire a first brightness parameter of a first area of ​​the display screen, wherein a shading object is present on an upper surface of the first area;

[0025] Acquire a second brightness parameter of a second area of ​​the display screen, wherein there is no shading object on an upper surface of the second area;

[0026] The screen brightness of the display screen is adjusted based on the first brightness parameter and the second brightness parameter.

[0027] In the above solution, before obtaining the first brightness parameter of the first area of ​​the display screen, the method further includes:

[0028] The same display content is displayed in the first area and the second area.

[0029] In the above solution, displaying the same display content in the first area and the second area includes at least one of the following:

[0030] Displaying the same text content in the first area and the second area;

[0031] Displaying the same picture content in the first area and the second area;

[0032] The text displayed in the first area and the text displayed in the second area have the same color;

[0033] The color of the picture displayed in the first area is the same as that in the second area;

[0034] The size of the text displayed in the first area is the same as that in the second area;

[0035] The sizes of the pictures displayed in the first area and the second area are the same.

[0036] In the above solution, adjusting the screen brightness of the display screen based on the first brightness parameter and the second brightness parameter includes:

[0037] Based on the difference between the second brightness parameter and the first brightness parameter, the screen brightness of the display screen is adjusted.

[0038] According to a third aspect of an embodiment of the present disclosure, there is provided an electronic device, characterized in that it includes:

[0039] processor;

[0040] a memory for storing processor-executable instructions;

[0041] Wherein, the processor is configured to: implement the screen brightness processing method described in any embodiment of the present disclosure when executing the executable instructions.

[0042] According to a fourth aspect of an embodiment of the present disclosure, a computer-readable storage medium is provided, wherein the computer-readable storage medium stores an executable program, wherein when the executable program is executed by a processor, the screen brightness processing method described in any embodiment of the present disclosure is implemented.

[0043] The technical solution provided by the embodiments of the present disclosure may have the following beneficial effects:

[0044] The electronic device of the embodiment of the present disclosure, by providing a cover on the upper surface of the first area and not providing a cover on the upper surface of the second area, obtains a first brightness parameter including at least the component of the screen affecting the external light, and obtains a second brightness parameter including at least the component of the screen affecting the external light and the component of the external light. In this way, based on the first brightness parameter and the second brightness parameter, the component of the screen affecting the external light can be at least partially offset, so that the screen brightness of the display screen can be accurately adjusted based on the first brightness parameter and the second brightness parameter.

[0045] Furthermore, the electronic device described in the embodiment of the present disclosure can accurately adjust the brightness of the display screen only by designing the hardware of the first light sensing array and the second light sensing array and providing a shading object on the first area, and also has the characteristics of simple structure and low hardware cost.

[0046] Furthermore, the embodiments of the present disclosure can adjust the screen brightness of the display screen through hardware without the need for complex and extensive calculations.

[0047] It is to be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the present disclosure. BRIEF DESCRIPTION OF THE DRAWINGS

[0048] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the invention and, together with the description, serve to explain the principles of the invention.

[0049] Figure 1 It is a block diagram of an electronic device according to an exemplary embodiment.

[0050] Figure 2 It is a block diagram of an electronic device according to an exemplary embodiment.

[0051] Figure 3 It is a block diagram of an electronic device according to an exemplary embodiment.

[0052] Figure 4 It is a block diagram of an electronic device according to an exemplary embodiment.

[0053] Figure 5 It is a block diagram of an electronic device according to an exemplary embodiment.

[0054] Figure 6 The figure is a flow chart of a method for processing screen brightness according to an exemplary embodiment.

[0055] Figure 7 The figure is a block diagram of a device for processing screen brightness according to an exemplary embodiment.

[0056] Figure 8 It is a block diagram of an electronic device according to an exemplary embodiment. DETAILED DESCRIPTION

[0057] Exemplary embodiments will be described in detail herein, examples of which are shown in the accompanying drawings. When the following description refers to the drawings, the same numbers in different drawings represent the same or similar elements unless otherwise indicated. The implementations described in the following exemplary embodiments do not represent all implementations consistent with the present invention. Instead, they are merely examples of electronic devices and methods consistent with some aspects of the present invention as detailed in the appended claims.

[0058] In one embodiment, a light sensor is provided under the display screen in the electronic device, and the light sensor can automatically adjust the screen brightness of the display screen. For example, in a place where the external light is sufficient, the screen brightness of the display screen adjusted by the light sensor is very bright; in a place where the external light is relatively dim, the screen brightness of the display screen adjusted by the light sensor is very dim. However, the brightness parameters of the external light collected by the light sensor in the above embodiment do not take into account the influence of the screen transmittance of the display screen and the content displayed on the display screen, so that the screen brightness of the display screen automatically adjusted by the brightness parameters collected by the light sensor is inaccurate.

[0059] An embodiment of the present disclosure provides an electronic device, which comprises a first light sensing array and a second light sensing array arranged in the electronic device, and respectively collecting a first brightness parameter of a first area covered with a covering object and a second brightness parameter of a second area not covered with the covering object based on the first light sensing array and the second light sensing array; and using the first brightness parameter and the second brightness parameter to at least partially offset the component of the brightness parameter in which the screen affects external light, thereby obtaining a relatively accurate third brightness parameter of the external light, thereby enabling accurate adjustment of the brightness of the display screen.

[0060] Figure 1 FIG. 1 is a block diagram of an electronic device 10 according to an exemplary embodiment. Figure 1 As shown, the electronic device 10 includes:

[0061] A first light sensing array 110 is connected to a first area 120 of the display screen 12 and is used to obtain a first brightness parameter of the first area 120, wherein a light shielding object 130 is provided on an upper surface 1201 of the first area 120;

[0062] A second light sensing array 111, connected to a second area 121 of the display screen 12, and used to obtain a second brightness parameter of the second area 121, wherein an upper surface 1211 of the second area 121 has no light shielding object;

[0063] The second light sensing array 111 is connected to the first light sensing array 110 , and the second light sensing array 111 obtains a first brightness parameter from the first light sensing array, and adjusts the screen brightness of the display screen 12 based on the second brightness parameter and the obtained first brightness parameter.

[0064] In some embodiments, the second light sensing array 111 is further used to determine a third brightness parameter for adjusting the screen brightness of the display screen 12 based on the second brightness parameter and the first brightness parameter.

[0065] The electronic device described in the embodiment of the present disclosure is an electronic device including a display screen. The electronic device may be a mobile terminal or a fixed terminal. For example, the electronic device includes: a mobile phone, a television, a computer, a tablet computer, a server, a control platform, a wearable device, etc.

[0066] The display screen 12 here is a display screen of the electronic device. The display screen here can be various types of display screens, for example, it can be a notch screen, a full screen or a curved screen.

[0067] In other embodiments, the electronic device in the above embodiment may also include a light sensing module; the light sensing module includes: a first light sensing array, which is placed on the lower surface of the first area of ​​the display screen of the electronic device, and is used to obtain a first brightness parameter of the lower surface of the first area; wherein a light shielding object is provided on the upper surface of the first area; a second light sensing array, which is placed on the lower surface of the second area of ​​the display screen, and is used to obtain a second brightness parameter of the lower surface of the second area; wherein no light shielding object is provided on the upper surface of the second area; the second light sensing array is connected to the first light sensing array, and is used to adjust the screen brightness of the display screen based on the obtained first brightness parameter and the second brightness parameter. The light sensing module can be located in any electronic device including a display screen, and the electronic device can obtain a third brightness parameter for accurately adjusting the screen brightness of the display screen through the light sensing module.

[0068] The shading material here can be a shading material of any material and any shape, as long as it can shield the upper surface of the first area from the influence of external light, and there is no limitation here. For example, the shading material can be a layer of pure black ink, etc.

[0069] In one embodiment, the brightness parameter may include a brightness value. In another embodiment, the brightness parameter may include: a brightness value. For example, the first brightness parameter may be 100 cd / m 2 ; where cd / m 2 Refers to candela / square meter; the second brightness parameter can be 110cd / m 2 .

[0070] In another embodiment, the brightness parameter may include: brightness percentage. For example, the first brightness parameter may be 70% of a predetermined brightness value, and the second brightness parameter may be 80% of the predetermined brightness value.

[0071] In another embodiment, the brightness parameter may also include but is limited to: a color parameter. For example, the color parameter may indicate color parameters of three channels: red (R), green (G), and blue (B).

[0072] Generally, the screen brightness of a display screen can be adjusted based on the brightness value of external light. However, due to the display screen's own properties and / or the display content displayed on the display screen, the brightness sensed by the terminal's light sensing array includes the sum of the brightness of the external light and the display screen's own brightness. Therefore, in order to obtain accurate external light and accurately adjust the display screen's screen brightness, it is necessary to exclude the influence of the display screen's own brightness value. The display screen's own properties here, for example, the transmittance of the display screen. The external light here refers to the light of the external environment.

[0073] In one embodiment, the first brightness parameter includes: a component that affects the result obtained by the external light on the photosensitive array; the second brightness parameter includes: a component that affects the result obtained by the external light on the photosensitive array and a component of the external light.

[0074] In some embodiments, the second light sensing array is used to adjust the screen brightness of the display screen based on the difference between the second brightness parameter and the first brightness parameter.

[0075] In some embodiments, the second light sensing array is used to determine a third brightness parameter for adjusting the screen brightness of the display screen based on a difference between the second brightness parameter and the first brightness parameter.

[0076] The second light sensing array here is also used to obtain the second brightness parameter.

[0077] Exemplarily, the first brightness parameter collected by the first light sensing array is L1, the second brightness parameter collected by the second light sensing array is L2, and the third brightness parameter L3 = L2 - L1. The third brightness parameter here can be the brightness parameter Lux of the external light.

[0078] Here, the first area and the second area are both areas that are smaller than or equal to a predetermined number of pixels. For example, the first area includes 30×30 pixels.

[0079] The first area and the second area are located at different positions on the display screen. The areas of the first area and the second area can be the same or different.

[0080] In the embodiment of the present disclosure, by providing a cover on the upper surface of the first area and not providing a cover on the upper surface of the second area, the first brightness parameter obtained includes at least the component affecting the external light, and the second brightness parameter obtained includes at least the component of the screen affecting the external light and the component of the external light. In this way, based on the first brightness parameter and the second brightness parameter, the component of the screen affecting the external light can be at least partially offset, so that the screen brightness of the display screen can be accurately adjusted based on the first brightness parameter and the second brightness parameter.

[0081] Furthermore, the electronic device described in the embodiment of the present disclosure can obtain accurate brightness parameters of external light for adjusting the brightness of the display screen by only designing the hardware of the first light sensing array and the second light sensing array and providing a light shielding object on the first area; compared with the prior art in which a light sensor (at least one light sensing array) is provided under the display screen, only one light sensing array is added and a light shielding object is provided in the first area. Thus, the hardware implementation method of the embodiment of the present disclosure also has the advantages of simple hardware structure and low hardware failure.

[0082] Furthermore, the disclosed embodiment uses hardware to obtain the brightness parameters of the external light for accurately adjusting the brightness of the display screen. Compared with the prior art of obtaining the brightness parameters of the external light by taking screenshots of the displayed content and calculating the brightness parameters of the light affected by the display screen itself of each screenshot by software, it is only necessary to directly calculate the difference between the second brightness parameter and the first brightness parameter without complex and large-scale calculations. In this way, the disclosed embodiment also enables electronic devices to simplify calculations without excessive calculations. Especially in the case of high-refresh display screens, it is possible to obtain a more accurate display screen adjustment effect and save resources consumed by electronic devices due to large calculations.

[0083] In the embodiment of the present disclosure, if a third brightness parameter for adjusting the screen brightness of the display screen is obtained based on the difference between the second brightness parameter and the first brightness parameter, the component of external light of the screen parameter can also be offset as much as possible, such as the influence of the display screen's own properties and / or the influence of the content displayed on the display screen on the brightness parameters of the external light, so that a more realistic brightness parameter of the external light on the display screen can be obtained, thereby further improving the accuracy of adjusting the screen brightness of the display screen.

[0084] like Figure 2 As shown, in some embodiments, the electronic device further includes:

[0085] Light guide column 140;

[0086] The first light sensing array 110 is connected to the first region 120 through the light guide column 140; wherein the light incident surface 1401 of the light guide column 140 is located on the lower surface 1202 of the first region 120, and the light emitting surface 1402 of the light guide column 140 covers the first light sensing array 110;

[0087] The first light sensing array 110 obtains the first brightness parameter of the first area on the light incident surface 1401 of the light guide column 140 through the light emitting surface 1402 of the light guide column 140 .

[0088] The light guide column here may further include a light guide channel 1403; the light emitting surface 1402 of the light guide column 140 here emits at least part of the light from the light incident surface of the light guide column that passes through the light guide channel to the first light sensing array.

[0089] The light guide column 140 here is a solid columnar structure for conducting light. It is understandable that the light guide column 140 is made of a transparent material. The columnar structure here can be a rectangular column, a cylindrical column, a trapezoidal column, or a structure similar to a rectangular column, a cylindrical column, a trapezoidal column, or the like.

[0090] In one embodiment, the material of the light guide column 140 may include polymethyl methacrylate (PMMA), polycarbonate (PC), or light glass.

[0091] In one embodiment, the light emitting surface and the light incident surface of the light guide column 140 are parallel. In this way, this embodiment can transmit the light from the light incident surface of the light guide column to the first light sensing array as much as possible.

[0092] In the embodiment of the present disclosure, a light guide column may be provided on the lower surface of the first region and in the first light sensing array; thus, the first light sensing array may obtain the first brightness parameter of the first region through the light guide column.

[0093] In some embodiments, the first light sensing array and the second light sensing array are located in the same light sensor.

[0094] Exemplarily, a first light sensor is provided in the electronic device; the first light sensor includes: a first light sensing array and a second light sensing array; the first light sensing array and the second light sensing array have a predetermined distance.

[0095] For example, Figure 3As shown, a first light sensor 11 is provided in the electronic device 10; the first light sensor 11 includes: a first light sensing array 110 and a second light sensing array 111; the first light sensing array is covered with a light emitting surface 1402 of a light guide column 140, and the light incident surface 1401 of the light guide column 140 is located on the lower surface of the first area 120.

[0096] The electronic device or light sensing module in the embodiment of the present disclosure only needs to be provided with one light sensor, that is, compared with the prior art, only one light sensing array is added to the light sensor to accurately obtain external light for adjusting the brightness of the display screen. In this way, the electronic device or light sensing module in the embodiment of the present disclosure has a simple structure and a low hardware design cost.

[0097] The first light sensor here may include a processing chip or a processing component, etc.; the processing chip or processing component can calculate the difference between the second brightness parameter and the first brightness parameter to obtain a third brightness parameter; and adjust the screen brightness of the display screen based on the third brightness parameter. In this example, light compensation for the electronic device display screen can be implemented based on the first light sensor, and the screen brightness of the display screen can be automatically adjusted.

[0098] In some other embodiments, the first light sensing array and the second light sensing array are located in different light sensors.

[0099] For example, Figure 4 As shown, the electronic device 10 is provided with a first light sensor 11 and a second light sensor 15 , wherein the first light sensor includes a first light sensing array 110 , and the second light sensor includes a second light sensing array 111 ; the first light sensor 11 is connected to the second light sensor 15 .

[0100] The electronic device or light sensing module in the embodiment of the present disclosure may only need to be provided with two light sensors, which is compared with the prior art in which only one light sensor is added and there is no need to add a light guide column; thereby achieving the effect of a simple structure of the electronic device or light sensing module and low hardware design cost.

[0101] The second light sensor here may also include a processing chip or a processing component, etc.; the processing chip or processing component can calculate the difference between the second brightness parameter and the first brightness parameter to obtain a third brightness parameter; and adjust the screen brightness of the display screen based on the third brightness parameter. Thus, in this example, the screen brightness of the electronic device can also be automatically adjusted based on the second light sensor.

[0102] In some embodiments, the first area and the second area are located at a peripheral position of the display screen.

[0103] Exemplarily, if the electronic device is a mobile phone, the first area or the second area may be located at an upper edge or a lower edge when the mobile phone is placed in portrait orientation.

[0104] The peripheral position here may be a black area of ​​the display screen.

[0105] In the embodiment of the present disclosure, since the first area and the second area are both located at the periphery of the display screen, the user can ignore the influence of the covering on the first area on the viewing effect when viewing the display screen. Moreover, the display of content on the first area and the second area will not affect the user's viewing of the display screen.

[0106] In some other embodiments, the first area is located at a peripheral position of the display screen; and the second area is located at a middle position of the display screen.

[0107] The middle position here may be a transparent area of ​​the display screen.

[0108] The middle position here can be any position in the display screen except the peripheral position.

[0109] In the embodiment of the present disclosure, the display content of the display screen can be normally displayed in the second area; and the user can ignore the influence of the covering on the first area on the viewing effect when viewing the display screen.

[0110] In some embodiments, the display contents in the first area and the second area are the same; wherein the display contents are the same, including but not limited to at least one of the following:

[0111] The displayed text content is the same;

[0112] Display pictures with the same content;

[0113] The same color as the displayed text;

[0114] Display the same color of the picture;

[0115] The displayed text has the same size;

[0116] The displayed images are the same size.

[0117] The colors here are the same, and the color channels of red, blue, and yellow may be the same.

[0118] In some embodiments, the electronic device further comprises:

[0119] A processing component, used for controlling the display contents in the first area and the second area to be the same;

[0120] When the content displayed on the first area and the second area is the same, the first light sensing array is used to obtain the first brightness parameter of the first area, and the second light sensing array is used to obtain the second brightness parameter of the second area.

[0121] For example, Figure 5 As shown, the first content is displayed in the first area 120 of the electronic device 10 , and the first content is also displayed in the second area 121 .

[0122] The processing component here is used to control the overall operation of the electronic device; for example, the processing component is used to control the display content on the first area and the second area to remain consistent; for another example, the processing component is used to obtain a first brightness parameter collected by the first light sensing array and a second brightness parameter collected by the second light sensing array, and obtain a third brightness parameter based on the first brightness parameter and the second brightness parameter; and so on.

[0123] In the embodiment of the present disclosure, the display content in the first area and the second area can be controlled to be consistent, so that the obtained third brightness parameter will not be affected by the properties of the display screen itself, such as transmittance, and will not be affected by different display contents, and more accurate external light can be obtained, thereby achieving more accurate adjustment of the display screen brightness.

[0124] It should be pointed out here that: the specific manner of executing each step in the following embodiments of the screen brightness processing method has been described in detail in the above-mentioned electronic device embodiments, and will not be elaborated here. For technical details not disclosed in the embodiments of the screen brightness processing method in this disclosure, please refer to the description of the electronic device embodiments of this disclosure; these details are also included in the scope of disclosure of this application.

[0125] Figure 6 A method for processing screen brightness is shown according to an exemplary embodiment. Figure 6 As shown, the method includes:

[0126] Step S31: obtaining a first brightness parameter of a first area of ​​the display screen, wherein a light shielding object is present on an upper surface of the first area;

[0127] Step S32: obtaining a second brightness parameter of a second area of ​​the display screen, wherein there is no shading object on an upper surface of the second area;

[0128] Step S33: adjusting the screen brightness of the display screen based on the first brightness parameter and the second brightness parameter.

[0129] In some embodiments, the step S33 includes: obtaining a third brightness parameter based on the first brightness parameter and the second brightness parameter; and adjusting the screen brightness of the display screen based on the third brightness parameter.

[0130] In the embodiment of the present disclosure, a covering can be provided on the upper surface of the first area and no covering can be provided on the upper surface of the second area, so that the first brightness parameter obtained includes at least the component of the screen affecting the external light, and the second brightness parameter obtained includes at least the component of the screen affecting the external light and the component of the external light. In this way, based on the first brightness parameter and the second brightness parameter, the component of the screen affecting the external light can be at least partially offset to obtain a more accurate third brightness parameter of the external light, so that the screen brightness of the display screen can be accurately adjusted based on the third brightness parameter.

[0131] Furthermore, the electronic device described in the embodiment of the present disclosure can achieve accurate third brightness parameter for adjusting the brightness of the display screen only by designing the hardware of the first light sensing array and the second light sensing array and providing a shading object on the first area. It also has the advantages of simple structure, low hardware cost, and no need for excessive calculations.

[0132] In some embodiments, the step S33 includes:

[0133] Based on the difference between the second brightness parameter and the first brightness parameter, the screen brightness of the display screen is adjusted.

[0134] In some embodiments, the step S33 includes:

[0135] Based on the difference between the second brightness parameter and the first brightness parameter, a third brightness parameter for adjusting the screen brightness of the display screen is determined.

[0136] In one embodiment, the third brightness parameter is a difference between the second brightness parameter and the first brightness parameter.

[0137] In another embodiment, the third brightness parameter is: a value within a predetermined threshold range of the second brightness parameter and a difference between the second brightness parameter.

[0138] In this way, in the embodiment of the present disclosure, based on the difference between the second brightness parameter and the first brightness parameter, the influence of the display screen's own properties and / or the display screen's display content on the external ambient light acquired by the light sensing array can be eliminated as much as possible, and the actual brightness parameters of the external light on the display screen can be obtained, that is, accurate brightness parameters of the external light can be obtained.

[0139] In some embodiments, before acquiring the first brightness parameter of the first area of ​​the display screen, the method further includes:

[0140] The same display content is displayed in the first area and the second area.

[0141] In some embodiments, displaying the same display content in the first area and the second area includes but is not limited to at least one of the following:

[0142] Displaying the same text content in the first area and the second area;

[0143] Displaying the same picture content in the first area and the second area;

[0144] The text displayed in the first area and the text displayed in the second area have the same color;

[0145] The color of the picture displayed in the first area is the same as that in the second area;

[0146] The size of the text displayed in the first area is the same as that in the second area;

[0147] The sizes of the pictures displayed in the first area and the second area are the same.

[0148] In the embodiment of the present disclosure, it is necessary to control the first area and the second area to display the same display content before the electronic device obtains the first brightness parameter and the second brightness parameter. In this way, the embodiment of the present disclosure can eliminate the display screen's own properties and the influence of the display screen on the brightness parameters of external light caused by inconsistent display content.

[0149] In some embodiments, the first area and the second area are located at a peripheral position of the display screen.

[0150] In some other embodiments, the first area is located at a peripheral position of the display screen; and the second area is located at a middle position of the display screen.

[0151] In this way, the embodiment of the present disclosure can reduce the impact of the covering on the first area on the user's viewing of the display screen as much as possible, thereby improving the user's experience satisfaction.

[0152] Figure 7 A screen brightness processing device is shown according to an exemplary embodiment. Figure 7 As shown, the device comprises:

[0153] A first acquisition module 41 is used to acquire a first brightness parameter of a first area of ​​the display screen, wherein there is a shading object on the upper surface of the first area;

[0154] A second acquisition module 42 is used to acquire a second brightness parameter of a second area of ​​the display screen, wherein the upper surface of the second area has no shading object;

[0155] The processing module 43 is used to adjust the screen brightness of the display screen based on the first brightness parameter and the second brightness parameter.

[0156] In some embodiments, the processing module 43 is used to determine a third brightness parameter for adjusting the screen brightness of the display screen based on the first brightness parameter and the second brightness parameter.

[0157] In some embodiments, the processing module 43 is further configured to display the same display content in the first area and the second area.

[0158] In some embodiments, displaying the same display content in the first area and the second area includes at least one of the following:

[0159] Displaying the same text content in the first area and the second area;

[0160] Displaying the same picture content in the first area and the second area;

[0161] The text displayed in the first area and the text displayed in the second area have the same color;

[0162] The color of the picture displayed in the first area is the same as that in the second area;

[0163] The size of the text displayed in the first area is the same as that in the second area;

[0164] The sizes of the pictures displayed in the first area and the second area are the same.

[0165] In some embodiments, the processing module 43 is used to adjust the screen brightness of the display screen based on the difference between the second brightness parameter and the first brightness parameter.

[0166] In some embodiments, the processing module 43 is used to determine a third brightness parameter for adjusting the screen brightness of the display screen based on the difference between the second brightness parameter and the first brightness parameter.

[0167] Regarding the device in the above embodiment, the specific manner in which each module performs operations has been described in detail in the embodiment of the method, and will not be elaborated here.

[0168] The present disclosure also provides an electronic device, including:

[0169] a memory for storing processor-executable instructions;

[0170] Wherein, the processor is configured to: implement the screen brightness processing method described in any embodiment of the present disclosure when executing the executable instructions.

[0171] The memory may include various types of storage media, which are non-transitory computer storage media that can continue to memorize information stored thereon after the communication device loses power.

[0172] The processor may be connected to the memory through a bus or the like, and is used to read the executable program stored in the memory, for example, to implement the following Figure 6 The method shown.

[0173] The embodiments of the present disclosure further provide a computer-readable storage medium, wherein the computer-readable storage medium stores an executable program, wherein the executable program, when executed by a processor, implements the screen brightness processing method described in any embodiment of the present disclosure. Figure 6 At least one of the devices shown.

[0174] Regarding the device in the above embodiment, the specific manner in which each module performs operations has been described in detail in the embodiment of the method, and will not be elaborated here.

[0175] Figure 8 8 is a block diagram of an electronic device 800 according to an exemplary embodiment. For example, the electronic device 800 may be a mobile phone, a computer, a digital broadcast electronic device, a messaging device, a game console, a tablet device, a medical device, a fitness device, a personal digital assistant, etc.

[0176] Reference Figure 8 , the electronic device 800 may include one or more of the following components: a processing component 802 , a memory 804 , a power component 806 , a multimedia component 808 , an audio component 810 , an input / output (I / O) interface 812 , a sensor component 814 , and a communication component 816 .

[0177] The processing component 802 generally controls the overall operation of the electronic device 800, such as operations associated with display, phone calls, data communications, camera operations, and recording operations. The processing component 802 may include one or more processors 820 to execute instructions to complete all or part of the steps of the above-mentioned method. In addition, the processing component 802 may include one or more modules to facilitate the interaction between the processing component 802 and other components. For example, the processing component 802 may include a multimedia module to facilitate the interaction between the multimedia component 808 and the processing component 802.

[0178] The memory 804 is configured to store various types of data to support operations on the device 800. Examples of such data include instructions for any application or method operating on the electronic device 800, contact data, phone book data, messages, pictures, videos, etc. The memory 804 can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic disk or optical disk.

[0179] The power component 806 provides power to the various components of the electronic device 800. The power component 806 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power for the electronic device 800.

[0180] The multimedia component 808 includes a screen that provides an output interface between the electronic device 800 and the user. In some embodiments, the screen may include a liquid crystal display (LCD) and a touch panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive input signals from the user. The touch panel includes one or more touch sensors to sense touch, slide, and gestures on the touch panel. The touch sensor may not only sense the boundaries of the touch or slide action, but also detect the duration and pressure associated with the touch or slide operation. In some embodiments, the multimedia component 808 includes a front camera and / or a rear camera. When the device 800 is in an operating mode, such as a shooting mode or a video mode, the front camera and / or the rear camera may receive external multimedia data. Each front camera and the rear camera may be a fixed optical lens system or have a focal length and optical zoom capability.

[0181] The audio component 810 is configured to output and / or input audio signals. For example, the audio component 810 includes a microphone (MIC), and when the electronic device 800 is in an operating mode, such as a call mode, a recording mode, and a voice recognition mode, the microphone is configured to receive an external audio signal. The received audio signal can be further stored in the memory 804 or sent via the communication component 816. In some embodiments, the audio component 810 also includes a speaker for outputting audio signals.

[0182] I / O interface 812 provides an interface between processing component 802 and peripheral interface modules, such as keyboards, click wheels, buttons, etc. These buttons may include but are not limited to: home button, volume button, start button, and lock button.

[0183] The sensor assembly 814 includes one or more sensors for providing various aspects of status assessment for the electronic device 800. For example, the sensor assembly 814 can detect the open / closed state of the device 800, the relative positioning of components, such as the display and keypad of the electronic device 800, and the sensor assembly 814 can also detect the position change of the electronic device 800 or a component of the electronic device 800, the presence or absence of contact between the user and the electronic device 800, the orientation or acceleration / deceleration of the electronic device 800, and the temperature change of the electronic device 800. The sensor assembly 814 may include a proximity sensor configured to detect the presence of nearby objects without any physical contact. The sensor assembly 814 may also include an optical sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor assembly 814 may also include an accelerometer, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.

[0184] The communication component 816 is configured to facilitate wired or wireless communication between the electronic device 800 and other devices. The electronic device 800 can access a wireless network based on a communication standard, such as WiFi, 2G or 3G, or a combination thereof. In an exemplary embodiment, the communication component 816 receives a broadcast signal or broadcast-related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component 816 also includes a near field communication (NFC) module to facilitate short-range communication. For example, the NFC module can be implemented based on radio frequency identification (RFID) technology, infrared data association (IrDA) technology, ultra-wideband (UWB) technology, Bluetooth (BT) technology and other technologies.

[0185] In an exemplary embodiment, the electronic device 800 may be implemented by one or more application-specific integrated circuits (ASICs), digital signal processors (DSPs), digital signal processing devices (DSPDs), programmable logic devices (PLDs), field programmable gate arrays (FPGAs), controllers, microcontrollers, microprocessors, or other electronic components to perform the above methods.

[0186] In an exemplary embodiment, a non-transitory computer-readable storage medium including instructions is also provided, such as a memory 804 including instructions, and the instructions can be executed by a processor 820 of an electronic device 800 to perform the above method. For example, the non-transitory computer-readable storage medium can be a ROM, a random access memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, etc.

[0187] Those skilled in the art will readily appreciate other embodiments of the present invention after considering the specification and practicing the invention disclosed herein. This application is intended to cover any variations, uses or adaptations of the present invention that follow the general principles of the present invention and include common knowledge or customary techniques in the art that are not disclosed in this disclosure. The specification and examples are to be considered exemplary only, and the true scope and spirit of the present invention are indicated by the following claims.

[0188] It should be understood that the present invention is not limited to the exact construction that has been described above and shown in the drawings and that various modifications and changes may be made without departing from the scope thereof. The scope of the present invention is limited only by the appended claims.

Claims

1. An electronic device, characterized in that: include: A first light sensing array is connected to a lower surface of a first area of ​​the display screen and is used to obtain a first brightness parameter of the first area, wherein a light shielding object is provided on an upper surface of the first area; a second light sensing array connected to the lower surface of the second area of ​​the display screen, and used to obtain a second brightness parameter of the second area, wherein the upper surface of the second area has no light shielding object; the display contents of the first area and the second area are the same; and the first light sensing array and the second light sensing array are located in the same light sensor; The second photosensitive array is connected to the first photosensitive array, and the second photosensitive array obtains the first brightness parameter from the first photosensitive array, and adjusts the screen brightness of the display screen based on the second brightness parameter and the obtained first brightness parameter.

2. The electronic device according to claim 1, characterized in that: Also includes: Light guide column; The first light sensing array is connected to the first area through the light guide column; wherein the light incident surface of the light guide column is located on the lower surface of the first area, and the light exit surface of the light guide column covers the first light sensing array; The first light sensing array obtains a first brightness parameter of a first area on a light incident surface of the light guide column through the light exit surface of the light guide column.

3. The electronic device according to claim 1 or 2, characterized in that: in, The displayed contents are the same and include at least one of the following: The displayed text content is the same; Display pictures with the same content; The same color as the displayed text; Display the same color of the picture; The displayed text has the same size; The displayed images are the same size.

4. The electronic device according to claim 1 or 2, characterized in that: The second light sensing array adjusts the screen brightness of the display screen based on the difference between the second brightness parameter and the first brightness parameter.

5. A screen brightness processing method, characterized in that: The method comprises: The same display content is displayed on the first area and the second area; the lower surface of the first area is connected to a first light sensing array, the lower surface of the second area is connected to a second light sensing array, and the first light sensing array and the second light sensing array are located in the same light sensor; Acquire a first brightness parameter of the first area of ​​the display screen through the first light sensing array, wherein a light shielding object is provided on an upper surface of the first area; Acquiring a second brightness parameter of the second area of ​​the display screen through the second light sensing array, wherein there is no light shielding object on the upper surface of the second area; The screen brightness of the display screen is adjusted based on the first brightness parameter and the second brightness parameter.

6. The method according to claim 5, characterized in that The displaying the same display content in the first area and the second area includes at least one of the following: Displaying the same text content in the first area and the second area; Displaying the same picture content in the first area and the second area; The text displayed in the first area and the text displayed in the second area have the same color; The color of the picture displayed in the first area is the same as that in the second area; The size of the text displayed in the first area is the same as that in the second area; The sizes of the pictures displayed in the first area and the second area are the same.

7. The method according to any one of claims 5 to 6, characterized in that: The adjusting the screen brightness of the display screen based on the first brightness parameter and the second brightness parameter includes: Based on the difference between the second brightness parameter and the first brightness parameter, the screen brightness of the display screen is adjusted.

8. An electronic device, characterized in that: include: processor; a memory for storing processor-executable instructions; Wherein, the processor is configured to: implement the screen brightness processing method described in any one of claims 5-7 when executing the executable instructions.

9. A computer-readable storage medium, characterized in that: The readable storage medium stores an executable program, wherein the executable program, when executed by a processor, implements the screen brightness processing method described in any one of claims 5-7.

Citation Information

Patent Citations

  • Brightness adjusting method, terminal and storage medium

    CN111785230A

  • Electronic device

    CN211830844U