Ambient light sensing assembly, terminal, ambient light detection method and device, medium and program product

By incorporating photoelectric conversion devices with different sensing angles into the ambient light sensing component, the problem of the inability to sense the direction of the light source in existing technologies is solved, enabling more precise display adjustment and privacy protection.

CN121933121APending Publication Date: 2026-04-28BEIJING XIAOMI MOBILE SOFTWARE CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
BEIJING XIAOMI MOBILE SOFTWARE CO LTD
Filing Date
2024-10-25
Publication Date
2026-04-28

AI Technical Summary

Technical Problem

In existing technologies, ambient light sensors can only detect the intensity of ambient light, but cannot detect the direction of ambient light sources.

Method used

An ambient light sensing component is designed, comprising first and second photoelectric conversion devices spaced apart, which receive light through different light-transmitting windows and have different light-sensing angle ranges. By combining the light-sensing angle and illuminance difference of the photoelectric conversion devices, the direction of the light source can be located.

Benefits of technology

By sensing the direction of the light source, the display brightness and angle of the terminal can be adjusted more accurately, reducing glare and enhancing user privacy protection.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN121933121A_ABST
    Figure CN121933121A_ABST
Patent Text Reader

Abstract

The invention relates to an ambient light sensing assembly, a terminal, an ambient light detection method and device, a medium and a program product. The ambient light sensing assembly comprises a first photoelectric conversion device and a second photoelectric conversion device which are arranged at an interval; the first photoelectric conversion device receives light transmitted from a first light-transmitting window, the second photoelectric conversion device receives light transmitted from a second light-transmitting window, the first light-transmitting window and the second light-transmitting window are arranged at an interval, and light is not transmitted between the first light-transmitting window and the second light-transmitting window; the photosensitive angle range of the first photoelectric conversion device based on the first light-transmitting window is different from the photosensitive angle range of the second photoelectric conversion device based on the second light-transmitting window. Through the device, the direction of the light source can be further positioned by combining the photosensitive angle range of each photoelectric conversion device and the detected illuminance with difference.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This disclosure relates to the field of terminal technology, and in particular to an ambient light sensing component, terminal, ambient light detection method and device, medium and program product. Background Technology

[0002] Ambient Light Sensors (ALS) can be used in various display devices such as mobile phones, tablets, and computers to sense the brightness and color temperature of ambient light, thereby adjusting the display brightness and color temperature of the display device, improving the user experience, and saving power consumption. Summary of the Invention

[0003] To overcome the problems existing in related technologies, this disclosure provides an ambient light sensing component, a terminal, an ambient light detection method and device, a medium, and a program product.

[0004] According to a first aspect of the present disclosure, an ambient light sensing component is provided, comprising: a first photoelectric conversion device and a second photoelectric conversion device disposed at a distance from each other; the first photoelectric conversion device receives light transmitted from a first light-transmitting window, and the second photoelectric conversion device receives light transmitted from a second light-transmitting window, the first light-transmitting window and the second light-transmitting window being disposed at a distance from each other and being opaque between the first light-transmitting window and the second light-transmitting window; the photosensitive angle range of the first photoelectric conversion device based on the first light-transmitting window is different from the photosensitive angle range of the second photoelectric conversion device based on the second light-transmitting window.

[0005] In some embodiments, both the first photoelectric conversion device and the second photoelectric conversion device are located near the opaque area between the first light-transmitting window and the second light-transmitting window.

[0006] In some embodiments, the first photoelectric conversion device is aligned with a first edge of the opaque region, and the second photoelectric conversion device is aligned with a second edge of the opaque region; wherein the first edge and the second edge are opposite edges.

[0007] In some embodiments, the first light-transmitting window and the second light-transmitting window have the same width.

[0008] In some embodiments, the distance between the first photoelectric conversion device and the first light-transmitting window is the same as the distance between the second photoelectric device and the second light-transmitting window.

[0009] In some embodiments, the first photoelectric conversion device and the second photoelectric conversion device have the same photosensitive size.

[0010] In some embodiments, the first photoelectric conversion device is a first ambient light sensor, and the second photoelectric conversion device is a second ambient light sensor.

[0011] In some embodiments, the ambient light sensing component is an ambient light sensor, the first photoelectric conversion device is a first photodiode of the ambient light sensor, and the second photoelectric conversion device is a second photodiode of the ambient light sensor; the ambient light sensing component includes: a substrate, an integrated circuit disposed on the substrate, and a first bracket, a second bracket, and a third bracket fixed on the substrate;

[0012] Wherein, the first photodiode and the second photodiode are devices of the integrated circuit; the first bracket and the second bracket form a first space with the first light-transmitting window, and the first photodiode is located in the first space; the second bracket and the third bracket form a second space with the second light-transmitting window, and the second photodiode is located in the second space.

[0013] According to a second aspect of the present disclosure, a terminal is provided, comprising: a display screen, a frame, a back cover, and an ambient light sensing component as described in any one of the first aspects; wherein the display screen and the back cover are fixed on opposite sides of the frame, and the ambient light sensing component is fixed within a cavity formed by the frame, the display screen, and the back cover.

[0014] In some embodiments, the display screen includes a cover plate and a display panel, the cover plate covering the display panel and forming a cavity with the frame and the back cover; the outer peripheral side of the display panel and the inner peripheral side of the frame are disposed opposite to each other and form a gap between them, and the ambient light sensing component is located at the gap.

[0015] In some embodiments, when the ambient light sensing component includes a first ambient light sensor and a second ambient light sensor, a light-shielding material is coated on the portion of the gap outside the first and second regions, wherein the first region forms the first light-transmitting window and the second region forms the second light-transmitting window; or, when the ambient light sensing component is a single ambient light sensor, a light-shielding material is coated on the portion of the gap outside the third region, wherein the position of the third region is relative to the position of the ambient light sensor.

[0016] In some embodiments, the display screen includes a cover plate and a display panel. The cover plate covers the display panel and, together with the frame and the back cover, forms the cavity. The ambient light sensing component is located on the side of the display panel away from the cover plate. The display panel includes a light-transmitting layer and a non-light-transmitting layer stacked together. The non-light-transmitting layer has an opening, and the position of the opening is opposite to the position of the ambient light sensing component.

[0017] In some embodiments, when the ambient light sensing component includes two ambient light sensors, the opaque layer is provided with two openings, one of which is positioned opposite to the position of one ambient light sensor; or, when the ambient light sensing component is a single ambient light sensor, the opaque layer is provided with a single opening, the single opening being positioned opposite to the position of the ambient light sensor.

[0018] According to a third aspect of the present disclosure, an ambient light detection method is provided, comprising:

[0019] A first preset photosensitive angle range of a first photoelectric conversion device and a second preset photosensitive angle range of a second photoelectric conversion device are obtained in an ambient light sensing component; wherein the first photoelectric conversion device and the second photoelectric conversion device are arranged at intervals in the ambient light sensing component, and the first preset photosensitive angle range and the second preset photosensitive angle range are different.

[0020] Acquire a first illuminance detected based on the first photoelectric conversion device, and a second illuminance detected based on the second photoelectric converter;

