Brightness control method and device of display panel, equipment and storage medium
By monitoring the spatial relationship between the user and the display panel and the ambient light intensity, the brightness and state switching of the display panel are automatically controlled, solving the problem that users need to manually wake up the panel in the existing technology, and improving the convenience and experience of user interaction.
Patent Information
- Application Number
- CN202511480570.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-10-16
- Publication Date
- 2025-12-05
AI Technical Summary
Existing smart home display panels lack the ability to perceive users' potential intentions when the screen is off, requiring users to manually trigger the wake-up panel, which is cumbersome and inconvenient.
By monitoring the user's spatial position relative to the display panel, it can determine whether the user intends to approach, and automatically switch the display panel from off state to on state when approach is detected, adjusting the brightness according to the ambient light intensity.
It enables automatic screen-on of the display panel, simplifying the user's interaction with the device, improving the user experience and interactivity, and automatically turns off the screen in low light, avoiding the redundant operation of manually locking the screen.
Smart Images

Figure CN121075288A_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of device panel control technology, and specifically to a brightness control method, apparatus, device, and storage medium for a display panel. Background Technology
[0002] In modern electronic devices, the brightness adjustment and automatic screen-off functions of smart home display panels have become important means to improve user experience and save energy. The relevant display control methods mainly include automatic screen-off based on the intensity of ambient light, and screen-off through timer or user operation. However, in nighttime or low-light scenarios, the existing screen-off mode lacks the ability to perceive the user's potential intentions. When the panel is in a screen-off state, if the user needs to operate the panel, they must manually trigger it to wake it up, which is cumbersome and lacks convenience. Summary of the Invention
[0003] This invention provides a method, apparatus, device, and storage medium for controlling the brightness of a display panel, in order to solve the problem that manually triggering the panel to wake up is cumbersome and lacks convenience.
[0004] In a first aspect, the present invention provides a brightness control method for a display panel, the method comprising: when the display panel is in a screen-off state, monitoring the spatial position relationship of a user relative to the device on which the display panel is located; determining, based on the spatial position relationship of the user relative to the device, whether the user intends to approach; and when it is determined that the user intends to approach, controlling the display panel to switch from a screen-off state to a screen-on state.
[0005] The brightness control method for the display panel provided in this embodiment monitors the spatial position relationship between the user and the device on which the display panel is located when the display panel is in a screen-off state. Based on the spatial position relationship between the user and the device, it determines whether the user intends to move closer. When it is determined that the user intends to move closer, it controls the display panel to switch from a screen-off state to a screen-on state. This realizes automatic control of the display panel to turn on based on the user's intention to move closer, simplifies the steps of user interaction with the device, and improves the user's sense of interaction and experience with the device.
[0006] In one optional implementation, the method further includes: monitoring the current ambient light intensity and adjusting the brightness of the display panel based on the current ambient light intensity, wherein the brightness of the display panel is positively correlated with the ambient light intensity; and controlling the display panel to enter a screen-off state when the current ambient light intensity is detected to be less than a first preset intensity threshold.
[0007] This invention dynamically adjusts the brightness of the display panel based on changes in ambient light, enabling the display panel brightness to automatically adapt to the ambient light. Users can obtain a clear and comfortable visual effect without manual adjustment, and the screen automatically turns off in low light, replacing the redundant operation of manually locking the screen.
[0008] In one optional implementation, monitoring the spatial position of the user relative to the device where the display panel is located includes: obtaining the straight-line distance between the user and a device reference point of the device; obtaining the perpendicular distance from the user to the device reference line; and obtaining a first angle between the straight-line distance and the device reference line.
[0009] This invention can accurately calculate the spatial relative position of the user and the device from three dimensions: straight-line distance, offset, and included angle, thereby improving the accuracy of judging the intention to approach.
[0010] In one optional implementation, the method includes: acquiring spatial position relationship data within a preset time series, the spatial position relationship data including the changing trends of a first included angle, vertical distance, and straight-line distance over time; and determining that the user has the intention to move closer when the change in the first included angle over time is less than a first preset change threshold, the changing trend of the vertical distance over time is continuously decreasing, and the changing trend of the straight-line distance over time is continuously decreasing.
[0011] This invention determines whether a user intends to move closer by analyzing the changing trends of the first included angle, straight-line distance, and vertical distance within a time series. This allows for a more comprehensive and accurate capture of the user's true intentions, thereby improving the accuracy and efficiency of the interaction.
[0012] In an optional implementation, the method further includes: determining that the user is in a state of passing in front of the device when the first included angle changes continuously over time, the vertical distance changes continuously over time, and the straight distance changes continuously over time; or determining that the user is in a state of passing by the side of the device when the first included angle changes continuously over time, the change in the vertical distance over time is less than a second preset change threshold, and the change in the straight distance over time is continuously decreasing; when it is determined that the user is in a state of passing in front of the device, or when it is determined that the user is in a state of passing by the side of the device, determining that the user has no intention to approach, and controlling the display panel to remain in a screen-off state.
[0013] When the present invention determines that the user is passing by the device based on the first included angle, vertical distance and straight line distance, it can keep the display panel in a blackout state, achieve accurate filtering of invalid interactions and avoid accidental device triggering.
[0014] In an optional implementation, before determining whether the user intends to approach based on the user's spatial position relative to the device, the method further includes: determining whether the straight-line distance is less than a first preset distance threshold; and when the straight-line distance is less than the first preset distance threshold, performing the step of determining whether the user intends to approach based on the user's spatial position relative to the device.
[0015] The present invention sets a first preset distance threshold. Only when the straight-line distance is less than the first preset distance threshold will the system determine whether the user intends to move closer based on the user's spatial position relative to the device, thereby reducing invalid intent judgments and reducing resource waste.
[0016] In one optional implementation, controlling the display panel to switch from a screen-off state to a screen-on state includes: obtaining the current straight-line distance between the user and a reference point of the device; and adjusting the brightness of the display panel based on the current straight-line distance, wherein the brightness of the display panel is negatively correlated with the current straight-line distance.
[0017] This invention adjusts the brightness of the display panel in real time based on the straight-line distance between the user and the device reference point, ensuring that the brightness of the display panel smoothly increases as the distance gradually decreases as the user approaches the device, thus improving the smooth and natural effect of brightness adjustment.
[0018] In an optional implementation, after controlling the display panel to switch from a screen-off state to a screen-on state, the method further includes: when it is detected that the straight-line distance changes continuously over time and the straight-line distance is greater than a second preset distance threshold, controlling the display panel to switch from a screen-on state to a screen-off state, wherein the second preset distance threshold is not less than the first preset distance threshold.
[0019] When the user moves away from the device, the present invention can automatically switch the display panel to a screen-off state to maintain a state that conforms to the current environment, avoid the disturbance of invalid screen lighting, and also reduce screen lighting power consumption.
[0020] In an optional implementation, the method further includes: receiving a voice command from a user; parsing the voice command to obtain the user's control intention for the device and brightness adjustment parameters; controlling the display panel to switch to a corresponding state based on the user's control intention for the device and the corresponding brightness adjustment parameters, and adjusting the brightness value of the display panel based on the brightness adjustment parameters.
[0021] This invention allows users to adjust the state of the display panel via voice commands, which not only frees up the user's hands and improves the convenience of interaction, but also accurately matches the user's needs and avoids invalid operations.
[0022] Secondly, the present invention provides a brightness control device for a display panel, the device comprising: a positional relationship monitoring module, used to monitor the spatial positional relationship of a user relative to the device on which the display panel is located when the display panel is in a screen-off state; a user intent judgment module, used to determine whether the user intends to move closer based on the spatial positional relationship of the user relative to the device; and a brightness switching module, used to control the display panel to switch from a screen-off state to a screen-on state when it is determined that the user intends to move closer.
[0023] Thirdly, the present invention provides an apparatus comprising a controller, a light intensity acquisition device, a user location acquisition device, and a display panel. The controller comprises a memory and a processor, which are communicatively connected to each other. The memory stores computer instructions, and the processor executes the computer instructions to perform the brightness control method of the display panel described in the first aspect or any corresponding embodiment.
[0024] Fourthly, the present invention provides a computer-readable storage medium storing computer instructions for causing a computer to execute the brightness control method of the display panel described in the first aspect or any corresponding embodiment thereof. Attached Figure Description
[0025] To more clearly illustrate the specific embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the specific embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are some embodiments of the present invention. For those skilled in the art, other drawings can be obtained from these drawings without creative effort.
[0026] Figure 1 This is a schematic flowchart of a first method for controlling the brightness of a display panel according to an embodiment of the present invention; Figure 2 This is a schematic diagram of a second process for a brightness control method for a display panel according to an embodiment of the present invention; Figure 3 This is an example diagram illustrating the spatial positional relationship of a user relative to a device obtained according to an embodiment of the present invention; Figure 4a This is an example diagram of a user trajectory with the intention of approaching a user, according to an embodiment of the present invention; Figure 4b This is an example diagram of the trajectory of a user passing in front of the device according to an embodiment of the present invention; Figure 4c This is an example diagram of the trajectory of a user passing by the side of the device according to an embodiment of the present invention; Figure 5This is a schematic diagram of a third process for a brightness control method of a display panel according to an embodiment of the present invention; Figure 6 This is a structural example diagram of a device according to an embodiment of the present invention; Figure 7 This is a structural block diagram of a brightness control device for a display panel according to an embodiment of the present invention; Figure 8 This is a schematic diagram of the hardware structure of the controller according to an embodiment of the present invention. Detailed Implementation
[0027] To make the objectives, technical solutions, and advantages of the embodiments of the present invention clearer, the technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present invention, not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of the present invention.
[0028] It is understood that before using the technical solutions disclosed in the various embodiments of the present invention, users should be informed of the types, scope of use, and usage scenarios of the personal information involved in the present invention and their authorization should be obtained in accordance with relevant laws and regulations through appropriate means.
[0029] The terms "first" and "second" are used for descriptive purposes only and should not be construed as indicating or implying relative importance or implicitly specifying the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include one or more of that feature. In the description of this invention, "a plurality of" means two or more, unless otherwise explicitly specified.
[0030] In modern home appliances, the brightness adjustment and automatic screen-off functions of smart home display panels have become important means to improve user experience and save energy. At present, common display control methods mainly include automatically turning off the screen according to the intensity of ambient light, and turning off the screen through timer or user operation. Therefore, there is a need for a smart display control solution that can combine ambient light detection and human proximity detection to achieve more efficient and user-friendly display management.
[0031] According to an embodiment of the present invention, an embodiment of a brightness control method for a display panel is provided. It should be noted that the steps shown in the flowchart in the accompanying drawings can be executed in a computer system such as a set of computer-executable instructions. Furthermore, although a logical order is shown in the flowchart, in some cases, the steps shown or described may be executed in a different order than that shown here.
[0032] This embodiment provides a brightness control method for a display panel, which can be used in a controller within a device. The type of device is not limited; any device with a display panel, ambient light detection device, or human position detection device can be used to apply this brightness control method. Examples include home appliances, mobile devices, and industrial production equipment. This is merely an example. Figure 1 This is a flowchart of a brightness control method for a display panel according to an embodiment of the present invention, such as... Figure 1 As shown, the process includes the following steps: Step S101: When the display panel is in a screen-off state, monitor the spatial position relationship between the user and the device where the display panel is located.
[0033] In this embodiment of the invention, when the device's display panel is in a screen-off state, the scenario for the display panel being in a screen-off state is not limited. It could be that the user manually turns off the display panel, or that the device automatically controls the display panel to turn off when it is detected that it is in a nighttime or low-light environment. This is just an example. The spatial position relationship between the user and the device relative to the display panel can be monitored in real time. The method of monitoring the user's spatial position relative to the device is not limited. Components responsible for monitoring the position relationship can be installed on the device, such as an infrared distance sensor to collect the straight-line distance between the user and the device (reference point), a radar sensor to collect the user's horizontal or vertical position or direction relative to the device, or an infrared camera to determine the user's position relative to the device based on infrared images. This is just an example.
[0034] Step S202: Based on the user's spatial position relative to the device, determine whether the user intends to move closer.
[0035] This invention provides an embodiment of the spatial positional relationship monitoring component that acquires spatial positional relationships from multiple frames. The spatial positional relationships from multiple frames are compared with preset behavioral characteristic conditions that indicate a user's intention to approach, in order to determine whether the user has such an intention. The setting of behavioral characteristic conditions that indicate a user's intention to approach is not limited and can be set according to the actual environment of the device and the user's habits. For example, it may determine whether the distance between the user and the device is continuously decreasing, whether the rate of distance decreasing is stable (excluding brief approach), and whether the angle between the user's movement direction and the device is less than a certain angle value. These are just examples.
[0036] Step S203: When it is determined that the user intends to approach, the control panel switches from the off state to the on state.
[0037] In this embodiment of the invention, when it is determined that the user intends to approach, i.e., the distance between the user and the device is continuously decreasing, the rate of distance decreasing is stable within a certain range, and the angle between the user's movement direction and the device is less than a certain angle value, the display panel can be controlled to switch from a screen-off state to a screen-on state. Specifically, the brightness value when switching to the screen-on state can be preset by the user to a comfortable level, or the current ambient light intensity can be collected by a light intensity acquisition device, and the corresponding brightness value can be set based on the ambient light intensity. Since the screen-off state may be due to the device being in a low-light environment, the determined brightness value can be added to a preset margin value to obtain the display panel brightness value corresponding to the screen-on state. Alternatively, the display panel brightness value can be adjusted based on the distance between the user and the device to achieve a smooth transition from the visual impact of a sudden screen-on. This is merely an example and not a limitation.
[0038] The brightness control method for the display panel provided in this embodiment monitors the spatial position relationship between the user and the device on which the display panel is located when the display panel is in a screen-off state. Based on the spatial position relationship between the user and the device, it determines whether the user intends to move closer. When it is determined that the user intends to move closer, it controls the display panel to switch from a screen-off state to a screen-on state. This realizes automatic control of the display panel to turn on based on the user's intention to move closer, simplifies the steps of user interaction with the device, and improves the user's sense of interaction and experience with the device.
[0039] This embodiment provides a brightness control method for a display panel, which can be used in a controller within a device. Figure 2 This is a flowchart of a brightness control method for a display panel according to an embodiment of the present invention, such as... Figure 2 As shown, the process includes the following steps: Step S201: When the display panel is in a screen-off state, monitor the spatial position relationship of the user relative to the device where the display panel is located.
[0040] The display panel designed in this embodiment of the invention can be a liquid crystal display (LCD), an organic light-emitting diode (OLED), or other types of display screens, and has stepless pulse width modulation (PWM) dimming, which can continuously and smoothly adjust to the required brightness. This is only an example.
[0041] In one optional implementation, the controller in the device can also monitor the current ambient light intensity and adjust the brightness of the display panel based on the current ambient light intensity, wherein the brightness of the display panel is positively correlated with the ambient light intensity; when the current ambient light intensity is detected to be less than a first preset intensity threshold, the controller controls the display panel to enter a screen-off state.
[0042] The device in this embodiment of the invention is equipped with a light intensity acquisition device. The type of light intensity acquisition device is not limited; it can be a photosensitive sensor, a sensor based on thermal effects, etc., used to detect the ambient light intensity. This is just an example. The current ambient light intensity can be acquired by the light intensity acquisition device, and the brightness of the display panel can be adjusted based on the current ambient light intensity. The brightness of the display panel is positively correlated with the ambient light intensity. When the ambient light intensity is strong, the brightness of the display panel can be increased to ensure that the user can see clearly. When the ambient light intensity is weak, the brightness of the display panel can be decreased to avoid glare.
[0043] The specific form in which the brightness of the display panel is positively correlated with the ambient light intensity is not limited. For example, the brightness of the display panel and the ambient light intensity can have a linear relationship. The brightness value corresponding to the current ambient light intensity can be determined by a proportional coefficient and an intercept. Alternatively, a piecewise linear relationship can be set, that is, the ambient light intensity can be divided into multiple intervals, and different intervals correspond to different linear rules related to brightness. For example, in the low light interval, a smaller proportional coefficient can be set to achieve a slow increase in brightness under low light to avoid glare. In the medium ambient light interval, a larger proportional coefficient can be set to achieve a faster increase in brightness under medium light to match visual needs. In the strong light interval, the largest proportional coefficient can be set to achieve the maximum increase in brightness under strong light to ensure visibility. This is just an example.
[0044] In a specific embodiment, the present invention can predefine a mapping table between ambient light intensity and display panel brightness, as shown in Table 1. The corresponding brightness can be obtained by looking up the table according to the current ambient light intensity. The specific correspondence between ambient light intensity and display panel brightness is only an example. In actual applications, it can be calibrated according to the characteristics of the device.
[0045] Table 1. Correspondence between ambient light intensity and display panel brightness
[0046] In the embodiment of the present invention, when the display panel is on, the brightness can be dynamically adjusted based on changes in ambient light to ensure that users can obtain the best visual experience under different ambient lighting conditions. When the ambient light intensity is detected to be less than a first preset intensity threshold (e.g., 50 Iux, which can be adjusted according to user habits and actual scenarios), it indicates that the device is in a nighttime off-light state. The display panel can then be automatically controlled to enter an off-light state, i.e., the brightness percentage of the display panel is zero, and the spatial position relationship between the user and the device can be monitored.
[0047] This invention dynamically adjusts the brightness of the display panel based on changes in ambient light, enabling the display panel brightness to automatically adapt to the ambient light. Users can obtain a clear and comfortable visual effect without manual adjustment, and the screen automatically turns off in low light, replacing the redundant operation of manually locking the screen.
[0048] Specifically, step S201 includes: Step S2011: Obtain the straight-line distance between the user and the device reference point.
[0049] Step S2012: Obtain the vertical distance from the user to the device reference line.
[0050] Step S2013: Obtain the first angle between the straight-line distance and the device reference line.
[0051] When the ambient light intensity is detected to be less than the first preset intensity threshold, the control panel enters the screen-off state.
[0052] This invention embodiment can acquire data such as the user's distance and angle around the device through a user location acquisition device (location relationship monitoring component). The user location acquisition device can be a proximity sensing module, such as an infrared sensor, camera, or radar device, etc., as an example only. Figure 3 As shown, the specific data collected may include the straight-line distance r between the user (human target) and the device reference point, the perpendicular distance d from the user to the device reference line, and the first angle θ between the straight-line distance and the device reference line. d, r, and θ satisfy... The relationship is as follows: the reference point can be the central axis of the device or the location of the user acquisition device. Taking an electric fan as an example, the reference point can be the central axis of the device or the center point of the motor casing. The reference line is the extension line of the reference point, and the vertical distance is the shortest distance between the extension line and the device. The horizontal line where the device base is located can be used as the reference line, or the line on the ground projected vertically from the center line of the front of the device can be used as the reference line. This is just an example.
[0053] This invention can accurately calculate the spatial relative position of the user and the device from three dimensions: straight-line distance, offset, and included angle, thereby improving the accuracy of judging the intention to approach.
[0054] Step S202: Based on the user's spatial position relative to the device, determine whether the user intends to move closer.
[0055] Specifically, step S202 includes: Step S2021: Obtain spatial location relationship data within a preset time series.
[0056] Among them, the spatial positional relationship data includes the changing trends of the first included angle, vertical distance, and straight-line distance over time.
[0057] Step S2022: When the change in the first included angle over time is less than the first preset change threshold, the vertical distance over time shows a continuously decreasing trend, and the straight-line distance over time shows a continuously decreasing trend, it is determined that the user has the intention to move closer.
[0058] This invention allows for the setting of a time series (e.g., a continuous 2-5 seconds) to ensure the capture of the user's continuous movement trend and the acquisition of spatial positional relationship data within the time series, including the trend of spatial positional relationship relative to the device over time, such as... Figure 4a As shown, when the change in the first included angle θ over time is less than the first preset change threshold within a continuous time series, the first preset change threshold is generally zero or a small change threshold. This indicates that when the first included angle θ remains unchanged or changes within a small range, the vertical distance d changes continuously over time, and the straight-line distance r changes continuously over time, it can be determined that the user has the intention to approach.
[0059] This invention determines whether a user intends to move closer by analyzing the changing trends of the first included angle, straight-line distance, and vertical distance within a time series. This allows for a more comprehensive and accurate capture of the user's true intentions, thereby improving the accuracy and efficiency of the interaction.
[0060] In one optional implementation, when the first included angle changes continuously over time, the vertical distance changes continuously over time, and the straight-line distance changes continuously over time, it is determined that the user is in the state of passing in front of the device; or, when the first included angle changes continuously over time, the change in vertical distance over time is less than a second preset change threshold, and the change in straight-line distance over time is continuously decreasing, it is determined that the user is in the state of passing by the side of the device. When the controller determines that the user is in the state of passing in front of the device or the user is in the state of passing by the side of the device, it determines that the user has no intention to approach and controls the display panel to remain in the off state.
[0061] like Figure 4b As shown, when the controller (or main control unit) detects that the first included angle θ, the vertical distance d, and the straight distance r all decrease continuously over a continuous time sequence, it can determine that the user is passing in front of the device. In this case, since it is determined that the user is just passing by the device, the display panel can be kept off, which can improve the user experience and reduce the device's energy consumption.
[0062] like Figure 4cAs shown, when the controller detects that the first included angle θ changes continuously with time within a continuous time series, the change in vertical distance d is less than the second preset change threshold (where the second preset change threshold is generally zero, indicating that the vertical distance d remains unchanged), and the change in straight distance r changes continuously with time, it can determine that the current user is passing by the side of the device. In this case, since it is determined that the user is only passing by the device, the display panel can remain in the off state. This is just an example.
[0063] When the present invention determines that the user is passing by the device based on the first included angle, vertical distance and straight line distance, it can keep the display panel in a blackout state, achieve accurate filtering of invalid interactions and avoid accidental device triggering.
[0064] Step S203: When it is determined that the user intends to approach, the control panel switches from the off state to the on state.
[0065] Specifically, a possible solution for controlling the display panel to switch from a screen-off state to a screen-on state is to obtain the current straight-line distance between the user and the device reference point; and adjust the brightness of the display panel based on the current straight-line distance, wherein the brightness of the display panel is negatively correlated with the current straight-line distance.
[0066] In this embodiment of the invention, when switching the display panel from a screen-off state to a screen-on state, the initial brightness of the display panel can be set based on the currently collected straight-line distance *r* from the user to the device reference point. Subsequently, the brightness of the display panel can be adjusted in real time based on the collected straight-line distance. The straight-line distance and the brightness of the display panel are negatively correlated. As the user gets closer to the device, the brightness of the display panel can gradually increase from low to high, avoiding the visual impact of sudden screen brightening and improving the user experience. Alternatively, during the process of adjusting the brightness based on the user's distance, an upper limit value for the display panel brightness can be set, using a comfortable display brightness in a dark environment as the upper limit value to avoid strong light stimulation in dark environments and protect eye health. The specific form of the negative correlation between the straight-line distance and the brightness of the display panel is not limited; it can be a preset linear relationship between the straight-line distance and the display panel brightness, or a preset correspondence table between the straight-line distance and the display panel brightness. For example, as shown in Table 2, the brightness of the display panel can be adjusted based on the real-time collected straight-line distance.
[0067] Table 2. Correspondence between linear distance and display panel brightness
[0068] This invention adjusts the brightness of the display panel in real time based on the straight-line distance between the user and the device reference point, ensuring that the brightness of the display panel smoothly increases as the distance gradually decreases as the user approaches the device, thus improving the smooth and natural effect of brightness adjustment.
[0069] This embodiment provides a brightness control method for a display panel, which can be used in a controller within a device. Figure 5 This is a flowchart of a brightness control method for a display panel according to an embodiment of the present invention, such as... Figure 5 As shown, the process includes the following steps: Step S501: When the display panel is in an off state, monitor the spatial position of the user relative to the device where the display panel is located. For details, please refer to [link to relevant documentation]. Figure 2 Step S201 of the illustrated embodiment will not be described again here.
[0070] Step S502: Determine whether the straight-line distance is less than the first preset distance threshold. If the straight-line distance is less than the first preset distance threshold, determine whether the user has the intention to move closer based on the user's spatial position relative to the device.
[0071] In this embodiment of the invention, during the real-time acquisition of the straight-line distance between the user and the device reference point by the user location acquisition device, it can determine in real time whether the straight-line distance is less than a first preset distance threshold. The setting of the first preset distance is not limited and can be set according to the surrounding environment, computing resources, and device type. Taking 1 meter as an example, when the straight-line distance is less than the first preset distance threshold, it can indicate that the user has entered the potential interaction range, which can trigger an accurate judgment on whether the user intends to approach. The first preset distance threshold first filters out users at a distance (no possibility of interaction), and only initiates multi-dimensional spatial analysis for users at a close distance, which greatly reduces the invalid parameter acquisition and calculation process. By determining whether the user intends to approach through two judgments, the accuracy of intent recognition can be improved.
[0072] The present invention sets a first preset distance threshold. Only when the straight-line distance is less than the first preset distance threshold will the system determine whether the user intends to move closer based on the user's spatial position relative to the device, thereby reducing invalid intent judgments and reducing resource waste.
[0073] Step S503: When it is determined that the user intends to approach, the display panel is controlled to switch from the off state to the on state. For details, please refer to [link to details]. Figure 2 Step S203 of the illustrated embodiment will not be described again here.
[0074] Step S504: When it is detected that the straight-line distance changes continuously over time and the straight-line distance is greater than the second preset distance threshold, the display panel is controlled to switch from the on state to the off state.
[0075] The second preset distance threshold is not less than the first preset distance threshold.
[0076] In this embodiment of the invention, while the display panel is in the on state, the straight-line distance between the user and the device reference point can be monitored in real time. When the straight-line distance is detected to be continuously increasing over time and is greater than the second preset distance threshold, it indicates that the user is moving away from the device, and the display panel can be switched back to the off state. The second preset distance threshold is designed to be no less than the first preset distance threshold.
[0077] When the user moves away from the device, the present invention can automatically switch the display panel to a screen-off state to maintain a state that conforms to the current environment, avoid the disturbance of invalid screen lighting, and also reduce screen lighting power consumption.
[0078] In one optional implementation, the controller can also receive voice commands from the user; parse the voice commands to obtain the user's control intention for the device and brightness adjustment parameters; based on the user's control intention for the device and the corresponding brightness adjustment parameters, control the display panel to switch to the corresponding state, and adjust the brightness value of the display panel based on the brightness adjustment parameters.
[0079] In this embodiment of the invention, users can control the display panel's on / off state and brightness via voice commands. After receiving the user's voice command, the controller can parse the command to obtain the user's control intent and brightness adjustment parameters. Based on the control intent, the controller can switch the display panel to the target state. If the current display panel state is inconsistent with the target state, the controller will switch the display panel to the target state. If the current display panel state is consistent with the target state, the state switching operation will not be performed to avoid repetitive operations. If the brightness adjustment parameters include the user-set target brightness value for the display panel, the screen brightness can be directly adjusted to the target value. If the brightness adjustment parameters include a relative amplitude parameter, the current brightness value can be increased or decreased based on the relative amplitude value. Finally, after adjustment, the controller can provide feedback to the user via voice or screen display to ensure the user is aware that the command has been executed.
[0080] This invention allows users to adjust the state of the display panel via voice commands, which not only frees up the user's hands and improves the convenience of interaction, but also accurately matches the user's needs and avoids invalid operations.
[0081] In one alternative implementation, users can also wake up and turn off the display panel through gestures (such as waving), improving the convenience of device interaction.
[0082] This embodiment also provides a device, such as Figure 6As shown, the device includes a controller 61, a light intensity acquisition device 62, a user location acquisition device 63, and a display panel 64. The controller 61 includes a memory and a processor, which are interconnected. The memory stores computer instructions, and the processor executes the computer instructions to perform the brightness control method of the display panel. For details, please refer to the above embodiment, which will not be repeated here.
[0083] This embodiment also provides a brightness control device for a display panel, which is used to implement the above embodiments and preferred embodiments; details already described will not be repeated. As used below, the term "module" can refer to a combination of software and / or hardware that implements a predetermined function. Although the device described in the following embodiments is preferably implemented in software, hardware implementation, or a combination of software and hardware, is also possible and contemplated.
[0084] This embodiment provides a brightness control device for a display panel, such as... Figure 7 As shown, it includes: a positional relationship monitoring module 701, used to monitor the spatial positional relationship of the user relative to the device where the display panel is located when the display panel is in a screen-off state; a user intent judgment module 702, used to judge whether the user has an intention to move closer based on the spatial positional relationship of the user relative to the device; and a brightness switching module 703, used to control the display panel to switch from a screen-off state to a screen-on state when it is judged that the user has an intention to move closer.
[0085] In some optional embodiments, the brightness control device of the display panel further includes: an environment monitoring module for monitoring the current ambient light intensity and adjusting the brightness of the display panel based on the current ambient light intensity, wherein the brightness of the display panel is positively correlated with the ambient light intensity; and a state adjustment module for controlling the display panel to enter a screen-off state when the current ambient light intensity is detected to be less than a first preset intensity threshold.
[0086] In some optional implementations, the position relationship monitoring module 701 includes: a straight-line distance acquisition unit for acquiring the straight-line distance between the user and the device reference point of the device; a vertical distance acquisition unit for acquiring the vertical distance from the user to the device reference line; and an angle acquisition unit for acquiring the first angle between the straight-line distance and the device reference line.
[0087] In some optional implementations, the user intent determination module 702 includes: a location data acquisition unit, used to acquire spatial location relationship data within a preset time series, the spatial location relationship data including the changing trends of a first included angle, vertical distance, and straight-line distance over time; and a proximity intent determination unit, used to determine that the user has a proximity intent when the change in the first included angle over time is less than a first preset change threshold, the changing trend of the vertical distance over time is continuously decreasing, and the changing trend of the straight-line distance over time is continuously decreasing.
[0088] In some optional implementations, the user intent determination module 702 further includes: a passing state determination unit, used to determine that the user meets the passing state in front of the device when the first included angle changes continuously over time, the vertical distance changes continuously over time, and the straight distance changes continuously over time; or, when the first included angle changes continuously over time, the change in vertical distance over time is less than a second preset change threshold, and the change in straight distance over time is continuously decreasing, the user meets the passing state from the side of the device; and a state maintenance unit, used to determine that the user has no intention to approach when it is determined that the user meets the passing state in front of the device or the passing state from the side of the device, and to control the display panel to remain in a screen-off state.
[0089] In some optional implementations, before determining whether the user intends to approach based on the user's spatial position relative to the device, the brightness control device of the display panel further includes: a distance determination module for determining whether the straight-line distance is less than a first preset distance threshold; and a step execution module for executing the step of determining whether the user intends to approach based on the user's spatial position relative to the device when the straight-line distance is less than the first preset distance threshold.
[0090] In some optional implementations, the brightness switching module 703 includes: a distance acquisition unit for acquiring the current straight-line distance between the user and the device reference point; and a brightness adjustment unit for adjusting the brightness of the display panel based on the current straight-line distance, wherein the brightness of the display panel is negatively correlated with the current straight-line distance.
[0091] In some optional implementations, after controlling the display panel to switch from a screen-off state to a screen-on state, the brightness control device of the display panel further includes: a state switching module, used to control the display panel to switch from a screen-on state to a screen-off state when it is detected that the straight-line distance changes continuously over time and the straight-line distance is greater than a second preset distance threshold, wherein the second preset distance threshold is not less than a first preset distance threshold.
[0092] In some optional implementations, the brightness control device of the display panel further includes: a voice command receiving module for receiving voice commands issued by the user; a command parsing module for parsing the voice commands to obtain the user's control intention for the device and brightness adjustment parameters; and a state switching module for controlling the display panel to switch to the corresponding state based on the user's control intention for the device and the corresponding brightness adjustment parameters, and adjusting the brightness value of the display panel based on the brightness adjustment parameters.
[0093] The brightness control device for the display panel provided in this embodiment of the invention can execute the brightness control method for the display panel provided in any embodiment of the invention, and has the corresponding functional modules and beneficial effects for executing the method. Further functional descriptions of the various modules and units described above are the same as those in the corresponding embodiments described above, and will not be repeated here.
[0094] Figure 8 This is a schematic diagram of the structure of a controller in a device provided in an embodiment of the present invention.
[0095] The following is a detailed reference. Figure 8 The diagram illustrates a structural schematic suitable for implementing a controller in an embodiment of the present invention. The controller may include a processor (e.g., a central processing unit, a graphics processing unit, etc.) 801, which can perform various appropriate actions and processes according to a program stored in read-only memory (ROM) 802 or a program loaded from memory 808 into random access memory (RAM) 803. The RAM 803 also stores various programs and data required for controller operation. The processor 801, ROM 802, and RAM 803 are interconnected via bus 804. An input / output (I / O) interface 805 is also connected to bus 804.
[0096] Typically, the following devices can be connected to I / O interface 805: input devices 806 including, for example, a touchscreen, touchpad, keyboard, mouse, camera, microphone, accelerometer, gyroscope, etc.; output devices 807 including, for example, a liquid crystal display (LCD), speaker, vibrator, etc.; memory 808 including, for example, magnetic tape, hard disk, etc.; and communication devices 809. Communication device 809 allows the controller to communicate wirelessly or wiredly with other devices to exchange data. Although Figure 8 A controller with various devices is shown, but it should be understood that it is not required to implement or have all of the devices shown, and may alternatively implement or have more or fewer devices.
[0097] In particular, according to embodiments of the present invention, the processes described above with reference to the flowcharts can be implemented as computer software programs. For example, embodiments of the present invention include a computer program product comprising a computer program carried on a non-transitory computer-readable medium, the computer program containing program code for performing the methods shown in the flowcharts. In such embodiments, the computer program can be downloaded and installed from a network via a communication device 809, or installed from a memory 808, or installed from a ROM 802. When the computer program is executed by the processor 801, it performs the functions defined in the brightness control method for the display panel of the embodiments of the present invention.
[0098] Figure 8 The controller shown is merely an example and should not be construed as limiting the functionality and scope of use of the embodiments of the present invention.
[0099] This invention also provides a computer-readable storage medium. The methods described above according to embodiments of the invention can be implemented in hardware or firmware, or implemented as computer code that can be recorded on a storage medium, or implemented as computer code downloaded via a network and originally stored on a remote storage medium or a non-transitory machine-readable storage medium and then stored on a local storage medium. Thus, the methods described herein can be processed by software stored on a storage medium using a general-purpose computer, a dedicated processor, or programmable or dedicated hardware. The storage medium can be a magnetic disk, optical disk, read-only memory, random access memory, flash memory, hard disk, or solid-state drive, etc.; further, the storage medium can also include combinations of the above types of memory. It is understood that computers, processors, microprocessor controllers, or programmable hardware include storage components capable of storing or receiving software or computer code. When the software or computer code is accessed and executed by the computer, processor, or hardware, the brightness control method for the display panel shown in the above embodiments is implemented.
[0100] A portion of this invention can be applied as a computer program product, such as computer program instructions, which, when executed by a computer, can invoke or provide the methods and / or technical solutions according to the invention through the operation of the computer. Those skilled in the art will understand that the forms in which computer program instructions exist in a computer-readable medium include, but are not limited to, source files, executable files, installation package files, etc. Correspondingly, the ways in which computer program instructions are executed by a computer include, but are not limited to: the computer directly executing the instructions, or the computer compiling the instructions and then executing the corresponding compiled program, or the computer reading and executing the instructions, or the computer reading and installing the instructions and then executing the corresponding installed program. Here, the computer-readable medium can be any available computer-readable storage medium or communication medium accessible to a computer.
[0101] Although embodiments of the invention have been described in conjunction with the accompanying drawings, those skilled in the art can make various modifications and variations without departing from the spirit and scope of the invention, and such modifications and variations all fall within the scope defined by the appended claims.
Claims
1. A method of brightness control of a display panel, characterized by, The method comprises: monitoring the spatial position relationship of the user relative to the device where the display panel is located when the display panel is in an off-screen state; determining whether the user has a close intention based on the spatial position relationship of the user relative to the device; when it is determined that the user has a close intention, controlling the display panel to switch from the off-screen state to the on-screen state.
2. The method of claim 1, wherein, The method further comprises: monitoring the current ambient light intensity and adjusting the brightness of the display panel based on the current ambient light intensity, wherein the brightness of the display panel is positively correlated with the ambient light intensity; when it is detected that the current ambient light intensity is less than a first preset intensity threshold, controlling the display panel to enter the off-screen state.
3. The method of claim 1, wherein, The monitoring of the spatial position relationship of the user relative to the device where the display panel is located comprises: obtaining the straight-line distance between the user and the device reference point of the device; obtaining the perpendicular distance from the user to the device reference line of the device; obtaining the first included angle between the straight-line distance and the device reference line.
4. The method of claim 3, wherein, The determination of whether the user has a close intention based on the spatial position relationship of the user relative to the device comprises: obtaining spatial position relationship data within a preset time sequence, the spatial position relationship data including the change trend of the first included angle, the perpendicular distance and the straight-line distance over time; when the change amount of the first included angle over time is less than a first preset change amount threshold, the change trend of the perpendicular distance over time is continuously decreasing, and the change trend of the straight-line distance over time is continuously decreasing, it is determined that the user has a close intention.
5. The method of claim 4, wherein, The method further comprises: when the change trend of the first included angle over time is continuously decreasing, the change trend of the perpendicular distance over time is continuously decreasing, and the change trend of the straight-line distance over time is continuously decreasing, it is determined that the user meets the from-in-front-of-the-device-passing state, or when the change trend of the first included angle over time is continuously increasing, the change amount of the perpendicular distance over time is less than a second preset change amount threshold, and the change trend of the straight-line distance over time is continuously decreasing, it is determined that the user meets the from-the-side-of-the-device-passing state; when it is determined that the user meets the from-in-front-of-the-device-passing state or the from-the-side-of-the-device-passing state, it is determined that the user has no close intention, and the display panel is controlled to maintain the off-screen state.
6. The method of claim 3, wherein, Before determining whether the user has a close intention based on the spatial position relationship of the user relative to the device, the method further comprises: determining whether the straight-line distance is less than a first preset distance threshold; when the straight-line distance is less than the first preset distance threshold, performing the step of determining whether the user has a close intention based on the spatial position relationship of the user relative to the device.
7. The method of claim 3, wherein, The control of the display panel to switch from the off-screen state to the on-screen state comprises: obtaining the current straight-line distance between the user and the device reference point; adjusting the brightness of the display panel based on the current straight-line distance, wherein the brightness of the display panel is negatively correlated with the current straight-line distance.
8. The method of claim 6, wherein, After controlling the display panel to switch from the off-screen state to the on-screen state, the method further comprises: When it is detected that the linear distance continues to increase over time and the linear distance is greater than a second preset distance threshold, the display panel is switched from the bright screen state to the dark screen state, and the second preset distance threshold is not less than the first preset distance threshold.
9. The method of claim 1, wherein, The method further includes: receiving a voice instruction issued by a user; analyzing the voice instruction to obtain a control intention of the user to the device and a brightness adjustment parameter; controlling the display panel to switch to a corresponding state based on the control intention of the user to the device and the corresponding brightness adjustment parameter, and adjusting the brightness value of the display panel based on the brightness adjustment parameter.
10. A luminance control device of a display panel, characterized by comprising: The device includes: a position relationship monitoring module configured to monitor a spatial position relationship of a user relative to a device in which the display panel is located when the display panel is in the dark screen state; a user intention judgment module configured to judge whether the user has an intention to approach based on the spatial position relationship of the user relative to the device; a brightness switching module configured to control the display panel to switch from the dark screen state to the bright screen state when it is judged that the user has the intention to approach.
11. An apparatus, comprising: The device includes a controller, a light intensity acquisition device, a user position acquisition device, and a display panel. The controller includes a memory and a processor, which are communicatively connected to each other. The memory stores computer instructions. The processor executes the computer instructions to perform the brightness control method of the display panel according to any one of claims 1 to 9.
12. A computer-readable storage medium, characterized in that, The computer readable storage medium stores computer instructions for causing a computer to perform the brightness control method of the display panel according to any one of claims 1 to 9.