Screen brightness adjustment method and device, electronic device, and storage medium

By calibrating the light intensity information of the device screen, calibration parameters are determined and real-time light intensity calibration is performed, the light source type identification errors and inaccurate ambient light intensity are solved due to the influence of screen light leakage and transmittance, and the accurate adjustment of screen brightness is achieved.

CN116030772BActive Publication Date: 2025-09-02GUANGDONG OPPO MOBILE TELECOMMUNICATIONS CORP LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202111241724.1
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-10-25
Publication Date
2025-09-02
Estimated Expiration
2041-10-25

AI Technical Summary

Technical Problem

In the prior art, due to the influence of screen light leakage and transmittance, light source type identification errors and inaccurate external ambient light intensity, affecting the screen brightness adjustment effect.

Method used

By receiving the target light source, using the first light intensity information of the standard equipment screen and the second light intensity information of the multiple calibration equipment screens, the calibration parameters are determined, and the calibration equipment screen is calibrated in real time, and the spectroscopic operation determines the real-time light source type and obtains the external ambient light intensity to adjust the screen brightness.

Benefits of technology

The light intensity error caused by screen characteristics is reduced, the accuracy of light source type recognition and the accuracy of external ambient light intensity are improved, and the accuracy of screen brightness adjustment is ensured.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116030772B_ABST
    Figure CN116030772B_ABST
Patent Text Reader

Abstract

The embodiments of the present disclosure are about a method and device for adjusting screen brightness, an electronic device, and a storage medium, and relate to the field of electronic technology. The method for adjusting screen brightness includes: if a target light source is received, determining the calibration parameters of each calibration device screen according to the first light intensity information of the standard device screen and the second light intensity information of multiple calibration device screens; calibrating the real-time light intensity of each calibration device screen under the real-time light source according to the calibration parameters of each calibration device screen to obtain a real-time calibration light intensity; performing a spectroscopic operation on the real-time light source according to the real-time calibration light intensity to determine the type of the real-time light source, and obtaining the external ambient light intensity according to the type of the real-time light source to adjust the screen brightness of the calibration device screen. The technical solution of the present disclosure can accurately identify the type of light source and accurately determine the external ambient light intensity.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to the field of electronic technology, and in particular to a screen brightness adjustment method, a screen brightness adjustment device, an electronic device, and a computer-readable storage medium. Background Art

[0002] Smart devices can automatically adjust screen brightness when the ambient brightness changes. Therefore, in order to accurately adjust the screen brightness, it is necessary to improve the accuracy of smart devices in sensing the ambient light.

[0003] Since light leakage from the screen affects the ambient light intensity perceived by the light sensor, the transmittance will affect the identification of the light source type. In related technologies, a standard light source is usually used as a calibration benchmark, and then the types of other light sources are determined and calibrated differently.

[0004] In the above method, the light intensity errors recognized by different channels are large, which leads to errors in the identification of the light source type, resulting in inaccurate intensity of the acquired external ambient light, affecting the screen brightness adjustment effect.

[0005] It should be noted that the information disclosed in the above background technology section is only used to enhance the understanding of the background of the present disclosure, and therefore may include information that does not constitute prior art known to ordinary technicians in the field. Summary of the Invention

[0006] The purpose of the present disclosure is to provide a screen brightness adjustment method and device, electronic device, and storage medium, thereby overcoming, at least to a certain extent, the problems of incorrect light source type identification and inaccurate external ambient light intensity obtained due to the limitations and defects of related technologies.

[0007] Other features and advantages of the present disclosure will become apparent from the following detailed description, or may be learned in part by practice of the present disclosure.

[0008] According to one aspect of the present disclosure, a screen brightness adjustment method is provided, including: if a target light source is received, determining the calibration parameters of each calibration device screen according to the first light intensity information of the standard device screen and the second light intensity information of multiple calibration device screens; calibrating the real-time light intensity of each calibration device screen under the real-time light source according to the calibration parameters of each calibration device screen to obtain a real-time calibration light intensity; performing a spectroscopic operation on the real-time light source according to the real-time calibration light intensity to determine the type of the real-time light source, and obtaining the external ambient light intensity according to the type of the real-time light source to adjust the screen brightness of the calibration device screen.

[0009] According to one aspect of the present disclosure, a screen brightness adjustment device is provided, including: a calibration parameter determination module for determining the calibration parameters of each calibration device screen based on the first light intensity information of the standard device screen and the second light intensity information of multiple calibration device screens when a target light source is received; a light intensity calibration module for calibrating the real-time light intensity of each calibration device screen under a real-time light source based on the calibration parameters of each calibration device screen to obtain a real-time calibration light intensity; an ambient light determination module for performing a spectroscopic operation on the real-time light source based on the real-time calibration light intensity to determine the type of the real-time light source, and obtaining the external ambient light intensity based on the type of the real-time light source to adjust the screen brightness of the calibration device screen.

[0010] According to one aspect of the present disclosure, an electronic device is provided, comprising: a processor; and a memory for storing executable instructions of the processor; wherein the processor is configured to execute any one of the above-mentioned screen brightness adjustment methods by executing the executable instructions.