[0021] The incident direction of ambient light is determined based on the first illuminance and the second illuminance, as well as the first preset photosensitive angle range and the second preset photosensitive angle range.

[0022] In some embodiments, determining the incident direction of ambient light based on the first illuminance and the second illuminance, and the first preset photosensitive angle range and the second preset photosensitive angle range, includes:

[0023] In response to the alignment of the relative edges of the first photoelectric conversion device and the second photoelectric conversion device with the opaque area, the consistency of the parameters associated with the first photoelectric conversion device and the second photoelectric conversion device, and the fact that both the first illuminance and the second illuminance are less than a preset intensity threshold, it is determined that the incident angle of the ambient light exceeds the maximum photosensitive angle in the first preset photosensitive angle range and the second preset photosensitive angle range.

[0024] The opaque area is the region between the first light-transmitting window corresponding to the first photoelectric conversion device and the second light-transmitting window corresponding to the second photoelectric conversion device.

[0025] In some embodiments, determining the incident direction of ambient light based on the first illuminance and the second illuminance, and the first preset photosensitive angle range and the second preset photosensitive angle range, includes:

[0026] In response to the alignment of the relative edges of the first photoelectric conversion device and the second photoelectric conversion device with the opaque area, the consistency of the parameters associated with the first photoelectric conversion device and the second photoelectric conversion device, and the fact that one of the first illuminance and the second illuminance is less than a preset intensity threshold and the other illuminance is greater than or equal to the preset intensity threshold, the incident angle of the ambient light is determined to be between the first photosensitive angle and the second photosensitive angle.

[0027] Wherein, the first photosensitive angle is the minimum value between the maximum photosensitive angle in the first preset photosensitive angle range and the maximum photosensitive angle in the second preset photosensitive angle range; the second photosensitive angle is the maximum value between the maximum photosensitive angle in the first preset photosensitive angle range and the maximum photosensitive angle in the second preset photosensitive angle range; the opaque area is the area between the first light-transmitting window corresponding to the first photoelectric conversion device and the second light-transmitting window corresponding to the second photoelectric conversion device.

[0028] In some embodiments, determining the incident direction of ambient light based on the first illuminance and the second illuminance, and the first preset photosensitive angle range and the second preset photosensitive angle range, includes:

[0029] In response to the alignment of the relative edges of the first photoelectric conversion device and the second photoelectric conversion device with the opaque area, the consistency of the parameters associated with the first photoelectric conversion device and the second photoelectric conversion device, and the fact that the first illuminance and the second illuminance are both greater than or equal to a preset intensity threshold, the incident angle of the ambient light is determined based on the first illuminance and the second illuminance, as well as the target parameter among the associated parameters.

[0030] Wherein, the opaque area is the area between the first light-transmitting window corresponding to the first photoelectric conversion device and the second light-transmitting window corresponding to the second photoelectric conversion device; the target parameters include: the size of the first photoelectric conversion device and the distance between the first photoelectric conversion device and the first light-transmitting window.

[0031] In some embodiments, determining the incident direction of ambient light based on the first illuminance and the second illuminance, and the first preset photosensitive angle range and the second preset photosensitive angle range, includes:

[0032] In response to the presence of an illuminance not less than a preset intensity threshold between the first illuminance and the second illuminance, the relative distance between the ambient light and the first photoelectric conversion device and the second photoelectric conversion device is determined; wherein, the distance between the ambient light and the photoelectric conversion device with high illuminance is less than the distance between the ambient light and the photoelectric conversion device with low illuminance.

[0033] According to a fourth aspect of the present disclosure, an ambient light detection device is provided, comprising:

[0034] The first acquisition module is configured to acquire a first preset photosensitive angle range of a first photoelectric conversion device and a second preset photosensitive angle range of a second photoelectric conversion device in the ambient light sensing component; wherein the first photoelectric conversion device and the second photoelectric conversion device are arranged at intervals in the ambient light sensing component, and the first preset photosensitive angle range is different from the second preset photosensitive angle range.

[0035] The second acquisition module is configured to acquire a first illuminance detected based on the first photoelectric conversion device and a second illuminance detected based on the second photoelectric converter.

[0036] The determination module is configured to determine the incident direction of ambient light based on the first illuminance and the second illuminance, as well as the first preset photosensitive angle range and the second preset photosensitive angle range.

[0037] In some embodiments, the determining module is further configured to determine, in response to the following: the relative edges of the first photoelectric conversion device and the second photoelectric conversion device being aligned with the opaque area, the parameters associated with the first photoelectric conversion device and the second photoelectric conversion device being consistent, and the first illuminance and the second illuminance being less than a preset intensity threshold, that the incident angle of the ambient light exceeds the maximum photosensitive angle among the first preset photosensitive angle range and the second preset photosensitive angle range; wherein, the opaque area is the area between the first light-transmitting window corresponding to the first photoelectric conversion device and the second light-transmitting window corresponding to the second photoelectric conversion device.

[0038] In some embodiments, the determining module is further configured to determine the incident angle of the ambient light as being between a first photoelectric conversion device and a second photoelectric conversion device and the opaque area, in response to the following: the relative edges of the first photoelectric conversion device and the second photoelectric conversion device are aligned; the parameters associated with the first photoelectric conversion device and the second photoelectric conversion device are consistent; and one of the first illuminance and the second illuminance is less than a preset intensity threshold, while the other illuminance is greater than or equal to the preset intensity threshold. The first photoelectric conversion device is the minimum value between the maximum photoelectric conversion device within the first preset photoelectric conversion device range and the maximum photoelectric conversion device within the second preset photoelectric conversion device range; the second photoelectric conversion device is the maximum value between the maximum photoelectric conversion device within the first preset photoelectric conversion device range and the maximum photoelectric conversion device within the second preset photoelectric conversion device range; and the opaque area is the area between the first light-transmitting window corresponding to the first photoelectric conversion device and the second light-transmitting window corresponding to the second photoelectric conversion device.

[0039] In some embodiments, the determining module is further configured to, in response to the relative edge alignment of the first photoelectric conversion device and the second photoelectric conversion device with the opaque region, the consistency of the parameters associated with the first photoelectric conversion device and the second photoelectric conversion device, and the fact that both the first illuminance and the second illuminance are greater than or equal to a preset intensity threshold, determine the incident angle of the ambient light based on the first illuminance, the second illuminance, and a target parameter among the associated parameters; wherein the opaque region is the area between the first light-transmitting window corresponding to the first photoelectric conversion device and the second light-transmitting window corresponding to the second photoelectric conversion device; the target parameter includes: the size of the first photoelectric conversion device and the distance of the first photoelectric conversion device from the first light-transmitting window.

[0040] In some embodiments, the determining module is further configured to determine the relative distance between the ambient light and the first photoelectric conversion device and the second photoelectric conversion device in response to the presence of an illuminance not less than a preset intensity threshold in the first illuminance and the second illuminance; wherein the distance between the ambient light and the photoelectric conversion device with high illuminance is less than the distance between the ambient light and the photoelectric conversion device with low illuminance.

[0041] According to a fifth aspect of the present disclosure, a non-transitory computer-readable storage medium is provided, the storage medium storing a computer program or instructions that, when executed by a processor, implement the steps of the method described in any one of the third aspects.

