Method and device for adjusting photosensitive element, electronic equipment and storage medium

CN115708038BActive Publication Date: 2026-09-04BEIJING XIAOMI MOBILE SOFTWARE CO LTD
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
CN202110954385.5
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-08-19
Publication Date
2026-09-04
Estimated Expiration
2041-08-19

AI Technical Summary

Technical Problem

[0003]相关技术中,感光元件在工作过程中,可能会在显示屏的对应位置激发出光斑,影响显示屏的正常显示,也影响显示屏的使用寿命

Benefits of technology

[0066]本公开的实施例提供的技术方案可以包括以下有益效果:使用本公开的方法,利用第一感光元件来检测感光信息,来动态调节第二感光元件的发射功率,使其保持在合适的范围内。在实现第二感光元件正常距离检测功能的基础上,不影响显示屏的正常显示,有效提升用户体验。

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115708038B_ABST
    Figure CN115708038B_ABST
Patent Text Reader

Abstract

The present disclosure relates to a method and device for adjusting a photosensitive element, an electronic device and a storage medium. The method comprises: obtaining first photosensitive information and second photosensitive information detected by a first photosensitive element; determining a target power based on the first photosensitive information and the second photosensitive information; and controlling the second photosensitive element to emit a light signal at the target power, wherein the target power is lower than a threshold of an emission power. The method of the present disclosure uses the first photosensitive element to detect photosensitive information, dynamically adjusts the emission power of the second photosensitive element, and keeps the emission power within a suitable range. On the basis of realizing the normal distance detection function of the second photosensitive element, the normal display of the display screen is not affected, and the user experience is effectively improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This disclosure relates to the field of electronic devices, and more particularly to a method, apparatus, electronic device, and storage medium for adjusting a photosensitive element. Background Technology

[0002] With technological advancements, electronic devices such as mobile phones have gradually evolved into full-screen devices to maximize screen-to-body ratio. In full-screen devices, hardware structures affecting screen-to-body ratio are often located under the screen, such as the front-facing camera, fingerprint sensor, or photosensor. The photosensor, in particular, is used in scenarios involving phone calls, detecting the user's distance based on ambient light data to control screen on / off. The photosensor is an indispensable hardware component in electronic devices.

[0003] In related technologies, during operation, the photosensitive element may generate light spots at corresponding positions on the display screen, affecting the normal display and the lifespan of the display screen. Summary of the Invention

[0004] To overcome the problems existing in the related technologies, this disclosure provides a method, apparatus, electronic device and storage medium for adjusting a photosensitive element.

[0005] According to a first aspect of the present disclosure, a method for adjusting a photosensitive element is provided, applied to an electronic device including a display screen, the method comprising:

[0006] Acquire first and second photosensitive information detected by the first photosensitive element; wherein, the first photosensitive information is used to characterize the photosensitive information in a scenario where the display screen displays preset content and the second photosensitive element is not emitting light, and the second photosensitive information is used to characterize the photosensitive information in a scenario where the display screen displays preset content and the second photosensitive element is emitting light; both the first and second photosensitive elements are disposed below the display screen, the field of view of the first photosensitive element includes the field of view of the second photosensitive element, and the first photosensitive element includes multiple photosensitive channels;

[0007] The target power is determined based on the first photosensitive information and the second photosensitive information;

[0008] The second photosensitive element is controlled to emit an optical signal at the target power, wherein the target power is lower than the emission power threshold.

[0009] In some embodiments, acquiring the first photosensitized information and the second photosensitized information detected by the first photosensitizer includes:

[0010] In a scenario where the display screen shows preset content and the second photosensitive element is not emitting light, acquire the first channel data corresponding to each photosensitive channel in the first photosensitive element;

[0011] In a scenario where the display screen shows preset content and the second photosensitive element emits light, acquire the second channel data corresponding to each photosensitive channel in the first photosensitive element;

[0012] The first photosensitive element includes multiple photosensitive channels: a first channel for detecting the red light component, a second channel for detecting the green light component, a third channel for detecting the blue light component, and a fourth channel for detecting the full spectrum component.

[0013] In some embodiments, determining the target power based on the first photosensitized information and the second photosensitized information includes:

[0014] Based on the data of the first channel corresponding to each photosensitive channel, the first color temperature is determined and used as the first photosensitive information;

[0015] The second color temperature is determined based on the second channel data corresponding to each photosensitive channel, and is used as the second photosensitive information;

[0016] The target color temperature difference is determined based on the first photosensitive information and the second photosensitive information;

[0017] Based on the target color temperature difference, determine the target power corresponding to the target color temperature difference.

[0018] In some embodiments, determining the first color temperature based on the first channel data corresponding to each photosensitive channel includes:

[0019] The first infrared component is determined based on the data of the first channel corresponding to each photosensitive channel;

[0020] Based on the first infrared component, determine the corresponding first function model;

[0021] The first color temperature is determined based on the first channel data corresponding to the first channel, the first channel data corresponding to the third channel, and the first function model.

[0022] In some embodiments, determining the first color temperature based on the first channel data corresponding to each photosensitive channel includes:

[0023] The first infrared component is determined based on the data of the first channel corresponding to each photosensitive channel;

[0024] Determine the corresponding matrix coefficients based on the first infrared component;

[0025] The first color coordinates are determined based on the matrix coefficients;

[0026] The first color temperature is determined based on the first color coordinates and the second function model.

[0027] In some embodiments, determining the target power corresponding to the target color temperature difference based on the target color temperature difference includes:

[0028] Obtain configuration information, wherein the configuration information is used to characterize the mapping relationship between color temperature difference and reference emission power;

[0029] Based on the target color temperature difference and the configuration information, the target power corresponding to the target color temperature difference in the configuration information is determined.

[0030] In some embodiments, determining the target power based on the first photosensitized information and the second photosensitized information includes:

[0031] In each band within a preset wavelength range, the sum of channel data changes for multiple photosensitive channels is determined, wherein the channel data change is the difference between the first channel data and the second channel data for each photosensitive channel, and the preset wavelength range includes multiple bands;

[0032] Based on the sum of the changes in the channel data, the target power that meets the preset conditions is determined from the multiple transmit powers corresponding to multiple bands.

[0033] According to a second aspect of the present disclosure, a photosensitive element adjustment device is provided, applied to an electronic device including a display screen, the device comprising:

[0034] An acquisition module is used to acquire first photosensitive information and second photosensitive information detected by a first photosensitive element; wherein, the first photosensitive information is used to characterize the photosensitive information in a scenario where the display screen displays preset content and the second photosensitive element is not emitting light, and the second photosensitive information is used to characterize the photosensitive information in a scenario where the display screen displays preset content and the second photosensitive element is emitting light; both the first photosensitive element and the second photosensitive element are disposed below the display screen, the field of view of the first photosensitive element includes the field of view of the second photosensitive element, and the first photosensitive element includes multiple photosensitive channels;

[0035] The determining module is used to determine the target power based on the first photosensitive information and the second photosensitive information;

[0036] A control module is used to control the second photosensitive element to emit an optical signal at the target power, wherein the target power is lower than the emission power threshold.

[0037] In some embodiments, the acquisition module is used to:

[0038] In a scenario where the display screen shows preset content and the second photosensitive element is not emitting light, acquire the first channel data corresponding to each photosensitive channel in the first photosensitive element;

[0039] In a scenario where the display screen shows preset content and the second photosensitive element emits light, acquire the second channel data corresponding to each photosensitive channel in the first photosensitive element;

[0040] The first photosensitive element includes multiple photosensitive channels: a first channel for detecting the red light component, a second channel for detecting the green light component, a third channel for detecting the blue light component, and a fourth channel for detecting the full spectrum component.

[0041] In some embodiments, the determining module is used to:

[0042] Based on the data of the first channel corresponding to each photosensitive channel, the first color temperature is determined and used as the first photosensitive information;

[0043] The second color temperature is determined based on the second channel data corresponding to each photosensitive channel, and is used as the second photosensitive information;

[0044] The target color temperature difference is determined based on the first photosensitive information and the second photosensitive information;

[0045] Based on the target color temperature difference, determine the target power corresponding to the target color temperature difference.

[0046] In some embodiments, the determining module is further configured to:

[0047] The first infrared component is determined based on the data of the first channel corresponding to each photosensitive channel;

[0048] Based on the first infrared component, determine the corresponding first function model;

[0049] The first color temperature is determined based on the first channel data corresponding to the first channel, the first channel data corresponding to the third channel, and the first function model.

[0050] In some embodiments, the determining module is further configured to:

[0051] The first infrared component is determined based on the data of the first channel corresponding to each photosensitive channel;

[0052] Determine the corresponding matrix coefficients based on the first infrared component;

[0053] The first color coordinates are determined based on the matrix coefficients;

[0054] The first color temperature is determined based on the first color coordinates and the second function model.

[0055] In some embodiments, the determining module is further configured to:

[0056] Obtain configuration information, wherein the configuration information is used to characterize the mapping relationship between color temperature difference and reference emission power;

[0057] Based on the target color temperature difference and the configuration information, the target power corresponding to the target color temperature difference in the configuration information is determined.

[0058] In some embodiments, the determining module is further configured to:

[0059] In each band within a preset wavelength range, the sum of channel data changes for multiple photosensitive channels is determined, wherein the channel data change is the difference between the first channel data and the second channel data for each photosensitive channel, and the preset wavelength range includes multiple bands;

[0060] Based on the sum of the changes in the channel data, the target power that meets the preset conditions is determined from the multiple transmit powers corresponding to multiple bands.

[0061] According to a third aspect of the present disclosure, an electronic device is provided, comprising:

[0062] processor;

[0063] Memory used to store the processor's executable instructions;

[0064] The processor is configured to perform the adjustment method of the photosensitive element as described in any of the preceding claims.

[0065] According to a fourth aspect of the present disclosure, a non-transitory computer-readable storage medium is provided, wherein when instructions in the storage medium are executed by a processor of an electronic device, the electronic device is enabled to perform the adjustment method of the photosensitive element as described in any of the preceding claims.

[0066] The technical solutions provided by the embodiments of this disclosure can include the following beneficial effects: using the method of this disclosure, a first photosensitive element is used to detect photosensitive information, and the emission power of a second photosensitive element is dynamically adjusted to keep it within a suitable range. While achieving the normal distance detection function of the second photosensitive element, the normal display of the screen is not affected, effectively improving the user experience.

[0067] It should be understood that the above general description and the following detailed description are exemplary and explanatory only, and are not intended to limit this disclosure. Attached Figure Description

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

[0069] Figure 1This is a flowchart illustrating a method according to an exemplary embodiment.

[0070] Figure 2 This is a flowchart illustrating a method according to an exemplary embodiment.

[0071] Figure 3 This is a flowchart illustrating a method according to an exemplary embodiment.

[0072] Figure 4 This is a flowchart illustrating a method according to an exemplary embodiment.

[0073] Figure 5 This is a schematic diagram illustrating the spectral response of different photosensitive channels according to an exemplary embodiment.

[0074] Figure 6 This is a schematic diagram of the structure of an electronic device according to an exemplary embodiment.

[0075] Figure 7 This is a schematic diagram illustrating the change in screen light information when the second photosensitive element emits light, according to an exemplary embodiment.

[0076] Figure 8 This is a block diagram of an apparatus according to an exemplary embodiment.

[0077] Figure 9 This is a block diagram of an electronic device according to an exemplary embodiment. Detailed Implementation

[0078] Exemplary embodiments will now be described in detail, examples of which are illustrated in the accompanying drawings. When the following description relates to the drawings, unless otherwise indicated, the same numerals in different drawings denote the same or similar elements. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present invention. Rather, they are merely examples of apparatuses and methods consistent with some aspects of the invention as detailed in the appended claims.

[0079] With technological advancements, electronic devices such as mobile phones have gradually evolved into full-screen devices to maximize screen-to-body ratio. In full-screen devices, hardware structures affecting screen-to-body ratio are often located under the screen, such as the front-facing camera, fingerprint sensor, or photosensor. The photosensor, in particular, is used in scenarios involving phone calls, detecting the user's distance based on ambient light data to control screen on / off. The photosensor is an indispensable hardware component in electronic devices.

[0080] In related technologies, during operation, photosensitive elements may generate bright spots or light spots at corresponding positions on the display screen, affecting the normal display and the lifespan of the display screen.

[0081] The reasons why a photosensitive element excites a display screen to produce a light spot include at least the following: when the photosensitive element emits detection light, the emission power is relatively high.