[0011] According to one aspect of the present disclosure, a computer-readable storage medium is provided, on which a computer program is stored. When the computer program is executed by a processor, any one of the above-mentioned methods for adjusting screen brightness is implemented.

[0012] In the screen brightness adjustment method, screen brightness adjustment device, electronic device and computer-readable storage medium provided in the embodiments of the present disclosure, under the target light source, the calibration parameters of each calibration device screen are determined according to the first light intensity information of the standard device screen and the second light intensity information of the multiple calibration device screens, and then the real-time light intensity of each calibration device screen is adjusted and calibrated according to the calibration parameters, so as to determine the type of the real-time light source by spectrometry according to the real-time calibration light intensity, and then determine the external ambient light intensity according to the type of the real-time light source to adjust the screen brightness. On the one hand, the calibration device screen is calibrated by the standard device screen to obtain the real-time calibration light intensity, and then the type of the real-time light source is determined according to the real-time calibration light intensity, which reduces the problem of large error in the light intensity identified by the two channels due to the screen characteristics, avoids the problem of light source identification error due to screen transmittance, and improves the accuracy of light source type identification. On the other hand, determining the external ambient light intensity according to the type of real-time light source can avoid the problem of error in calculating the external ambient light intensity due to different screen transmittances, improves the accuracy of the external ambient light intensity, and thus improves the accuracy of screen recognition.

[0013] 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 disclosure. BRIEF DESCRIPTION OF THE DRAWINGS

[0014] The accompanying drawings are incorporated into and constitute a part of the specification, illustrate embodiments consistent with the present disclosure, and together with the specification, are used to explain the principles of the present disclosure. Obviously, the drawings described below are only some embodiments of the present disclosure, and those skilled in the art can derive other drawings based on these drawings without inventive effort.

[0015] Figure 1 A schematic diagram shows a system architecture to which the screen brightness adjustment method or screen brightness adjustment device according to an embodiment of the present disclosure can be applied.

[0016] Figure 2 A schematic structural diagram of an electronic device suitable for implementing the embodiments of the present disclosure is shown.

[0017] Figure 3 A schematic diagram schematically illustrates a method for adjusting screen brightness in an embodiment of the present disclosure.

[0018] Figure 4 The flowchart of determining calibration parameters in an embodiment of the present disclosure is schematically shown.

[0019] Figure 5 A schematic diagram schematically illustrates calibration results of various types of light sources in an embodiment of the present disclosure.

[0020] Figure 6 A schematic diagram schematically illustrates calibration parameters in an embodiment of the present disclosure.

[0021] Figure 7 The following schematically illustrates a process flow for sensing the intensity of ambient light in an embodiment of the present disclosure.

[0022] Figure 8 A block diagram of a screen brightness adjustment device in an embodiment of the present disclosure is schematically shown. DETAILED DESCRIPTION

[0023] Example embodiments will now be described more fully with reference to the accompanying drawings. However, example embodiments can be implemented in a variety of forms and should not be construed as limited to the examples set forth herein; rather, these embodiments are provided so that the present disclosure will be more comprehensive and complete and will fully convey the concepts of the example embodiments to those skilled in the art. The described features, structures, or characteristics may be combined in any suitable manner in one or more embodiments. In the following description, many specific details are provided to provide a full understanding of the embodiments of the present disclosure. However, those skilled in the art will appreciate that the technical solutions of the present disclosure may be practiced while omitting one or more of the specific details, or that other methods, components, devices, steps, etc. may be employed. In other cases, well-known technical solutions are not shown or described in detail to avoid obscuring various aspects of the present disclosure.

[0024] In addition, the accompanying drawings are merely schematic illustrations of the present disclosure and are not necessarily drawn to scale. Identical reference numerals in the figures denote identical or similar parts, and thus repetitive descriptions thereof will be omitted. Some of the block diagrams shown in the accompanying drawings are functional entities that do not necessarily correspond to physically or logically separate entities. These functional entities may be implemented in software, in one or more hardware modules or integrated circuits, or in different networks and / or processor devices and / or microcontroller devices.

[0025] The present disclosure provides a method for adjusting screen brightness, which can be applied to scenarios requiring color mapping.

[0026] Figure 1 A schematic diagram shows a system architecture to which the screen brightness adjustment method or screen brightness adjustment device according to an embodiment of the present disclosure can be applied.

[0027] This screen brightness adjustment method can be applied to the application scenario of automatically adjusting the screen brightness of the client. Figure 1 As shown in , it can be applied to the process of calibrating the transmittance of the calibration device screen using the standard device screen. Specifically, it can be applied to the process of calibrating devices such as client 102 and client 103 using client 101. Among them, the client can be various types of devices with computing functions, such as smart phones, tablet computers, desktop computers, vehicle-mounted devices, wearable devices, and other smart devices with screens. Client 101 can serve as the standard device screen, and client 102 and client 103 can serve as calibration device screens. Specifically, the real-time light intensity of client 102 and client 103 can be calibrated according to the calibration parameters determined by the first light intensity information of client 101 and the second light intensity information of client 102 and client 103, so as to split the received real-time light source according to the real-time calibration light intensity to obtain the type of real-time light source. Then, the intensity of the external ambient light is determined to adjust the screen brightness of client 102 and client 103.