[0042] According to a sixth aspect of the present disclosure, a computer program product is provided, including a computer program or instructions, which, when executed by a processor, implement the steps of the method described in any one of the third aspects.

[0043] The technical solutions provided by the embodiments of this disclosure may include the following beneficial effects:

[0044] In this embodiment of the present disclosure, based on the first photoelectric conversion device and the second photoelectric conversion device in the ambient light sensing component with inconsistent photosensitive angle ranges, the direction of the light source can be further located by combining the photosensitive angle ranges of each photoelectric conversion device and the detected illuminance with differences.

[0045] 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

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

[0047] Figure 1 This is an example diagram illustrating the working principle of an ambient light sensor.

[0048] Figure 2 This is an example diagram showing the illumination of an ambient light sensor.

[0049] Figure 3 This is an example diagram of an ambient light sensor stack in the case of an ink-based solution.

[0050] Figure 4 This is an example diagram of the stacking of ambient light sensors in an under-display solution.

[0051] Figure 5 This is a structural example of an ambient light sensing component in an embodiment of the present disclosure. Figure 1 .

[0052] Figure 6 This is a photosensitive example diagram of an ambient light sensing component according to an embodiment of the present disclosure.

[0053] Figure 7 This is the FOV curve of a typical transparently packaged ambient light sensor.

[0054] Figure 8 This is a structural example of an ambient light sensing component in an embodiment of the present disclosure. Figure 2 .

[0055] Figure 9 This is a structural example diagram of a terminal in an embodiment of this disclosure.

[0056] Figure 10 This is a flowchart of an ambient light detection method provided in an embodiment of the present disclosure.

[0057] Figure 11 This is a schematic diagram of an ambient light detection method provided in an embodiment of the present disclosure.

[0058] Figure 12 This is a diagram illustrating an ambient light detection device according to an exemplary embodiment. Detailed Implementation

[0059] 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 this disclosure. Rather, they are merely examples of components and methods consistent with some aspects of this disclosure as detailed in the appended claims.

[0060] Figure 1 An example diagram illustrating the working principle of an ambient light sensor, such as... Figure 1 As shown, the sensor includes a light source detector L11, a front-end interface L12, an analog-to-digital converter (ADC) L13, control logic and registers L14, and a host interface L15. The light source detector L11 receives ambient light and converts it into an electrical signal. The intensity of this electrical signal is proportional to the intensity of the received light. The light source detector L11 can be a photodiode (PD). The front-end interface L12 processes the converted electrical signal, potentially including preprocessing steps such as signal amplification and filtering to ensure signal accuracy and stability. The ADC L13 converts this preprocessed analog electrical signal into a digital signal. The control logic and registers L14 manages and controls the operation of the entire sensor, which may include configuring the sensor's operating mode and reading and storing the digital signal from the ADC. Finally, the host interface L15 allows the sensor to communicate with external terminal devices (such as mobile phones and tablets). This allows the terminal device to read the ambient light intensity information detected by the sensor and perform appropriate processing or reactions as needed.

[0061] Figure 2 An example diagram showing the illumination of an ambient light sensor, such as... Figure 2As shown, the light source illuminates the ambient light at a certain incident angle, and the distance between the light source and the ambient light sensor is L21. For a point light source, the ambient light sensor detects the illuminance as follows: (1)

[0062] E=Icos(θ) / (r^2) (1)

[0063] Where E is the illuminance detected by the ambient light sensor, I is the luminous intensity of the light source, θ is the angle between the normal to the surface of the ambient light sensor and the ray, and r is the distance between the ambient light sensor and the light source. Figure 2 L21 in the middle.

[0064] Currently, mobile phones or tablets and other terminal devices are usually equipped with one or more ambient light sensors. From the perspective of the stacking design of ambient light sensors, there are two main stacking methods: one is to place them under the ink in the narrow gap, and the other is to place them under the screen. Figure 3 This is an example diagram of an ambient light sensor stack in the case of an ink-based solution, such as... Figure 3 As shown, the ambient light sensor is placed below the transparent window of the ink. The size of the window needs to be controlled to ensure that the ambient light sensor has a sufficient field of view (FOV) L31. Figure 4 This is an example diagram of the stacking of ambient light sensors in an under-display solution, such as... Figure 4 As shown, the size of the window is controlled by the screen opening to ensure that the ambient light sensor has a sufficient field of view L41.

[0065] However, in related technologies, whether one or multiple ambient light sensors are set up, they can only sense the intensity of the ambient light, but cannot sense the direction of the ambient light source.

[0066] In response, this disclosure provides an ambient light sensing component 500. Figure 5 This is a structural example of an ambient light sensing component in an embodiment of the present disclosure. Figure 1 ,like Figure 5 As shown, it includes: a first photoelectric conversion device 501 and a second photoelectric conversion device 502 arranged at intervals; the first photoelectric conversion device 501 receives light transmitted from a first light-transmitting window, and the second photoelectric conversion device 502 receives light transmitted from a second light-transmitting window, the first light-transmitting window and the second light-transmitting window are arranged at intervals, and there is no light transmission between the first light-transmitting window and the second light-transmitting window; the photosensitive angle range of the first photoelectric conversion device 501 based on the first light-transmitting window is different from the photosensitive angle range of the second photoelectric conversion device 502 based on the second light-transmitting window.

[0067] In some embodiments of this disclosure, both the first photoelectric conversion device 501 and the second photoelectric conversion device 502 can be independent ambient light sensors. For example, the first photoelectric conversion device 501 is a first ambient light sensor, and the second photoelectric conversion device 502 is a second ambient light sensor. In other embodiments of this disclosure, the first photoelectric conversion device 501 and the second photoelectric conversion device 502 can also be independent photodiodes. Furthermore, the first and second light-transmitting windows can be formed based on structures other than the ambient light sensing component 500, or they can be formed based on the structure of the ambient light sensing component 500 itself; this disclosure does not limit this aspect.

[0068] For example, the first and second light-transmitting windows can be formed based on structures other than the ambient light sensing component 500. For instance, the first and second light-transmitting windows can be formed based on an ink layer or opening in a terminal device on which the ambient light sensing component 500 is installed.

[0069] In this embodiment of the present disclosure, the first light-transmitting window and the second light-transmitting window are opaque. The first photoelectric conversion device 501 is photosensitive based on the first light-transmitting window, and the second photoelectric conversion device 502 is photosensitive based on the second light-transmitting window. However, in this embodiment of the present disclosure, the photosensitive angle range of the first photoelectric conversion device 501 based on the first light-transmitting window is different from the photosensitive angle range of the second photoelectric conversion device 502 based on the second light-transmitting window.

[0070] In some embodiments, the difference in the light-sensing angle range may be due to the different sizes of the first photoelectric conversion device 501 and the second photoelectric conversion device 502. In other embodiments, the difference may also be due to the different positions of the first photoelectric conversion device 501 relative to the first light-transmitting window and the second photoelectric conversion device 502 relative to the second light-transmitting window. For example, the two photoelectric conversion devices may be at different vertical distances from the light-transmitting windows, or the photoelectric conversion devices may be positioned differently in the horizontal direction relative to their respective light-transmitting windows. Of course, in embodiments of this disclosure, the difference in the light-sensing angle may also be due to a combination of the above factors.