[0082] To address the aforementioned technical problems, this disclosure proposes a method for adjusting a photosensitive element, applied to an electronic device including a display screen. The method includes: acquiring first and second photosensitive information detected by a first photosensitive element; wherein the first photosensitive information characterizes a scenario where the display screen displays preset content and the second photosensitive element is not emitting light, and the second photosensitive information characterizes a scenario where the display screen displays preset content and the second photosensitive element is emitting light; both the first and second photosensitive elements are disposed below the display screen, the field of view of the first photosensitive element includes the field of view of the second photosensitive element, and the first photosensitive element includes multiple photosensitive channels; a target power is determined based on the first and second photosensitive information; and the second photosensitive element is controlled to emit a light signal at the target power, wherein the target power is lower than an emission power threshold. Using this method, the first photosensitive element is used to detect photosensitive information to dynamically adjust the emission power of the second photosensitive element, keeping it within a suitable range. While achieving the normal distance detection function of the second photosensitive element, the normal display of the screen is not affected, effectively improving the user experience.

[0083] In one exemplary embodiment, the method for adjusting the photosensitive element in this embodiment is applied to an electronic device. This electronic device may be a full-screen device such as a smartphone, tablet, laptop, or smart wearable device.

[0084] like Figure 1 As shown, the method in this embodiment may include the following steps:

[0085] S110: Acquire the first photosensitive information and the second photosensitive information detected by the first photosensitive element.

[0086] S120. Determine the target power based on the first photosensitive information and the second photosensitive information.

[0087] S130, Control the second photosensitive element to emit a light signal at the target power.

[0088] In step S110, the first photosensitive element includes multiple photosensitive channels. The first photosensitive element can be configured as a multi-channel color gamut sensor or an RGB sensor. It includes a receiving sensor (such as a photodiode pd) capable of receiving light signals. The first photosensitive element is used to detect screen light information when the display emits or reflects light. The processor of the electronic device can acquire the photosensitive information detected by the first photosensitive element.

[0089] In this step, the first photosensitive information and the second photosensitive information represent the screen light information under different scenarios. The first photosensitive information is used to represent the photosensitive information when the display screen shows preset content and the second photosensitive element is not emitting light, and the second photosensitive information is used to represent the photosensitive information when the display screen shows preset content and the second photosensitive element is emitting light. The preset content may be, for example, a call interface.

[0090] The second photosensitive element (psensor) has an emitting part (such as a 945nm light source) and a receiving sensor (such as a photodiode, PD). It can emit light signals and receive feedback signals from the light signals, thereby determining the user's distance. The processor of the electronic device can adjust the screen's brightness (on or off) based on the distance determined by the second photosensitive element.

[0091] In this step, both the first and second photosensitive elements are positioned below the display screen, and the field of view (FOV) of the first photosensitive element is the same as that of the second photosensitive element. For example, the wide or long sides of the first and second photosensitive elements overlap, or the first and second photosensitive elements are integrated into a single photosensitive element. Figure 6 As shown, the field of view of the first photosensitive element when receiving light includes the field of view of the second photosensitive element when emitting light. In other words, the field of view of the two overlaps, and the overlapping area must cover the field of view of the second photosensitive element when emitting light.

[0092] In this embodiment, the receiving sensors of the first and second photosensitive elements can be integrated into a single receiving module (PD). Alternatively, the receiving sensors of the first and second photosensitive elements can be set independently. Each receiving module or sensor corresponds to a different photosensitive channel, and a coating (with different transmission properties) can be deposited on top of each photosensitive channel (in the direction of light incidence), thereby enabling different photosensitive channels to detect different wavelengths of the spectrum. Combined with... Figure 5 As shown, after coating different photosensitive channels, the spectral responses of the different photosensitive channels are different.

[0093] like Figure 6As shown, the example describes a first and second photosensitive element integrated into a single photosensitive element 10, which is positioned below the display screen 20 (e.g., an OLED display). The receiving sensors of the first and second photosensitive elements are integrated into a receiving module (Rx) 30. The receiving module 30 may include an ASIC (Application-Specific Integrated Circuit), and the second photosensitive element can control the transmitting unit (Tx) 50 to emit light signals via an internal driving unit 40. The photosensitive element 10 can communicate with the processor 60 (e.g., an AP) of an electronic device via a microcontroller unit (MCU). The processor 60 includes a control module 70 (e.g., a control core sensor core) and a display control core 80. The control module 70 controls the photosensitive element 10; the display control core 80 communicates with a screen driver IC 90 and controls the display screen's output. One or more of the ASIC, MCU, or sensor core can integrate the photosensitive algorithms involved in this embodiment, such as color temperature algorithms. Therefore, after the first photosensitive element detects the photosensitive data, the required photosensitive information (such as color temperature, light intensity, or flicker value) can be calculated internally within the photosensitive element 10, or the photosensitive data can be sent to the processor, which then calculates the required photosensitive information. The processor controls the first photosensitive element or the display screen based on the photosensitive information.

[0094] In step S120, the electronic device can determine the change in photosensitive information when the second photosensitive element emits light or does not emit light, based on the first photosensitive information and the second photosensitive information, when the display screen is displaying the same content.

[0095] In one example, a large change in the photosensitivity indicates that the current emission power of the second photosensitive element has a significant impact on the display screen, making it prone to bright spots. This example demonstrates how to reduce the current emission power to achieve the target power and improve the bright spot phenomenon.

[0096] In another example, a small change in the photosensitivity indicates that the current emission power of the second photosensitive element is within a safe range. This example allows for adjusting the current emission power as needed to obtain the target power, thereby improving distance detection performance.

[0097] The electronic device can preset a transmission power threshold (Pmax), and the transmission power of the second photosensitive element must always be less than the transmission power threshold. The electronic device also pre-stores reference transmission powers (all less than the transmission power threshold) adapted to different scenarios of varying photosensitive information. Therefore, the electronic device can determine the corresponding target power based on different changes in photosensitive information.

[0098] In step S130, the processor of the electronic device adjusts the reflection power of the second photosensitive element, controlling the second photosensitive element to emit light signals at a target power. The target power may be greater than, less than, or equal to the current emission power of the second photosensitive element. When the second photosensitive element operates at the target power, it can perform its detection function normally without causing bright spots on the screen.

[0099] In other examples, the processor can also control the display screen to show the image in the area corresponding to the second photosensitive element, thereby improving the effect of bright spots.

