Method for controlling brightness of display panel of smart device, smart device and computer-readable storage medium
By lighting up the display panel during user interaction and adjusting the brightness according to the time period after the interaction stops, the problems of high power consumption and poor user experience of smart device display panels are solved, dynamic brightness adjustment is achieved, and the convenience and energy efficiency of the device are improved.
Patent Information
- Application Number
- CN202210652484.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-03-17
- Publication Date
- 2025-09-19
- Estimated Expiration
- 2041-03-17
AI Technical Summary
The existing always-on display solution for smart device display panels results in high power consumption, occupies a lot of system resources, and the screen-off processing affects the user experience. It cannot provide brightness control that balances device power consumption, heat generation and ease of use.
The display panel lights up when the user interacts with the smart device, and starts timing after the interaction stops. If no interaction instructions are received, the brightness is adjusted to the preset value according to the time period to achieve dynamic brightness adjustment.
It achieves accurate and timely adjustment of the display panel brightness, improves user experience, and balances device power consumption, heat generation, and ease of use.
Smart Images

Figure CN114974169B_ABST
Abstract
Description
[0001] Filing date of original application: March 17, 2021
[0002] Original application number: CN202110285738.7
[0003] Title of the original invention: Method for controlling brightness of display panel of smart device, smart device and computer-readable storage medium Technical Field
[0004] The present invention relates to the field of Internet of Things technology, and in particular to a method for controlling the brightness of a display panel of a smart device, a smart device, and a computer-readable storage medium. Background Art
[0005] In the prior art, with the rapid development of Internet of Things (IoT) technology, users' demand for interactive use with smart devices is increasing. In particular, in smart home applications, users often control networked devices through smart devices such as wall control panels and desktop control terminals. In order to facilitate users to view the operating status of each networked device or perform related control operations through the display panel of such smart devices, the display panel of the smart device is generally displayed in a constantly lit manner. However, this display solution undoubtedly brings a large power consumption burden and occupies too many system processing resources. In order to solve the above technical problems, one solution in the prior art is to turn off the display panel after the user completes the execution of the relevant control operation and waits for a period of time. If the user needs to view the operating status or perform related control operations, the smart device is triggered again to light up the display panel. However, in order to save power, the above solution sacrifices user experience. The user cannot view the operating status or perform related control operations in a timely manner. The direct screen-off processing method does not meet the practical requirements of the existing smart home environment and cannot provide users with a display panel brightness control solution that is more balanced in terms of device power consumption, heat generation, and ease of use. Summary of the Invention
[0006] In order to solve the above technical defects in the prior art, the present invention proposes a method for controlling the brightness of a display panel of a smart device, the method comprising:
[0007] When the user interacts with the smart device, the display panel lights up;
[0008] When the user stops interacting with the smart device, the timer starts;
[0009] If no user interaction instruction is received within the preset time period, the brightness of the display panel is reduced to a preset brightness value according to the time period, wherein the brightness value is not zero.
[0010] Optionally, when the user interacts with the smart device, lighting up the display panel includes:
[0011] Determine the default brightness value of the display panel when it is lit according to the display parameters;
[0012] When it is detected that the operating state of the smart device is high power operation, the display panel is illuminated at a brightness value lower than the default brightness value; when it is detected that the operating state of the smart device is low power operation, the display panel is illuminated at a brightness value higher than the default brightness value;
[0013] Alternatively, when the temperature value of the smart device is detected to be greater than a preset temperature value, the display panel is illuminated with a brightness value lower than the default brightness value; when the temperature value of the smart device is detected to be less than the preset temperature value, the display panel is illuminated with a brightness value higher than the default brightness value.
[0014] Optionally, if a trigger signal from the user to the smart device is detected, the display panel is lit, wherein the trigger signal includes one or more of a voice signal, a gesture signal, and a touch signal.
[0015] Optionally, when the user stops interacting with the smart device, before the timing starts, including:
[0016] Determine a preset duration based on the function that the smart device needs to perform during interaction and / or the type of signal that triggers the signal;
[0017] After the preset duration, multiple time periods from short to long are preset in sequence;
[0018] According to a plurality of time periods from short to long, a corresponding plurality of preset brightness values from high to low are determined respectively.
[0019] Optionally, when the user stops interacting with the smart device, the timer starts, including:
[0020] When an instruction corresponding to a function and / or trigger signal is received and a preset time is delayed, it is determined that the user has stopped interacting with the smart device and the timing starts.
[0021] Optionally, when the user stops interacting with the smart device, the timer starts, including:
[0022] When an instruction corresponding to a function and / or trigger signal is received and it is detected that the user is beyond the preset distance range of the smart device, it is determined that the user has stopped interacting with the smart device and the timing is started.
[0023] Optionally, if no user interaction instruction is received after a preset time period, the brightness of the display panel is reduced to a preset brightness value according to the time period, where the brightness value is not zero, including:
[0024] Determine the current duration of time during which no user interaction instructions have been received based on real-time timing;
[0025] If the current duration exceeds the preset duration, the time period of the current duration is determined in real time;
[0026] Adjust the brightness of the display panel to the preset brightness value corresponding to the time period.
[0027] Optionally, adjusting the brightness of the display panel to a preset brightness value corresponding to the time period includes:
[0028] Detect the light intensity of the environment where the smart device is located;
[0029] If the light intensity is greater than the preset light intensity value, determining a first decreasing amplitude from high to low for each preset brightness value corresponding to each time period;
[0030] If the light intensity is less than the preset light intensity value, a second decreasing amplitude from high to low of each preset brightness value corresponding to each time period is determined, wherein the first decreasing amplitude is greater than the second decreasing amplitude.
[0031] The present invention also proposes an intelligent device, which includes a memory, a processor, and a computer program stored in the memory and runnable on the processor. When the computer program is executed by the processor, the steps of the method for controlling the brightness of the display panel of the intelligent device as described in any of the above items are implemented.
[0032] The present invention also proposes a computer-readable storage medium, which stores a control program for the brightness of a smart device display panel. When the control program for the brightness of a smart device display panel is executed by a processor, the steps of the method for controlling the brightness of a smart device display panel as described in any of the above items are implemented.
[0033] The method for controlling the brightness of a display panel of a smart device, the smart device, and the computer-readable storage medium of the present invention illuminate the display panel when a user interacts with the smart device; then, when the user stops interacting with the smart device, a timer is started; if no user interaction instruction is received after a preset time period, the brightness of the display panel is reduced to a preset brightness value based on the time period, where the brightness value is not zero, so that the brightness of the display panel can be adjusted accurately and timely, thereby realizing a display panel brightness control solution with a more balanced device power consumption, heat generation, and ease of use, thereby enhancing the user experience. BRIEF DESCRIPTION OF THE DRAWINGS
[0034] The present invention will be further described below with reference to the accompanying drawings and embodiments, in which:
[0035] Figure 1This is a flow chart of a method for controlling the brightness of a display panel of a smart device provided by one embodiment of the present application;
[0036] Figure 2 This is a flow chart of a method for controlling the brightness of a display panel of a smart device provided in another embodiment of the present application;
[0037] Figure 3 This is a flow chart of a method for controlling the brightness of a display panel of a smart device provided in another embodiment of the present application;
[0038] Figure 4 This is a flow chart of a method for controlling the brightness of a display panel of a smart device provided in another embodiment of the present application;
[0039] Figure 5 This is a flow chart of a method for controlling the brightness of a display panel of a smart device provided in another embodiment of the present application;
[0040] Figure 6 This is a structural block diagram of a smart device provided by another embodiment of the present application;
[0041] Figure 7 This is a structural block diagram of a computer-readable storage medium provided in another embodiment of the present application. DETAILED DESCRIPTION
[0042] The following will be combined with the drawings in the embodiments of this application to clearly and completely describe the technical solutions in the embodiments of this application. Obviously, the embodiments described are only part of the embodiments of this application, not all of the embodiments. Based on the embodiments in this application, all other embodiments obtained by ordinary technicians in this field without making creative efforts are within the scope of protection of this application.
[0043] With the rapid development of Internet of Things technology, users have an increasingly higher demand for interaction with smart devices. In particular, in smart home application scenarios, users often control networked devices through smart devices such as wall control panels and desktop control terminals. In order to facilitate users to view the operating status of each networked device or perform related control operations through the display panels of such smart devices, the display panels of smart devices are generally displayed in a constantly bright manner.
[0044] However, the above display solution will undoubtedly bring a large power consumption burden and will occupy too many system processing resources. In order to solve the above technical problems, one solution of the prior art is to turn off the display panel after the user completes the execution of the relevant control operations and waits for a period of time. If the user needs to check the operating status or perform relevant control operations, the smart device is triggered again to light up the display panel. However, the above solution sacrifices the user experience in order to save power. The user cannot check the operating status or perform relevant control operations in a timely manner. The direct way of turning off the display panel does not meet the practical requirements of the existing smart home environment, and cannot provide users with a display panel brightness control solution with a more balanced device power consumption, heat generation, and ease of use.
[0045] Therefore, the inventors proposed a method for controlling the brightness of a display panel of a smart device, a smart device, and a computer-readable storage medium provided in an embodiment of the present application. The method lights up the display panel when a user interacts with the smart device; then, when the user stops interacting with the smart device, the timing starts; if no interaction instruction from the user is received after a preset time period, the brightness of the display panel is reduced to a preset brightness value according to the time period, wherein the brightness value is not zero, so that the brightness of the display panel can be adjusted accurately and timely, thereby realizing a display panel brightness control solution with a more balanced device power consumption, heat generation, and ease of use, thereby enhancing the user experience.
[0046] Example 1
[0047] See also Figure 1 , Figure 1 A flow chart of a method for controlling the brightness of a display panel of a smart device according to an embodiment of the present application is shown. This embodiment proposes a method for controlling the brightness of a display panel of a smart device, the method comprising:
[0048] S1. When a user interacts with the smart device, the display panel is turned on.
[0049] In this embodiment, when a smart device detects that a user is interacting with the smart device, to provide the user with a better interactive experience, the smart device's display panel is illuminated according to a preset brightness display scheme. User interaction with a smart device includes voice interaction, gesture interaction, and touch interaction. During a user's interaction with a smart device, if the function involved is linked to other smart devices in the direction of the user's movement, then the smart device determines that the other smart devices are also interacting with the user, and the display panels of each of the other smart devices are illuminated simultaneously or sequentially according to the direction of the user's movement. Optionally, in this embodiment, when the display panel of the smart device is made of a self-luminous material, to further achieve a balance between device power consumption, heat generation, and ease of use, when the user is detected interacting with the smart device, the type of interaction or the type of function to be performed is determined. Within the overall display area of the display panel, a local display area associated with the type of interaction or the type of function to be performed is then determined. By illuminating only this local display area, the user's interaction needs with the smart device are met. Furthermore, in this embodiment, when the overall display area of the display panel is in a low-brightness standby display state, if it is detected that the user is in the process of interacting with a smart device, the user's need to interact with the smart device is met by increasing the brightness of the above-mentioned local display area.
[0050] S2. When the user stops interacting with the smart device, start timing.
[0051] In this embodiment, in order to avoid problems such as device power consumption and device heating caused by lighting the display panel for a long time, when the user stops interacting with the smart device, the display brightness of the display panel is prepared to be lowered. In this embodiment, considering that in real-world usage scenarios, users may perform some interactive operations multiple times or at intervals in a short period of time, therefore, in order to avoid the inconvenience caused to the user by immediately lowering the display brightness of the display panel when the user stops interacting with the smart device, this embodiment will start timing when the user stops interacting with the smart device, that is, the duration of the stop after the user stops interacting with the smart device is determined by subsequent timing, so as to facilitate dynamic adaptive regulation of the brightness of the display panel according to the stop duration. Specifically, in this embodiment, the distance sensor, ultrasonic sensor, light sensor, temperature sensor, screen pressure sensor, screen component, microphone component, etc. of the smart device can be used to detect whether the user has stopped interacting with the smart device, that is, whether the user has stopped sending voice signals, gesture signals, or touch signals to the smart device. Optionally, in this embodiment, the end time of the last voice signal, gesture signal, or touch signal sent by the user to the smart device is used as the timing starting point of this embodiment.
[0052] S3. If no interaction instruction from the user is received within the preset time period, the brightness of the display panel is reduced to a preset brightness value according to the time period, wherein the brightness value is not zero.
[0053] In this embodiment, after the timing is started from the above timing starting point, if the user's interactive instruction is still not received within a preset time period, it is determined that some other interactive operations may not be performed multiple times or intermittently in a short period of time. At this time, the brightness of the display panel will be reduced to a preset brightness value based on the time period of the above timing, where the brightness value is not zero. Specifically, in this embodiment, first, a time period is preset to determine whether the user will perform some other interactive operations multiple times or intermittently in a short period of time. For example, the time period is fifteen seconds. When the user stops interacting with the smart device, the timing is started. If the timing reaches fifteen seconds, the timing is continued and the time period of the timing is determined. In this embodiment, multiple time periods are preset, for example, each time period is the same fifteen seconds. When the above timing reaches forty seconds, it is determined that the above timing is in the second time period. In this embodiment, the purpose of the preset multiple time periods is to determine the corresponding brightness value by determining the time period in which the timer is measured. That is, when the timer reaches 40 seconds, it is determined that the timer is in the second time period, and the brightness of the display panel is then reduced to the brightness value corresponding to the second time period. It is understood that to avoid the inconvenience caused by completely turning off the screen during the user's next use, in this embodiment, the corresponding brightness value is gradually reduced in ascending order of the time period, while maintaining the lowest brightness value non-zero.
[0054] The beneficial effect of this embodiment is that, by lighting up the display panel when the user interacts with the smart device; then, when the user stops interacting with the smart device, timing is started; if no interaction instruction from the user is received after a preset time period, the brightness of the display panel is reduced to a preset brightness value according to the time period, wherein the brightness value is not zero, so that the brightness of the display panel can be adjusted accurately and timely, thereby realizing a display panel brightness control solution with a more balanced device power consumption, heat generation, and ease of use, thereby enhancing the user experience.
[0055] Example 2
[0056] See also Figure 2 , Figure 2 A flow chart of a method for controlling the brightness of a display panel of a smart device provided in another embodiment of the present application is shown. In this embodiment, in order to further determine when a user interacts with the smart device, the display panel is illuminated, and the steps include:
[0057] S11. Determine a default brightness value of the display panel when it is turned on according to the display parameters.
[0058] In this embodiment, the default brightness value can be a fixed brightness value set by the factory of the smart device or actively set by the user; or, the default brightness value can also be a dynamic brightness value determined based on the historical operating status information of the smart device, for example, the above-mentioned dynamic brightness value is obtained based on one or more of the historical system operating power consumption status, processor heating status, and display power consumption status of the smart device; or, the default brightness value can also be a dynamic brightness value determined based on the setting parameters of the display panel of the smart device and the current ambient light intensity.
[0059] S12. When it is detected that the operating state of the smart device is high-power operation, light up the display panel with a brightness value lower than the default brightness value; when it is detected that the operating state of the smart device is low-power operation, light up the display panel with a brightness value higher than the default brightness value.
[0060] In this embodiment, the default brightness value is dynamically adjusted based on the current operating state of the smart device. Specifically, regarding the scheme for determining the default brightness value, this step involves obtaining a corresponding brightness value based on the current operating state. For example, if the default brightness value is a dynamic brightness value determined based on historical operating state information of the smart device over a week or a month, the operating state at the current moment of lighting up is then determined and the corresponding brightness value is determined based on that operating state.
[0061] In this embodiment, the corresponding power state is determined based on the processor occupancy in the current operating state. That is, when the processor occupancy is high, for example, when the processor occupancy is greater than a preset threshold, the current operating state is determined to be high-power operation. Conversely, when the processor occupancy is low, the current operating state is determined to be low-power operation.
[0062] Optionally, the corresponding power state is determined based on the power output of the power management chip in the current operating state, that is, when the power output is high, for example, when the power output is greater than a preset threshold, the current operating state is determined to be high-power operation; conversely, when the power output is low, the current operating state is determined to be low-power operation.
[0063] Optionally, the corresponding power state is determined based on the number of active processes in the current running state. That is, when the number of active processes is high, for example, when the number of active processes is greater than a preset threshold, the current running state is determined to be high-power operation. Conversely, when the number of active processes is low, the current running state is determined to be low-power operation.
[0064] Optionally, the corresponding power state is determined according to the task execution state in the current running state, that is, when the task execution state is incomplete, the current running state is determined to be high-power operation; conversely, when the task execution state is completed or there is no task currently being executed, the current running state is determined to be low-power operation.
[0065] S12', or, when it is detected that the temperature value of the smart device is greater than the preset temperature value, the display panel is illuminated with a brightness value lower than the default brightness value; when it is detected that the temperature value of the smart device is less than the preset temperature value, the display panel is illuminated with a brightness value higher than the default brightness value. In this embodiment, the above-mentioned default brightness value is dynamically adjusted according to the current temperature value of the smart device, that is, for the determination scheme of the above-mentioned default brightness value, this step is to obtain the corresponding brightness value according to the current temperature value. For example, when the above-mentioned default brightness value is a dynamic brightness value determined based on the historical temperature information of the smart device in the same time period (for example, noon, morning, night, etc.), on this basis, the temperature value at the current moment of illumination is obtained, and the corresponding brightness value is determined according to the temperature value.
[0066] Optionally, in this embodiment, if a trigger signal from the user to the smart device is detected, the display panel is illuminated, wherein the trigger signal includes one or more of a voice signal, a gesture signal, and a touch signal. Specifically, for the same smart device, the above-mentioned voice signal, gesture signal, and touch signal do not distinguish whether they are triggered by the same user. That is, when multiple users send one or more of the above-mentioned voice signals, gesture signals, and touch signals to the same smart device multiple times or at intervals, it is determined that the display panel of the smart device needs to be illuminated. Optionally, in this embodiment, when it is detected that a smart device has received one or more of a voice signal, a gesture signal, and a touch signal, it continues to monitor whether one or more of the above-mentioned voice signals, gesture signals, and touch signals have been executed. If not, it monitors the user's moving direction and determines whether there are other smart devices in the moving direction that can continue to execute one or more of the unfinished voice signals, gesture signals, and touch signals. If so, when the user exceeds the range of the previous smart device and / or enters the range of the next smart device, the display panel of the next smart device is turned on and prepared to receive one or more of the unfinished voice signals, gesture signals, and touch signals, thereby realizing the linked lighting of the display panels of multiple devices, giving users a more coherent and seamless interactive experience.
[0067] See also Figure 3 , Figure 3A flow chart of a method for controlling the brightness of a display panel of a smart device provided in another embodiment of the present application is shown. In this embodiment, when the user stops interacting with the smart device, before starting the timer, the method includes the following steps:
[0068] S21. Determine the preset duration according to the function that the smart device needs to perform during interaction and / or the signal type of the trigger signal.
[0069] In this embodiment, in order to avoid the inconvenience caused to the user during the current or next use by immediately lowering the screen brightness value when the interaction is stopped, in this embodiment, the preset duration is determined according to the function that the smart device needs to perform during the interaction and / or the signal type of the trigger signal. Specifically, the preset duration is dynamically determined according to the function that needs to be performed and / or the signal type of the trigger signal. For example, when the function to be performed is a single function such as turning on and off the light, a shorter preset duration is determined, and when the function to be performed is multiple functions such as adjusting the working parameters of the air conditioner, a longer preset duration is determined; for another example, when the trigger signal is a voice signal, considering that the voice signal may involve multiple continuous voices, a longer preset duration is determined, and when the trigger signal is a touch signal, considering the timely triggering feature of the touch signal, a shorter preset duration is determined.
[0070] S22. After the preset duration, sequentially preset multiple time periods from short to long.
[0071] The above embodiment proposes presetting multiple time periods. For example, each time period is the same fifteen seconds. When the above-mentioned time duration is forty seconds, it is determined that the above-mentioned time duration is in the second time period. It can be seen that in the above embodiment, the purpose of the above-mentioned presetting multiple time periods is to determine the corresponding brightness value by determining the time period in which the time duration is located. However, the time periods of the same length set in the above scheme do not fully conform to the user's interaction interval habits. Therefore, this embodiment sequentially presets multiple time periods from short to long after the preset time duration. For example, the first time period is five seconds, the second time period is ten seconds, the third time period is fifteen seconds, etc. On this basis, when the above-mentioned time duration is forty seconds, it is determined that the above-mentioned time duration is in the third time period.
[0072] S23. Determine a corresponding plurality of preset brightness values from high to low according to the plurality of time periods from short to long.
[0073] In this embodiment, considering that the above embodiment proposes to pre-set multiple time periods, for example, each time period is the same fifteen seconds, then each time period corresponds to a decreasing brightness value, and the time span of this brightness decrease is uniform, which does not conform to the user's interaction distribution state within a certain period. Therefore, this embodiment will preset multiple time periods from short to long in sequence, and thus determine the corresponding multiple preset brightness values from high to low according to the multiple time periods from short to long. Similarly, for example, the first time period is five seconds, the second time period is ten seconds, the third time period is fifteen seconds, etc. At the same time, the first time period is 80% of the previous brightness value, the second time period is 80% of the previous brightness value, the third time period is 80% of the previous brightness value, etc., or, the first time period is 80% of the previous brightness value, the second time period is 70% of the previous brightness value, the third time period is 60% of the previous brightness value, etc. On this basis, when the above timing duration is forty seconds, it is determined that the above timing is in the third time period, and the brightness value is adjusted three times in sequence to 80% of the previous brightness value, or, the brightness value is adjusted once to 80% of the previous brightness value, a second adjustment to 70% of the adjusted brightness value, and a third adjustment to 60% of the adjusted brightness value.
[0074] Optionally, in this embodiment, when the user stops interacting with the smart device, the timing is started, including the steps of: when the instruction corresponding to the function and / or the trigger signal is received and a preset time is delayed, determining that the user has stopped interacting with the smart device, and starting the timing. In this embodiment, considering that after the user interacts with the smart device, there is a period of reaction, execution or waiting time in the function execution, initialization and other stages involved in this interaction process. During this period, the function initialization takes some time, some intermediate information may be displayed on the screen, and some execution feedback information may be prompted by sound, etc. Considering that the user may need to observe or understand during this period. Therefore, when the instruction corresponding to the function and / or the trigger signal is received and a preset time is delayed, it is determined that the user has stopped interacting with the smart device and the timing is started. That is, when the user sends the last voice signal, gesture signal, or touch signal to the smart device, after a preset time delay, it is used as the starting point of the timing of this embodiment. For example, if the preset delay time is five seconds, when the user sends the last voice signal, gesture signal, or touch signal to the smart device, it will first be delayed for the preset five seconds. Then, if the user still does not interact with the smart device within the next fifteen seconds, the timer will start.
[0075] Optionally, in this embodiment, when the user stops interacting with the smart device, the timer is started, comprising the steps of: upon receiving an instruction corresponding to the function and / or the trigger signal and detecting that the user has exceeded a preset distance range of the smart device, determining that the user has stopped interacting with the smart device and starting the timer. Specifically, in this embodiment, when the user sends one or more of the above-mentioned voice signal, gesture signal, and touch signal to the smart device, determining whether the one or more of the above-mentioned voice signal, gesture signal, and touch signal has been executed; if the one or more of the above-mentioned voice signal, gesture signal, and touch signal is in the process of being executed but has not yet been completed, detecting whether the user has exceeded the preset distance range of the smart device; if the user has exceeded the preset distance range of the smart device and, after waiting for a preset time, is still not within the distance range of other associated smart devices, determining that the user has stopped interacting with the smart device and starting the timer. Optionally, if it is determined that the one or more of the above-mentioned voice signal, gesture signal, and touch signal has been executed, the timer is started when the user has exceeded the preset distance range of the smart device. Optionally, if it is determined that one or more of the above-mentioned voice signals, gesture signals and touch signals have been executed, when the monitored user exceeds the preset distance range of the smart device and returns to the preset distance range of the smart device after a period of time, it is determined whether the time of leaving the distance range reaches another preset time length. If not, the timing will not start.
[0076] See also Figure 4 , Figure 4 A flowchart of a method for controlling the brightness of a display panel of a smart device according to another embodiment of the present application is shown. In this embodiment, if no user interaction instruction is received after a preset time period, the brightness of the display panel is reduced to a preset brightness value according to the time period, where the brightness value is not zero, including:
[0077] S31. Determine the current duration during which the user's interaction instruction has not been received based on real-time timing.
[0078] In this embodiment, as described in the above example, in order to avoid the inconvenience caused to the user during the current or next use by immediately lowering the screen brightness value when the interaction is stopped, in this embodiment, the preset duration is determined according to the function to be executed by the smart device during the interaction and / or the signal type of the trigger signal. Specifically, the preset duration is dynamically determined according to the function to be executed and / or the signal type of the trigger signal. For example, when the function to be executed is a single function such as turning on and off the light, a shorter duration of five seconds is determined, and when the function to be executed is multiple functions such as adjusting the working parameters of the air conditioner, a longer duration of ten seconds is determined; for another example, when the trigger signal is a voice signal, considering that the voice signal may involve multiple continuous voice segments, a longer duration of fifteen seconds is determined, and when the trigger signal is a touch signal, considering the timely triggering feature of the touch signal, a shorter duration of three seconds is determined.
[0079] S32: If the current duration exceeds the preset duration, determine the time period in which the current duration is located in real time.
[0080] In this embodiment, as described in the above example, considering that the above embodiment proposes to pre-set multiple time periods, for example, each time period is the same fifteen seconds, then each corresponding time period corresponds to a decreasing brightness value, and the time span of this brightness decrease is uniform, which does not conform to the user's interactive distribution state within a certain period. Therefore, this embodiment will sequentially preset multiple time periods from short to long, so as to determine the corresponding multiple preset brightness values from high to low based on the multiple time periods from short to long. Similarly, for example, the first time period is five seconds, the second time period is ten seconds, the third time period is fifteen seconds, etc. On this basis, when the above timing duration is forty seconds, it is determined that the above timing is in the third time period.
[0081] S33: Adjust the brightness of the display panel to the preset brightness value corresponding to the time period.
[0082] In this embodiment, one implementation scheme is, as described in the above example, the first time period is five seconds, the second time period is ten seconds, the third time period is fifteen seconds, etc. At the same time, the first time period is 80% of the previous brightness value, the second time period is 80% of the previous brightness value, the third time period is 80% of the previous brightness value, etc., or, the first time period is 80% of the previous brightness value, the second time period is 70% of the previous brightness value, the third time period is 60% of the previous brightness value, etc. On this basis, when the above-mentioned timing duration is forty seconds, it is determined that the above-mentioned timing is in the third time period, and the brightness value is adjusted three times in sequence to 80% of the previous brightness value, or, the brightness value is adjusted once to 80% of the previous brightness value, a second adjustment to 70% of the adjusted brightness value, and a third adjustment to 60% of the adjusted brightness value.
[0083] See also Figure 5 , Figure 5 A flow chart of a method for controlling the brightness of a display panel of a smart device provided in another embodiment of the present application is shown. In this embodiment, the step of adjusting the brightness of the display panel to the preset brightness value corresponding to the time period specifically includes:
[0084] S331: Detect the light intensity of the environment in which the smart device is located.
[0085] In this embodiment, before detecting the light intensity of the environment in which the smart device is located, the current time period within a day may be determined in advance, and the detected light intensity of the environment in which the smart device is located may be analyzed in each time period.
[0086] S332: If the light intensity is greater than the preset light intensity value, determine a first decreasing amplitude from high to low for each of the preset brightness values corresponding to each of the time periods.
[0087] In this embodiment, as described in the above example, when in the daytime time period, if the light intensity is greater than the preset light intensity value, the first decreasing amplitude from high to low of each preset brightness value corresponding to each time period is determined, and when in the nighttime time period, if the light intensity is greater than the preset light intensity value, the third decreasing amplitude from high to low of each preset brightness value corresponding to each time period is determined, wherein the third decreasing amplitude is smaller than the first decreasing amplitude, thereby ensuring the stability of light at night and avoiding eye fatigue to the user.
[0088] S332′: If the light intensity is less than the preset light intensity value, determine a second decreasing amplitude from high to low for each of the preset brightness values corresponding to each of the time periods, wherein the first decreasing amplitude is greater than the second decreasing amplitude.
[0089] In this embodiment, as described in the above example, when in the daytime time period, if the light intensity is less than the preset light intensity value, the second decreasing amplitude from high to low of each preset brightness value corresponding to each time period is determined, and when in the nighttime time period, if the light intensity is greater than the preset light intensity value, the fourth decreasing amplitude from high to low of each preset brightness value corresponding to each time period is determined, wherein the fourth decreasing amplitude is smaller than the second decreasing amplitude, also to ensure the stability of light at night and avoid eye fatigue to the user.
[0090] Specifically, the current time of day and night is determined: for example, during the daytime when the light is relatively stable and the light intensity is high, the first time period is 80% of the previous brightness value, the second time period is 70% of the previous brightness value, the third time period is 60% of the previous brightness value, and so on. When it is at night when the light is relatively stable and the light intensity is low, the first time period is 80% of the previous brightness value, the second time period is 75% of the previous brightness value, the third time period is 70% of the previous brightness value, and so on, thereby reducing the gradient of the decrease. This embodiment is also intended to ensure the stability of the light at night and avoid causing eye fatigue to the user.
[0091] Example 3
[0092] See also Figure 6 , Figure 6 The block diagram of the structure of a smart device provided by another embodiment of the present application is shown. The present invention also provides a smart device 600, which includes a memory 601, a processor 602, and a computer program stored in the memory and executable on the processor. When the computer program is executed by the processor, the steps of the method for controlling the brightness of the display panel of the smart device as described in any of the above items are implemented.
[0093] It should be noted that the above-mentioned smart device embodiment and method embodiment belong to the same concept. The specific implementation process is detailed in the method embodiment, and the technical features in the method embodiment are applicable to the smart device embodiment, which will not be repeated here.
[0094] Example 4
[0095] See also Figure 7 , Figure 7 A block diagram of a computer-readable storage medium according to another embodiment of the present application is shown. The present invention further provides a computer-readable storage medium 700 storing a program 701 for controlling the brightness of a display panel of a smart device. When executed by a processor, the program 701 implements the steps of any of the above methods for controlling the brightness of a display panel of a smart device.
[0096] It should be noted that the above-mentioned medium embodiment and method embodiment belong to the same concept, and their specific implementation process is detailed in the method embodiment, and the technical features in the method embodiment are applicable to the medium embodiment, which will not be repeated here.
[0097] It should be noted that, in this document, the terms "comprises," "includes," or any other variations thereof are intended to encompass non-exclusive inclusion, such that a process, method, article, or apparatus comprising a series of elements includes not only those elements but also other elements not explicitly listed, or elements inherent to such process, method, article, or apparatus. In the absence of further limitations, an element defined by the phrase "comprising a ..." does not exclude the presence of other identical elements in the process, method, article, or apparatus comprising the element.
[0098] The serial numbers of the above embodiments of the present invention are for description only and do not represent the advantages or disadvantages of the embodiments.
[0099] Through the description of the above embodiments, those skilled in the art can clearly understand that the above-mentioned embodiment methods can be implemented by means of software plus the necessary general hardware platform, and of course can also be implemented by hardware, but in many cases the former is a better embodiment. Based on this understanding, the technical solution of the present invention, or the part that contributes to the prior art, can be embodied in the form of a software product, which is stored in a storage medium (such as ROM / RAM, magnetic disk, optical disk), and includes a number of instructions for enabling a terminal (which can be a mobile phone, computer, server, air conditioner, or network device, etc.) to execute the methods described in each embodiment of the present invention.
[0100] The embodiments of the present invention are described above in conjunction with the accompanying drawings, but the present invention is not limited to the above-mentioned specific implementation methods. The above-mentioned specific implementation methods are merely illustrative and not restrictive. Under the guidance of the present invention, ordinary technicians in this field can also make many forms without departing from the scope of protection of the present invention and the claims, all of which are protected by the present invention.
Claims
1. A method for controlling the brightness of a display panel of a smart device, characterized in that: The method comprises: When a user interacts with the smart device, lighting up the display panel; When the user stops interacting with the smart device, the timer starts; If no interaction instruction from the user is received within a preset time period, the brightness of the display panel is reduced to a preset brightness value according to the time period, wherein the brightness value is not zero; in, After the preset duration, a plurality of time periods are sequentially preset from short to long; According to the multiple time periods from short to long, a corresponding multiple preset brightness values from high to low are determined respectively.
2. The method for controlling the brightness of a display panel of a smart device according to claim 1, wherein: When the user interacts with the smart device, lighting up the display panel includes: Determining a default brightness value when the display panel is lit according to the display parameters; When it is detected that the operating state of the smart device is high-power operation, lighting up the display panel with a brightness value lower than the default brightness value; when it is detected that the operating state of the smart device is low-power operation, lighting up the display panel with a brightness value higher than the default brightness value; Alternatively, when it is detected that the temperature value of the smart device is greater than a preset temperature value, the display panel is illuminated with a brightness value lower than the default brightness value; when it is detected that the temperature value of the smart device is less than the preset temperature value, the display panel is illuminated with a brightness value higher than the default brightness value.
3. The method for controlling the brightness of a display panel of a smart device according to claim 1, wherein: The method further comprises: Detecting the light intensity of the environment in which the smart device is located, and if the light intensity is greater than a preset light intensity value, determining a first decreasing amplitude from high to low for each of the preset brightness values corresponding to each of the time periods; and if the light intensity is less than the preset light intensity value, determining a second decreasing amplitude from high to low for each of the preset brightness values corresponding to each of the time periods, wherein the first decreasing amplitude is greater than the second decreasing amplitude; Alternatively, if a trigger signal from the user to the smart device is detected, the display panel is lit up, wherein the trigger signal includes one or more of a voice signal, a gesture signal, and a touch signal.
4. A smart device, characterized in that: The smart device includes a memory, a processor, and a computer program stored in the memory and executable on the processor. When the computer program is executed by the processor, the steps of the method for controlling the brightness of the display panel of a smart device as described in any one of claims 1 to 3 are implemented.
5. A computer-readable storage medium, characterized in that The computer-readable storage medium stores a control program for the brightness of the display panel of a smart device. When the control program for the brightness of the display panel of the smart device is executed by the processor, the steps of the method for controlling the brightness of the display panel of the smart device according to any one of claims 1 to 3 are implemented.
Citation Information
Patent Citations
Method and device for adjusting screen luminance of terminal
CN103414832A
Terminal control method, terminal and computer-readable storage medium
CN107861780A
Brightness adjusting method and related product
CN108564913A
Method for adjusting screen of intelligent terminal, intelligent terminal and storage device
CN111212181A
Method and system for device placement based optimization techniques
US20190385570A1