[0028] It should be noted that the screen brightness adjustment method provided in the embodiment of the present disclosure can be completely executed by the client. Accordingly, the screen brightness adjustment device can be set in the client.

[0029] Figure 2 Schematic diagram of an electronic device suitable for implementing an exemplary embodiment of the present disclosure is shown. The terminal of the present disclosure can be configured as follows Figure 2 The form of the electronic device shown, however, needs to be explained. Figure 2 The electronic device shown is only an example and should not bring any limitation to the functions and scope of use of the embodiments of the present disclosure.

[0030] The electronic device of the present disclosure includes at least a processor and a memory, where the memory is used to store one or more programs. When the one or more programs are executed by the processor, the processor can implement the method of the exemplary embodiment of the present disclosure.

[0031] Specifically, such as Figure 2 As shown, the electronic device 200 may include: a processor 210, an internal memory 221, an external memory interface 222, a Universal Serial Bus (USB) interface 230, a charging management module 240, a power management module 241, a battery 242, an antenna 1, an antenna 2, a mobile communication module 250, a wireless communication module 260, an audio module 270, a speaker 271, a receiver 272, a microphone 273, an earphone interface 274, a sensor module 280, a display 290, a camera module 291, an indicator 292, a motor 293, a button 294, and a Subscriber Identification Module (SIM) card interface 295. The sensor module 280 may include a depth sensor, a pressure sensor, a gyroscope sensor, an air pressure sensor, a magnetic sensor, an acceleration sensor, a distance sensor, a proximity light sensor, a fingerprint sensor, a temperature sensor, a touch sensor, an ambient light sensor, and a bone conduction sensor.

[0032] It is understood that the structures illustrated in the embodiments of the present application do not constitute a specific limitation on the electronic device 200. In other embodiments of the present application, the electronic device 200 may include more or fewer components than shown, or may combine or separate certain components, or arrange the components differently. The illustrated components may be implemented in hardware, software, or a combination of software and hardware.

[0033] The processor 210 may include one or more processing units, for example: the processor 210 may include an application processor, a modem processor, a graphics processor, an image signal processor, a controller, a video codec, a digital signal processor, a baseband processor and / or a neural network processor (Neural-etwork Processing Unit, NPU), etc. Among them, different processing units can be independent devices or integrated into one or more processors. In addition, a memory can be provided in the processor 210 for storing instructions and data. The model training method in this exemplary embodiment can be executed by an application processor, a graphics processor or an image signal processor. When the method involves processing related to a neural network, it can be executed by an NPU.

[0034] The internal memory 221 can be used to store computer executable program code, which includes instructions. The internal memory 221 can include a program storage area and a data storage area. The external memory interface 222 can be used to connect an external memory card, such as a Micro SD card, to expand the storage capacity of the electronic device 200.

[0035] The communication functions of mobile terminal 200 are implemented through a mobile communication module, antenna 1, a wireless communication module, antenna 2, a modem processor, and a baseband processor. Antenna 1 and antenna 2 are used to transmit and receive electromagnetic wave signals. The mobile communication module can provide 2G, 3G, 4G, and 5G mobile communication solutions for mobile terminal 200. The wireless communication module can provide wireless communication solutions such as wireless LAN, Bluetooth, and near-field communication for mobile terminal 200.

[0036] The display module is used to implement display functions, such as displaying user interfaces, images, and videos. The camera module is used to implement shooting functions, such as capturing images and videos. The audio module is used to implement audio functions, such as playing audio and capturing voice. The power module is used to implement power management functions, such as charging the battery, powering the device, and monitoring the battery status.

[0037] The present application also provides a computer-readable storage medium, which may be included in the electronic device described in the above embodiment; or may exist independently without being assembled into the electronic device.

[0038] Computer-readable storage media can be, for example, but not limited to, electrical, magnetic, optical, electromagnetic, infrared, or semiconductor systems, devices, or any combination thereof. More specific examples of computer-readable storage media can include, but are not limited to, an electrical connection having one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination thereof. In the present disclosure, a computer-readable storage medium can be any tangible medium that contains or stores a program that can be used by or in conjunction with an instruction execution system, device, or device.

[0039] Computer-readable storage media can transmit, propagate, or transfer programs for use by or in conjunction with an instruction execution system, apparatus, or device. Program code contained on a computer-readable storage medium can be transmitted using any suitable medium, including but not limited to wireless, wireline, optical cable, RF, or any suitable combination thereof.

[0040] The computer-readable storage medium carries one or more programs. When the one or more programs are executed by an electronic device, the electronic device implements the method described in the following embodiments.