[0071] like Figure 5 As shown in the figure, the first photoelectric conversion device 501 and the second photoelectric conversion device 502 have different sizes. The relative position of the first photoelectric conversion device 501 with the first light-transmitting window of width K1 is different from the relative position of the second photoelectric conversion device 502 with the second light-transmitting window of width K2. As can be seen from the figure, the light-sensing angle range of the first photoelectric conversion device 501 and the second photoelectric conversion device 502 is also different.

[0072] In this embodiment of the present disclosure, based on the first photoelectric conversion device 501 and the second photoelectric conversion device 502 in the ambient light sensing component 100 with inconsistent photosensitive angle ranges, the direction of the light source can be further located by combining the photosensitive angle ranges of each photoelectric conversion device and the detected illuminance with differences.

[0073] In some embodiments, the first photoelectric conversion device 501 and the second photoelectric conversion device 502 are both located near the opaque area between the first light-transmitting window and the second light-transmitting window.

[0074] In this embodiment, both the first photoelectric conversion device 501 and the second photoelectric conversion device 502 are located near the opaque area between the first and second light-transmitting windows. This opaque area may block light, resulting in different light-sensing angle ranges for the two photoelectric conversion devices. In this configuration, the position of the first photoelectric conversion device 501 relative to the first light-transmitting window differs from the position of the second photoelectric conversion device 502 relative to the second light-transmitting window.

[0075] In some embodiments, the first photoelectric conversion device 501 is aligned with the first edge of the opaque region, and the second photoelectric conversion device 502 is aligned with the second edge of the opaque region; wherein the first edge and the second edge are opposite edges.

[0076] In some embodiments, the first light-transmitting window and the second light-transmitting window have the same width.

[0077] In some embodiments, the distance between the first photoelectric conversion device 501 and the first light-transmitting window is the same as the distance between the second photoelectric device 502 and the second light-transmitting window.

[0078] In some embodiments, the first photoelectric conversion device 501 and the second photoelectric conversion device 502 have the same photosensitive size.

[0079] Figure 6 This is a photosensitive example diagram of an ambient light sensing component according to an embodiment of this disclosure, such as... Figure 6As shown, the first photoelectric conversion device 501 and the second photoelectric conversion device 502 can both be independent ambient light sensors, electrically connected to the circuit board in the device. As can be seen from the figure, the lengths of both the first photoelectric conversion device 501 and the second photoelectric conversion device 502 are d; the window widths of the first light-transmitting window 601 and the second light-transmitting window 602 are the same, both a; and the distance between the first photoelectric conversion device 501 and the first light-transmitting window is the same as the distance between the second photoelectric device 502 and the second light-transmitting window, both b; furthermore, the relative edges of the first photoelectric conversion device 501 and the second photoelectric conversion device 502 are aligned with those of 603, and the width difference between the first photoelectric conversion device 501 and the second photoelectric conversion device 502 and their respective light-transmitting windows is c.

[0080] Typically, photoelectric conversion devices have different responses to incident light at different angles. Figure 7 This is the FOV curve of a typical transparently packaged ambient light sensor. In the response curve shown by L71, the ambient light sensor detects the maximum illuminance when the light intensity is 1 and the incident angle is 0. As the incident angle changes, the detected illuminance changes. The illuminance E on the surface of the ambient light sensor can be expressed as df(θ), where d is the photosensitive length of the photoelectric conversion device and f(θ) is the luminous flux per unit length at the incident angle.

[0081] based on Figure 6 It can be seen that, for the first photoelectric conversion device 501, the relationship between the photosensitive angle and the illuminance can be established as follows (2):

[0082]

[0083] For the second photoelectric conversion device 503, the relationship between the photosensitive angle and the illuminance can be established as follows (3):

[0084]

[0085] Based on the above formula, it can be seen that the light-sensing angle range of the first photoelectric conversion device 501 is between 0° and arctan(d / b), and the light-sensing angle range of the second photoelectric conversion device 501 is between 0° and arctan((d+c) / b).

[0086] Understandably, based on Figure 6 The structural design allows for a simpler determination of the photosensitive angle range of the first photoelectric conversion device 501 and the second photoelectric conversion device 502.

[0087] It should be noted that the first photoelectric conversion device 501 may receive light leakage from the second light-transmitting window 602 above the second photoelectric conversion device 501, but this light is usually very small, so it is ignored in this embodiment; similarly, the light leakage from the first light-transmitting window 601 above the first photoelectric conversion device 502 received by the second photoelectric conversion device 502 is also ignored.

[0088] As mentioned above, the first photoelectric conversion device 501 and the second photoelectric conversion device 502 can also be independent photodiodes. Furthermore, the first and second light-transmitting windows can be formed based on the structure of the ambient light sensing component 500 itself. Correspondingly, in some embodiments, the ambient light sensing component 500 is an ambient light sensor, the first photoelectric conversion device 501 is the first photodiode of the ambient light sensor, and the second photoelectric conversion device 502 is the second photodiode of the ambient light sensor; the ambient light sensing component 500 includes: a substrate 503, an integrated circuit 504 disposed on the substrate 503, and a first support 505, a second support 506, and a third support 507 fixed on the substrate 503;

[0089] Wherein, the first photodiode 501 and the second photodiode 502 are devices of the integrated circuit 504; the first bracket 505 and the second bracket 506 form a first space with the first light-transmitting window 508, and the first photodiode 501 is located in the first space; the second bracket 506 and the third bracket 507 form a second space with the second light-transmitting window 509, and the second photodiode 502 is located in the second space.

[0090] Figure 8 This is a structural example of an ambient light sensing component in an embodiment of the present disclosure. Figure 2 The ambient light sensing component 500 is an ambient light sensor, such as... Figure 8 The structure shown incorporates two photodiodes 501 and 502, which are mounted on an integrated circuit 504. This integrated circuit 504 can be an application-specific integrated circuit (ASIC). The integrated circuit 504 is supported by a substrate 504, which can be a silicon substrate, a glass substrate, or a ceramic substrate, etc. The embodiments disclosed herein are not limited to these.

[0091] In addition, such as Figure 8The ambient light sensing component 500, as shown in the diagram, also includes a first support 505, a second support 506, and a third support 507. These supports can be made of opaque materials; for example, a black plastic shell could be used for thinness and lightness. The first support 505 and the second support 506 form a first space with a first light-transmitting window 508, and the second support 506 and the third support 507 form a second space with a second light-transmitting window 509. Photodiodes 501 and 502 are located within the first and second spaces, respectively. In this structure, the first light-transmitting window 508 and the second light-transmitting window 509 are formed based on the structure of the ambient light sensing component 500 itself and are part of the ambient light sensing component 500.

[0092] It is understood that, in this embodiment of the disclosure, the integrated ambient light sensor facilitates installation in the terminal.

[0093] Figure 9 This is a structural example diagram of a terminal according to an embodiment of the present disclosure, such as... Figure 9 As shown, the terminal 900 includes a display screen 901, a frame 902, a back cover 903, and an ambient light sensing component 500 as described in any of the preceding items; wherein, the display screen 901 and the back cover 903 are fixed on opposite sides of the frame 902, and the ambient light sensing component 500 is fixed in the cavity formed by the frame 902, the display screen 901, and the back cover 903.

