In-screen light sensation detection device and terminal equipment
By setting the light sensor in the display screen of the terminal device, sensing and regulating the ambient light, the screen ratio of the environmental light sensor set in the existing technology is reduced. Adapt to the combination of display effects.
Patent Information
- Application Number
- CN202411365023.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-09-27
- Publication Date
- 2025-01-21
AI Technical Summary
In existing terminal devices, ambient light sensors are usually set outside the display screen, resulting in a decrease in screen-to-body ratio and affecting the product's appearance and user experience.
A light sensor is provided in the display screen, and the display pixels are used to emit light to sense ambient light information, and the controller is used to adjust the illumination of the display pixels to adapt to the ambient light.
It achieves accurate acquisition of ambient light brightness without affecting the screen-to-body ratio, and improves user experience by adaptively adjusting the display effect.
Smart Images

Figure CN119339650A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of light sensing technology, and in particular to an in-screen light sensing detection device and a terminal device. Background Art
[0002] With the rapid development of electronic technology, electronic devices such as smart phones and tablet computers have become more and more popular. Among them, terminal devices such as smart phones and tablet computers all have display screens.
[0003] Usually, an ambient light sensor needs to be set on a terminal device with a display screen to detect the brightness and color temperature of the external ambient light, so that the electronic device can control the display parameters of the display screen according to the detected brightness and color temperature of the external ambient light, so that the display effect adapts to the external environment. However, the existing terminal devices on the market all set the ambient light sensor outside the display screen, such as the "bangs" at the top of the mobile phone display screen. As a result, the screen-to-body ratio of the terminal device is reduced, affecting the appearance of the product and the user experience. Summary of the invention
[0004] The present application provides an in-screen light sensing detection device and a terminal device, which can accurately obtain the ambient light brightness without affecting the screen-to-body ratio.
[0005] In a first aspect, an embodiment of the present application provides an in-screen light sensing detection device, comprising:
[0006] A display screen, comprising a plurality of display pixels arranged in an array, wherein the display pixels are used to emit display light;
[0007] A light sensor is arranged between adjacent display pixels and is used to sense ambient light information;
[0008] A memory for storing sensed ambient light information and control program instructions for display pixels; and
[0009] The controller is used to execute the control program instructions according to the sensed ambient light information to adjust the light emitting conditions of the display pixels so that the display effect of the display screen adapts to the current ambient light conditions.
[0010] In a second aspect, an embodiment of the present application provides a terminal device, which includes a main body, a display screen arranged on the main body, and a light sensing device as described above arranged on the main body, wherein the light sensing device is located in the terminal device and is covered by the display screen.
[0011] The above-mentioned in-screen light detection device uses a light sensor arranged in the display screen to detect the ambient light information of the scene in which the display screen is located, and adjusts the display condition of the display screen according to the ambient light information, thereby eliminating the need to occupy the display screen space on the front of the terminal device. On the basis of maintaining a high screen-to-body ratio, the display condition of the display screen can be adaptively adjusted according to the ambient light. BRIEF DESCRIPTION OF THE DRAWINGS
[0012] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on the structures shown in these drawings without paying any creative work.
[0013] Figure 1 A schematic diagram of the functional modules of the in-screen light sensing device provided in an embodiment of the present application.
[0014] Figure 2 A schematic diagram of the structure of a terminal device provided in an embodiment of the present application.
[0015] Figure 3 This is a flow chart of the detection method provided in the first embodiment of the present application.
[0016] Figure 4 This is a first sub-flowchart of the detection method provided in the first embodiment of the present application.
[0017] Figure 5 This is a second sub-flowchart of the detection method provided in the first embodiment of the present application.
[0018] Figure 6 A sub-flow chart of the detection method provided in the second embodiment of the present application.
[0019] Figure 7a-7b A partial schematic diagram of the detection method provided in the second embodiment of the present application.
[0020] Figure 8 A flow chart of a method for correcting the brightness of the screen provided in an embodiment of the present application.
[0021] The realization of the purpose, functional features and advantages of this application will be further explained in conjunction with embodiments and with reference to the accompanying drawings. DETAILED DESCRIPTION
[0022] In order to make the purpose, technical solutions and advantages of the present application more clearly understood, the present application is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not intended to limit the present application. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in the field without making creative work are within the scope of protection of the present application.
[0023] The terms "first", "second", "third", "fourth", etc. (if any) in the specification and claims of this application and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchangeable where appropriate. In other words, the described embodiments are implemented according to a sequence other than that illustrated or described herein. In addition, the terms "including" and "having" and any of their variations may also include other content. For example, a process, method, system, product or device that includes a series of steps or units is not necessarily limited to only those steps or units that are clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.
[0024] It should be noted that the descriptions involving "first", "second", etc. in this application are only for descriptive purposes and cannot be understood as indicating or implying their relative importance or implicitly indicating the number of technical features indicated. Therefore, the features defined as "first" and "second" may explicitly or implicitly include one or more of the features. In addition, the technical solutions between the various embodiments can be combined with each other, but they must be based on the ability of ordinary technicians in this field to implement them. When the combination of technical solutions is contradictory or cannot be implemented, it should be deemed that such combination of technical solutions does not exist and is not within the scope of protection required by this application.
[0025] Figure 1 A schematic diagram of functional modules of a terminal device to which the embodiments of the present application can be applied is shown. Figure 2 A schematic diagram of the structure of a terminal device provided in an embodiment of the present application.
[0026] like Figure 1 and Figure 2As shown, the terminal device 1000 includes a main body 200, a display screen 300 arranged on the main body 200, and an in-screen light sensing detection device 100 arranged inside the display screen 300. The in-screen light sensing detection device 100 includes a display screen 300, at least one light sensing sensor 10, a memory 20 and a controller 30. Among them, the display screen 300 includes a plurality of display pixels 301 arranged in an array, and the display pixels 301 are used to emit display light to display a picture. The light sensing sensor 10 is arranged in the display screen 300, for example: between two adjacent display pixels 301. The light sensing sensor 10 is used to sense ambient light information and provide a basis for the display screen 300 to adjust display parameters to adapt to ambient light conditions.
[0027] The position where the light sensor 10 is arranged in the display screen 300 is the light sensing area. It is understandable that the light sensor 10 can be concentrated in a certain local area in the display screen 300, or can be evenly distributed in different positions of the entire display screen, and this application does not make specific limitations on this.
[0028] Please see Figure 5 , which is a flow chart of a method for detecting an in-screen light-sensing brightness adjustment value executed by the controller provided in an embodiment of the present application. When the light sensor 10 senses the ambient light brightness, the brightness sensed by the light sensor 10 includes the brightness of the display screen 300 and the ambient light brightness. The display screen 300 of the terminal device 1000 may have abnormal brightness changes due to voltage drop and other reasons, so the calculated ambient light brightness will change accordingly. The method for detecting the in-screen light-sensing brightness adjustment value is used to detect and calculate the in-screen light-sensing brightness adjustment value of the display screen 300. The in-screen light-sensing brightness adjustment value is used to eliminate the influence of the display screen brightness on the ambient light brightness. It can be understood that the calculated in-screen light-sensing brightness adjustment value can be stored in the memory 20 of the terminal device 1000, and when the light sensor 10 senses the ambient light brightness, the actual ambient light brightness can be obtained by adjusting the sensed ambient light using the in-screen light-sensing brightness adjustment value. Among them, the display screen 300 includes a photosensitive area 310 and a non-photosensitive area 320. In this embodiment, the photosensitive area 310 is the display screen area that affects the light sensor 10 sensing ambient light, and the non-photosensitive area 320 is the display screen area that does not affect the light sensor 10 sensing ambient light. The method for detecting the light sensitivity brightness adjustment value in the screen specifically includes the following steps.
[0029] Step S102, calculate the brightness gain of the display screen. In this embodiment, the photosensitive area 310 of the display screen 300 is controlled to display a white image. When the photosensitive area 310 of the display screen 300 displays a white image, the brightness gain of each monochromatic light is obtained. Among them, each monochromatic light includes red light, green light, and blue light. Then, when the photosensitive area 310 displays a white image, the brightness gain of red light, the brightness gain of green light, and the brightness gain of blue light are obtained. How to obtain the brightness gain of red light, the brightness gain of green light, and the brightness gain of blue light will be described in detail below. After obtaining the brightness gain of red light, the brightness gain of green light, and the brightness gain of blue light, the sum of the brightness gains of each monochromatic light is used as the brightness gain. It can be understood that the image displayed by the display screen 300 can be formed by red light, green light, and blue light through different brightness ratios, and the red light, green light, and blue light all have an impact on the brightness of the display screen. Therefore, the sum of the brightness gains of each monochromatic light is used as the total brightness gain.
[0030] Step S104, the real-time actual brightness of the display screen is calculated according to the brightness gain and the real-time system brightness of the display screen. In this embodiment, the real-time actual brightness of the display screen is calculated according to the brightness gain and the real-time system brightness of the display screen using the first preset formula. Wherein, monochromatic light includes red light, green light, and blue light. In this embodiment, the first preset formula is: Light_REAL = Light_RET*(1+AG_R+AG_G+AG_B); wherein, Light_REAL represents the real-time actual brightness of the display screen, that is, the brightness of the display screen 300 displayed in real time after the abnormal brightness changes due to voltage drop and other reasons; Light_RET represents the real-time system brightness of the display screen. It can be understood that a system is installed in the terminal device 1000, and the system presets a display screen brightness value. The real-time system brightness of the display screen is the brightness of the display screen 300 controlled by the system according to the display screen brightness value. The display screen brightness values preset by different systems can be different or the same; AG_R represents the brightness gain of red light, AG_G represents the brightness gain of green light, and AG_B represents the brightness gain of blue light.
[0031] Step S106, calculate the screen light sensor brightness adjustment value according to the real-time system brightness of the display screen, the real-time actual brightness of the display screen, and the system maximum brightness of the display screen. In this embodiment, the screen light sensor brightness adjustment value is calculated according to the real-time system brightness of the display screen, the real-time actual brightness of the display screen, and the system maximum brightness of the display screen using a third preset formula, so as to obtain the degree of influence of the display screen 300 on the light sensor 10. In this embodiment, the third preset formula is: IV = Light_REAL * Light_RET / Light_MAX; wherein IV represents the screen light sensor brightness adjustment value; Light_MAX represents the system maximum brightness of the display screen, that is, the maximum value of the display screen brightness values preset by the system.
[0032] In the above embodiment, the real-time actual brightness of the display screen is calculated according to the brightness gain of the display screen and the real-time system brightness of the display screen, and then the screen light-sensing brightness adjustment value is calculated according to the real-time system brightness of the display screen, the real-time actual brightness of the display screen, and the system maximum brightness of the display screen, so as to obtain the degree of influence of the display screen on the ambient light brightness. By adjusting the brightness of the ambient light sensed by the light sensor according to the screen light-sensing brightness adjustment value, the actual ambient light brightness can be obtained, thereby reducing the interference of the display screen brightness on the ambient light brightness sensed by the light sensor, so as to make the acquisition of the ambient light brightness more accurate. When the display screen brightness is adjusted according to the ambient light brightness, the display screen brightness can be adjusted more accurately, so that the user has a better experience. In addition, the brightness gain of the display screen is also calculated using the gains of red light, green light, and blue light, respectively, so that the brightness gain of the display screen is more accurate.
[0033] Please refer to Figure 4 When a white image is displayed in the photosensitive area of the display screen, obtaining the brightness gain of each monochromatic light specifically includes the following steps.
[0034] Step S202: When the photosensitive area of the display screen displays a white image, the non-photosensitive area of the display screen is sequentially controlled to display the monochromatic light images corresponding to the respective monochromatic lights. In this embodiment, when the photosensitive area 310 of the display screen 300 displays a white image, the non-photosensitive area 320 of the display screen 300 is respectively controlled to display the red light image, the green light image, and the blue light image.
[0035] Step S204, when the photosensitive area of the display screen displays a white image and the non-photosensitive area of the display screen displays a monochromatic image, the background brightness of each monochromatic light is sensed. When the photosensitive area 310 of the display screen 300 displays a white image and the non-photosensitive area 320 of the display screen 300 displays a monochromatic image, the light sensor 10 senses the background brightness of each monochromatic light. In this embodiment, the light sensor 10 senses the background brightness in a dark environment, so the brightness sensed by the light sensor 10 is the background brightness of the display screen. Accordingly, when the photosensitive area of the display screen displays a white image and the non-photosensitive area of the display screen displays a red image, the light sensor 10 measures the red background brightness. When the photosensitive area of the display screen displays a white image and the non-photosensitive area of the display screen displays a green image, the light sensor 10 measures the green background brightness. When the photosensitive area of the display screen displays a white image and the non-photosensitive area of the display screen displays a blue image, the light sensor 10 measures the blue background brightness.
[0036] Step S206, fitting the background brightness of each monochromatic light three times to obtain the fitting brightness gain of each monochromatic light. In this embodiment, the red light background brightness, the green light background brightness, and the blue light background brightness are fitted three times to obtain the fitting brightness gain of red light, the fitting brightness gain of green light, and the fitting brightness gain of blue light.
[0037] In the above embodiment, the background brightness of each monochromatic light is directly used for fitting to obtain the fitting brightness gain of each monochromatic light, so as to obtain the brightness gain of the display screen. The amount of calculation is small and the light sensitivity brightness adjustment value in the screen can be accurately obtained.
[0038] Please refer to Figure 5 When a white image is displayed in the photosensitive area of the display screen, obtaining the brightness gain of each monochromatic light specifically includes the following steps.
[0039] Step S302, when the photosensitive area of the display screen displays a white image, the non-photosensitive area of the display screen is sequentially controlled to display a monochromatic light image of different grayscales corresponding to a monochromatic light. In this embodiment, when the photosensitive area 310 of the display screen 300 displays a white image, the non-photosensitive area 320 of the display screen 300 is respectively controlled to display red light images of different grayscales corresponding to red light, green light images of different grayscales corresponding to green light, and blue light images of different grayscales corresponding to blue light. Each monochromatic light can be set to 8-16 monochromatic light images of different grayscales. Preferably, each monochromatic light is set to 16 monochromatic light images of different grayscales.
[0040] Step S304, when the photosensitive area of the display screen displays a white image and the non-photosensitive area of the display screen displays a grayscale monochromatic light image corresponding to a monochromatic light, the grayscale background brightness of each monochromatic light is sensed. When the photosensitive area of the display screen displays a white image and the non-photosensitive area of the display screen displays a grayscale monochromatic light image corresponding to a monochromatic light, the light sensor 10 senses the grayscale background brightness of each monochromatic light. In this embodiment, the light sensor 10 senses the background brightness in a dark environment, so the brightness sensed by the light sensor 10 is the background brightness of the display screen. Accordingly, 16 different grayscale background brightnesses are measured for each monochromatic light. Among them, the 16 different grayscale background brightnesses measured by red light are expressed as MEAN_R1-MEAN_R16; the 16 different grayscale background brightnesses measured by green light are expressed as MEAN_G1-MEAN_G16; and the 16 different grayscale background brightnesses measured by blue light are expressed as MEAN_B1-MEAN_B16.
[0041] Step S306, average the background brightness of each grayscale of each monochromatic light to obtain the background brightness of each monochromatic light. In this embodiment, the 16 different grayscale background brightnesses measured by red light are averaged and expressed as MEAN_R; the 16 different grayscale background brightnesses measured by green light are averaged and expressed as MEAN_G; the 16 different grayscale background brightnesses measured by blue light are averaged and expressed as MEAN_B.
[0042] Step S308, the background brightness of each monochromatic light is fitted three times to obtain the fitted brightness gain of each monochromatic light. In this embodiment, the background brightness average value MEAN_R of the red light is fitted three times, and the brightness gain of the red light can be obtained as AG_R=a1*MEAN_R*MEAN_R+b1*MEAN_R+c1. The background brightness average value MEAN_G of the green light is fitted three times, and the brightness gain of the green light can be obtained as AG_G=a2*MEAN_G*MEAN_G+b2*MEAN_G+c2. The background brightness average value MEAN_B of the blue light is fitted three times, and the brightness gain of the blue light can be obtained as AG_B=a3*MEAN_B*MEAN_B+b3*MEAN_B+c3. Among them, a1, b1, c1, a2, b2, c2, a3, b3, c3 are all coefficients obtained by fitting.
[0043] In the above embodiment, by sensing the grayscale background brightness of each monochromatic light, taking the average value of the grayscale background brightness of each monochromatic light, and then using the average value of the grayscale background brightness of each monochromatic light to fit, the fitted brightness gain of each monochromatic light is obtained, thereby obtaining the brightness gain of the display screen, further improving the accuracy of the brightness of the display screen, and further improving the accuracy of the generated on-screen light sensitivity brightness adjustment value.
[0044] Please refer to Figure 6 and Figure 7a-7b , which is a flow chart and partial schematic diagram of the detection method provided in the second embodiment of the present application. The detection method provided in the second embodiment is different from the detection method provided in the first embodiment in that, in the detection method provided in the second embodiment, step S102 specifically includes the following steps.
[0045] Step S402, controlling the photosensitive area of the display screen to display a white image.
[0046] Step S404: When the light-sensitive area of the display screen displays a white image, the non-light-sensitive area of the display screen is controlled to display a black image.
[0047] Step S406, when the photosensitive area of the display screen displays a white image and the non-photosensitive area of the display screen displays a black image, the black background brightness is sensed. When the photosensitive area of the display screen displays a white image and the non-photosensitive area of the display screen displays a black image, the light sensor 10 senses the black background brightness. In this embodiment, the light sensor 10 senses the background brightness in a dark environment, so the brightness sensed by the light sensor 10 is the background brightness of the display screen. At this time, the brightness of the photosensitive area 310 of the display screen 300 is the brightest, and the measured black background brightness is expressed as MAX_L.
[0048] Step S408: When the light-sensitive area of the display screen displays a white image, the non-light-sensitive area of the display screen is controlled to display a white image.
[0049] Step S410, when the photosensitive area of the display screen displays a white image and the non-photosensitive area of the display screen displays a white image, the white background brightness is sensed. When the photosensitive area of the display screen displays a white image and the non-photosensitive area of the display screen displays a white image, the light sensor 10 senses the white background brightness. At this time, the brightness of the photosensitive area 310 of the display screen 300 is the darkest, and the measured white background brightness is represented as MIN_L.
[0050] Step S412, calculating the brightness gain of the display screen according to the black background brightness and the white background brightness. The brightness gain of the display screen is calculated as AG_RGB=(MAX_L-MIN_L) / MIN_L.
[0051] Then, in the detection method provided by the second embodiment, step S104 specifically uses the second preset formula to calculate the real-time actual brightness of the display screen according to the brightness gain, the real-time system brightness of the display screen, and the system maximum brightness of the display screen. In this embodiment, the second preset formula is: Light_REAL = Light_RET*(1+(MAX_L-MIN_L) / MIN_L); wherein, Light_REAL represents the real-time actual brightness of the display screen, that is, the brightness of the display screen 300 displayed in real time after the abnormal brightness changes due to voltage drop and other reasons; Light_RET represents the real-time system brightness of the display screen. It can be understood that a system is installed in the terminal device 1000, and the system presets a display screen brightness value. The real-time system brightness of the display screen is the brightness of the display screen 300 controlled by the system according to the display screen brightness value. The display screen brightness values preset by different systems can be different or the same; MAX_L represents the black background brightness, and MIN_L represents the white background brightness.
[0052] In the above embodiment, the brightness gain of the display screen is calculated by using the black background brightness and the white background brightness, which reduces the amount of calculation and can accurately obtain the light-sensing brightness adjustment value within the screen.
[0053] Please refer to Figure 8 , which is a flow chart of the method for correcting the brightness of the screen light perception provided in an embodiment of the present application. The method for correcting the brightness of the screen light perception is applied to a terminal device 1000 provided with a display screen 300, and the terminal device 1000 includes but is not limited to a mobile phone, a tablet computer, etc. The method for correcting the brightness of the screen light perception specifically includes the following steps.
[0054] Step S502 , using a light sensor disposed in the terminal device to sense ambient light and generate light-sensitive ambient light brightness. The light sensor 10 is located in the terminal device 1000 and is covered by the display screen 300 .
[0055] Step S504, adjusting the light-sensing ambient light brightness according to the light-sensing brightness adjustment value on the screen to generate the actual ambient light brightness. The light-sensing brightness adjustment value on the screen is obtained by using the detection method for the light-sensing brightness adjustment value on the screen as described in the above embodiment. In this embodiment, the actual ambient light brightness can be obtained by subtracting the light-sensing brightness adjustment value on the screen from the light-sensing ambient light brightness.
[0056] In the above embodiment, the real-time ambient light brightness is generated according to the screen light sensor brightness adjustment value and the light sensor ambient light brightness, thereby eliminating the influence of the display screen brightness deviation on the ambient light brightness sensed by the screen light sensor. By correcting the ambient light brightness by the screen light sensor brightness adjustment value, accurate ambient light brightness can be obtained, ensuring the stability and accuracy of the ambient light brightness measurement result of the light sensor, thereby providing guarantee for the brightness adjustment of the terminal device display screen.
[0057] Please refer to FIG. 7, which is a schematic diagram of the structure of the light sensing device provided in the embodiment of the present application. The light sensing device 100 includes a light sensor 10, a memory 20, and a controller 30. The light sensor 10 is used to sense ambient light; the memory 20 is used to store the on-screen light sensitivity brightness correction program instructions; and the controller 30 is used to execute the on-screen light sensitivity brightness correction program instructions to implement the on-screen light sensitivity brightness correction method described in the above embodiment.
[0058] In some embodiments, the controller 30 may be a central processing unit (CPU), a controller, a microcontroller, a microcontroller or other data processing chip, for running the on-screen light sensitivity brightness correction program instructions stored in the memory 20 .
[0059] The memory 20 includes at least one type of readable storage medium, which includes flash memory, hard disk, multimedia card, card-type memory (for example, SD or DX memory, etc.), magnetic memory, disk, optical disk, etc. In some embodiments, the memory 20 can be an internal storage unit of a computer device, such as a hard disk of a computer device. In other embodiments, the memory 20 can also be a storage device of an external computer device, such as a plug-in hard disk equipped on a computer device, a smart memory card (Smart Media Card, SMC), a secure digital (Secure Digital, SD) card, a flash card (FlashCard), etc. Further, the memory 20 can also include both an internal storage unit of a computer device and an external storage device. The memory 20 can not only be used to store application software and various types of data installed in the computer device, such as codes for realizing on-screen light sensitivity brightness correction, but can also be used to temporarily store data that has been output or is to be output.
[0060] Obviously, those skilled in the art can make various changes and modifications to the present application without departing from the spirit and scope of the present application. Thus, if these modifications and variations of the present application fall within the scope of the claims of the present application and their equivalents, the present application is also intended to include these modifications and variations.
[0061] The above examples are only preferred embodiments of the present application, and certainly cannot be used to limit the scope of rights of the present application. Therefore, equivalent changes made according to the claims of the present application still fall within the scope covered by the present application.
Claims
1. A light sensing device inside a screen, characterized in that: include: A display screen, comprising a plurality of display pixels arranged in an array, wherein the display pixels are used to emit display light; At least one light sensor, disposed between two adjacent display pixels, for sensing ambient light information; A memory, used to store the sensed ambient light information and control program instructions for display pixels; as well as The controller is used to execute the control program instructions according to the sensed ambient light information to adjust the light emitting conditions of the display pixels so that the display effect of the display screen adapts to the current ambient light conditions.
2. The light sensing device in the screen as claimed in claim 1, characterized in that: The controller is configured to: The brightness adjustment value of the display screen is calculated according to the real-time system brightness of the display screen, the real-time actual brightness of the display screen, and the system maximum brightness of the display screen.
3. The in-screen light sensing detection device according to claim 1, characterized in that: The controller is configured to: Calculating the brightness gain of the display screen specifically includes: Controlling the display screen to display a white image in a photosensitive area where a photosensitive sensor is provided; When the photosensitive area of the display screen displays a white image, controlling the light sensor to obtain the brightness gain of each monochromatic light, wherein each monochromatic light includes red light, green light and blue light; and The sum of the brightness gains of the monochromatic lights is taken as the brightness gain.
4. The in-screen light sensing detection device according to claim 3, characterized in that: When a photosensitive area of the display screen provided with a photosensitive sensor displays a white image, controlling the photosensitive sensor to obtain a brightness gain of each monochromatic light specifically includes: When the photosensitive area displays a white image, the non-photosensitive areas of the display screen are sequentially controlled to display the monochromatic light images corresponding to the respective monochromatic lights; When the light-sensitive area displays a white image and the non-light-sensitive area displays the monochromatic image, controlling the light sensor to sense the background brightness of each monochromatic light; and The background brightness of each monochromatic light is fitted three times to obtain the fitting brightness gain of each monochromatic light.
5. The screen light sensing detection device according to claim 3, characterized in that: When a photosensitive area of the display screen provided with a photosensitive sensor displays a white image, controlling the photosensitive sensor to obtain a brightness gain of each monochromatic light specifically includes: When the photosensitive area displays a white image, the non-photosensitive area of the display screen is controlled to display monochromatic light images of different grayscales corresponding to a monochromatic light in sequence; When the photosensitive area displays a white image and the non-photosensitive area displays a grayscale monochromatic light image corresponding to a monochromatic light, controlling the light sensor to sense the grayscale background brightness of each monochromatic light; Taking the average of the grayscale background brightness of each monochromatic light to obtain the background brightness of each monochromatic light; and The background brightness of each monochromatic light is fitted three times to obtain the fitting brightness gain of each monochromatic light.
6. The light sensing device in the screen as claimed in claim 3, characterized in that: The real-time actual brightness of the display screen is calculated according to the brightness gain and the real-time system brightness of the display screen: the real-time actual brightness of the display screen is calculated according to the brightness gain and the real-time system brightness of the display screen using a first preset formula, wherein the first preset formula is: Light_REAL=Light_RET*(1+AG_R+AG_G+AG_B); Among them, Light_REAL represents the real-time actual brightness of the display screen, Light_RET represents the real-time system brightness of the display screen, AG_R represents the brightness gain of red light, AG_G represents the brightness gain of green light, and AG_B represents the brightness gain of blue light.
7. The in-screen light sensing detection device according to claim 1, characterized in that: The controller is configured to: Calculating the brightness gain of the display screen specifically includes: Controlling the display screen to display a white image in a photosensitive area where a photosensitive sensor is provided; When the photosensitive area displays a white image, controlling the non-photosensitive area of the display screen to display a black image; When the light-sensitive area displays a white image and the non-light-sensitive area displays a black image, controlling the light-sensitive sensor to sense the brightness of the black background; When the photosensitive area displays a white image, controlling the non-photosensitive area to display a white image; When the light-sensitive area displays a white image and the non-light-sensitive area displays a white image, controlling the light-sensitive sensor to sense the brightness of the white background; The brightness gain of the display screen is calculated according to the black background brightness and the white background brightness.
8. The in-screen light sensing detection device according to claim 7, characterized in that: The real-time actual brightness of the display screen is calculated according to the brightness gain and the real-time system brightness of the display screen: The real-time actual brightness of the display screen is calculated according to the brightness gain and the real-time system brightness of the display screen using a second preset formula, wherein the second preset formula is: Light_REAL=Light_RET*(1+(MAX_L-MIN_L) / MIN_L); Wherein, Light_REAL represents the real-time actual brightness of the display screen, Light_RET represents the real-time system brightness of the display screen, MAX_L represents the black background brightness, and MIN_L represents the white background brightness.
9. The in-screen light sensing detection device according to claim 6 or 8, characterized in that: The screen light perception brightness adjustment value is calculated according to the real-time system brightness of the display screen, the real-time actual brightness of the display screen, and the system maximum brightness of the display screen: the screen light perception brightness adjustment value is calculated according to the real-time system brightness of the display screen, the real-time actual brightness of the display screen, and the system maximum brightness of the display screen using a third preset formula, wherein the third preset formula is: IV=Light_REAL*Light_RET / Light_MAX; Among them, IV represents the light sensitivity brightness adjustment value in the screen, and Light_MAX represents the system maximum brightness of the display screen.
10. A terminal device, characterized in that: The terminal device includes a main body and an in-screen light sensing detection device as described in any one of claims 1 to 9, which is arranged on the main body.