[0041] The flowcharts and block diagrams in the accompanying drawings illustrate the possible implementation architecture, functions and operations of the systems, methods and computer program products according to various embodiments of the present disclosure. In this regard, each box in the flowchart or block diagram can represent a module, program segment, or a part of code, and the above-mentioned module, program segment, or a part of code contains one or more executable instructions for implementing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the box can also occur in an order different from that marked in the accompanying drawings. For example, two boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each box in the block diagram or flowchart, and the combination of boxes in the block diagram or flowchart, can be implemented with a dedicated hardware-based system that performs the specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.

[0042] The units involved in the embodiments described in this disclosure may be implemented in software or hardware, and the units described may also be provided in a processor. In some cases, the names of these units do not constitute limitations on the units themselves.

[0043] Next, the screen brightness adjustment method in the embodiment of the present disclosure is described in detail with reference to the accompanying drawings.

[0044] In step S310 , if the target light source is received, first light intensity information of the standard device screen and second light intensity information of the screens of multiple calibration devices are obtained.

[0045] In the disclosed embodiments, a target light source is used to calibrate the transmittance of the screen. The target light source can be any type of standard light source, such as D65, TL84, CWF, or U30. In the disclosed embodiments, a target light source of CWF (Cool White Fluorescent) is used as an example for illustration.

[0046] The standard device screen refers to the screen of the smart device used as a benchmark, and can be the screen of any one of all smart devices. The calibration device screen can be the screen of all smart devices except the standard smart device. The calibration device can be a smart device of the same type as the standard device. The smart device can be an electronic device with a screen, such as a smartphone, a tablet computer, or a wearable device (smart watch, smart bracelet). The screen of the smart device can be an OLED (Organic Electroluminescence Display, organic light-emitting semiconductor) screen to achieve under-screen light perception. The accuracy of the under-screen light perception is affected by the characteristics of the screen itself. There is light leakage on the screen of the smart device, and the light leakage and the transmittance of the screen will directly affect the ambient light intensity perceived by the light sensor. Among them, the transmittance of the screen is used to describe the proportion of light that passes through the screen. In addition, the transmittance of the screen is different for different types of light sources, and the transmittance affects the recognition of the light source type.

[0047] To improve accuracy, the transmittance of each smart device can be calibrated before the light source type is identified to reduce the differences caused by the transmittance of the screen. When calibrating the device, the real-time parameters of the calibration device screen can be calibrated according to the parameters of the standard device screen. The parameters of the standard device screen can be the first light intensity information, which is used to calibrate the transmittance of the screen. It should be noted that the first light intensity information and the second light intensity information used for calibration are obtained at any historical moment before the current moment, and the first light intensity information and the second light intensity information can be obtained at the same time.

[0048] Figure 4 A flow chart for determining calibration parameters is schematically shown in FIG. Figure 4 As shown in , it mainly includes the following steps:

[0049] In step S410 , the first light intensity information is calculated according to the light intensity of the first channel and the light intensity of the second channel of the screen of the standard device.

[0050] In this step, the first light intensity information of the standard device screen can be the ratio of the dual sensing channels, that is, the ratio of the value of the first channel to the value of the second channel. Among them, the first channel can be the visible light full spectrum channel CH0, and the second channel can be the infrared light channel CH1. Different channels perceive the brightness of different spectra. Therefore, the value of the first channel can be the light intensity IR of the first channel, and the value of the second channel can be the light intensity ALS of the second channel. Based on this, the value of the CH0 channel / the value of the CH1 channel is IR / ALS. Referring to formula (1), the first light intensity information of the standard device screen can be calculated based on the value of the CH0 channel and the value of the CH1 channel. The first light intensity information A1 of the standard device screen can be expressed as A1=IR1 / ALS1, and the value of IR / ALS is T IR / T ALS value.

[0051] Refer to formula (1) to calculate the calibration parameters:

[0052]

[0053] Among them, CWF represents the illumination of CWF, that is, the intensity of CWF. IR represents the intensity of infrared light, ALS represents the intensity of visible light, and T IR Indicates the transmittance of infrared light IR, T ALS Indicates the transmittance of visible light ALS.

[0054] Furthermore, in step S420, the second light intensity information is calculated according to the light intensity of the first channel and the light intensity of the second channel of the screen of each calibration device.

[0055] In this step, a numerical value can be read for each calibration device screen, and the second light intensity information B1 of the calibration device screen can be calculated based on the read numerical value. The second light intensity information of the calibration device screen at this time refers to the light intensity at the historical moment before the splitting. The second light intensity information B1 of the calibration device screen can be calculated according to the above formula (1), where B1 = IR2 / ALS2.

[0056] In step S430, the calibration parameters of the screens of the calibration devices are determined according to the ratio of the first light intensity information to the second light intensity information.

[0057] In this step, the calibration parameters of each calibration device screen can be calculated based on the first light intensity information of the standard device screen and the second light intensity information of each calibration device screen. The calibration parameters can be obtained by logical processing based on the first light intensity information of the standard device screen and the second light intensity information of the calibration device screen, and the logical processing can be, for example, a division operation. The calibration parameters are used to represent the transmittance calibration value of the calibration device screen. The calibration parameters can be determined based on the ratio of the second light intensity information of the calibration device screen to the first light intensity information of the standard device screen, or they can be determined based on the ratio of the first light intensity information of the standard device screen to the second light intensity information of the calibration device screen. The present disclosure is explained by taking the determination of the calibration parameters based on the ratio of the second light intensity information of the calibration device screen to the first light intensity information of the standard device screen as an example. Therefore, the calibration parameters of each calibration device screen can be expressed as B1 / A1. The calibration parameter is used to represent the transmittance calibration value of the calibration device screen.