[0094] This disclosure does not limit the specific type of terminal. Terminal 900 may be a mobile phone, tablet computer, or wearable device, etc. Figure 9 This is an example diagram showing the exploded structure of a mobile phone in an embodiment of this disclosure, such as... Figure 9 As shown, the mobile phone includes a display screen 901, a frame 902, and a back cover 903. The frame 902 has a certain thickness. After the three components are installed, they form a cavity, and the ambient light sensor component 500 is located inside the cavity. It should be noted that the cavity of the terminal also includes a circuit board, such as a motherboard, and the ambient light sensor component 500 can be electrically connected to the motherboard.

[0095] In some embodiments, the display screen 901 includes a cover plate and a display panel. The cover plate covers the display panel and, together with the frame 902 and the back cover 903, forms the cavity. The outer peripheral side of the display panel is disposed opposite to the inner peripheral side of the frame 902 and forms a gap between them. The ambient light sensing component 500 is located at the gap.

[0096] In this embodiment of the disclosure, by setting the ambient light sensing component 500 in the gap between the display panel and the bezel 902, the manufacturing is simple and cost-effective. In addition, it is relatively independent and not easily affected by the internal structure of the screen.

[0097] In some embodiments, when the ambient light sensing component 500 includes a first ambient light sensor and a second ambient light sensor, a light-shielding material is coated on the portion of the gap outside the first and second regions, wherein the first region forms the first light-transmitting window and the second region forms the second light-transmitting window; or, when the ambient light sensing component is a single ambient light sensor, a light-shielding material is coated on the portion of the gap outside the third region, wherein the position of the third region is arranged relative to the position of the ambient light sensor.

[0098] In this embodiment, the light-shielding material can be ink. The purpose of coating the gaps with ink is to improve the appearance of the terminal and prevent the user from seeing the internal structure of the terminal. However, since an ambient light sensor component 500 is provided in the gaps, and the ambient light sensor component 500 needs to sense the external ambient light to work, this embodiment of the disclosure specifically sets the coating of the light-shielding material in the gaps based on the integration of the ambient light sensor component 500.

[0099] In the case where the ambient light sensing component 500 includes a first ambient light sensor and a second ambient light sensor, both sensors need to transmit light. Therefore, the first and second regions at the gap can be left uncoated with light-shielding material to form a first and a second light-transmitting window. However, in the case where the ambient light sensing component 500 is an integrated single ambient light sensor, as described above... Figure 8 Two light-transmitting windows have been provided, so that no light-blocking material can be applied to the third area opposite the position of the ambient light sensor at the gap, so that ambient light can be incident on the first and second light-transmitting windows of the ambient light sensing component 500.

[0100] In some embodiments, the display screen 901 includes a cover plate and a display panel. The cover plate covers the display panel and, together with the frame 902 and the back cover 903, forms the cavity. The ambient light sensing component 500 is located on the side of the display panel away from the cover plate. The display panel includes a light-transmitting layer and a non-light-transmitting layer stacked together. The non-light-transmitting layer is provided with an opening, and the position of the opening is opposite to the position of the ambient light sensing component 500.

[0101] In this embodiment of the disclosure, by setting an ambient light sensing component 500 below the display panel and sharing a portion of the structure with the display panel, this solution can improve the screen-to-body ratio of the display screen in the terminal.

[0102] In some embodiments, when the ambient light sensing component 500 includes two ambient light sensors, the opaque layer is provided with two openings, one of which is positioned opposite to the position of one ambient light sensor; or, when the ambient light sensing component is a single ambient light sensor, the opaque layer is provided with a single opening, the single opening being positioned opposite to the position of the ambient light sensor.

[0103] In this embodiment of the disclosure, for the under-display solution, the ambient light sensor 500 can detect the light source through the openings in the display panel. Similar to the aforementioned ink-based solution, the number and location of the openings can be specifically set based on the integration of the ambient light sensor 500.

[0104] Figure 10 A flowchart of an ambient light detection method provided in this disclosure embodiment is shown below. Figure 10 As shown, it includes the following steps:

[0105] S101. Obtain a first preset photosensitive angle range of the first photoelectric conversion device and a second preset photosensitive angle range of the second photoelectric conversion device in the ambient light sensing component; wherein the first photoelectric conversion device and the second photoelectric conversion device are arranged at intervals in the ambient light sensing component, and the first preset photosensitive angle range is different from the second preset photosensitive angle range.

[0106] S102. Obtain a first illuminance detected based on the first photoelectric conversion device and a second illuminance detected based on the second photoelectric converter;

[0107] S103. Based on the first illuminance and the second illuminance, as well as the first preset photosensitive angle range and the second preset photosensitive angle range, determine the incident direction of the ambient light.

[0108] In this embodiment, the ambient light detection method can be applied to the aforementioned terminal, or to other electronic devices communicatively connected to the aforementioned terminal. The electronic device can obtain the photosensitive angle range and illuminance information from the terminal, and further determine the incident direction of the ambient light. The electronic device can also feed back the determined incident direction to the terminal. This embodiment uses the application of the ambient light detection method in a terminal as an example for illustration.

[0109] In this embodiment of the disclosure, the ambient light sensing component can be any of the ambient light sensing components described in the foregoing embodiments.

[0110] In step S101, the terminal acquires a first preset photosensitive angle range of the first photoelectric conversion device and a second preset photosensitive angle range of the second photoelectric conversion device. As mentioned above, this can be based on the size of the photoelectric conversion devices in the aforementioned ambient light sensing component and / or the different positions of the two photoelectric conversion devices relative to their respective light-transmitting windows, resulting in different photosensitive angles. It should be noted that after the ambient light sensing component is installed in the terminal, the photosensitive angle ranges of the first and second photoelectric conversion devices are fixed.

[0111] In step S102, the terminal further acquires a first illuminance detected by a first photoelectric conversion device and a second illuminance detected by a second photoelectric conversion device. Then, in step S103, the incident direction of the ambient light is determined based on the first and second illuminances, as well as a first preset photosensitive angle range and a second preset photosensitive angle range. For example, the incident direction can be determined by combining the values ​​of the first and second illuminances with two preset photosensitive angle ranges; wherein the incident direction may include a specific incident angle, and may also include, for example, the relative positional relationship between the light source and the two photoelectric conversion devices.

[0112] It should be noted that, in this embodiment of the present disclosure, after the terminal determines the incident direction of the ambient light, it can assist in adjusting the terminal's display. For example, by sensing the incident direction of the ambient light, the terminal can adjust the display angle or brightness of the screen to reduce glare; or by sensing the incident direction of the ambient light, the terminal can take measures (such as adjusting the screen angle, adding a privacy protection mode, etc.) to enhance the user's privacy protection.

[0113] It is understood that in the embodiments of this disclosure, the illuminance sensed by the first photoelectric conversion device and the second photoelectric conversion device with different photosensitive angle ranges, combined with their respective preset photosensitive angle ranges, can determine the incident direction of ambient light, thereby helping to improve the intelligence of the terminal.