[0100] It is worth noting that in this embodiment, the transition from a scenario where the display shows preset content and the second photosensitive element is not emitting light to a scenario where the display shows preset content and the second photosensitive element is emitting light constitutes one activation process of the second photosensitive element. In normal scenarios, based on the screen's refresh rate, the photosensitive information does not change abruptly when the display shows preset content in two consecutive frames. However, combined with... Figure 7 As shown, excessive emission power from the second photosensitive element can cause abrupt changes in the display screen's photosensitive information. For example, the peaks in the figure, from left to right, represent the B component, G component, and R component (the horizontal axis represents wavelength). When the emission power is too high, all three components (B, G, and R) increase to some extent. Therefore, bright spots may appear on the display screen during display.

[0101] In an exemplary embodiment, step S110 of this embodiment may include the following steps:

[0102] S1101. In a scenario where the display screen shows preset content and the second photosensitive element is not emitting light, acquire the first channel data corresponding to each photosensitive channel in the first photosensitive element.

[0103] S1102. In a scenario where the display screen shows preset content and the second photosensitive element emits light, acquire the second channel data corresponding to each photosensitive channel in the first photosensitive element.

[0104] The first photosensitive element includes multiple photosensitive channels: a first channel (R channel) for detecting the red light component, a second channel (G channel) for detecting the green light component, a third channel (B channel) for detecting the blue light component, and a fourth channel (C channel) for detecting the full spectrum component.

[0105] In step S1101, when the display screen shows preset content and the second photosensitive element does not emit light, the first photosensitive element can detect and obtain the first channel data of each of the R channel, G channel, B channel and C channel. The first channel data of the R channel is denoted as R1, the first channel data of the G channel is denoted as G1, the first channel data of the B channel is denoted as B1, and the first channel data of the C channel is denoted as C1.

[0106] In step S1102, when the display screen shows preset content and the second photosensitive element emits light, the first photosensitive element can detect and obtain the second channel data of each of the R channel, G channel, B channel and C channel. The second channel data of each channel can be recorded as R2, G2, B2 and C2 respectively.

[0107] In this embodiment, the processor of the electronic device can acquire the first channel data and the second channel data of each channel.

[0108] In one exemplary embodiment, such as Figure 2 As shown, step S120 in this embodiment may include the following steps:

[0109] S1201. Determine the first color temperature based on the first channel data corresponding to each photosensitive channel, and use it as the first photosensitive information.

[0110] S1202. Determine the second color temperature based on the second channel data corresponding to each photosensitive channel, and use it as the second photosensitive information.

[0111] S1203. Determine the target color temperature difference based on the first and second photosensitized information.

[0112] S1204. Determine the target power corresponding to the target color temperature difference based on the target color temperature difference.

[0113] In step S1201, the first photosensitivity information is represented by a first color temperature. The first color temperature represents the screen color temperature of the display screen when the display screen shows preset content and the second photosensitivity element is not emitting light. In conjunction with the foregoing embodiments, the processor of the electronic device can acquire the first channel data of each photosensitivity channel, such as acquiring R1, G1, B1, and C1, and calculate and determine the first color temperature CCT1 using a color temperature algorithm.

[0114] In other examples, the first photosensitive element can calculate and determine the first color temperature CCT1 based on the first channel data and a color temperature algorithm. The processor of the electronic device directly obtains the first color temperature CCT1.

[0115] In step S1202, the second photosensitivity information is represented by a second color temperature. The second color temperature represents the screen color temperature of the display screen when the display screen displays preset content and the second photosensitivity element emits light. In conjunction with the foregoing embodiments, the processor of the electronic device can acquire the second channel data of each photosensitivity channel, such as acquiring R2, G2, B2, and C2, and calculate and determine the second color temperature CCT2 using a color temperature algorithm.

[0116] In other examples, the first photosensitive element can calculate and determine the second color temperature CCT2 based on the second channel data and a color temperature algorithm. The processor of the electronic device directly obtains the second color temperature CCT2.

[0117] In step S1203, the processor of the electronic device can determine the target color temperature difference ΔCCT between the two scenes based on the first color temperature CCT1 and the second color temperature CCT2.

[0118] In step S1204, the electronic device may pre-store the correspondence between the target color temperature difference and the reference emission power, and determine the appropriate target power based on the photosensitive information.