[0058] Continue to refer Figure 3 As shown in , in step S320, the real-time light intensity of each calibration device screen is calibrated according to the calibration parameters of each calibration device screen to obtain a real-time calibration light intensity.

[0059] In the embodiment of the present disclosure, after obtaining the calibration parameters, the calibration parameters and the real-time light intensity of the calibration device screen can be logically processed to correct the real-time light intensity of the calibration device screen. The real-time light intensity can be the real-time light intensity of the calibration device screen under the real-time light source obtained at the current moment, or it can be the light intensity after the transmittance of the calibration screen is adjusted. The real-time light source can be the same as or different from the type of the target light source, which is not limited here. Moreover, when obtaining the real-time light intensity, the type of the real-time light source is not known.

[0060] The real-time light intensity collected by the calibration device screen under the real-time light source can be normalized according to the calibration parameters to reduce the gap between the first light intensity information of the standard device screen and the second light intensity information of each calibration device screen, thereby reducing the influence of the screen transmittance and accurately performing light source identification and light source distinction. When performing the normalization process, the real-time light intensity collected by the calibration device screen under the real-time light source can be multiplied by the calibration parameters of the calibration device screen, that is, the real-time calibration light intensity of the calibration device screen under the real-time light source is determined according to the product of the real-time light intensity and the calibration parameters. For example, the real-time light intensity obtained by the calibration device screen under the real-time light source is the ratio of IR / ALS, and its calibration parameter is B / A, then the corresponding real-time calibration light intensity is IR / ALS×B / A.

[0061] In the embodiment of the present disclosure, under the standard light source represented by the target light source, the first light intensity information of the standard device screen is first obtained, and under the same target light source, the second light intensity information of the calibration device screen is obtained. If the transmittance of these screens is the same, then the first light intensity information and each second light intensity information should be equal under the same light source. However, considering the influence of the process and the like, the transmittance of the screen will be different, and the first light intensity information and each second light intensity information will not be equal. If you want to accurately distinguish the light sources, you hope that the difference between the first light intensity information and each second light intensity information is as small as possible, so the first light intensity information is used as a standard sample, and the transmittance of the other second light intensity information is aligned with it. According to the ratio of each second light intensity information to the first light intensity information, the calibration parameters of each calibration device screen are determined. Then, each calibration device screen is multiplied by this calibration parameter during light splitting to make up for the difference in transmittance.

[0062] For example, during calibration, fix the light source CWF, read the IR and ALS of calibration device screen 1, and calculate the IR / ALS of calibration device screen 1 to be 10 / 1. The IR / ALS of the standard device screen is 10 / 2, indicating that the ALS of calibration device screen 1 is too low, and the transmittance calibration value of calibration device screen 1 is 2.

[0063] Figure 5 The calibration results of various types of light sources are shown schematically. Figure 5 As shown in , for example, in this set of data, #1 is the standard device screen, and #2 and #3 are both calibration device screens. Under the standard light source, the A1 value of the standard device screen is first obtained. Under the same standard light source, the B1 and B2 values ​​of #2 and #3 can be obtained. Due to the different transmittances of the screens, the obtained A1, B1, and B2 values ​​are not equal. In order to accurately distinguish the light sources, it is necessary to reduce the differences between A1, B1, and B2. Based on this, the A1 value of the standard device screen can be used as a standard, and the transmittances of other calibration device screens are normalized according to it. The B value of each calibration device screen is divided by the A value as the calibration parameter of the calibration device screen. Then, when spectrally spectrally spectrally, the calibration device screen is multiplied by this calibration parameter to make up for the difference in transmittance, so that the ratio used for spectrographic analysis is as close as possible. Figure 5 The values ​​before and after calibration are shown in Figure 1 for light sources U30, D65, TL84, and H. It can be seen that for each type of light source, the difference in light intensity between the calibration device screen and the standard device screen is reduced after calibration.

[0064] Continue to refer Figure 6 The calibration parameters are shown in the diagram below. CH2 is the IR measurement channel, and CH1 is the ALS measurement channel. Different light sensors may use different IR and ALS measurement channels. RAW represents the raw light intensity.

[0065] When the light source is C, the first light intensity information A1 of standard device screen #1 is 2.88785047, the second light intensity information B1 of calibration device screen #2 is 2.57647059, B1 / A1 is 1.1208552, and the calibration parameter is 1 / 1.1208552. The second light intensity information B2 of calibration device screen #3 is 3.38297872, B2 / A1 is 0.85364133, and the calibration parameter is 1 / 0.85364133.

[0066] In the embodiment of the present disclosure, the second light intensity information of the screens of multiple calibration devices is calibrated according to the first light intensity information of the screen of the standard device, so that the real-time calibration light intensity can be accurately determined, thereby improving accuracy.