[0114] In some embodiments, determining the incident direction of ambient light based on the first illuminance and the second illuminance, and the first preset photosensitive angle range and the second preset photosensitive angle range, includes:

[0115] In response to the alignment of the relative edges of the first photoelectric conversion device and the second photoelectric conversion device with the opaque area, the consistency of the parameters associated with the first photoelectric conversion device and the second photoelectric conversion device, and the fact that both the first illuminance and the second illuminance are less than a preset intensity threshold, it is determined that the incident angle of the ambient light exceeds the maximum photosensitive angle in the first preset photosensitive angle range and the second preset photosensitive angle range.

[0116] The opaque area is the region between the first light-transmitting window corresponding to the first photoelectric conversion device and the second light-transmitting window corresponding to the second photoelectric conversion device.

[0117] In this embodiment, the parameters associated with the first photoelectric conversion device and the second photoelectric conversion device are consistent, including: the window widths of the first and second light-transmitting windows are consistent; the distance between the first photoelectric conversion device and the first light-transmitting window is the same as the distance between the second photoelectric device and the second light-transmitting window; the photosensitive sizes of the first and second photoelectric conversion devices are the same; and the FOV responses of the first and second photoelectric conversion devices may also be consistent. The relative edges of the first and second photoelectric conversion devices and the opaque area are aligned, and the parameters associated with the first and second photoelectric conversion devices are consistent, i.e., the aforementioned... Figure 6 The structure shown.

[0118] In this embodiment, the preset intensity threshold can be 0 or close to 0. Both the first illuminance and the second illuminance are less than the preset intensity threshold, indicating that the first and second photoelectric conversion devices in the ambient light sensing device can essentially not detect ambient light. Therefore, it can be determined that the incident angle of the ambient light exceeds the maximum sensing angle within the first and second preset sensing angle ranges. Combining the aforementioned formulas (2) and (3), it can be seen that the incident angle of the ambient light exceeds arctan((d+c) / b).

[0119] In some embodiments, determining the incident direction of ambient light based on the first illuminance and the second illuminance, and the first preset photosensitive angle range and the second preset photosensitive angle range, includes:

[0120] In response to the alignment of the relative edges of the first photoelectric conversion device and the second photoelectric conversion device with the opaque area, the consistency of the parameters associated with the first photoelectric conversion device and the second photoelectric conversion device, and the fact that one of the first illuminance and the second illuminance is less than a preset intensity threshold and the other illuminance is greater than or equal to the preset intensity threshold, the incident angle of the ambient light is determined to be between the first photosensitive angle and the second photosensitive angle.

[0121] Wherein, the first photosensitive angle is the minimum value between the maximum photosensitive angle in the first preset photosensitive angle range and the maximum photosensitive angle in the second preset photosensitive angle range; the second photosensitive angle is the maximum value between the maximum photosensitive angle in the first preset photosensitive angle range and the maximum photosensitive angle in the second preset photosensitive angle range; the opaque area is the area between the first light-transmitting window corresponding to the first photoelectric conversion device and the second light-transmitting window corresponding to the second photoelectric conversion device.

[0122] In this embodiment of the disclosure, the preset intensity threshold can be 0 or a value close to 0. Only one of the first and second illuminance is less than the preset intensity threshold, indicating that only one photoelectric conversion device in the ambient light sensing device detects ambient light. Therefore, based on… Figure 6 Based on the structure, the incident angle of the ambient light can be determined to be a relatively large angle. Combining the aforementioned formulas (2) and (3), it can be seen that the incident angle of the ambient light is between arctan(d / b) and arctan((d+c) / b).

[0123] In some embodiments, determining the incident direction of ambient light based on the first illuminance and the second illuminance, and the first preset photosensitive angle range and the second preset photosensitive angle range, includes:

[0124] In response to the alignment of the relative edges of the first photoelectric conversion device and the second photoelectric conversion device with the opaque area, the consistency of the parameters associated with the first photoelectric conversion device and the second photoelectric conversion device, and the fact that the first illuminance and the second illuminance are both greater than or equal to a preset intensity threshold, the incident angle of the ambient light is determined based on the first illuminance and the second illuminance, as well as the target parameter among the associated parameters.

[0125] Wherein, the opaque area is the area between the first light-transmitting window corresponding to the first photoelectric conversion device and the second light-transmitting window corresponding to the second photoelectric conversion device; the target parameters include: the size of the first photoelectric conversion device and the distance between the first photoelectric conversion device and the first light-transmitting window.

[0126] In this embodiment of the disclosure, the preset intensity threshold can be 0 or a value close to 0. Both the first illuminance and the second illuminance are greater than the preset intensity threshold, indicating that both photoelectric conversion devices in the ambient light sensing device have detected ambient light. Therefore, based on... Figure 6 The structure in the formula can be combined with the aforementioned formulas (2) and (3) to determine the incident angle of the ambient light based on the following formula (4):

[0127]

[0128] Where θ is the incident angle of ambient light; d is the size of the first photoelectric conversion device and the second photoelectric conversion device; b is the distance between the first photoelectric converter and the first light-transmitting window (the same as the distance between the second photoelectric converter and the second light-transmitting window); E1 is... Figure 6 The first illuminance detected by the first photoelectric conversion device 501, E2 is... Figure 6 The second illuminance is detected by the second photoelectric conversion device 502.

[0129] In some embodiments, determining the incident direction of ambient light based on the first illuminance and the second illuminance, and the first preset photosensitive angle range and the second preset photosensitive angle range, includes:

[0130] In response to the presence of an illuminance not less than a preset intensity threshold between the first illuminance and the second illuminance, the relative distance between the ambient light and the first photoelectric conversion device and the second photoelectric conversion device is determined; wherein, the distance between the ambient light and the photoelectric conversion device with high illuminance is less than the distance between the ambient light and the photoelectric conversion device with low illuminance.

[0131] In this embodiment of the disclosure, the preset intensity threshold can be 0 or a value close to 0. If there is an illuminance not less than the preset intensity threshold in the first illuminance and the second illuminance, it indicates that at least one photoelectric conversion device in the ambient light sensing device can detect ambient light. Then, the distance between the ambient light and the photoelectric conversion device with high illuminance is less than the distance between the ambient light and the photoelectric conversion device with low illuminance.

[0132] For example, Figure 6 In the structure shown, if E1 is less than E2, it means that the ambient light is closer to the second photoelectric conversion device 502; while if E1 is greater than E2, it means that the ambient light is closer to the first photoelectric conversion device 501. It should be noted that the ambient light at this time may be due to the presence of additional light sources such as lamps in the environment where the terminal is located, or the natural ambient light may exhibit inconsistencies at different angles due to obstruction.

