A processing method and electronic device
By correcting the ambient light detection value, the problem of inaccurate detection data of the light sensor is solved, and the display effect and user experience are improved.
Patent Information
- Application Number
- CN202211730856.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-12-30
- Publication Date
- 2025-01-21
- Estimated Expiration
- 2042-12-30
AI Technical Summary
The detection data of the light sensor is not accurate enough, which affects the user's user experience.
The ambient light detection value is obtained through the ambient light detection module, and is corrected according to the display information of the first display module to obtain the ambient light adjustment value.
The effect of light generated by the first display module on the display of the second display module is eliminated, thereby improving the display effect and user experience.
Smart Images

Figure CN115881009B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to a processing method and an electronic device. Background Art
[0002] Currently, the detection data of the light sensor can be used as a basis for adjusting the brightness of the display screen, so if the detection data of the light sensor is not accurate enough, it will affect the user experience. Summary of the invention
[0003] The purpose of the embodiments of the present application is to provide a processing method and an electronic device.
[0004] In a first aspect, an embodiment of the present application provides a processing method, including:
[0005] Obtaining an ambient light detection value through an ambient light detection module;
[0006] Obtaining display information of the first display module;
[0007] The ambient light detection value is corrected according to the display information to obtain an ambient light adjustment value.
[0008] In a possible implementation manner, the ambient light detection module is disposed in the first body, and the first display module is disposed in the second body. Before adjusting the ambient light detection value according to the display information, the method includes:
[0009] Obtaining relative posture information and display status, wherein the relative posture information includes the relative posture between the first body and the second body, and the display status includes whether the first display module is in a display state;
[0010] Determine whether to correct the ambient light detection value according to the relative posture information and the display state.
[0011] In a possible implementation manner, determining whether to correct the ambient light detection value according to the relative posture information and the display state includes:
[0012] Determine whether the projection of the ambient light detection module falls on the second body according to the relative posture information;
[0013] If the projection of the ambient light detection module falls on the second body and the first display module is in the display state, the ambient light detection value is corrected.
[0014] In a possible implementation, the correcting the ambient light detection value according to the display information includes:
[0015] Determine, according to the display information, the sub-luminous intensity corresponding to each pixel in the first display module;
[0016] Determining the total luminous intensity generated by the first display module based on the sub-luminous intensity generated by each pixel;
[0017] The ambient light detection value is corrected using the total luminous intensity.
[0018] In a possible implementation manner, the correcting the ambient light detection value by using the total luminous intensity includes:
[0019] Correcting the total luminous intensity based on a preset correction value to obtain a corrected total luminous intensity;
[0020] The ambient light detection value is adjusted based on the corrected total luminous intensity.
[0021] In a possible implementation manner, determining, according to the display information, the sub-luminous intensity generated by each pixel in the first display module includes:
[0022] Construct a three-dimensional coordinate system;
[0023] Determine first position information of the ambient light detection module in the three-dimensional coordinate system, and determine second position information of each pixel point in the first display module in the three-dimensional coordinate system;
[0024] Based on the first position information and the second position information, respectively determine the relative position relationship between each of the pixel points and the first body and the ambient light detection module;
[0025] Based on the relative position relationship and display information corresponding to each pixel point, the sub-luminous intensity generated by each pixel point is determined.
[0026] In a possible implementation, the pixel point and the ambient light detection module form a connecting line, and the relative position relationship includes: a first angle between the connecting line and the first body, a second angle between the connecting line and the second body, and a distance between the pixel point and the ambient light detection module;
[0027] The display information includes the color and brightness of the pixel.
[0028] In a possible implementation manner, the processing method further includes:
[0029] According to the ambient light adjustment value, a display parameter of a second display module is adjusted, wherein the second display module is disposed on the first body.
[0030] In a second aspect, an embodiment of the present application further provides an electronic device, including:
[0031] The first body is provided with an ambient light detection module;
[0032] A second body connected to the first body, with a first display module disposed on a first surface;
[0033] The processing module is disposed in the first body or the second body, and is used to correct the ambient light detection value obtained by the ambient light detection module according to the display information of the first display module to obtain an ambient light adjustment value.
[0034] In a possible implementation, the first body is provided with a second display module, and the processing module further adjusts display parameters of the second display module according to the ambient light adjustment value.
[0035] The embodiment of the present application utilizes the display information of the first display module to correct the ambient light detection value obtained by the ambient light detection module on the first body to obtain an ambient light adjustment value, thereby eliminating the influence of the light generated by the first display module on the display of the second display module set on the first body, and then being able to accurately adjust the display parameters of the second display module to improve the display effect and user experience. BRIEF DESCRIPTION OF THE DRAWINGS
[0036] In order to more clearly illustrate the technical solutions in the present application or 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 recorded in the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative labor.
[0037] Figure 1 A flowchart of a processing method provided by the present application is shown;
[0038] Figure 2 A flowchart of determining whether a current electronic device meets a condition for correcting an ambient light detection value in a processing method provided by the present application is shown;
[0039] Figure 3 A flow chart showing a method for correcting an ambient light detection value according to display information in a processing method provided by the present application is shown;
[0040] Figure 4 A schematic diagram of a three-dimensional coordinate system provided by the present application is shown;
[0041] Figure 5 A schematic diagram of the structure of an electronic device provided by the present application is shown;
[0042] Figure 6 A structural schematic diagram of another electronic device provided by the present application is shown. DETAILED DESCRIPTION
[0043] Various aspects and features of the present application are described herein with reference to the accompanying drawings.
[0044] It should be understood that various modifications may be made to the embodiments of the present application. Therefore, the above description should not be considered as limiting, but only as an example of an embodiment. Other modifications within the scope and spirit of the present application will occur to those skilled in the art.
[0045] The accompanying drawings, which are incorporated in and constitute a part of the specification, illustrate embodiments of the present application and, together with the general description of the present application given above and the detailed description of the embodiments given below, serve to explain the principles of the present application.
[0046] These and other characteristics of the present application will become apparent from the following description of a preferred form of embodiment given as a non-limiting example with reference to the accompanying drawings.
[0047] It should also be understood that, although the present application has been described with reference to some specific examples, those skilled in the art will be able to realize many other equivalent forms of the present application that have the features described in the claims and are therefore within the scope of protection defined thereby.
[0048] The above and other aspects, features and advantages of the present application will become more apparent in view of the following detailed description when taken in conjunction with the accompanying drawings.
[0049] Specific embodiments of the present application are described hereinafter with reference to the accompanying drawings; however, it should be understood that the embodiments applied for are merely examples of the present application, which may be implemented in a variety of ways. Well-known and / or repeated functions and structures are not described in detail to avoid unnecessary or redundant details that obscure the present application. Therefore, the specific structural and functional details applied for herein are not intended to be limiting, but merely serve as a basis and representative basis for the claims to teach those skilled in the art to use the present application in a variety of ways with substantially any suitable detailed structure.
[0050] This specification may use the phrases "in one embodiment," "in another embodiment," "in yet another embodiment," or "in other embodiments," all of which may refer to one or more of the same or different embodiments according to the present application.
[0051] The processing method provided in the embodiment of the present application can be used in an electronic device having at least one display module or in an electronic device including a light-emitting device other than a display module. Through the processing method provided in the embodiment of the present application, the influence of the display module and the light-emitting devices other than the display module on the ambient light detection module can be weakened or even eliminated, so that the final detection value is more consistent with the environment in which the electronic device is located, thereby improving the user experience.
[0052] To facilitate understanding of the present application, a processing method provided by the present application is first introduced in detail. Here, the execution subject of the embodiment of the present application can be an embedded controller of an electronic device, or a separately set processor, etc.
[0053] like Figure 1 As shown, it is a flowchart of the processing method provided in an embodiment of the present application, wherein the specific steps include S101-S103.
[0054] S101, obtaining an ambient light detection value through an ambient light detection module.
[0055] In a specific implementation, an electronic device such as a laptop computer is usually provided with an ambient light detection module, which collects ambient light information of the environment in which its corresponding display module is located, and then adjusts the display parameters of the display module according to the collected ambient light information.
[0056] In the embodiment of the present application, the ambient light detection value is also obtained by a pre-set ambient light detection module, and the ambient light detection value may include information such as the color and / or brightness of the ambient light.
[0057] S102: Obtain display information of a first display module.
[0058] In a specific implementation, the display information of the display module in the electronic device can be pre-set by the user or manufacturer, or can be automatically adjusted by the electronic device according to the current application scenario. Based on this, the display information of the first display module can be obtained in real time, for example, a request for obtaining the display information of the first display module is sent to the embedded controller of the electronic device, or a preset period is pre-set so that the embedded controller provides the display information of the first display module to the processor according to the preset period.
[0059] Here, the ambient light detection module is arranged on the first body, the first display module is arranged on the second body, the second body to which the first display module belongs is connected to the first body to which the ambient light detection module belongs, and optionally, one side of the first body is connected to one side of the second body. For example, in a dual-screen laptop computer, the first body has a surface A and a surface B, the second body has a surface C and a surface D, the ambient light detection module can be arranged on the surface B, and the first display module can be arranged on the surface C.
[0060] S103: Correct the ambient light detection value according to the display information to obtain an ambient light adjustment value.
[0061] In order to eliminate the influence of the light generated by the first display module on the detection result of the ambient light detection module, the embodiment of the present application is configured to correct the ambient light detection value according to the display information of the first display module to obtain a more accurate ambient light adjustment value.
[0062] In a specific implementation, before adjusting the ambient light detection value according to the display information, it is necessary to determine whether the current electronic device meets the conditions for correcting the ambient light detection value. As one example, according to Figure 2 The method flow chart shown is used to determine whether the current electronic device meets the conditions for correcting the ambient light detection value, wherein the specific steps include S201 and S202.
[0063] S201, obtaining relative posture information and display status, wherein the relative posture information includes the relative posture between the first body and the second body, and the display status includes whether the first display module is in a display state.
[0064] S202: Determine whether to correct the ambient light detection value according to the relative posture information and the display state.
[0065] For example, when the angle formed by the first body and the second body is greater than or equal to 90 degrees, the influence of the light generated by the first display module on the detection result of the ambient light detection module can be ignored or may not have any influence, and when the first display module is not running, that is, does not display any information, the first display module will not generate light, that is, it will not affect the detection result of the ambient light detection module. Therefore, it can be considered to select one or more of the above conditions as the basis for whether to calibrate the ambient light detection value.
[0066] Therefore, when determining whether the current electronic device meets the conditions for correcting the ambient light detection value, the embodiment of the present application can obtain relative posture information and display status, for example, wherein the relative posture information includes the relative posture between the first body and the second body, and the display status includes whether the first display module is in a display state, and then determine whether to correct the ambient light detection value based on the relative posture information and the display state. The method for obtaining the relative posture information and the display state can refer to the method for obtaining the display information of the first display module, and no further elaboration is given here.
[0067] As one example, when determining whether to correct the ambient light detection value based on the relative posture information and the display status, it is determined based on the relative posture information whether the projection of the ambient light detection module falls on the first surface of the second body (for example, the C surface of the notebook), and whether the display status of the first display module is displaying, and, when the projection of the ambient light detection module falls on the first surface and the display status of the first display module is displaying, the ambient light detection value is corrected.
[0068] Specifically, when the projection of the ambient light detection module represented by the relative posture information does not fall on the first surface of the second body, that is, the angle formed by the first body and the second body is greater than or equal to 90 degrees, and / or the display state of the first display module is not displayed, that is, it represents that the first display module does not display any information. At this time, the first display module will not affect the display of the second display module. Therefore, it is determined that there is no need to correct the ambient light detection value. When the projection of the ambient light detection module represented by the relative posture information falls on the first surface of the second body, that is, the angle formed by the first body and the second body is less than 90 degrees, and the display state of the first display module is displaying, that is, it represents that the first display module displays information. At this time, the light generated by the first display module will affect the display of the second display module. Therefore, it is determined that the ambient light detection value is corrected.
[0069] The embodiment of the present application utilizes the display information of the first display module to correct the ambient light detection value obtained by the ambient light detection module on the first body to obtain an ambient light adjustment value, thereby eliminating the influence of the light generated by the first display module on the display of the second display module set on the first body, and then being able to accurately adjust the display parameters of the second display module to improve the display effect and user experience.
[0070] Figure 3 A flow chart of a method for correcting an ambient light detection value according to display information is shown, wherein specific steps include S301-S303.
[0071] S301, determining the sub-luminous intensity generated by each pixel in the first display module according to display information.
[0072] S302: Determine the total luminous intensity generated by the first display module based on the sub-luminous intensity generated by each pixel.
[0073] S303: Correct the ambient light detection value using the total luminous intensity.
[0074] Here, each display module includes multiple pixels when displaying information. Therefore, the embodiment of the present application determines the sub-luminous intensity generated by each pixel in the first display module according to the display information to determine the impact of each pixel on the display of the second display module, thereby greatly improving the accuracy of the corrected ambient light adjustment value.
[0075] Optionally, construct a three-dimensional coordinate system such as Figure 4 A schematic diagram of a three-dimensional coordinate system is shown, in which the ABCD plane is the plane to which the first display module belongs, the ABEF plane is the plane to which the second display module belongs, the H point is the position of the ambient light detection module, and the origin of the three-dimensional coordinate system is set at the center of the first display module. Figure 4 This is only an example provided in the embodiment of the present application. The origin of the three-dimensional coordinate system may also be set at point B, point C, etc. of the first display module, and the embodiment of the present application does not specifically limit this.
[0076] In the constructed three-dimensional coordinate system, the first position information of the ambient light detection module in the three-dimensional coordinate system is determined, and the second position information of each pixel point in the first display module in the three-dimensional coordinate system is determined. The first position information and the second position information are both pre-set by the manufacturer of the electronic device and can be obtained directly based on the attribute information of the electronic device.
[0077] After determining the first position information and the second position information, the relative position relationship between each pixel and the first body and the ambient light detection module is determined based on the first position information and the second position information. The pixel and the ambient light detection module form a connecting line, and the relative position relationship includes: a first angle between the connecting line and the first body, a second angle between the connecting line and the second body, and a distance between the pixel and the ambient light detection module; the display information includes the color and brightness of the pixel.
[0078] For each pixel, the sub-luminous intensity generated by the pixel is determined based on the relative position relationship and display information corresponding to the pixel. Considering that non-monochromatic light is formed by the superposition of three monochromatic lights, R (red), G (green) and B (blue), the sub-luminous intensity generated by each pixel is calculated by the following formula (1).
[0079] Φ xy =p(β xy )(P xy (λ R )Vs(λ R )+P xy (λ G )Vs(λ G )+P xy (λ B )Vs(λB ))(1)
[0080] Among them, Φ xy Represents pixel a xy The luminous flux generated at xy ) indicates the pixel a measured at the factory xy β xy The light transmittance of the first display module, β xy represents the second angle, λ represents pixel a xy The light at R Represents pixel a xy The wavelength of red light, λ G Represents pixel a xy Green light wavelength, λ B Represents pixel a xy At the wavelength of blue light, P(λ) represents the radiation power, and Vs(λ) represents the relative visual sensitivity function. Among them, the sub-luminous intensity generated by the pixel point in the embodiment of the present application can be equivalent to the luminous flux generated at the pixel point.
[0081] After obtaining the sub-luminous intensity generated by each pixel, the total luminous intensity generated by the first display module is determined based on the sub-luminous intensity generated by each pixel. Optionally, the total illuminance is the sum of the sub-luminous intensities corresponding to all pixels.
[0082] After the total luminous intensity generated by the first display module is obtained, the ambient light detection value is corrected using the total luminous intensity, wherein the ambient light detection value includes the ambient light intensity collected by the ambient light detection module.
[0083] Here, considering that the total luminous intensity calculated above has a certain error, therefore, when using the total luminous intensity to correct the ambient light detection value, the total luminous intensity is first corrected using a preset correction value to obtain a corrected total luminous intensity, wherein the correction value includes a pre-calculated correction coefficient, a reference distance determined when calculating the correction coefficient, and the transmittance of the first display module. Specifically, the corrected total luminous intensity is calculated according to formulas (2)-(5), so that the ambient light detection value is corrected using the corrected total luminous intensity.
[0084]
[0085]
[0086] E s =E 11 +…+E mn (4)
[0087] E ′ =EE s (5)
[0088] Among them, E xy Represents pixel a xy The corrected sub-luminous intensity, k represents the correction factor, Φ xy Represents pixel a xy The luminous flux generated at xy ) indicates the pixel a measured at the factory xy β xy The light transmittance of the first display module, β xy represents the second angle, λ represents pixel a xy The light at R Represents pixel a xy The wavelength of red light, λ G Represents pixel a xy Green light wavelength, λ B Represents pixel a xy The wavelength of blue light, P(λ) represents the radiation power, Vs(λ) represents the relative visual acuity function, r xy Represents pixel a xy The distance from the ambient light detection module, θ xy represents the first angle, E s represents the corrected total luminous intensity of the first display module, E represents the ambient light intensity collected by the ambient light detection module, and E ′ It indicates that the ambient light adjustment value includes the corrected ambient light intensity, Φ0 indicates the reference luminous flux determined when calculating the correction coefficient, P0 indicates the reference radiation power determined when calculating the correction coefficient, r0 indicates the reference distance, x is 0-m, and y is 0-n.
[0089] The display part of the first display module includes m×n pixels, which are respectively denoted as a 11 ,…,a mn , the coordinates are (x 11 ,y 11 ,0),…,(x mn ,y mn ,0).
[0090] Through the above processing method, the ambient light adjustment value can be determined more accurately, that is, the total luminous intensity generated by the light of the first display module is eliminated, and then the display parameters of the second display module are adjusted based on the ambient light adjustment value, so as to achieve the purpose of eliminating the influence of the light generated by the first display module on the display of the second display module, thereby improving the display effect and user experience.
[0091] Based on the same inventive concept, the second aspect of the present application also provides an electronic device corresponding to a processing method. Since the principle of solving the problem by the electronic device in the present application is similar to the above-mentioned processing method of the present application, the implementation of the electronic device can refer to the implementation of the method, and the repeated parts will not be repeated.
[0092] Figure 5 A schematic diagram of an electronic device provided in an embodiment of the present application is shown, specifically comprising:
[0093] The first body 501 is provided with an ambient light detection module;
[0094] A second body 502, connected to the first body, with a first display module disposed on a first surface;
[0095] The processing module 503 is disposed in the first body or the second body, and is used to correct the ambient light detection value obtained by the ambient light detection module according to the display information of the first display module to obtain an ambient light adjustment value.
[0096] in, Figure 5 The example shown in FIG. 5 is a case where the processing module 503 is disposed in the second body 502 .
[0097] In another embodiment, the ambient light detection module is disposed in the first body, the first display module is disposed in the second body, and the processing module 503 further includes:
[0098] Obtaining relative posture information and display status, wherein the relative posture information includes the relative posture between the first body and the second body, and the display status includes whether the first display module is in a display state;
[0099] Determine whether to correct the ambient light detection value according to the relative posture information and the display state.
[0100] In yet another embodiment, when the processing module 503 determines whether to correct the ambient light detection value according to the relative posture information and the display state, it includes:
[0101] Determine whether the projection of the ambient light detection module falls on the second body according to the relative posture information;
[0102] If the projection of the ambient light detection module falls on the second body and the first display module is in the display state, the ambient light detection value is corrected.
[0103] In yet another embodiment, when the processing module 503 corrects the ambient light detection value according to the display information, it includes:
[0104] Determine, according to the display information, the sub-luminous intensity corresponding to each pixel in the first display module;
[0105] Determining the total luminous intensity generated by the first display module based on the sub-luminous intensity generated by each pixel;
[0106] The ambient light detection value is corrected using the total luminous intensity.
[0107] In yet another embodiment, when the processing module 503 uses the total luminous intensity to correct the ambient light detection value, it includes:
[0108] Correcting the total luminous intensity based on a preset correction value to obtain a corrected total luminous intensity;
[0109] The ambient light detection value is adjusted based on the corrected total luminous intensity.
[0110] In yet another embodiment, when the processing module 503 determines the sub-luminous intensity generated by each pixel in the first display module according to the display information, it includes:
[0111] Construct a three-dimensional coordinate system;
[0112] Determine first position information of the ambient light detection module in the three-dimensional coordinate system, and determine second position information of each pixel point in the first display module in the three-dimensional coordinate system;
[0113] Based on the first position information and the second position information, respectively determine the relative position relationship between each of the pixel points and the first body and the ambient light detection module;
[0114] Based on the relative position relationship and display information corresponding to each pixel point, the sub-luminous intensity generated by each pixel point is determined.
[0115] In yet another embodiment, the pixel point and the ambient light detection module form a connecting line, and the relative position relationship includes: a first angle between the connecting line and the first body, a second angle between the connecting line and the second body, and a distance between the pixel point and the ambient light detection module;
[0116] The display information includes the color and brightness of the pixel.
[0117] In yet another embodiment, the first body is provided with a second display module, and the processing module 503 further adjusts the display parameters of the second display module according to the ambient light adjustment value.
[0118] The embodiment of the present application utilizes the display information of the first display module to correct the ambient light detection value obtained by the ambient light detection module on the first body to obtain an ambient light adjustment value, thereby eliminating the influence of the light generated by the first display module on the display of the second display module set on the first body, and then being able to accurately adjust the display parameters of the second display module to improve the display effect and user experience.
[0119] An embodiment of the present application provides a storage medium, which is a computer-readable medium and stores a computer program. When the computer program is executed by a processor, the method provided by any embodiment of the present application is implemented, including the following steps S11 to S13:
[0120] S11, obtaining an ambient light detection value through an ambient light detection module;
[0121] S12, obtaining display information of the first display module;
[0122] S13: Correct the ambient light detection value according to the display information to obtain an ambient light adjustment value.
[0123] The embodiment of the present application utilizes the display information of the first display module to correct the ambient light detection value obtained by the ambient light detection module on the first body to obtain an ambient light adjustment value, thereby eliminating the influence of the light generated by the first display module on the display of the second display module set on the first body, and then being able to accurately adjust the display parameters of the second display module to improve the display effect and user experience.
[0124] An embodiment of the present application provides an electronic device. The structural diagram of the electronic device can be as follows: Figure 6 As shown, at least a memory 601 and a processor 602 are included, the memory 601 stores a computer program, and the processor 602 implements the method provided by any embodiment of the present application when executing the computer program on the memory 601. Exemplarily, the steps of the electronic device computer program are as follows S21 to S23:
[0125] S21, obtaining an ambient light detection value through an ambient light detection module;
[0126] S22, obtaining display information of the first display module;
[0127] S23: Correct the ambient light detection value according to the display information to obtain an ambient light adjustment value.
[0128] The embodiment of the present application utilizes the display information of the first display module to correct the ambient light detection value obtained by the ambient light detection module on the first body to obtain an ambient light adjustment value, thereby eliminating the influence of the light generated by the first display module on the display of the second display module set on the first body, and then being able to accurately adjust the display parameters of the second display module to improve the display effect and user experience.
[0129] Optionally, in this embodiment, the above-mentioned storage medium may include, but is not limited to, various media that can store program codes, such as a U disk, a read-only memory (ROM), a random access memory (RAM), a mobile hard disk, a magnetic disk or an optical disk. Optionally, in this embodiment, the processor executes the method steps recorded in the above-mentioned embodiment according to the program code stored in the storage medium. Optionally, the specific examples in this embodiment can refer to the examples described in the above-mentioned embodiment and the optional implementation mode, and this embodiment is not repeated here. Obviously, those skilled in the art should understand that the above-mentioned modules or steps of the present application can be implemented with a general computing device, which can be concentrated on a single computing device, or distributed on a network composed of multiple computing devices. Optionally, they can be implemented with executable program codes of computing devices, so that they can be stored in a storage device and executed by the computing device, and in some cases, the steps shown or described can be executed in a different order from here, or they can be made into individual integrated circuit modules respectively, or multiple modules or steps in them can be made into a single integrated circuit module to implement. In this way, the present application is not limited to any specific combination of hardware and software.
[0130] In addition, although exemplary embodiments have been described herein, the scope includes any and all embodiments based on the present application with equivalent elements, modifications, omissions, combinations (e.g., various embodiments intersecting schemes), adaptations or changes. The elements in the claims will be interpreted broadly based on the language adopted in the claims, and are not limited to the examples described in this specification or during the implementation of the application, and the examples will be interpreted as non-exclusive. Therefore, this specification and examples are intended to be considered as examples only, and the true scope and spirit are indicated by the following claims and the full scope of their equivalents.
[0131] The above description is intended to be illustrative rather than restrictive. For example, the above examples (or one or more of them) can be used in combination with each other. For example, those of ordinary skill in the art can use other embodiments when reading the above description. In addition, in the above-mentioned specific embodiments, various features can be grouped together to simplify the application. This should not be interpreted as an intention that a disclosed feature that does not require protection is necessary for any claim. On the contrary, the subject matter of the present application may be less than all the features of a specific disclosed embodiment. Thus, the following claims are incorporated into the specific embodiments as examples or embodiments, wherein each claim is independently used as a separate embodiment, and it is considered that these embodiments can be combined with each other in various combinations or arrangements. The scope of the present application should be determined with reference to the attached claims and the full scope of equivalent forms granted by these claims.
[0132] Multiple embodiments of the present application are described in detail above, but the present application is not limited to these specific embodiments. Those skilled in the art can make various variations and modifications to the embodiments based on the concept of the present application, and these variations and modifications should all fall within the scope of protection required by the present application.
Claims
1. A processing method comprising: Obtaining an ambient light detection value through an ambient light detection module, wherein the ambient light detection module is disposed in the first body; Obtaining display information of a first display module, where the first display module is disposed on the second body; Correcting the ambient light detection value according to the display information to obtain an ambient light adjustment value; The correcting the ambient light detection value according to the display information includes: Determine, according to the display information, the sub-luminous intensity corresponding to each pixel in the first display module; Determining the total luminous intensity generated by the first display module based on the sub-luminous intensity generated by each pixel; Correcting the ambient light detection value using the total luminous intensity; The step of determining the sub-luminous intensity generated by each pixel in the first display module according to the display information includes: Construct a three-dimensional coordinate system; Determine first position information of the ambient light detection module in the three-dimensional coordinate system, and determine second position information of each pixel point in the first display module in the three-dimensional coordinate system; Based on the first position information and the second position information, respectively determine the relative position relationship between each of the pixel points and the first body and the ambient light detection module; Based on the relative position relationship and display information corresponding to each pixel point, the sub-luminous intensity generated by each pixel point is determined.
2. The processing method according to claim 1, before adjusting the ambient light detection value according to the display information, comprises: Obtaining relative posture information and display status, wherein the relative posture information includes the relative posture between the first body and the second body, and the display status includes whether the first display module is in a display state; Determine whether to correct the ambient light detection value according to the relative posture information and the display state.
3. The processing method according to claim 2, wherein determining whether to correct the ambient light detection value according to the relative posture information and the display state comprises: Determine whether the projection of the ambient light detection module falls on the second body according to the relative posture information; If the projection of the ambient light detection module falls on the second body and the first display module is in the display state, the ambient light detection value is corrected.
4. The processing method according to claim 1, wherein the correction of the ambient light detection value by using the total luminous intensity comprises: Correcting the total luminous intensity based on a preset correction value to obtain a corrected total luminous intensity, wherein the preset correction value includes a pre-calculated correction coefficient, a reference distance determined when calculating the correction coefficient, and a transmittance of the first display module; The ambient light detection value is adjusted based on the corrected total luminous intensity.
5. The processing method according to claim 1, wherein the pixel point and the ambient light detection module form a connection line, and the relative position relationship includes: a first angle between the connecting line and the first body, a second angle between the connecting line and the second body, and a distance between the pixel point and the ambient light detection module; The display information includes the color and brightness of the pixel.
6. The processing method according to any one of claims 1 to 5, further comprising: According to the ambient light adjustment value, a display parameter of a second display module is adjusted, wherein the second display module is disposed on the first body.
7. An electronic device comprising: The first body is provided with an ambient light detection module; A second body connected to the first body, with a first display module disposed on a first surface; a processing module, disposed in the first body or the second body, for correcting the ambient light detection value obtained by the ambient light detection module according to the display information of the first display module to obtain an ambient light adjustment value; When the processing module corrects the ambient light detection value according to the display information, it includes: Determine, according to the display information, the sub-luminous intensity corresponding to each pixel in the first display module; Determining the total luminous intensity generated by the first display module based on the sub-luminous intensity generated by each pixel; Correcting the ambient light detection value using the total luminous intensity; When the processing module determines the sub-luminous intensity generated by each pixel in the first display module according to the display information, it includes: Construct a three-dimensional coordinate system; Determine first position information of the ambient light detection module in the three-dimensional coordinate system, and determine second position information of each pixel point in the first display module in the three-dimensional coordinate system; Based on the first position information and the second position information, respectively determine the relative position relationship between each of the pixel points and the first body and the ambient light detection module; Based on the relative position relationship and display information corresponding to each pixel point, the sub-luminous intensity generated by each pixel point is determined. 8 . The electronic device according to claim 7 , wherein the first body is provided with a second display module, and the processing module further adjusts the display parameters of the second display module according to the ambient light adjustment value.
Citation Information
Patent Citations
Ambient light detection method and device and display screen compensation display method and device
CN114459600A
KR20200101263A