[0067] In step S330, the real-time light source is subjected to a spectroscopic operation according to the real-time calibration light intensity to determine the type of the real-time light source, and the external ambient light intensity is obtained according to the type of the real-time light source to adjust the screen brightness of the calibration device screen.

[0068] In the embodiment of the present disclosure, the spectroscopic operation refers to determining the type of real-time light source, for example, determining whether the real-time light source belongs to CWF light or other types of light sources. The principle of identifying the type of light source is that the ratio of infrared light to visible light is different in different light sources, so the type of light source can be determined based on the ratio. In the related art, it is considered that the discreteness of the material and production of the screen will affect the transmittance of infrared light and visible light, which will affect this ratio, resulting in errors in the identification of the light source type. In order to avoid the above problems, in the embodiment of the present disclosure, the standard device screen is used as a reference to calibrate the second light intensity information of the screens of other calibration devices to normalize it according to the first light intensity information of the standard device screen, calibrate the real-time light source, reduce the difference in transmittance between the calibration device screen and the standard device screen, and reduce the impact of different screen transmittances.

[0069] Furthermore, the real-time calibration light intensity can be matched against multiple types of light intensity ranges, and the type of the real-time light source can be determined based on the matching results. If the matching result shows that the real-time calibration light intensity is within a certain type of light intensity range, the real-time light source corresponding to the real-time calibration light intensity can be considered to belong to that type of light source. For example, a value in the range of 1-3 indicates CWF light, and a value in the range of 3-5 indicates D65 light.

[0070] Real-time calibration light intensity refers to the light perception obtained under a real-time light source. The real-time calibration light intensity includes the screen's light leakage and the initial ambient light intensity, specifically determined by the sum of these two factors. Based on this, the initial ambient light intensity can be obtained by subtracting the screen's light leakage from the real-time calibration light intensity. In a dark environment, the light sensor perceives light intensity values ​​under different backgrounds, and the resulting value is the screen's light leakage value. In the disclosed embodiments, since the real-time calibration light intensity collected by the light sensor is often affected by the screen display, after collecting the real-time calibration light intensity of the screen's environment, it is necessary to eliminate the effect of the screen display brightness on the real-time calibration light intensity based on the light leakage compensation value to obtain the initial ambient light intensity of the screen's environment. This requires compensation for screen light leakage. This can be achieved by using parameters such as the calibration coefficient for all pixels on the screen for a single color, which is not specifically limited here. Therefore, the initial ambient light intensity is obtained by subtracting the compensated light leakage from the real-time calibration light intensity.

[0071] Furthermore, since the real-time light source can be classified to obtain the type of real-time light source, the initial external ambient light intensity can be adjusted according to the adjustment coefficients corresponding to different types of light sources to obtain the accurate external ambient light intensity. Among them, the adjustment coefficients corresponding to different types of light sources are different. For example, if D65 light and CWF light are accurately distinguished, then the value obtained outside the screen for D65 light is 1000, but the value obtained by light perception is 800. After distinguishing the type of real-time light source as D65 light, multiply it by the coarse adjustment coefficient of 1000 / 800 to obtain the actual value of 1000 as the external ambient light intensity.

[0072] In the disclosed embodiment, the smart wearable device can automatically adjust the screen brightness when the brightness of the external environment changes. The implementation method is to directly implement the light sensor on the OLED screen module and connect it to the mainboard through the screen connector. The light sensor senses the intensity of the external ambient light and then adjusts the screen brightness. Based on this, after obtaining the intensity of the external ambient light, the screen brightness of the smart device can be adjusted according to the intensity of the external ambient light. Specifically, the brightness level corresponding to the intensity of the external ambient light can be determined to adjust the display brightness of the screen. The intensity of the external ambient light is positively correlated with the screen brightness. For example, the higher the brightness level, the greater the intensity of the external ambient light, the higher the brightness level, and the higher the screen brightness. In this way, the screen brightness can be adjusted to an appropriate brightness, so that the adjusted screen brightness is more accurate, thereby improving the user experience.

[0073] Figure 7 The flow chart for determining the ambient light intensity is shown schematically. Figure 7 As shown in , it mainly includes the following steps:

[0074] In step S701, the smart wearable device is in operation. The smart wearable device may be a watch or a bracelet.

[0075] In step S702, when the screen of the smart wearable device is on, the light sensor is turned on to collect data.

[0076] In step S703, the light sensor obtains the light leakage amount corresponding to the screen in a dark environment.

[0077] In step S704, under a standard light source, the IR / ALS value of the standard device screen is calculated in advance and stored in the MCU (Microcontroller Unit) of the device.

[0078] In step S705 , the calibration device screens are calibrated under the same standard light source, the IR / ALS value of each calibration device screen is calculated, and calibration is performed according to the calibration parameters of the calibration device screens.

[0079] In step S706 , the light leakage amount of the screen is compensated.

[0080] In step S707, the light source type is identified, specifically based on the calibrated real-time light intensity.