[0133] Figure 11 This is a schematic diagram of an ambient light detection method provided in an embodiment of this disclosure. The diagram is based on the aforementioned... Figure 6 The structure is as follows: E1 corresponds to the first illuminance detected by the first photoelectric transfer device 501, and E2 corresponds to the second illuminance detected by the second photoelectric transfer device 502; ALS1 corresponds to the first photoelectric transfer device 501, ALS2 corresponds to the second photoelectric transfer device 502, α corresponds to the aforementioned arctan((d+c) / b), and β corresponds to the aforementioned arctan(d / b). Figure 11 As shown, the terminal reads the values ​​of E1 and E2 based on L110, and then based on... Figure 11 The method shown determines the incident angle corresponding to various E1 and E2 values, as well as the direction of the light source relative to ALS1 and ALS2. When E1 and E2 are not equal to 0, based on steps L111-L115, combined with the ratio of E1 to E2, the corresponding incident angle is calculated according to the aforementioned formula (4). In addition, the position of the light source relative to ALS1 and ALS2 can also be known. For the other various E1 and E2 values, the aforementioned description can be referred to.

[0134] Figure 12This is a diagram illustrating an ambient light detection device according to an exemplary embodiment. Figure 12 As shown, the ambient light detection device mainly includes:

[0135] The first acquisition module 1201 is configured to acquire a first preset photosensitive angle range of the first photoelectric conversion device and a second preset photosensitive angle range of the second photoelectric conversion device in the ambient light sensing component; wherein the first photoelectric conversion device and the second photoelectric conversion device are arranged at intervals in the ambient light sensing component, and the first preset photosensitive angle range is different from the second preset photosensitive angle range.

[0136] The second acquisition module 1202 is configured to acquire a first illuminance detected based on the first photoelectric conversion device and a second illuminance detected based on the second photoelectric converter.

[0137] The determination module 1203 is configured to determine the incident direction of ambient light based on the first illuminance and the second illuminance, as well as the first preset photosensitive angle range and the second preset photosensitive angle range.

[0138] In some embodiments, the determining module 1203 is further configured to determine, in response to the following: the relative edges of the first photoelectric conversion device and the second photoelectric conversion device being aligned with the opaque area, the parameters associated with the first photoelectric conversion device and the second photoelectric conversion device being consistent, and the first illuminance and the second illuminance being less than a preset intensity threshold, that the incident angle of the ambient light exceeds the maximum photosensitive angle in the first preset photosensitive angle range and the second preset photosensitive angle range; wherein, the opaque area is the area between the first light-transmitting window corresponding to the first photoelectric conversion device and the second light-transmitting window corresponding to the second photoelectric conversion device.

[0139] In some embodiments, the determining module 1203 is further configured to determine the incident angle of the ambient light as being between a first photoelectric conversion device and a second photoelectric conversion device and the opaque area, wherein the parameters associated with the first photoelectric conversion device and the second photoelectric conversion device are consistent, and one of the first illuminance and the second illuminance is less than a preset intensity threshold, and the other illuminance is greater than or equal to the preset intensity threshold; wherein the first photoelectric conversion angle is the minimum value between the maximum photoelectric conversion angle in the first preset photoelectric conversion angle range and the maximum photoelectric conversion angle in the second preset photoelectric conversion angle range; the second photoelectric conversion angle is the maximum value between the maximum photoelectric conversion angle in the first preset photoelectric conversion angle range and the maximum photoelectric conversion angle in the second preset photoelectric conversion angle range; and the opaque area is the area between the first light-transmitting window corresponding to the first photoelectric conversion device and the second light-transmitting window corresponding to the second photoelectric conversion device.

[0140] In some embodiments, the determining module 1203 is further configured to, in response to the relative edge alignment of the first photoelectric conversion device and the second photoelectric conversion device with the opaque area, the consistency of the parameters associated with the first photoelectric conversion device and the second photoelectric conversion device, and the fact that both the first illuminance and the second illuminance are greater than or equal to a preset intensity threshold, determine the incident angle of the ambient light based on the first illuminance, the second illuminance, and a target parameter among the associated parameters; wherein the opaque area is the area between the first light-transmitting window corresponding to the first photoelectric conversion device and the second light-transmitting window corresponding to the second photoelectric conversion device; the target parameter includes: the size of the first photoelectric conversion device and the distance of the first photoelectric conversion device from the first light-transmitting window.

[0141] In some embodiments, the determining module 1203 is further configured to determine the relative distance between the ambient light and the first photoelectric conversion device and the second photoelectric conversion device in response to the presence of an illuminance not less than a preset intensity threshold in the first illuminance and the second illuminance; wherein the distance between the ambient light and the photoelectric conversion device with high illuminance is less than the distance between the ambient light and the photoelectric conversion device with low illuminance.

[0142] Regarding the components in the above embodiments, the specific ways in which each module performs operations have been described in detail in the embodiments related to the method, and will not be elaborated here.

[0143] A non-transitory computer-readable storage medium, wherein instructions in the storage medium, when executed by a processor of an electronic device, enable the electronic device to perform any of the ambient light detection methods described in the embodiments of this disclosure.

[0144] This disclosure provides a computer program product comprising a computer program or executable instructions stored in a computer-readable storage medium. A processor of a computer device reads the computer program or executable instructions from the computer-readable storage medium and executes the computer program or executable instructions, causing the computer device to perform any of the ambient light detection methods described above in this disclosure.

[0145] Other embodiments of this disclosure will readily occur to those skilled in the art upon consideration of the specification and practice of the invention disclosed herein. This disclosure is intended to cover any variations, uses, or adaptations of this disclosure that follow the general principles of this disclosure 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 this disclosure are indicated by the claims.

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

Claims

1. An ambient light sensing component, characterized in that, include: A first photoelectric conversion device and a second photoelectric conversion device are arranged at intervals; the first photoelectric conversion device receives light transmitted from a first light-transmitting window, and the second photoelectric conversion device receives light transmitted from a second light-transmitting window, the first light-transmitting window and the second light-transmitting window are arranged at intervals, and there is no light transmission between the first light-transmitting window and the second light-transmitting window; the photosensitive angle range of the first photoelectric conversion device based on the first light-transmitting window is different from the photosensitive angle range of the second photoelectric conversion device based on the second light-transmitting window.

2. The component according to claim 1, characterized in that, Both the first photoelectric conversion device and the second photoelectric conversion device are located near the opaque area between the first light-transmitting window and the second light-transmitting window.

3. The component according to claim 2, characterized in that, The first photoelectric conversion device is aligned with the first edge of the opaque region, and the second photoelectric conversion device is aligned with the second edge of the opaque region; wherein the first edge and the second edge are opposite edges.

4. The component according to claim 1, characterized in that, The widths of the first and second light-transmitting windows are the same.

5. The component according to claim 1, characterized in that, The distance between the first photoelectric conversion device and the first light-transmitting window is the same as the distance between the second photoelectric device and the second light-transmitting window.

6. The component according to claim 1, characterized in that, The first photoelectric conversion device and the second photoelectric conversion device have the same photosensitive size.

7. The component according to any one of claims 1-6, characterized in that, The first photoelectric conversion device is a first ambient light sensor, and the second photoelectric conversion device is a second ambient light sensor.

8. The component according to any one of claims 1-6, characterized in that, The ambient light sensing component is an ambient light sensor, the first photoelectric conversion device is the first photodiode of the ambient light sensor, and the second photoelectric conversion device is the second photodiode of the ambient light sensor; The ambient light sensing component includes: a substrate, an integrated circuit disposed on the substrate, and a first bracket, a second bracket, and a third bracket fixed on the substrate; Wherein, the first photodiode and the second photodiode are devices of the integrated circuit; the first bracket and the second bracket form a first space with the first light-transmitting window, and the first photodiode is located in the first space; the second bracket and the third bracket form a second space with the second light-transmitting window, and the second photodiode is located in the second space.

