Brightness adjustment method and device, electronic equipment and storage medium
By detecting the gaze status of the display screen and determining the processing strategy based on the results, the problem of users not knowing or not meeting expectations during the brightness adjustment process is solved, and brightness adjustment in the user's perceived state is realized, improving the user experience.
Patent Information
- Application Number
- CN202311533168.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-11-16
- Publication Date
- 2025-05-16
AI Technical Summary
During the brightness adjustment process of existing electronic devices, users may not be aware of it or fail to meet expectations, resulting in poor user experience.
By detecting whether the display is in the gaze state, the processing strategy for the brightness adjustment event is determined based on the detection results, including responding to or not responding to the brightness adjustment event, and brightness adjustment is performed according to the ambient light intensity and brightness adjustment mode.
The brightness of the display screen is adjusted under the user's perception state, ensuring that the brightness adjustment achieves the best display effect and improving the user experience.
Smart Images

Figure CN120014993A_ABST
Abstract
Description
Technical Field
[0001] The present disclosure relates to the field of display technology, and in particular to a brightness adjustment method, device, electronic device and storage medium. Background Art
[0002] The display screen of an electronic device is used to display information such as images, videos, and text to users. In order to provide users with a more comfortable viewing experience, most existing electronic devices support users to adjust the brightness of the display screen according to their needs and actual usage environment. However, in addition to this, third-party applications in electronic devices will also adjust the brightness of the display screen according to their own needs. At this time, the user may not be aware of the set brightness value and it does not meet the user's expectations, resulting in a poor user experience. Summary of the invention
[0003] The present disclosure provides a brightness adjustment method, device, electronic device and storage medium to overcome the problems that during the brightness adjustment process of a display screen, the user is unaware, the user's expectations are not met and the user experience is poor.
[0004] According to a first aspect of an embodiment of the present disclosure, there is provided a brightness adjustment method, comprising:
[0005] In the case of detecting a brightness adjustment event for a display screen, detecting whether the display screen is in a gaze state, and obtaining a detection result; wherein the gaze state indicates that the sight direction of a human eye is toward a display surface of the display screen;
[0006] A processing strategy corresponding to the brightness adjustment event is determined according to the detection result.
[0007] In some embodiments, determining a processing strategy corresponding to the brightness adjustment event according to the detection result includes:
[0008] In a case where the detection result indicates that the display screen is in the gaze state, determining a triggering mode of the brightness adjustment event;
[0009] Based on the triggering mode, a processing strategy corresponding to the brightness adjustment event is determined.
[0010] In some embodiments, determining a triggering method of the brightness adjustment event includes:
[0011] In the case where a touch operation on a brightness control in the display screen is detected, determining that a triggering mode of the brightness adjustment event is a first triggering mode;
[0012] The determining, based on the triggering mode, a processing strategy corresponding to the brightness adjustment event includes:
[0013] When it is determined that the trigger mode is the first trigger mode, the brightness of the display screen is adjusted to the brightness value to be adjusted indicated by the brightness adjustment event.
[0014] In some embodiments, the brightness adjustment method further includes:
[0015] When it is determined that the triggering mode is the first triggering mode and the electronic device including the display screen is in an automatic adjustment mode, obtaining a current ambient light intensity;
[0016] Based on the brightness value to be adjusted and the ambient light intensity, fitting the current brightness curve to obtain a target brightness curve;
[0017] The current brightness curve is an automatic variation curve of the brightness in the automatic adjustment mode as the ambient light changes; and the target brightness curve is an automatic variation curve of the brightness after fitting as the ambient light changes.
[0018] In some embodiments, determining a triggering method of the brightness adjustment event includes:
[0019] In the case where it is detected that an application in the electronic device including the display screen triggers the brightness adjustment event, determining that the triggering mode of the brightness adjustment event is a second triggering mode;
[0020] The determining, based on the triggering mode, a processing strategy corresponding to the brightness adjustment event includes:
[0021] When it is determined that the trigger mode is the second trigger mode, not responding to the brightness adjustment event;
[0022] or,
[0023] When it is determined that the trigger mode is the second trigger mode, a processing strategy corresponding to the brightness adjustment event is determined based on the brightness adjustment mode of the electronic device.
[0024] In some embodiments, determining a processing strategy corresponding to the brightness adjustment event based on the brightness adjustment mode of the electronic device includes:
[0025] When the electronic device is in the automatic adjustment mode, not responding to the brightness adjustment event;
[0026] When the electronic device is in a manual adjustment mode, respond to the brightness adjustment event.
[0027] In some embodiments, responding to the brightness adjustment event includes:
[0028] Get the current ambient light intensity;
[0029] Obtaining a preset brightness value corresponding to the ambient light intensity on a current brightness curve; wherein the current brightness curve is an automatic change curve of brightness as the ambient light changes in the automatic adjustment mode;
[0030] The brightness of the display screen is adjusted based on the brightness value to be adjusted indicated by the brightness adjustment event and the preset brightness value.
[0031] In some embodiments, adjusting the brightness of the display screen based on the brightness value to be adjusted indicated by the brightness adjustment event and the preset brightness value includes:
[0032] Determine an average brightness value of the brightness value to be adjusted and the preset brightness value;
[0033] The brightness of the display screen is adjusted to the average brightness value.
[0034] In some embodiments, determining a processing strategy corresponding to the brightness adjustment event according to the detection result includes:
[0035] When the detection result indicates that the display screen is in a non-attention state, the brightness adjustment event is not responded to.
[0036] According to a second aspect of an embodiment of the present disclosure, there is provided a brightness adjustment device, comprising:
[0037] A detection module is configured to detect whether the display screen is in a gaze state when a brightness adjustment event for the display screen is detected, and obtain a detection result; wherein the gaze state indicates that the line of sight of the human eye is toward the display surface of the display screen;
[0038] The processing module is configured to determine a processing strategy corresponding to the brightness adjustment event according to the detection result.
[0039] In some embodiments, the processing module is further configured to:
[0040] In a case where the detection result indicates that the display screen is in the gaze state, determining a triggering mode of the brightness adjustment event;
[0041] Based on the triggering mode, a processing strategy corresponding to the brightness adjustment event is determined.
[0042] In some embodiments, the processing module is further configured to:
[0043] In the case where a touch operation on a brightness control in the display screen is detected, determining that a triggering mode of the brightness adjustment event is a first triggering mode;
[0044] When it is determined that the trigger mode is the first trigger mode, the brightness of the display screen is adjusted to the brightness value to be adjusted indicated by the brightness adjustment event.
[0045] In some embodiments, the processing module is further configured to:
[0046] When it is determined that the triggering mode is the first triggering mode and the electronic device including the display screen is in an automatic adjustment mode, obtaining a current ambient light intensity;
[0047] Based on the brightness value to be adjusted and the ambient light intensity, fitting the current brightness curve to obtain a target brightness curve;
[0048] The current brightness curve is an automatic variation curve of the brightness in the automatic adjustment mode as the ambient light changes; and the target brightness curve is an automatic variation curve of the brightness after fitting as the ambient light changes.
[0049] In some embodiments, the processing module is further configured to:
[0050] In the case where it is detected that an application in the electronic device including the display screen triggers the brightness adjustment event, determining that the triggering mode of the brightness adjustment event is a second triggering mode;
[0051] When it is determined that the trigger mode is the second trigger mode, not responding to the brightness adjustment event;
[0052] or,
[0053] When it is determined that the trigger mode is the second trigger mode, a processing strategy corresponding to the brightness adjustment event is determined based on the brightness adjustment mode of the electronic device.
[0054] In some embodiments, the processing module is further configured to:
[0055] When the electronic device is in the automatic adjustment mode, not responding to the brightness adjustment event;
[0056] When the electronic device is in a manual adjustment mode, respond to the brightness adjustment event.
[0057] In some embodiments, the processing module is further configured to:
[0058] Get the current ambient light intensity;
[0059] Obtaining a preset brightness value corresponding to the ambient light intensity on a current brightness curve; wherein the current brightness curve is an automatic change curve of brightness as the ambient light changes in the automatic adjustment mode;
[0060] The brightness of the display screen is adjusted based on the brightness value to be adjusted indicated by the brightness adjustment event and the preset brightness value.
[0061] In some embodiments, the processing module is further configured to:
[0062] Determine an average brightness value of the brightness value to be adjusted and the preset brightness value;
[0063] The brightness of the display screen is adjusted to the average brightness value.
[0064] In some embodiments, the processing module is further configured to:
[0065] When the detection result indicates that the display screen is in a non-attention state, the brightness adjustment event is not responded to.
[0066] According to a third aspect of an embodiment of the present disclosure, there is provided an electronic device, including:
[0067] processor;
[0068] a memory configured to store processor-executable instructions;
[0069] Wherein, the processor is configured to execute the brightness adjustment method described in the first aspect above when calling the executable instructions in the memory.
[0070] According to a fourth aspect of an embodiment of the present disclosure, a non-temporary computer-readable storage medium is provided. When instructions in the storage medium are executed by a processor of an electronic device, the electronic device can execute the brightness adjustment method described in the first aspect above.
[0071] The technical solution provided by the embodiments of the present disclosure may have the following beneficial effects:
[0072] The brightness adjustment method disclosed in the present invention, when a brightness adjustment event for a display screen is detected, detects whether the display screen is in a gaze state, obtains a detection result, and determines a processing strategy corresponding to the brightness adjustment event according to the detection result. The present invention determines a processing strategy for a brightness adjustment event based on whether the line of sight of a human eye is toward the display surface of the display screen, so that the brightness of the display screen can be adjusted under the user's perception state, so that the brightness adjustment achieves the best display effect.
[0073] It is to be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the present disclosure. BRIEF DESCRIPTION OF THE DRAWINGS
[0074] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present disclosure and, together with the description, serve to explain the principles of the present disclosure.
[0075] Figure 1 is a schematic diagram of a brightness adjustment method according to an exemplary embodiment. Figure 1 .
[0076] Figure 2 is a schematic diagram of a brightness adjustment method according to an exemplary embodiment. Figure 2 .
[0077] Figure 3 is a schematic diagram of a brightness adjustment method according to an exemplary embodiment. Figure 3 .
[0078] Figure 4 is a schematic structural diagram of a brightness adjustment device according to an exemplary embodiment.
[0079] Figure 5 The diagram is a schematic structural diagram of an electronic device according to an exemplary embodiment. DETAILED DESCRIPTION
[0080] Exemplary embodiments will be described in detail herein, examples of which are shown in the accompanying drawings. When the following description refers to the drawings, the same numbers in different drawings represent the same or similar elements unless otherwise indicated. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present disclosure. Instead, they are merely examples of devices and methods consistent with some aspects of the present disclosure as detailed in the appended claims.
[0081] In the specification, unless otherwise clearly stated, the terms "first" and "second" are used only to describe and distinguish constituent elements, and should not be understood as indicating an order. Unless otherwise clearly stated, the terms "connected", "fixed", etc. should be understood as having a broad meaning, including but not limited to directly, indirectly, detachably "connected", "fixed", etc.
[0082] Figure 1 The process of the brightness adjustment method according to an exemplary embodiment is shown as follows Figure 1 ,like Figure 1 As shown, the method mainly includes the following steps:
[0083] In step 101, when a brightness adjustment event for a display screen is detected, it is detected whether the display screen is in a gaze state to obtain a detection result; wherein the gaze state indicates that the line of sight of the human eye is toward the display surface of the display screen.
[0084] In this embodiment, the brightness adjustment event for the display screen can be actively triggered by the user, such as: the user touches the brightness control in the display screen to adjust the display screen brightness, the user adjusts the display screen brightness through a button with brightness adjustment function, the user wakes up the electronic device through voice and controls the display screen brightness, etc. It can also be triggered by an application with system permissions in the electronic device, such as: a video APP with system permissions adjusts the display screen brightness when playing a video, and a payment APP with system permissions adjusts the display screen brightness when scanning a QR code. Of course, applications without system permissions cannot write brightness values to adjust the brightness of the display screen. In addition, the brightness adjustment event can also be when the user pre-sets the electronic device to be in automatic brightness adjustment mode, and the control system in the electronic device actively triggers the adjustment of the display screen brightness.
[0085] Once the brightness adjustment event for the display screen is detected, it is started to detect whether the line of sight of the human eye is toward the display surface of the display screen. Specifically, the camera of the electronic device of the display screen is called to shoot the image to be detected containing the object to be used, and the key point detection is performed on the image to be detected, and the human eye area, human eye position and pupil position are determined. Based on the human eye area, human eye position and pupil position, the line of sight of the human eye (represented by two angles, vertical direction pitch and horizontal direction yaw) and the gaze point are determined. When the gaze point is located on the display surface of the display screen, it is determined that the display screen is in a gaze state, and when the gaze point is not located on the display surface of the display screen, it is determined that the display screen is in a non-gaze state. The entire detection process can be combined with image processing algorithms and machine learning techniques (neural network models) to obtain detection results.
[0086] In step 102, a processing strategy corresponding to the brightness adjustment event is determined according to the detection result.
[0087] In this embodiment, the processing strategy for the brightness adjustment event is determined based on whether the line of sight of the human eye is toward the display surface of the display screen. The processing strategy includes whether to respond to the brightness adjustment event, the response method to the brightness adjustment event (i.e., the brightness adjustment method), etc.
[0088] In some embodiments, Figure 2 As shown, step 102 includes:
[0089] In step 1021, when the detection result indicates that the display screen is in a gaze state, a triggering mode of a brightness adjustment event is determined.
[0090] In step 1022, based on the triggering mode, a processing strategy corresponding to the brightness adjustment event is determined.
[0091] In this embodiment, when the line of sight of the human eye is toward the display surface of the display screen, the triggering mode of the brightness adjustment event is determined, and different triggering modes correspond to different processing strategies. Generally speaking, the triggering modes are divided into user triggering and non-user triggering. The user triggering the brightness adjustment event can be a touch operation on the brightness control in the display screen, a key operation on the brightness key, sending a brightness adjustment instruction to the electronic device through voice, etc. The non-user triggering mode can be a system trigger of the electronic device itself, an application trigger in the electronic device, etc.
[0092] This embodiment responds to brightness adjustment events triggered by the user, and for brightness adjustment events not triggered by the user, it can choose to respond or not respond based on the application scenario, the type of application, the brightness adjustment mode of the electronic device, the user's brightness usage preference, etc.
[0093] In one embodiment, if Figure 2 As shown, step 102 also includes:
[0094] In step 1023, when the detection result indicates that the display screen is in a non-attention state, no response is given to the brightness adjustment event.
[0095] In this embodiment, since the line of sight of the human eye is not towards the display surface of the display screen, the brightness adjustment event in this state may be triggered by a user's incorrect operation (for example, accidentally touching the brightness control in the display screen, accidentally pressing the brightness button of the electronic device, etc.), or the brightness adjustment event is mistakenly triggered by the application program, and the brightness adjustment event is not responded to at this time.
[0096] In some embodiments, determining a triggering mode of a brightness adjustment event includes: when a touch operation on a brightness control in a display screen is detected, determining that the triggering mode of the brightness adjustment event is a first triggering mode; based on the triggering mode, determining a processing strategy corresponding to the brightness adjustment event, including: when the triggering mode is determined to be the first triggering mode, adjusting the brightness of the display screen to the brightness value to be adjusted indicated by the brightness adjustment event.
[0097] In this embodiment, once it is determined that the brightness adjustment event is a touch operation for the brightness control, such as dragging the brightness bar, clicking the brightness icon, etc., the triggering mode of the brightness adjustment event is determined to be the first triggering mode. That is, the first triggering mode can be understood as the user actively triggering the brightness adjustment event. Then, when a key operation of the brightness key of the electronic device for the display screen is detected, the triggering mode of the brightness adjustment event is also determined to be the first triggering mode. When a brightness adjustment instruction sent to the electronic device by voice is detected, the triggering mode of the brightness adjustment event is also determined to be the first triggering mode.
[0098] Respond to the brightness adjustment event triggered by the first triggering mode, that is, adjust the brightness of the display screen to the brightness value to be adjusted.
[0099] In one embodiment, the brightness adjustment method also includes: when it is determined that the trigger mode is the first trigger mode and the electronic device including the display screen is in the automatic adjustment mode, obtaining the current ambient light intensity; based on the brightness value to be adjusted and the ambient light intensity, fitting the current brightness curve to obtain the target brightness curve; wherein the current brightness curve is an automatic change curve in which the brightness changes with the ambient light in the automatic adjustment mode; the target brightness curve is the fitted automatic change curve in which the brightness changes with the ambient light.
[0100] In this embodiment, when it is determined that the trigger mode is the first trigger mode, the specific adjustment mode of the display brightness can be determined according to the brightness adjustment mode that the electronic device is currently in. When the electronic device is in the manual adjustment mode, the brightness of the display screen is directly changed using the brightness value to be adjusted indicated by the brightness adjustment event. When the electronic device is in the automatic adjustment mode, since there is a preset automatic change curve in which the brightness changes with the ambient light in the automatic adjustment mode, when the brightness value of the display screen is adjusted, the automatic change curve should also be adjusted accordingly. The automatic change curve adjusted in this way also implies the user's brightness usage habits. The electronic device adjusts the brightness of the display screen according to the automatic change curve, which not only meets the user's expectations, but also achieves the best display effect.
[0101] Specifically, the ambient light intensity can be obtained through the ambient light sensor of the electronic device, and the coordinate points corresponding to the ambient light intensity and the brightness value to be adjusted are inserted on the current brightness curve. The current brightness curve is fitted based on the coordinate points to obtain the target brightness curve. The electronic device then automatically adjusts the brightness of the display screen based on the target brightness curve.
[0102] In some embodiments, determining a triggering mode of a brightness adjustment event includes: in a case where it is detected that an application in an electronic device including a display screen triggers a brightness adjustment event, determining that the triggering mode of the brightness adjustment event is a second triggering mode; based on the triggering mode, determining a processing strategy corresponding to the brightness adjustment event, including: in a case where it is determined that the triggering mode is the second triggering mode, not responding to the brightness adjustment event; or, in a case where it is determined that the triggering mode is the second triggering mode, determining a processing strategy corresponding to the brightness adjustment event based on the brightness adjustment mode in which the electronic device is located.
[0103] In this embodiment, when it is detected that the brightness adjustment event is triggered by an application in the electronic device, the trigger mode is determined to be the second trigger mode, that is, non-user triggered, and you can choose not to respond to the brightness adjustment event, or you can determine the processing strategy according to the brightness adjustment mode of the electronic device. Specifically, you can get the package name of the brightness adjustment event, and determine whether it is a third-party application in the electronic device that triggers the brightness adjustment event, or the system of the electronic device that triggers the brightness adjustment event. The package name is a unique identifier of the application, usually in the format of a reverse domain name, which can be used to identify the application.
[0104] In some embodiments, based on the brightness adjustment mode of the electronic device, a processing strategy corresponding to the brightness adjustment event is determined, including: when the electronic device is in automatic adjustment mode, not responding to the brightness adjustment event; when the electronic device is in manual adjustment mode, responding to the brightness adjustment event.
[0105] In this embodiment, the brightness adjustment mode of the electronic device is set by the user. When the electronic device is in the automatic adjustment mode, it can be understood that the user trusts the electronic device to automatically adjust the brightness of the display screen according to the preset automatic change curve of the brightness with the ambient light. Therefore, in the automatic adjustment mode, the brightness adjustment event triggered by the application of the electronic device is not responded. In the manual adjustment mode, the brightness value manually adjusted by the user may not be suitable for the current usage scenario of the application. Therefore, in the manual adjustment mode, the brightness adjustment event triggered by the application is responded.
[0106] Specifically, in the manual adjustment mode, responding to the brightness adjustment event triggered by the application includes: obtaining the current ambient light intensity; obtaining the preset brightness value corresponding to the ambient light intensity on the current brightness curve; wherein the current brightness curve is an automatic change curve of the brightness as the ambient light changes in the automatic adjustment mode; adjusting the brightness of the display screen based on the brightness value to be adjusted and the preset brightness value indicated by the brightness adjustment event.
[0107] In this embodiment, the current ambient light intensity can be obtained through the ambient light sensor of the electronic device, and the preset brightness value corresponding to the automatic change curve of the ambient light intensity in the automatic adjustment mode can be obtained at the same time. It can be understood that the automatic change curve is a predetermined optimal change trend of the brightness with the ambient light, and the preset brightness value is the brightness value with the best display effect corresponding to the current ambient light intensity. Therefore, when the brightness value adjusted in the manual adjustment mode is not suitable for the current use scenario of the application, the brightness of the display screen can be adjusted according to the brightness value to be adjusted indicated by the brightness adjustment event triggered by the application and the preset brightness value corresponding to the automatic change curve. In this way, the brightness of the display screen can achieve the best display effect and meet the current use scenario of the application. Specifically, the average value of the brightness value to be adjusted and the preset brightness value can be calculated, and the brightness of the display screen can be adjusted to the average brightness value.
[0108] like Figure 3 FIG. 1 is a flow chart of a brightness adjustment method according to an exemplary embodiment. Figure 3 The specific process includes:
[0109] In step 301, the brightness bar dragging is monitored;
[0110] When the brightness bar is dragged, human eye gaze detection begins. Considering the detection delay and the chirality of the sliding brightness bar, a 200ms delay is set to wait for the detection result. If no result is returned after the timeout, the brightness value is written normally in the manual brightness adjustment mode, and the automatic brightness curve is updated in the automatic brightness mode.
[0111] In step 302, the brightness value is monitored;
[0112] In step 303, an application in the electronic device writes a brightness value;
[0113] Among them, considering that the application in the electronic device will update the brightness value, it is necessary to synchronously detect the package name when monitoring the brightness value. If the package name of the updated brightness value is not Root or Android, the brightness value is written for the third-party application. At this time, the human eye gaze detection begins. Considering the detection delay, set 200ms to wait for the detection result. If the timeout does not return a result, the brightness value is written normally in the manual brightness mode, and the automatic brightness curve is updated in the automatic brightness mode.
[0114] In step 304, human eye gaze detection;
[0115] In step 305, it is determined whether the display screen is in a state of human eye gaze;
[0116] When it is detected that the display screen is in the state of human eye gaze, step 306 is executed, and when it is detected that the display screen is not in the state of human eye gaze, step 309 is executed.
[0117] In step 306, it is determined whether the electronic device is currently in automatic brightness mode;
[0118] If it is the automatic brightness mode, execute step 307; if it is not the automatic brightness mode, that is, it is the manual brightness mode, execute step 308.
[0119] In step 307, the automatic brightness curve is updated according to the current ambient light intensity and the user adjusted brightness;
[0120] In step 308, the current brightness value is written to the system.
[0121] In step 309, the display screen brightness is not adjusted.
[0122] If it is not detected that the human eye is looking at the display screen, the display screen brightness is not adjusted. Specifically, if it is in automatic brightness mode, the automatic brightness curve is not updated; if it is in manual brightness mode, the current brightness value is not written into the system.
[0123] Figure 4 A brightness adjustment device is shown according to an exemplary embodiment. Figure 4 As shown, the device comprises:
[0124] The detection module 401 is configured to detect whether the display screen is in a gaze state when a brightness adjustment event for the display screen is detected, and obtain a detection result; wherein the gaze state indicates that the line of sight of the human eye is toward the display surface of the display screen;
[0125] The processing module 402 is configured to determine a processing strategy corresponding to the brightness adjustment event according to the detection result.
[0126] In some embodiments, the processing module 402 is further configured to:
[0127] In a case where the detection result indicates that the display screen is in the gaze state, determining a triggering mode of the brightness adjustment event;
[0128] Based on the triggering mode, a processing strategy corresponding to the brightness adjustment event is determined.
[0129] In some embodiments, the processing module 402 is further configured to:
[0130] In the case where a touch operation on a brightness control in the display screen is detected, determining that a triggering mode of the brightness adjustment event is a first triggering mode;
[0131] When it is determined that the trigger mode is the first trigger mode, the brightness of the display screen is adjusted to the brightness value to be adjusted indicated by the brightness adjustment event.
[0132] In some embodiments, the processing module 402 is further configured to:
[0133] When it is determined that the triggering mode is the first triggering mode and the electronic device including the display screen is in an automatic adjustment mode, obtaining a current ambient light intensity;
[0134] Based on the brightness value to be adjusted and the ambient light intensity, fitting the current brightness curve to obtain a target brightness curve;
[0135] The current brightness curve is an automatic variation curve of the brightness in the automatic adjustment mode as the ambient light changes; and the target brightness curve is an automatic variation curve of the brightness after fitting as the ambient light changes.
[0136] In some embodiments, the processing module 402 is further configured to:
[0137] In the case where it is detected that an application in the electronic device including the display screen triggers the brightness adjustment event, determining that the triggering mode of the brightness adjustment event is a second triggering mode;
[0138] When it is determined that the trigger mode is the second trigger mode, not responding to the brightness adjustment event;
[0139] or,
[0140] When it is determined that the trigger mode is the second trigger mode, a processing strategy corresponding to the brightness adjustment event is determined based on the brightness adjustment mode of the electronic device.
[0141] In some embodiments, the processing module 402 is further configured to:
[0142] When the electronic device is in the automatic adjustment mode, not responding to the brightness adjustment event;
[0143] When the electronic device is in a manual adjustment mode, respond to the brightness adjustment event.
[0144] In some embodiments, the processing module 402 is further configured to:
[0145] Get the current ambient light intensity;
[0146] Obtaining a preset brightness value corresponding to the ambient light intensity on a current brightness curve; wherein the current brightness curve is an automatic change curve of brightness as the ambient light changes in the automatic adjustment mode;
[0147] The brightness of the display screen is adjusted based on the brightness value to be adjusted indicated by the brightness adjustment event and the preset brightness value.
[0148] In some embodiments, the processing module 402 is further configured to:
[0149] Determine an average brightness value of the brightness value to be adjusted and the preset brightness value;
[0150] The brightness of the display screen is adjusted to the average brightness value.
[0151] In some embodiments, the processing module 402 is further configured to:
[0152] When the detection result indicates that the display screen is in a non-attention state, the brightness adjustment event is not responded to.
[0153] Regarding the device in the above embodiment, the specific manner in which each module performs operations has been described in detail in the embodiment of the method, and will not be elaborated here.
[0154] like Figure 5 As shown, the embodiment of the present disclosure further provides an electronic device 500, including:
[0155] Memory 504 for storing processor executable instructions;
[0156] A processor 520 connected to the memory 504;
[0157] The processor 520 is configured to execute the brightness adjustment method provided by any of the aforementioned technical solutions.
[0158] A block diagram of an electronic device 500 is shown according to an exemplary embodiment. For example, the electronic device 500 may be a smart phone, a tablet computer, a notebook computer, a portable learning machine, and the like.
[0159] refer to Figure 5 , the electronic device 500 may include one or more of the following components: a processing component 502 , a memory 504 , a power component 506 , a multimedia component 508 , an audio component 510 , an input / output (I / O) interface 512 , a sensor component 514 , and a communication component 518 .
[0160] The processing component 502 generally controls the overall operation of the electronic device 500, such as operations associated with display, phone calls, data communications, camera operations, and recording operations. The processing component 502 may include one or more processors 520 to execute instructions to complete all or part of the steps of the above-mentioned method. In addition, the processing component 502 may include one or more modules to facilitate the interaction between the processing component 502 and other components. For example, the processing component 502 may include a multimedia module to facilitate the interaction between the multimedia component 508 and the processing component 502.
[0161] The memory 504 is configured to store various types of data to support operations on the electronic device 500. Examples of such data include instructions for any application or method operating on the electronic device 500, contact data, phone book data, messages, pictures, videos, etc. The memory 504 can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic disk or optical disk.
[0162] The power supply component 506 provides power to the various components of the electronic device 500. The power supply component 506 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power to the electronic device 500.
[0163] The multimedia component 508 includes a screen that provides an output interface between the electronic device 500 and the user. In some embodiments, the screen may include a liquid crystal display (LCD) and a touch panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive input signals from the user. The touch panel includes one or more touch sensors to sense touch, slide, and gestures on the touch panel. The touch sensor may not only sense the boundaries of the touch or slide action, but also detect the duration and pressure associated with the touch or slide operation. In some embodiments, the multimedia component 508 includes a front camera and / or a rear camera. When the electronic device 500 is in an operating mode, such as a shooting mode or a video mode, the front camera and / or the rear camera may receive external multimedia data. Each front camera and rear camera may be a fixed optical lens system or have a focal length and optical zoom capability.
[0164] The audio component 510 is configured to output and / or input audio signals. For example, the audio component 510 includes a microphone (MIC), and when the electronic device 500 is in an operating mode, such as a call mode, a recording mode, and a voice recognition mode, the microphone is configured to receive an external audio signal. The received audio signal can be further stored in the memory 504 or sent via the communication component 518. In some embodiments, the audio component 510 also includes a speaker for outputting audio signals.
[0165] I / O interface 512 provides an interface between processing component 502 and peripheral interface modules, such as keyboards, click wheels, buttons, etc. These buttons may include but are not limited to: a home button, a volume button, a start button, and a lock button.
[0166] The sensor assembly 514 includes one or more sensors for providing various aspects of status assessment for the electronic device 500. For example, the sensor assembly 514 can detect the open / closed state of the electronic device 500, the relative positioning of components, such as the display and keypad of the electronic device 500, and the sensor assembly 514 can also detect the position change of the electronic device 500 or a component of the electronic device 500, the presence or absence of user contact with the electronic device 500, the orientation or acceleration / deceleration of the electronic device 500, and the temperature change of the electronic device 500. The sensor assembly 514 may include a proximity sensor configured to detect the presence of nearby objects without any physical contact. The sensor assembly 514 may also include an optical sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor assembly 514 may also include an acceleration sensor, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
[0167] The communication component 518 is configured to facilitate wired or wireless communication between the electronic device 500 and other devices. The electronic device 500 can access a wireless network based on a communication standard, such as WiFi, 2G or 3G, or a combination thereof. In an exemplary embodiment, the communication component 518 receives a broadcast signal or broadcast-related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component 518 also includes a near field communication (NFC) module to facilitate short-range communication. For example, the NFC module can be implemented based on radio frequency identification (RFID) technology, infrared data association (IrDA) technology, ultra-wideband (UWB) technology, Bluetooth (BT) technology and other technologies.
[0168] In an exemplary embodiment, the electronic device 500 may be implemented by one or more application-specific integrated circuits (ASICs), digital signal processors (DSPs), digital signal processing devices (DSPDs), programmable logic devices (PLDs), field programmable gate arrays (FPGAs), controllers, microcontrollers, microprocessors, or other electronic components to perform the above methods.
[0169] In an exemplary embodiment, a non-transitory computer-readable storage medium including instructions is also provided, such as a memory 504 including instructions, and the instructions can be executed by a processor 520 of an electronic device 500 to perform the above method. For example, the non-transitory computer-readable storage medium can be a ROM, a random access memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, etc.
[0170] An embodiment of the present application provides a non-temporary computer-readable storage medium. When the instructions in the storage medium are executed by a processor of a computer, the computer can execute the brightness adjustment method described in one or more of the aforementioned technical solutions.
[0171] Those skilled in the art will readily appreciate other embodiments of the present disclosure after considering the specification and practicing the invention disclosed herein. The present disclosure is intended to cover any variations, uses or adaptations of the present disclosure that follow the general principles of the present disclosure and include common knowledge or customary techniques in the art that are not disclosed in the present disclosure. The description and examples are to be considered exemplary only, and the true scope and spirit of the present disclosure are indicated by the following claims.
[0172] It should be understood that the present disclosure is not limited to the exact structures that have been described above and shown in the drawings, and that various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.
Claims
1. A brightness adjustment method, characterized in that: include: In the case of detecting a brightness adjustment event for a display screen, detecting whether the display screen is in a gaze state, and obtaining a detection result; wherein the gaze state indicates that the sight direction of a human eye is toward a display surface of the display screen; A processing strategy corresponding to the brightness adjustment event is determined according to the detection result.
2. The brightness adjustment method according to claim 1, characterized in that: The step of determining a processing strategy corresponding to the brightness adjustment event according to the detection result includes: In a case where the detection result indicates that the display screen is in the gaze state, determining a triggering mode of the brightness adjustment event; Based on the triggering mode, a processing strategy corresponding to the brightness adjustment event is determined.
3. The brightness adjustment method according to claim 2, characterized in that: The determining of a triggering mode of the brightness adjustment event includes: In the case where a touch operation on a brightness control in the display screen is detected, determining that a triggering mode of the brightness adjustment event is a first triggering mode; The determining, based on the triggering mode, a processing strategy corresponding to the brightness adjustment event includes: When it is determined that the trigger mode is the first trigger mode, the brightness of the display screen is adjusted to the brightness value to be adjusted indicated by the brightness adjustment event.
4. The brightness adjustment method according to claim 3, characterized in that: The method further comprises: When it is determined that the triggering mode is the first triggering mode and the electronic device including the display screen is in an automatic adjustment mode, obtaining a current ambient light intensity; Based on the brightness value to be adjusted and the ambient light intensity, fitting the current brightness curve to obtain a target brightness curve; The current brightness curve is an automatic variation curve of the brightness in the automatic adjustment mode as the ambient light changes; and the target brightness curve is an automatic variation curve of the brightness after fitting as the ambient light changes.
5. The brightness adjustment method according to claim 2, characterized in that: The determining of a triggering mode of the brightness adjustment event includes: In the case where it is detected that an application in the electronic device including the display screen triggers the brightness adjustment event, determining that the triggering mode of the brightness adjustment event is a second triggering mode; The determining, based on the triggering mode, a processing strategy corresponding to the brightness adjustment event includes: When it is determined that the trigger mode is the second trigger mode, not responding to the brightness adjustment event; or, When it is determined that the trigger mode is the second trigger mode, a processing strategy corresponding to the brightness adjustment event is determined based on the brightness adjustment mode of the electronic device.
6. The brightness adjustment method according to claim 5, characterized in that: The determining, based on the brightness adjustment mode of the electronic device, a processing strategy corresponding to the brightness adjustment event includes: When the electronic device is in the automatic adjustment mode, not responding to the brightness adjustment event; When the electronic device is in a manual adjustment mode, respond to the brightness adjustment event.
7. The brightness adjustment method according to claim 6, characterized in that: The responding to the brightness adjustment event includes: Get the current ambient light intensity; Obtaining a preset brightness value corresponding to the ambient light intensity on a current brightness curve; wherein the current brightness curve is an automatic change curve of brightness as the ambient light changes in the automatic adjustment mode; The brightness of the display screen is adjusted based on the brightness value to be adjusted indicated by the brightness adjustment event and the preset brightness value.
8. The brightness adjustment method according to claim 7, characterized in that: The step of adjusting the brightness of the display screen based on the brightness value to be adjusted indicated by the brightness adjustment event and the preset brightness value includes: Determine an average brightness value of the brightness value to be adjusted and the preset brightness value; The brightness of the display screen is adjusted to the average brightness value.
9. The brightness adjustment method according to claim 1, characterized in that: The step of determining a processing strategy corresponding to the brightness adjustment event according to the detection result includes: When the detection result indicates that the display screen is in a non-attention state, the brightness adjustment event is not responded to.
10. A brightness adjustment device, characterized in that: include: A detection module is configured to detect whether the display screen is in a gaze state when a brightness adjustment event for the display screen is detected, and obtain a detection result; wherein the gaze state indicates that the line of sight of the human eye is toward the display surface of the display screen; The processing module is configured to determine a processing strategy corresponding to the brightness adjustment event according to the detection result.
11. An electronic device, characterized in that: include: processor; a memory configured to store processor-executable instructions; The processor is configured to execute the brightness adjustment method according to any one of claims 1 to 9 when calling the executable instructions in the memory. 12 . A non-transitory computer-readable storage medium, when instructions in the storage medium are executed by a processor of an electronic device, the electronic device is enabled to execute the brightness adjustment method according to any one of claims 1 to 9.
Citation Information
Patent Citations
Screen brightness scheduling method based on curve fitting
CN102968979A
Display brightness adjusting method and device
CN104599658A
Method and terminal for adjusting screen brightness
CN106990831A
Brightness adjusting method and related product
CN107767839A
Intelligent screen brightness adjusting method and device, storage medium and mobile terminal
CN109951594A