[0081] In step S708 , the accurate external ambient light intensity is obtained according to the compensated light leakage amount of the screen and the identified light source type.

[0082] The technical solution in the disclosed embodiment, since the real-time light intensity of each calibration device screen is calibrated according to the standard device screen to obtain the real-time calibrated light intensity, taking into account the discreteness of the screen material and production which will lead to different transmittances, avoids the occurrence of large errors in the values ​​recognized by the two channels, thereby causing errors in the recognition of the light source type, affecting the brightness adjustment effect of the light sensor, can accurately determine the type of real-time light source, so that the light sensor can more accurately determine the external ambient light intensity, improve the accuracy of the light sensor in sensing the external ambient light intensity, and then can adjust the screen brightness to an appropriate brightness, thereby improving accuracy.

[0083] It should be added that after being able to accurately identify different types of light sources, the function of distinguishing the types of light sources can be added to the subsequent applications of smart wearables, such as distinguishing between incandescent lamps, fluorescent lamps, etc., to help users choose different types of tools, which will contribute to the versatility of wearable devices and improve convenience.

[0084] The technical solution provided in the embodiments of the present disclosure avoids the influence of light leakage from the screen on the intensity of the external ambient light perceived by the light sensor, and also avoids the problem of incorrect light source type identification caused by transmittance, thereby improving the accuracy of light source type identification and the accuracy of the external ambient light intensity, thereby being able to adjust the screen brightness to an appropriate brightness.

[0085] The present disclosure provides a device for adjusting screen brightness. Figure 8 As shown in , the screen brightness adjustment device 800 may include:

[0086] The calibration parameter determination module 801 is configured to determine the calibration parameters of each calibration device screen based on the first light intensity information of the standard device screen and the second light intensity information of the multiple calibration device screens if a target light source is received;

[0087] A light intensity calibration module 802 is configured to calibrate the real-time light intensity of each calibration device screen under a real-time light source according to the calibration parameters of each calibration device screen to obtain a real-time calibration light intensity;

[0088] The ambient light determination module 803 is used to perform a spectroscopic operation on the real-time light source according to the real-time calibration light intensity to determine the type of the real-time light source, and obtain the external ambient light intensity according to the type of the real-time light source to adjust the screen brightness of the calibration device screen.

[0089] In an exemplary embodiment of the present disclosure, the calibration parameter determination module includes: a first light intensity calculation module, used to calculate the first light intensity information based on the light intensity of the first channel and the light intensity of the second channel of the standard device screen; a second light intensity calculation module, used to calculate the second light intensity information based on the light intensity of the first channel and the light intensity of the second channel of each calibration device screen; a parameter calculation module, used to determine the calibration parameters of each calibration device screen based on the ratio of the first light intensity information and the second light intensity information.

[0090] In an exemplary embodiment of the present disclosure, the light intensity calibration module includes: a normalization module, configured to normalize the real-time light intensity of each calibration device screen according to each calibration parameter to obtain the real-time calibration light intensity.

[0091] In an exemplary embodiment of the present disclosure, the normalization module is configured to: perform a multiplication operation on the real-time light intensity and the calibration parameter to determine the real-time calibration light intensity.

[0092] In an exemplary embodiment of the present disclosure, the ambient light determination module includes: a light source type determination module, configured to match the real-time calibration light intensity with multiple types of light intensity ranges, and determine the type of the target light source according to the matching result.

[0093] In an exemplary embodiment of the present disclosure, the ambient light determination module includes: an initial light intensity determination module, which is used to logically process the real-time calibration light intensity and the leakage light amount to obtain the initial external ambient light intensity; and a light intensity adjustment module, which is used to adjust the initial external ambient light intensity in combination with the type of the real-time light source to determine the external ambient light intensity.

[0094] In an exemplary embodiment of the present disclosure, the light intensity adjustment module is configured to: determine an adjustment coefficient according to the type of the target light source; and adjust the initial ambient light intensity according to the adjustment coefficient to determine the ambient light intensity.

[0095] It should be noted that the specific details of each module in the above-mentioned screen brightness adjustment device have been described in detail in the corresponding screen brightness adjustment method, so they will not be repeated here.

[0096] Through the description of the above embodiments, it is easy for those skilled in the art to understand that the example embodiments described herein can be implemented by software or by combining software with necessary hardware. Therefore, the technical solution according to the embodiments of the present disclosure can be embodied in the form of a software product, which can be stored in a non-volatile storage medium (which can be a CD-ROM, a USB flash drive, a mobile hard disk, etc.) or on a network, and includes several instructions to enable a computing device (which can be a personal computer, a server, a terminal device, or a network device, etc.) to execute the method according to the embodiments of the present disclosure.

[0097] Furthermore, the figures above are merely illustrative of the processes included in the methods according to exemplary embodiments of the present disclosure and are not intended to be limiting. It is readily understood that the processes illustrated in the figures above do not indicate or limit the temporal order of these processes. Furthermore, it is readily understood that these processes may be executed synchronously or asynchronously, for example, in multiple modules.