9. A terminal, characterized in that, The device includes a display screen, a frame, a back cover, and an ambient light sensing component as described in any one of claims 1-8; wherein the display screen and the back cover are fixed on opposite sides of the frame, and the ambient light sensing component is fixed within a cavity formed by the frame, the display screen, and the back cover.

10. The terminal according to claim 9, characterized in that, The display screen includes a cover plate and a display panel. The cover plate covers the display panel and, together with the frame and the back cover, forms the cavity. The outer periphery of the display panel is disposed opposite to the inner periphery of the frame and forms a gap between them. The ambient light sensing component is located at the gap.

11. The terminal according to claim 10, characterized in that, When the ambient light sensing component includes a first ambient light sensor and a second ambient light sensor, the portion of the gap outside the first and second regions is coated with a light-shielding material, wherein the first region forms the first light-transmitting window and the second region forms the second light-transmitting window; or, when the ambient light sensing component is a single ambient light sensor, the portion of the gap outside the third region is coated with a light-shielding material, and the position of the third region is relative to the position of the ambient light sensor.

12. The terminal according to claim 9, characterized in that, The display screen includes a cover plate and a display panel. The cover plate covers the display panel and, together with the frame and the back cover, forms the cavity. The ambient light sensing component is located on the side of the display panel away from the cover plate. The display panel includes a light-transmitting layer and a non-light-transmitting layer stacked together. The non-light-transmitting layer has an opening, and the position of the opening is opposite to the position of the ambient light sensing component.

13. The terminal according to claim 12, characterized in that, When the ambient light sensing component includes two ambient light sensors, the opaque layer is provided with two openings, one of which is positioned opposite to the position of one ambient light sensor; or, when the ambient light sensing component is a single ambient light sensor, the opaque layer is provided with a single opening, the single opening being positioned opposite to the position of the ambient light sensor.

14. An ambient light detection method, characterized in that, The method includes: A first preset photosensitive angle range of a first photoelectric conversion device and a second preset photosensitive angle range of a second photoelectric conversion device are obtained in an ambient light sensing component; wherein the first photoelectric conversion device and the second photoelectric conversion device are arranged at intervals in the ambient light sensing component, and the first preset photosensitive angle range and the second preset photosensitive angle range are different. Acquire a first illuminance detected based on the first photoelectric conversion device, and a second illuminance detected based on the second photoelectric converter; The incident direction of ambient light is determined based on the first illuminance and the second illuminance, as well as the first preset photosensitive angle range and the second preset photosensitive angle range.

15. The method according to claim 14, characterized in that, Determining the incident direction of ambient light based on the first illuminance and the second illuminance, and the first preset photosensitive angle range and the second preset photosensitive angle range, includes: In response to the alignment of the relative edges of the first photoelectric conversion device and the second photoelectric conversion device with the opaque area, the consistency of the parameters associated with the first photoelectric conversion device and the second photoelectric conversion device, and the fact that both the first illuminance and the second illuminance are less than a preset intensity threshold, it is determined that the incident angle of the ambient light exceeds the maximum photosensitive angle in the first preset photosensitive angle range and the second preset photosensitive angle range. The opaque area is the region between the first light-transmitting window corresponding to the first photoelectric conversion device and the second light-transmitting window corresponding to the second photoelectric conversion device.

16. The method according to claim 14, characterized in that, Determining the incident direction of ambient light based on the first illuminance and the second illuminance, and the first preset photosensitive angle range and the second preset photosensitive angle range, includes: In response to the alignment of the relative edges of the first photoelectric conversion device and the second photoelectric conversion device with the opaque area, the consistency of the parameters associated with the first photoelectric conversion device and the second photoelectric conversion device, and the fact that one of the first illuminance and the second illuminance is less than a preset intensity threshold and the other illuminance is greater than or equal to the preset intensity threshold, the incident angle of the ambient light is determined to be between the first photosensitive angle and the second photosensitive angle. Wherein, the first photosensitive angle is the minimum value between the maximum photosensitive angle in the first preset photosensitive angle range and the maximum photosensitive angle in the second preset photosensitive angle range; the second photosensitive angle is the maximum value between the maximum photosensitive angle in the first preset photosensitive angle range and the maximum photosensitive angle in the second preset photosensitive angle range; the opaque area is the area between the first light-transmitting window corresponding to the first photoelectric conversion device and the second light-transmitting window corresponding to the second photoelectric conversion device.

17. The method according to claim 14, characterized in that, Determining the incident direction of ambient light based on the first illuminance and the second illuminance, and the first preset photosensitive angle range and the second preset photosensitive angle range, includes: In response to the alignment of the relative edges of the first photoelectric conversion device and the second photoelectric conversion device with the opaque area, the consistency of the parameters associated with the first photoelectric conversion device and the second photoelectric conversion device, and the fact that the first illuminance and the second illuminance are both greater than or equal to a preset intensity threshold, the incident angle of the ambient light is determined based on the first illuminance and the second illuminance, as well as the target parameter among the associated parameters. Wherein, the opaque area is the area between the first light-transmitting window corresponding to the first photoelectric conversion device and the second light-transmitting window corresponding to the second photoelectric conversion device; the target parameters include: the size of the first photoelectric conversion device and the distance between the first photoelectric conversion device and the first light-transmitting window.

18. The method according to claim 14, characterized in that, Determining the incident direction of ambient light based on the first illuminance and the second illuminance, and the first preset photosensitive angle range and the second preset photosensitive angle range, includes: In response to the presence of an illuminance not less than a preset intensity threshold between the first illuminance and the second illuminance, the relative distance between the ambient light and the first photoelectric conversion device and the second photoelectric conversion device is determined; wherein, the distance between the ambient light and the photoelectric conversion device with high illuminance is less than the distance between the ambient light and the photoelectric conversion device with low illuminance.

19. An ambient light detection device, characterized in that, The device includes: The first acquisition module is configured to acquire a first preset photosensitive angle range of a first photoelectric conversion device and a second preset photosensitive angle range of a second photoelectric conversion device in the ambient light sensing component; wherein the first photoelectric conversion device and the second photoelectric conversion device are arranged at intervals in the ambient light sensing component, and the first preset photosensitive angle range is different from the second preset photosensitive angle range. The second acquisition module is configured to acquire a first illuminance detected based on the first photoelectric conversion device and a second illuminance detected based on the second photoelectric converter. The determination module is configured to determine the incident direction of ambient light based on the first illuminance and the second illuminance, as well as the first preset photosensitive angle range and the second preset photosensitive angle range.

20. A non-transitory computer-readable storage medium storing a computer program or instructions, characterized in that, When the computer program or instructions in the storage medium are executed by a processor, the steps of the method according to any one of claims 14 to 18 are implemented.

21. A computer program product, comprising a computer program or instructions, characterized in that, When the computer program or instructions are executed by a processor, they implement the steps of the method according to any one of claims 14 to 18.