[0119] Understandably, color temperature is the data used by electronic devices to adjust the color consistency of the display screen (adjusting the screen's cool or warm light); illuminance is the data used by electronic devices to adjust the brightness changes of the display screen. Color temperature is a physical quantity used to define the color of a light source; that is, if a black body is heated to a certain temperature, the color of the light emitted by it will be the same as the color of the light emitted by a certain light source. The temperature at which the black body is heated is called the color temperature of that light source. The color temperature of a screen characterizes the color or hue displayed on the screen, such as a cool light hue or a warm light hue.

[0120] In one exemplary embodiment, such as Figure 3 As shown, step S1201 in this example may include the following steps:

[0121] S1201-1. Determine the first infrared component based on the first channel data corresponding to each photosensitive channel.

[0122] S1201-2. Determine the corresponding first function model based on the first infrared component.

[0123] S1201-3. Determine the first color temperature based on the first channel data corresponding to the first channel, the first channel data corresponding to the third channel, and the first function model.

[0124] The calculation methods for the first color temperature CCT1 and the second color temperature CCT2 are the same. This embodiment uses the calculation of the first color temperature CCT1 as an example for description; the method for calculating the second color temperature CCT2 will not be repeated. The processor of the electronic device can integrate a color temperature algorithm and determine the color temperature based on the channel data collected by the first photosensitive element. In other examples, the control module corresponding to the first photosensitive element can integrate a color temperature algorithm to determine the color temperature based on the collected channel data, and the processor of the electronic device acquires the color temperature.

[0125] In step S1201-1, the infrared component IR in the photosensitive information can be calculated by the following formula: IR=(R+G+BC) / 2C, where R, G, B and C represent the channel data of the corresponding channel.

[0126] In this step, the first infrared component IR1 = (R1 + G1 + B1 - C1) / 2C1 can be determined based on the data from the first channel. Similarly, the second infrared component IR2 = (R2 + G2 + B2 - C2) / 2C2 can be determined based on the data from the second channel.

[0127] In step S1201-2, the range of color temperature can be determined based on the different infrared components (IR). For example, the infrared component in warm light is greater than that in cool light. In this step, depending on the different ranges of color temperature, the first function model for calculating color temperature (CCT) can have the following two examples.

[0128] In the first example, when the first infrared component IR0 is greater than the threshold, the color temperature can be calculated using the following first function model: CCT=k11*(B / R)+k12, where k11 and k12 are coefficients.

[0129] In this example, k11 and k12 can be predetermined and stored. For example, the coefficients can be fitted using data software such as MATLAB (Matrix Laboratory) based on the linear form of the first function model. The fitting process may include the following steps:

[0130] (1) Obtain multiple sets (e.g., 10 sets) of test data pairs. Each set of test data pairs includes: the first channel data (red light component) of the first channel (R channel) and the first channel data (blue light component) of the corresponding third channel (B channel). Understandably, the more data pairs there are, the more accurate the fitted coefficients will be. (2) Input the multiple sets of test data pairs into MATLAB software and set the linear form of the first function model in MATLAB software. It should be noted that in addition to using MATLAB software, other data processing software such as EXCEL or Origin can also be used. (3) Based on the multiple sets of test data, obtain k11 and k12 in the first function model.

[0131] In the second example, when the first infrared component IR0 is less than or equal to the threshold, the color temperature can be calculated using the following first function model: CCT=k21*(B / R)+k22, where k21 and k22 are coefficients.

[0132] In this example, k21 and k22 can be predetermined and stored. The method for fitting and determining k21 and k22 can be referenced in the example above.

[0133] In step S1201-3, after determining the first function model, the first color temperature CCT1 can be calculated based on the first channel data corresponding to the first channel and the first channel data corresponding to the third channel.

[0134] For example, in this step, if the first infrared component IR0 is greater than the threshold, the determined first function model is: CCT=k11*(B / R)+k12. Then the first color temperature CCT1=k11*(B1 / R1)+k12.

[0135] Using the above calculation method, the second color temperature CCT2 can be calculated as k11*(B2 / R2)+k12, and the target color temperature difference ΔCCT can be determined based on the first color temperature CCT1 and the second color temperature CCT2.

[0136] In one exemplary embodiment, such as Figure 4 As shown, step S1201 in this example may include the following steps:

[0137] S1201-5. Determine the first infrared component based on the first channel data corresponding to each photosensitive channel.

[0138] S1201-6. Determine the corresponding matrix coefficients based on the first infrared component.

[0139] S1201-7. Determine the first color coordinates based on the matrix coefficients.

[0140] S1201-8. Determine the first color temperature based on the first color coordinates and the second function model.

[0141] Unlike the previous embodiment which used a linear function model to calculate color temperature, this embodiment uses a matrix method to calculate color temperature. Both color temperature algorithms can be integrated into the processor of the electronic device for the processor to use.

[0142] The implementation of step S1201-5 can refer to step S1201-1 in the above embodiments, and will not be repeated here.

[0143] In steps S1201-6, the processor determines the range of color temperature based on the different infrared components (IR). For example, the infrared component in warm light is greater than that in cool light. During the matrix-based calculation of color temperature, the corresponding matrix coefficients may differ depending on the range of color temperature (although the form of the matrix coefficients is the same).

[0144] For example, let's take the case where the first infrared component IR1 is greater than the threshold, and the color temperature is in the warm light range. The matrix coefficients might take the following form:

[0145]

[0146] Where i and j represent the row and column of the matrix, and channel j represents the channel data of the j-th channel. Understandably, the first channel (R channel) of the first photosensitive element can be set to multiple times, the second channel (G channel) can be set to multiple times, and the third channel (B channel) can be set to multiple times. X represents the data corresponding to all the first channels (R channels) determined by matrix calculation, Y represents the data corresponding to all the second channels (G channels) determined by matrix calculation, and Z represents the data corresponding to all the third channels (B channels) determined by matrix calculation.

[0147] The channel data corresponding to each channel can be substituted into channel j to calculate the corresponding X, Y, and Z.

[0148] In steps S1201-7, the processor can call the calculation model of the color coordinates (x, y), for example: In this step, the processor, combining the corresponding first channel data and the determined X, Y, and Z coordinates from steps S1201-6, can further determine the first color coordinates (x1, y1). Similarly, the processor can determine the second color coordinates (x2, y2) based on the second channel data.

[0149] In steps S1201-8, the second function model can be a color temperature calculation model pre-existing in the electronic device, and the processor can call the second function model. The second function model calculates the color temperature (CCT) as follows:

[0150]

[0151] Where k1, k2, k3, k4, t1, t2, t3, t4, t5, and t6 are coefficients, which can be determined through MATLAB fitting. During the fitting process, the model is in exponential form, and the test data pairs consist of multiple sets of color coordinates obtained based on different first-channel data. The specific fitting process will not be detailed here.

[0152] Based on the second function model and the first color coordinates (x1, y1), the first color temperature CCT1 can be determined. Similarly, based on the second color coordinates (x2, y2), the second color temperature CCT2 can be determined. The target color temperature difference ΔCCT is then determined based on the first color temperature CCT1 and the second color temperature CCT2.

[0153] In an exemplary embodiment, step S1204 may include the following steps:

[0154] S1204-1. Obtain configuration information.

[0155] S1204-2. Based on the target color temperature difference and configuration information, determine the target power corresponding to the target color temperature difference in the configuration information.

[0156] In step S1204-1, the configuration information is used to characterize the mapping relationship between color temperature difference and reference emission power. The configuration information can be predetermined and stored in the memory of the electronic device. The processor of the electronic device retrieves this configuration information.

[0157] In this step, the color temperature difference is directly proportional to the emission power P; that is, the greater the emission power, the greater the color temperature difference, and thus the greater the resulting color temperature abrupt change. A large color temperature abrupt change leads to a greater degree of bright spots on the display screen, and more easily affects the screen's lifespan L. In other words, there is a direct proportional relationship, or a mapping relationship, between lifespan L, color temperature difference, and emission power P.

[0158] The target power is lower than the emission power threshold. The emission power threshold can be pre-tested and stored during the manufacturing process of electronic devices. The closer the emission power of the second photosensitive element is to the emission power threshold, the larger the detectable distance d, but the greater the potential for bright spots on the display screen. That is, the emission power P is directly proportional to the detection distance d. Here, the emission power P is a function of voltage and current, i.e., P = UI. Therefore, there is a direct proportional relationship between the lifespan L, color temperature difference, and emission power P(UI). A mapping table of lifespan L, color temperature difference, and emission power P(UI) can be stored during the testing process.

[0159] Therefore, during the configuration information acquisition process, an upper limit for the reference transmission power (transmission power threshold Pmax) and a lower limit (Pmin) can be set. Pmin should satisfy the condition that the second photosensitive element can effectively achieve distance detection at this power. Determining the target power within this range [Pmin, Pmax) ensures that the second photosensitive element functions normally without triggering bright spots on the screen or affecting the lifespan of the display.

[0160] In step S1204-2, after determining the target color temperature difference, the processor can determine the target power in the configuration information by looking up a table or by iterating through the query.

[0161] In an exemplary embodiment, step S120 may further include the following steps:

[0162] S1206. In each band within a preset wavelength range, determine the sum of channel data changes for multiple photosensitive channels.

[0163] S1207. Among the multiple transmit powers that correspond one-to-one with multiple bands, determine the target power that meets the preset conditions.

[0164] In step S1206, the preset wavelength range includes multiple bands. The preset wavelength range can be a system setting or a spectral division, such as the wavelength range of visible light. Assuming the preset wavelength range is [A, B], within the preset wavelength range, [A, B] is divided into multiple bands with a step size of N nm. The multiple bands are, for example, [A, A+N], (A+N, A+2N]...(B-2N, BN], (BN, B).

[0165] In this step, the processor determines the channel data change as the difference between the first channel data and the second channel data of each photosensitive channel. Referring to the aforementioned embodiment, the first photosensitive element includes multiple photosensitive channels. The processor can first determine the channel data change for each photosensitive channel in each band. For example, in the [A, A+N] band, the channel data change for the first channel is Δchannel 1, and the channel data change for the second channel is Δchannel 2. Then, the processor determines the sum of the channel data changes (SUM) for all photosensitive channels in this band, for example, denoted as:

[0166] i represents the photosensitive channel.

[0167] It is worth noting that, as described in the foregoing embodiments, each acquisition of a set of first channel data and second channel data constitutes one excitation process for the second photosensitive element. Within each wavelength band, the second photosensitive element may emit light or not. When it emits light, the amount of change in the channel data can be determined; when it does not emit light, it indicates that the second photosensitive element is not working in this wavelength band, and the amount of change in the channel data is small or zero. Therefore, during the summation process in different wavelength bands, the second photosensitive element may work multiple times.

[0168] In step S1207, each band corresponds to a SUM. Based on the determined SUM, the processor can determine whether the second photosensitive element is working in this band. For example, if SUM is greater than 0, it indicates that the second photosensitive element is working, and the transmission power in this band is determined.

[0169] In this step, the larger the SUM value, the greater the emission power of the second photosensitive element. The maximum value SUMax among multiple SUM values ​​can be determined, along with its corresponding maximum emission power P1. It is then determined whether P1 meets the preset conditions.

[0170] Preset conditions could be, for example, whether the lifespan L1 corresponding to the transmission power P1 is greater than the current lifespan of the display screen, but less than the theoretical lifespan of the display screen. If this condition is met, then the transmission power P1 is determined to be the target power.

[0171] In one exemplary embodiment, this disclosure also provides an adjustment device for a photosensitive element, applied to an electronic device including a display screen, such as... Figure 8 As shown, the apparatus of this embodiment includes: an acquisition module 110, a determination module 120, and a control module 130. The method of this embodiment is used to implement... Figure 1 The method is illustrated. The acquisition module 110 acquires first and second photosensitive information detected by the first photosensitive element. The first photosensitive information characterizes a scenario where the display screen shows preset content and the second photosensitive element is not emitting light; the second photosensitive information characterizes a scenario where the display screen shows preset content and the second photosensitive element is emitting light. Both the first and second photosensitive elements are positioned below the display screen. The field of view of the first photosensitive element includes the field of view of the second photosensitive element. The first photosensitive element includes multiple photosensitive channels. The determination module 120 determines the target power based on the first and second photosensitive information. The control module 130 controls the second photosensitive element to emit a light signal at the target power, wherein the target power is lower than the emission power threshold.

[0172] In one exemplary embodiment, reference is still made to... Figure 8 As shown, in this embodiment, the acquisition module is used to: acquire first channel data corresponding to each photosensitive channel in the first photosensitive element when the display screen displays preset content and the second photosensitive element does not emit light; and acquire second channel data corresponding to each photosensitive channel in the first photosensitive element when the display screen displays preset content and the second photosensitive element emits light. The multiple photosensitive channels in the first photosensitive element include: a first channel for detecting red light components, a second channel for detecting green light components, a third channel for detecting blue light components, and a fourth channel for detecting full-spectrum components.

[0173] In one exemplary embodiment, reference is still made to... Figure 8 As shown, the apparatus of this embodiment is used to implement as follows: Figure 2 The method is shown. The determining module 120 is used to: determine a first color temperature based on the first channel data corresponding to each photosensitive channel, as first photosensitive information; determine a second color temperature based on the second channel data corresponding to each photosensitive channel, as second photosensitive information; determine a target color temperature difference based on the first and second photosensitive information; and determine a target power corresponding to the target color temperature difference based on the target color temperature difference.

[0174] In an exemplary embodiment, still referring to the figures shown, the apparatus of this embodiment is used to implement as follows: Figure 3 The method shown. The determining module 120 is further configured to: determine a first infrared component based on the first channel data corresponding to each photosensitive channel; determine a corresponding first function model based on the first infrared component; and determine a first color temperature based on the first channel data corresponding to the first channel, the first channel data corresponding to the third channel, and the first function model.

[0175] In one exemplary embodiment, reference is still made to... Figure 8 As shown, the apparatus of this embodiment is used to implement as follows: Figure 4 The method shown. The determining module 120 is further configured to: determine a first infrared component based on the first channel data corresponding to each photosensitive channel; determine the corresponding matrix coefficients based on the first infrared component; determine the first color coordinates based on the matrix coefficients; and determine the first color temperature based on the first color coordinates and the second function model.

[0176] In this embodiment, the determining module 120 is further configured to: obtain configuration information, wherein the configuration information is used to characterize the mapping relationship between color temperature difference and reference emission power; and determine the target power corresponding to the target color temperature difference in the configuration information based on the target color temperature difference and the configuration information.

[0177] In an exemplary embodiment, still referring to the figure, the determining module 120 is further configured to: determine the sum of the channel data changes of multiple photosensitive channels in each band within a preset wavelength range, wherein the channel data change is the difference between the first channel data and the second channel data of each photosensitive channel, and the preset wavelength range includes multiple bands; and determine the target power that meets the preset conditions among the multiple emission powers corresponding to the multiple bands based on the sum of the channel data changes.

[0178] like Figure 9 The diagram shown is a block diagram of an electronic device. This disclosure also provides an electronic device, for example, device 500 may be a mobile phone, computer, digital broadcasting terminal, messaging device, game console, tablet device, medical device, fitness device, personal digital assistant, etc.

[0179] Device 500 may include one or more of the following components: processing component 502, memory 504, power component 506, multimedia component 508, audio component 510, input / output (I / O) interface 512, sensor component 514, and communication component 516.

[0180] Processing component 502 typically controls the overall operation of device 500, such as operations associated with display, telephone calls, data communication, camera operation, and recording. Processing component 502 may include one or more processors 520 to execute instructions to perform all or part of the steps of the methods described above. Furthermore, processing component 502 may include one or more modules to facilitate interaction between processing component 502 and other components. For example, processing component 502 may include a multimedia module to facilitate interaction between multimedia component 508 and processing component 502.

[0181] Memory 504 is configured to store various types of data to support the operation of device 500. Examples of this data include instructions for any application or method operating on device 500, contact data, phonebook data, messages, pictures, videos, etc. Memory 504 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 storage, flash memory, magnetic disk, or optical disk.

[0182] The power supply component 506 provides power to the various components of the device 500. The power supply component 506 may include a power management system, one or more power sources, and other components associated with generating, managing, and distributing power to the device 500.

[0183] Multimedia component 508 includes a screen that provides an output interface between device 500 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 touchscreen to receive input signals from the user. The touch panel includes one or more touch sensors to sense touches, swipes, and gestures on the touch panel. The touch sensors may sense not only the boundaries of touch or swipe actions but also the duration and pressure associated with the touch or swipe operation. In some embodiments, multimedia component 508 includes a front-facing camera and / or a rear-facing camera. When device 500 is in an operating mode, such as a shooting mode or a video mode, the front-facing camera and / or rear-facing camera may receive external multimedia data. Each front-facing camera and rear-facing camera may be a fixed optical lens system or have focal length and optical zoom capabilities.

[0184] Audio component 510 is configured to output and / or input audio signals. For example, audio component 510 includes a microphone (MIC) configured to receive external audio signals when device 500 is in an operating mode, such as call mode, recording mode, and voice recognition mode. The received audio signals may be further stored in memory 504 or transmitted via communication component 516. In some embodiments, audio component 510 also includes a speaker for outputting audio signals.

[0185] I / O interface 512 provides an interface between processing component 502 and peripheral interface modules, such as keyboards, click wheels, buttons, etc. These buttons may include, but are not limited to, home buttons, volume buttons, power buttons, and lock buttons.

[0186] Sensor assembly 514 includes one or more sensors for providing state assessments of various aspects of device 500. For example, sensor assembly 514 may detect the on / off state of device 500, the relative positioning of components such as the display and keypad of device 500, changes in the position of device 500 or a component of device 500, the presence or absence of user contact with device 500, the orientation or acceleration / deceleration of device 500, and temperature changes of device 500. Sensor assembly 514 may include a proximity sensor configured to detect the presence of nearby objects without any physical contact. Sensor assembly 514 may also include a light sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, sensor assembly 514 may also include an accelerometer, a gyroscope, a magnetometer, a pressure sensor, or a temperature sensor.

[0187] Communication component 516 is configured to facilitate wired or wireless communication between device 500 and other devices. Device 500 can access wireless networks based on communication standards, such as WiFi, 2G, or 3G, or combinations thereof. In one exemplary embodiment, communication component 516 receives broadcast signals or broadcast-related information from an external broadcast management system via a broadcast channel. In one exemplary embodiment, communication component 516 also includes a near-field communication (NFC) module to facilitate short-range communication. For example, the NFC module may be implemented based on radio frequency identification (RFID) technology, Infrared Data Association (IrDA) technology, ultra-wideband (UWB) technology, Bluetooth (BT) technology, and other technologies.

[0188] In an exemplary embodiment, device 500 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 methods described above.

[0189] Another exemplary embodiment of this disclosure provides a non-transitory computer-readable storage medium, such as a memory 504 including instructions that can be executed by a processor 520 of a device 500 to perform the described method. For example, the computer-readable storage medium may be a ROM, random access memory (RAM), CD-ROM, magnetic tape, floppy disk, or optical data storage device. When the instructions in the storage medium are executed by the processor of an electronic device, the electronic device is able to perform the described method.

[0190] Other embodiments of the invention will readily occur to those skilled in the art upon consideration of the specification and practice of the invention disclosed herein. This application is intended to cover any variations, uses, or adaptations of the invention that follow the general principles of the invention and include common knowledge or customary techniques in the art not disclosed herein. The specification and examples are to be considered exemplary only, and the true scope and spirit of the invention are indicated by the following claims.

[0191] It should be understood that the present invention is not limited to the precise structure described above and shown in the accompanying drawings, and various modifications and changes can be made without departing from its scope. The scope of the invention is limited only by the appended claims.

Claims

1. A method for adjusting a photosensitive element, characterized in that, Applied to electronic devices including displays, the method includes: Acquire first and second photosensitive information detected by a first photosensitive element. The first photosensitive information includes a first color temperature, and the second photosensitive information includes a second color temperature. The first photosensitive information characterizes a scenario where the display screen shows preset content and the second photosensitive element is not emitting light. The second photosensitive information characterizes a scenario where the display screen shows preset content and the second photosensitive element is emitting light. Both the first and second photosensitive elements are located below the display screen. The field of view of the first photosensitive element includes the field of view of the second photosensitive element. The first photosensitive element includes multiple photosensitive channels. The target power is determined based on the first photosensitive information and the second photosensitive information. The target power corresponds to the target color temperature difference, which is determined based on the first color temperature and the second color temperature. The second photosensitive element is controlled to emit an optical signal at the target power, wherein the target power is lower than the emission power threshold.

2. The adjustment method according to claim 1, characterized in that, The acquisition of the first photosensitive information and the second photosensitive information detected by the first photosensitive element includes: In a scenario where the display screen shows preset content and the second photosensitive element is not emitting light, acquire the first channel data corresponding to each photosensitive channel in the first photosensitive element; In a scenario where the display screen shows preset content and the second photosensitive element emits light, acquire the second channel data corresponding to each photosensitive channel in the first photosensitive element; The first photosensitive element includes multiple photosensitive channels: a first channel for detecting the red light component, a second channel for detecting the green light component, a third channel for detecting the blue light component, and a fourth channel for detecting the full spectrum component.

3. The adjustment method according to claim 2, characterized in that, Determining the target power based on the first photosensitive information and the second photosensitive information includes: The first color temperature is determined based on the first channel data corresponding to each photosensitive channel, and is used as the first photosensitive information; The second color temperature is determined based on the second channel data corresponding to each photosensitive channel, and is used as the second photosensitive information; The target color temperature difference is determined based on the first photosensitive information and the second photosensitive information; Based on the target color temperature difference, determine the target power corresponding to the target color temperature difference.

4. The adjustment method according to claim 3, characterized in that, The step of determining the first color temperature based on the first channel data corresponding to each photosensitive channel includes: The first infrared component is determined based on the data of the first channel corresponding to each photosensitive channel; Based on the first infrared component, determine the corresponding first function model; The first color temperature is determined based on the first channel data corresponding to the first channel, the first channel data corresponding to the third channel, and the first function model.

5. The adjustment method according to claim 3, characterized in that, The step of determining the first color temperature based on the first channel data corresponding to each photosensitive channel includes: The first infrared component is determined based on the data of the first channel corresponding to each photosensitive channel; Determine the corresponding matrix coefficients based on the first infrared component; The first color coordinates are determined based on the matrix coefficients; The first color temperature is determined based on the first color coordinates and the second function model.

6. The adjustment method according to claim 3, characterized in that, The step of determining the target power corresponding to the target color temperature difference based on the target color temperature difference includes: Obtain configuration information, wherein the configuration information is used to characterize the mapping relationship between color temperature difference and reference emission power; Based on the target color temperature difference and the configuration information, the target power corresponding to the target color temperature difference in the configuration information is determined.

7. The adjustment method according to claim 2, characterized in that, Determining the target power based on the first photosensitive information and the second photosensitive information includes: In each band within a preset wavelength range, the sum of channel data changes for multiple photosensitive channels is determined, wherein the channel data change is the difference between the first channel data and the second channel data for each photosensitive channel, and the preset wavelength range includes multiple bands; Based on the sum of the changes in the channel data, the target power that meets the preset conditions is determined from the multiple transmit powers corresponding to multiple bands.

8. An adjustment device for a photosensitive element, characterized in that, An electronic device including a display screen, the device comprising: An acquisition module is used to acquire first photosensitive information and second photosensitive information detected by a first photosensitive element. The first photosensitive information includes a first color temperature, and the second photosensitive information includes a second color temperature. The first photosensitive information is used to characterize the photosensitive information in a scenario where the display screen shows preset content and the second photosensitive element is not emitting light. The second photosensitive information is used to characterize the photosensitive information in a scenario where the display screen shows preset content and the second photosensitive element is emitting light. Both the first and second photosensitive elements are disposed below the display screen. The field of view of the first photosensitive element includes the field of view of the second photosensitive element. The first photosensitive element includes multiple photosensitive channels. The determining module is used to determine a target power based on the first photosensitive information and the second photosensitive information, wherein the target power corresponds to a target color temperature difference, and the target color temperature difference is determined based on the first color temperature and the second color temperature; A control module is used to control the second photosensitive element to emit an optical signal at the target power, wherein the target power is lower than the emission power threshold.

9. The adjusting device according to claim 8, characterized in that, The acquisition module is used for: In a scenario where the display screen shows preset content and the second photosensitive element is not emitting light, acquire the first channel data corresponding to each photosensitive channel in the first photosensitive element; In a scenario where the display screen shows preset content and the second photosensitive element emits light, acquire the second channel data corresponding to each photosensitive channel in the first photosensitive element; The first photosensitive element includes multiple photosensitive channels: a first channel for detecting the red light component, a second channel for detecting the green light component, a third channel for detecting the blue light component, and a fourth channel for detecting the full spectrum component.

10. The adjusting device according to claim 9, characterized in that, The determining module is used for: The first color temperature is determined based on the first channel data corresponding to each photosensitive channel, and is used as the first photosensitive information; The second color temperature is determined based on the second channel data corresponding to each photosensitive channel, and is used as the second photosensitive information; The target color temperature difference is determined based on the first photosensitive information and the second photosensitive information; Based on the target color temperature difference, determine the target power corresponding to the target color temperature difference.

11. The adjusting device according to claim 10, characterized in that, The determining module is also used for: The first infrared component is determined based on the data of the first channel corresponding to each photosensitive channel; Based on the first infrared component, determine the corresponding first function model; The first color temperature is determined based on the first channel data corresponding to the first channel, the first channel data corresponding to the third channel, and the first function model.

12. The adjusting device according to claim 10, characterized in that, The determining module is also used for: The first infrared component is determined based on the data of the first channel corresponding to each photosensitive channel; Determine the corresponding matrix coefficients based on the first infrared component; The first color coordinates are determined based on the matrix coefficients; The first color temperature is determined based on the first color coordinates and the second function model.

13. The adjusting device according to claim 10, characterized in that, The determining module is also used for: Obtain configuration information, wherein the configuration information is used to characterize the mapping relationship between color temperature difference and reference emission power; Based on the target color temperature difference and the configuration information, the target power corresponding to the target color temperature difference in the configuration information is determined.

14. The adjusting device according to claim 9, characterized in that, The determining module is also used for: In each band within a preset wavelength range, the sum of channel data changes for multiple photosensitive channels is determined, wherein the channel data change is the difference between the first channel data and the second channel data for each photosensitive channel, and the preset wavelength range includes multiple bands; Based on the sum of the changes in the channel data, the target power that meets the preset conditions is determined from the multiple transmit powers corresponding to multiple bands.

15. An electronic device, characterized in that, include: processor; Memory used to store the processor's executable instructions; The processor is configured to perform the adjustment method of the photosensitive element as described in any one of claims 1 to 7.

16. A non-transitory computer-readable storage medium, characterized in that, When the instructions in the storage medium are executed by the processor of the electronic device, the electronic device is able to perform the adjustment method of the photosensitive element as described in any one of claims 1 to 7.

Citation Information

Patent Citations

  • Distance state detection method and device, storage medium and electronic equipment

    CN107968883A

  • Distance sensor module, display device, electronic equipment and distance detection method

    CN112394845A

  • Light sensor system and method for processing light sensor signals

    US20150219492A1