[0098] It should be noted that although several modules or units of the device for action execution are mentioned in the detailed description above, this division is not mandatory. In fact, according to the embodiments of the present disclosure, the features and functions of two or more modules or units described above can be concretized in one module or unit. Conversely, the features and functions of one module or unit described above can be further divided into multiple modules or units to be concretized.

[0099] Other embodiments of the present disclosure will readily occur to those skilled in the art after considering the specification and practicing what is disclosed herein. This application is intended to cover any variations, uses, or adaptations of the present disclosure that follow the general principles of the present disclosure and include common knowledge or customary techniques in the art not disclosed herein. The specification and examples are to be considered as exemplary only, with the true scope and spirit of the present disclosure being indicated by the claims.

[0100] It should be understood that the present disclosure is not limited to the exact structures that have been described above and shown in the drawings, and that various modifications and changes can be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.

Claims

1. A screen brightness adjustment method, characterized in that: include: If the target light source is received, determining calibration parameters of each calibration device screen according to the first light intensity information of the standard device screen and the second light intensity information of the plurality of calibration device screens; Calibrate the real-time light intensity of each calibration device screen under a real-time light source according to the calibration parameters of each calibration device screen to obtain a real-time calibration light intensity; performing a light splitting operation on the real-time light source according to the real-time calibration light intensity to determine the type of the real-time light source, and obtaining the external ambient light intensity according to the type of the real-time light source to adjust the screen brightness of the calibration device screen; The step of determining the calibration parameters of the calibration device screens according to the first light intensity information of the standard device screen and the second light intensity information of the plurality of calibration device screens includes: Calculating the first light intensity information according to the light intensity of the first channel and the light intensity of the second channel of the screen of the standard device; Calculating the second light intensity information of each calibration device screen according to the light intensity of the first channel and the light intensity of the second channel; The calibration parameters of each calibration device screen are determined according to the ratio of the first light intensity information to each of the second light intensity information.

2. The screen brightness adjustment method according to claim 1, characterized in that: The step of calibrating the real-time light intensity of each calibration device screen under a real-time light source according to the calibration parameters of each calibration device screen to obtain the real-time calibration light intensity includes: The real-time light intensity of each calibration device screen is normalized according to each calibration parameter to obtain the real-time calibration light intensity.

3. The screen brightness adjustment method according to claim 2, characterized in that: Normalizing the real-time light intensity of each calibration device screen according to each calibration parameter to obtain the real-time calibration light intensity includes: The real-time light intensity is multiplied by the calibration parameter to determine the real-time calibration light intensity.

4. The screen brightness adjustment method according to claim 1, wherein: The performing a light splitting operation on the real-time light source according to the real-time calibration light intensity to determine the type of the real-time light source includes: The real-time calibration light intensity is matched with a plurality of types of light intensity ranges, and the type of the target light source is determined according to the matching result.

5. The screen brightness adjustment method according to claim 1, characterized in that: The obtaining of the external ambient light intensity according to the type of the real-time light source includes: Performing logical processing on the real-time calibration light intensity and the light leakage amount to obtain the initial external ambient light intensity; The initial external ambient light intensity is adjusted in combination with the type of the real-time light source to determine the external ambient light intensity.

6. The screen brightness adjustment method according to claim 5, characterized in that: The adjusting the initial external ambient light intensity in combination with the type of the real-time light source to determine the external ambient light intensity includes: determining an adjustment coefficient according to the type of the target light source; The initial external ambient light intensity is adjusted according to the adjustment coefficient to determine the external ambient light intensity.

7. A screen brightness adjustment device, characterized in that: include: a calibration parameter determination module, configured to determine, upon receiving a target light source, a calibration parameter of each calibration device screen based on the first light intensity information of the standard device screen and the second light intensity information of the plurality of calibration device screens; A light intensity calibration module, configured to calibrate the real-time light intensity of each calibration device screen according to the calibration parameters of each calibration device screen to obtain a real-time calibrated light intensity; an ambient light determination module, configured to perform a spectroscopic operation on a real-time light source according to the real-time calibration light intensity to determine the type of the real-time light source, and obtain the external ambient light intensity according to the type of the real-time light source to adjust the screen brightness of the calibration device screen; The step of determining the calibration parameters of the calibration device screens according to the first light intensity information of the standard device screen and the second light intensity information of the plurality of calibration device screens includes: Calculating the first light intensity information according to the light intensity of the first channel and the light intensity of the second channel of the screen of the standard device; Calculating the second light intensity information of each calibration device screen according to the light intensity of the first channel and the light intensity of the second channel; The calibration parameters of each calibration device screen are determined according to the ratio of the first light intensity information to each of the second light intensity information.

8. An electronic device, characterized in that: include: processor; as well as a memory for storing executable instructions of the processor; The processor is configured to execute the screen brightness adjustment method according to any one of claims 1 to 6 by executing the executable instructions.

9. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the screen brightness adjustment method according to any one of claims 1 to 6 is implemented.

Citation Information

Patent Citations

  • Screen brightness adjusting method and device

    CN111131596A

  • Equipment detection method and device, storage medium and electronic equipment

    CN111947775A