Mode processing method and device of display equipment, equipment and medium
By automatically detecting the ambient brightness and time, the display device adjusts the screen light and volume in the night mode, solving the problem that the night mode cannot be automatically activated in the existing technology, and achieving more suitable user experience and health protection.
Patent Information
- Application Number
- CN202411135278.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-16
- Publication Date
- 2024-11-19
AI Technical Summary
The existing display device cannot automatically start night mode, causing users to manually adjust settings when watching videos at night, resulting in eye fatigue and discomfort.
By obtaining the environmental detection information of the display device, if the ambient brightness is lower than the threshold and the duration reaches the preset time, the night mode will be automatically activated, and the screen light and volume will be adjusted according to the preset mode setting information to realize the eye protection and ear protection mode.
It reduces the cumbersomeness of manual adjustment by users, provides a more balanced and comfortable user experience with the night environment, reduces eye and ear stimulation, and protects users' audio-visual health.
Smart Images

Figure CN118982971A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of electronic equipment, and in particular to a mode processing method, device, equipment and medium for a display device. Background Art
[0002] With the rapid development of the Internet, smart devices are becoming more and more popular, and more and more users are using display devices such as TVs, mobile phones, and flat-panel capacitors to watch videos.
[0003] For example, people often use display devices to watch videos at night. Compared with daytime, the environment at night is darker and quieter. If users use high-brightness and blue-light-rich screens to watch videos at night, it may cause eye fatigue, discomfort, and even interfere with sleep. Therefore, special display settings at night become particularly important. Summary of the invention
[0004] The present application provides a mode processing method, apparatus, device and medium for a display device to realize an automatic night mode of the display device, thereby solving the problem in the prior art that the display device cannot automatically start the night mode.
[0005] In a first aspect, the present application provides a mode processing method of a display device, comprising:
[0006] Obtain environmental detection information of the display device;
[0007] When the environment detection information meets a preset nighttime trigger condition, starting a nighttime mode of the display device;
[0008] According to the preset mode setting information corresponding to the night mode, the output parameters of the display device are set, and the output parameters are used to control the output of the display device.
[0009] Optionally, the acquiring of environment detection information of the display device includes:
[0010] Acquire the ambient brightness detected by the display device;
[0011] Determine the duration corresponding to the ambient brightness;
[0012] The environment brightness and the duration are determined as the environment detection information.
[0013] Optionally, when the environment detection information meets a preset nighttime trigger condition, starting the nighttime mode of the display device includes:
[0014] When the ambient brightness is less than a specific brightness threshold and the duration reaches a preset duration threshold, determining that the ambient detection information satisfies the night trigger condition;
[0015] Based on the nighttime trigger condition, the working mode of the display device is automatically set to the nighttime mode.
[0016] Optionally, after determining the ambient brightness and the duration as the ambient detection information, the method further includes:
[0017] When the ambient brightness is greater than a specific brightness threshold and the duration reaches a preset duration threshold, determining that the ambient detection information does not meet the night trigger condition;
[0018] If the working mode of the display device is the night mode, the display is controlled to exit the night mode to restore the working mode to the default setting mode of the display device.
[0019] Optionally, the mode setting information includes eye protection mode setting information, and setting the output parameters of the display device according to the preset mode setting information corresponding to the night mode includes:
[0020] Obtaining the eye protection mode setting information;
[0021] According to the eye protection mode setting information, the screen light of the display device is adjusted until the output parameter corresponding to the screen light is the screen output parameter in the eye protection mode setting information.
[0022] Optionally, the screen output parameter includes a color temperature parameter and a brightness parameter, and adjusting the screen light of the display device according to the eye protection mode setting information includes:
[0023] Determining whether the display color temperature of the display device is the color temperature corresponding to the color temperature parameter;
[0024] If the display color temperature is not the color temperature corresponding to the color temperature parameter, adjusting the color temperature of the display device based on the color temperature parameter until the display color temperature is adjusted to the color temperature corresponding to the color temperature parameter;
[0025] If the display color temperature is the color temperature corresponding to the color temperature parameter, the screen display brightness of the display device is reduced based on the brightness parameter until the screen display brightness is reduced to the display brightness corresponding to the brightness parameter.
[0026] Optionally, the mode setting information further includes ear protection mode setting information, and the setting of the output parameters of the display device according to the preset mode setting information corresponding to the night mode further includes:
[0027] Acquire the ear protection mode setting information;
[0028] According to the eye protection mode setting information, the output volume of the display device is adjusted until the output parameter corresponding to the output volume is reduced to the volume threshold in the ear protection mode setting information.
[0029] In a second aspect, the present application provides a mode processing device for a display device, comprising:
[0030] An environment detection module is used to obtain environment detection information of a display device;
[0031] A night mode activation module, used to activate the night mode of the display device when the environmental detection information meets a preset night trigger condition;
[0032] The night mode setting module is used to set the output parameters of the display device according to the preset mode setting information corresponding to the night mode, and the output parameters are used to control the output of the display device.
[0033] In a third aspect, the present application provides an electronic device comprising: a processor, a communication interface, a memory and a communication bus, wherein the processor, the communication interface and the memory communicate with each other through the communication bus; the memory is used to store computer programs; the processor is used to implement the steps of the mode processing method of the display device as described in any of the embodiments of the present application when executing the program stored in the memory.
[0034] In a fourth aspect, the present application further provides a computer storage medium storing computer executable instructions, wherein the computer executable instructions are used to execute the steps of the mode processing method of the display device described in any one of the above items of the present application.
[0035] The mode processing method, apparatus, device and medium of the display device provided in the embodiments of the present application obtain environmental detection information of the display device, and start the night mode of the display device when the environmental detection information meets the preset night trigger condition, so as to set the output parameters of the display device according to the preset mode setting information corresponding to the night mode, and the output parameters are used to control the output of the display device, thereby realizing automatic night mode, reducing the tediousness of manual adjustment by the user, and providing a user experience that is more balanced and more suitable and comfortable with the night environment, thereby solving the problem in the existing related technology that the display device cannot automatically start the night mode. BRIEF DESCRIPTION OF THE DRAWINGS
[0036] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the invention and, together with the description, serve to explain the principles of the invention.
[0037] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, for ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative labor.
[0038] One or more embodiments are exemplarily described by pictures in the corresponding drawings, and these exemplified descriptions do not constitute limitations on the embodiments. Elements with the same reference numerals in the drawings represent similar elements, and unless otherwise stated, the figures in the drawings do not constitute proportional limitations.
[0039] Figure 1 A schematic flow chart of the steps of a mode processing method for a display device provided in an embodiment of the present application;
[0040] Figure 2 A schematic flow chart of the steps of a mode processing method for a display device provided as an example of the present application;
[0041] Figure 3 A structural block diagram of a mode processing device for a display device provided in an embodiment of the present application;
[0042] Figure 4 A schematic diagram of the structure of a display device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0043] In order to make the purpose, technical solution and advantages of the embodiments of the present application clearer, the technical solution in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of this application.
[0044] The disclosure below provides many different embodiments or examples to implement different structures of the present invention. In order to simplify the disclosure of the present invention, the parts and settings of specific examples are described below. Of course, they are only examples, and the purpose is not to limit the present invention. In addition, the present invention can repeat reference numbers and / or letters in different examples. This repetition is for the purpose of simplification and clarity, and does not itself indicate the relationship between the various embodiments and / or settings discussed.
[0045] In order to solve the problem in the prior art that users need to adjust the display device because the night environment is different from the day environment, the present application provides a mode processing method, device, equipment and medium for a display device, which obtains environmental detection information of the display device, and starts the night mode of the display device when the environmental detection information meets the preset night trigger condition, and sets the output parameters of the display device according to the preset mode setting information corresponding to the night mode, thereby realizing automatic night mode and reducing the tediousness of manual adjustment by users.
[0046] Figure 1 A schematic flow chart of the steps of a mode processing method of a display device provided in an embodiment of the present application. The mode processing method of a display device provided in an embodiment of the present application comprises the following steps:
[0047] Step 110, obtaining environmental detection information of the display device;
[0048] The environmental monitoring information of the display device may include environmental information detected for the display device, such as the ambient brightness detected by the display device through a light sensor. Of course, in addition to the ambient brightness, the environmental detection information of the display device may also include other information related to the environment, such as ambient sound, and the embodiments of the present application are not limited to this.
[0049] Step 120, when the environment detection information meets a preset night trigger condition, starting the night mode of the display device;
[0050] Among them, the preset night trigger condition can be used to automatically trigger the display device to enter the night mode, and specifically can include various trigger information set for the night mode, and the trigger information refers to the information used to trigger the display device to enter the night mode.
[0051] Specifically, after obtaining the environmental detection information of the display device, the embodiment of the present application can determine whether to automatically start the night mode of the display device by detecting whether the environmental detection information meets the preset night trigger condition; if the environmental detection information of the display device does not meet the preset night trigger condition, it can be determined that there is no need to automatically start the night mode of the display device at present, and the environmental detection information of the display device can continue to be obtained until the environmental detection information obtained meets the preset night trigger condition, and the night mode of the display device is automatically started, so that the output parameters of the display device can be set according to the preset mode setting information corresponding to the night mode to realize automatic night mode.
[0052] Step 130: setting output parameters of the display device according to preset mode setting information corresponding to the night mode, wherein the output parameters are used to control the output of the display device.
[0053] Among them, the preset mode setting information corresponding to the night mode may refer to information pre-set for the night mode, such as eye protection mode setting information, ear protection mode setting information, etc., so as to adjust the output parameters of the display device according to the mode setting information in the night mode, and realize the special settings of the display device in the night mode. Specifically, in this step, the preset mode setting information corresponding to the night mode can be obtained, and the output parameters of the display device can be set according to the mode setting information, so that the display device can output according to the preset mode setting information corresponding to the night mode, reduce the screen blue light emitted by the display device in the night environment, make the screen light of the display device softer in the night mode, and reduce the stimulation to the user's eyes.
[0054] In summary, the embodiments of the present application obtain environmental detection information of the display device to start the night mode of the display device when the environmental detection information meets the preset night trigger condition, and set the output parameters of the display device according to the preset mode setting information corresponding to the night mode, so as to control the output of the display device through the output parameters, so that the display device can output according to the preset mode setting information corresponding to the night mode, reduce the screen blue light emitted by the display device in the night environment, thereby realizing an automatic night mode, providing a user experience that is more balanced and more suitable for the night environment, and reducing the tediousness of manual adjustment by the user, thereby solving the problem that the display device cannot automatically start the night mode in the existing related technology.
[0055] In an embodiment of the present application, in order to realize the special setting of the display device at night, the ambient brightness detected by the display device can be used so that when the measured ambient brightness is lower than a threshold, it is considered that the ambient detection information of the display device meets the preset night trigger condition, so that the display device automatically enters the night mode. Optionally, the embodiment of the present application obtains the ambient detection information of the display device, which can specifically include the following sub-steps:
[0056] Sub-step 1101, obtaining the ambient brightness detected by the display device;
[0057] Sub-step 1102, determining the duration corresponding to the ambient brightness;
[0058] Sub-step 1102: determining the environment brightness and the duration as the environment detection information.
[0059] In one embodiment of the present application, the display device can detect the ambient brightness through a light sensing probe, and can record the corresponding detection time for the detected ambient brightness, so as to determine the duration corresponding to the ambient brightness based on the detection time, so that the detected ambient brightness and the duration corresponding to the ambient brightness can be used as the ambient detection information of the display device, so that the ambient brightness and the duration corresponding to the ambient brightness can be used to determine whether the ambient detection information currently detected by the display device meets the preset night trigger condition, thereby realizing automatic triggering of the night mode.
[0060] Optionally, in this embodiment, when the environmental detection information satisfies a preset night trigger condition, the night mode of the display device is activated, which may specifically include: when the environmental brightness is less than a specific brightness threshold and the duration reaches a preset duration threshold, determining that the environmental detection information satisfies the night trigger condition; based on the night trigger condition, automatically setting the working mode of the display device to the night mode. Among them, the specific brightness threshold may refer to the environmental brightness threshold set for the night mode, which can be specifically used to distinguish between a night environment and a non-night environment. For example, when the detected environmental brightness is less than a specific brightness threshold, it means that the current environment is darker, and it can be considered that the current environmental brightness belongs to the brightness of a night environment; and when the detected environmental brightness is greater than a specific brightness threshold, it means that the current environment is brighter, and it can be considered that the current environmental brightness belongs to the brightness of a non-night environment, such as the current environmental brightness belongs to the brightness of a daytime environment.
[0061] As an example of the present application, the display device can continuously detect the ambient brightness every second through a light sensor; when the ambient brightness is measured to be lower than a specific brightness threshold for a period of time (e.g., 30 seconds), it is considered that the environment is dark, and the display device automatically turns on the night mode, so that when the night mode is turned on, the display device is controlled to perform special display settings according to the preset mode setting information corresponding to the night mode, such as adjusting the color temperature, reducing the brightness, etc., to reduce the screen blue light of the display device, so that the screen light is softer and reduces the stimulation to the eyes; and when the ambient brightness is measured to be higher than a specific brightness threshold for a period of time (e.g., 30 seconds), it is considered that the environment is bright, and the environmental detection information does not meet the night trigger condition, the display device automatically exits the night mode and restores the normal settings, so as to control the output of the display device according to the output parameters of the normal settings, thereby providing users with a balanced, coherent and comfortable viewing experience, reducing the tediousness of manual adjustment by users. Among them, the screen blue light of the display device refers to the blue light emitted by the screen of the display device.
[0062] In some optional embodiments of the present application, the preset mode setting information corresponding to the night mode may include eye protection mode setting information, so that the display device can perform special display settings of the eye protection mode based on the eye protection mode setting information, and implement the eye protection mode in the night mode. Among them, the eye protection mode reduces the blue light emitted by the screen by adjusting the color temperature, reducing the brightness, etc., making the screen light softer and reducing the stimulation to the eyes.
[0063] Optionally, when the preset mode setting information corresponding to the night mode includes eye protection mode setting information, an embodiment of the present application sets the output parameters of the display device according to the preset mode setting information corresponding to the night mode, which may specifically include: obtaining the eye protection mode setting information; adjusting the screen light of the display device according to the eye protection mode setting information until the output parameters corresponding to the screen light are the screen output parameters in the eye protection mode setting information.
[0064] It can be seen that after starting the night mode of the display device, the embodiment of the present application can obtain eye protection mode setting information for the night mode, so as to adjust the screen light of the display device according to the eye protection mode setting information to reduce the blue light emitted by the screen, and stop adjusting the screen light until the output parameter corresponding to the screen light is adjusted to the screen output parameter in the eye protection mode setting information, so as to soften the screen light of the display device, provide the user with a more balanced and more suitable and comfortable user experience with the night environment, reduce stimulation to the user's eyes, and solve the problem of easy eye fatigue of the user caused by the use of high brightness and more blue light screen display of the display device at night in the existing related technology.
[0065] In some optional embodiments of the present application, the screen output parameters may include color temperature parameters and brightness parameters; wherein the color temperature parameter refers to a parameter related to color temperature, which can be specifically used to adjust the color temperature of the display device; the brightness parameter refers to a parameter related to brightness, which can be specifically used to adjust the screen display brightness of the display device. Optionally, the embodiment of the present application adjusts the screen light of the display device according to the eye protection mode setting information, which may specifically include: determining whether the display color temperature of the display device is the color temperature corresponding to the color temperature parameter; if the display color temperature is not the color temperature corresponding to the color temperature parameter, adjusting the color temperature of the display device based on the color temperature parameter until the display color temperature is adjusted to the color temperature corresponding to the color temperature parameter; if the display color temperature is the color temperature corresponding to the color temperature parameter, reducing the screen display brightness of the display device based on the brightness parameter until the screen display brightness is reduced to the display brightness corresponding to the brightness parameter.
[0066] Specifically, the embodiment of the present application determines whether the display color temperature of the display device needs to be adjusted by judging whether the display color temperature of the display device is the color temperature corresponding to the color temperature parameter in the eye protection mode setting information, so that when the display color temperature of the display device is not the color temperature in the eye protection mode, the color temperature is adjusted based on the color temperature parameter until the display color temperature of the display device is adjusted to the color temperature corresponding to the color temperature parameter, and the color temperature adjustment is stopped. For example, when the color temperature parameter in the eye protection mode setting information is 5000K, if the display color temperature of the display device in the default setting mode is 6500K, the display device can be adjusted from the standard 6500K to about 5000K by lowering the color temperature, so that the screen image looks warmer, and then the screen display brightness of the display device can be reduced based on the brightness parameter, so that after the display color temperature of the display device is adjusted to the color temperature in the eye protection mode, the blue light emitted by the screen of the display device can be reduced by lowering the brightness, thereby achieving low blue light in the night mode, making the light of the screen softer, reducing stimulation to the eyes, and achieving the night eye protection mode.
[0067] Of course, the preset mode setting information corresponding to the night mode may include not only the eye protection mode setting information but also other information pre-set for the night mode. For example, considering that the volume setting during the day may be inappropriate at night, the preset mode setting information corresponding to the night mode may include not only the eye protection mode setting information but also the ear protection mode setting information, so as to realize the ear mode at night by turning on automatic volume control and sound settings through sound based on the ear mode setting information, thereby realizing the night-time special configuration functions of the display device.
[0068] Optionally, in the case where the preset mode setting information corresponding to the night mode includes ear protection mode setting information, the embodiment of the present application sets the output parameters of the display device according to the preset mode setting information corresponding to the night mode, including: obtaining the ear protection mode setting information; adjusting the output volume of the display device according to the eye protection mode setting information until the output parameter corresponding to the output volume is reduced to the volume threshold in the ear protection mode setting information. Among them, the volume threshold in the ear protection mode setting information can be set according to the nighttime ear protection demand, so that the display device can adjust the volume according to the volume threshold, so as to automatically increase or decrease the volume in the night mode, thereby solving the problem that the sound of the display device becomes abrupt in the night environment, maintaining a balanced volume level of auditory elements such as dialogue, sound effects and background music in the video, providing a more balanced, coherent and comfortable viewing experience, and also helping to protect hearing.
[0069] It can be seen that in the embodiment of the present application, when the environmental detection information of the display device meets the preset night trigger condition, the preset mode setting information corresponding to the night mode is obtained, and the output parameters of the display device are set according to the mode setting information, so that the display device can output according to the preset mode setting information corresponding to the night mode. For example, the screen light of the display device can be adjusted according to the eye protection mode setting information to reduce the screen blue light of the display device, so that the screen light of the display device is softer in the night mode, reducing the stimulation to the user's eyes, and the output volume of the display device can be adjusted according to the eye protection mode setting information to realize the automatic volume adjustment function at night, so as to maintain the balanced volume level of auditory elements such as dialogues, sound effects and background music in the video, provide a more balanced, coherent and comfortable viewing experience, and also help protect hearing.
[0070] In addition, when the embodiment of the present application detects that the environmental detection information of the display device does not meet the preset night trigger condition, such as when the detected ambient brightness is higher than a specific brightness threshold for a period of time (for example, 30 seconds), it is considered that the environment is brighter and the night mode can be automatically exited to restore the normal settings, so that the display device can output according to the output parameters of the normal settings. Optionally, after determining the ambient brightness and the duration as the environmental detection information, the mode processing method provided by the embodiment of the present application may also include: when the ambient brightness is greater than a specific brightness threshold and the duration reaches a preset duration threshold, determining that the environmental detection information does not meet the night trigger condition; if the operating mode of the display device is the night mode, controlling the display to exit the night mode to restore the operating mode to the default setting mode of the display device.
[0071] As an example of the present application, when the preset duration threshold is 30 seconds, Figure 2As shown, the ambient brightness can be obtained every second through the light sensing device of the machine as the environmental detection information of the display device, and then it can be determined whether the ambient brightness is less than a specific brightness threshold for 30 consecutive seconds, so that when the ambient brightness is less than the specific brightness threshold for 30 consecutive seconds, the night mode is started, and when the night mode is turned on, the display device is triggered to perform special display settings through the preset mode setting information corresponding to the night mode. The special display settings include the settings of the eye protection mode and the ear protection mode, such as setting the image display parameters of the display device in the eye protection mode according to the eye protection mode setting information to adjust the screen light of the display device, thereby reducing the blue light emitted by the screen in the night mode, and setting the sound output volume of the display device according to the ear protection mode setting information, so that the sound volume in the ear protection mode is automatically set in the night mode to maintain the balanced volume level of auditory elements such as dialogues, sound effects and background music in the video, thereby solving the problem that the sound of the display device becomes abrupt in the night environment; When it is determined that the ambient brightness is greater than a specific brightness threshold for 30 consecutive seconds, the night mode is exited to restore the normal settings of the display device, such as exiting the setting of image display parameters in the eye protection mode and exiting the setting of sound volume in the ear protection mode, and restoring the normal settings. Subsequently, it can be determined whether to continue to obtain the ambient brightness through the machine's light sensor by judging whether the user has turned off the night mode function of the display device; if the user has not turned off the night mode function of the display device, the ambient brightness will continue to be obtained through the machine's light sensor to automatically start the night mode of the display device based on changes in ambient brightness; if the user turns off the night mode function of the display device, the night mode can be exited and the normal settings can be restored, so that the display device can output according to the output parameters in the default setting mode, thereby realizing the automatic night mode of the display device, reducing the tediousness of manual adjustment by the user, and providing the user with a more balanced and more comfortable user experience with the night environment, reducing user eye fatigue, and protecting hearing.
[0072] Of course, in addition to automatically starting the night mode by detecting changes in ambient brightness, the display device in the embodiment of the present application can also automatically start the LCD mode of the display device in other ways, such as automatically starting the night mode according to the start time set by the user.
[0073] Specifically, when the night mode is automatically started according to the start time set by the user, a timed start task can be set according to the start time of the night mode set by the user, and a timed shutdown task can be set according to the shutdown time set by the user, so as to realize the automatic night mode of the display device by executing the timed start task and the timed shutdown task. Specifically, after setting a scheduled start-up task with a start-up time, after detecting that the start-up time has arrived, the night mode can be automatically started by executing the scheduled start-up task, such as automatically starting the night mode when it is checked that the current time has reached the start-up time set by the user and the currently detected environmental detection information meets the preset night trigger conditions, so as to trigger the display device to perform special display settings in the night mode, including: setting the eye protection mode according to the eye protection mode setting information and setting the ear protection mode according to the ear protection mode setting information; and when the closing time arrives, the night mode is automatically turned off, and the night mode is exited to restore the normal settings, that is, in the case where the user sets a scheduled closing task with a closing time, after detecting that the closing time has arrived, the night mode can be automatically turned off by executing the scheduled closing task, such as automatically turning off the night mode when it is checked that the current time has reached the closing time set by the user and the currently detected environmental detection information does not meet the preset night trigger conditions, so as to trigger the display device to exit the night mode, including: exiting the eye protection mode setting and exiting the ear protection mode setting, thereby restoring the normal settings and improving the user experience.
[0074] In addition, this embodiment can determine whether to clear the scheduled tasks set by the user for the night mode by judging whether the user has turned off the night mode function. The scheduled tasks include the above-mentioned scheduled on tasks and scheduled off tasks. Therefore, when the user turns off the night mode function, the scheduled tasks set by the user for the night mode can be cleared to exit the night mode and restore the normal settings of the display device.
[0075] It should be noted that, for the purpose of simple description, the method embodiments are expressed as a series of action combinations, but those skilled in the art should be aware that the embodiments of the present application are not limited to the described order of actions, because according to the embodiments of the present application, certain steps may be performed in other orders or simultaneously.
[0076] like Figure 3 As shown, an embodiment of the present application provides a mode processing device of a display device, comprising:
[0077] An environment detection module 310 is used to obtain environment detection information of a display device;
[0078] A night mode activation module 320, configured to activate the night mode of the display device when the environment detection information meets a preset night trigger condition;
[0079] The night mode setting module 330 is used to set the output parameters of the display device according to the preset mode setting information corresponding to the night mode, and the output parameters are used to control the output of the display device.
[0080] Optionally, the acquiring of environment detection information of the display device includes:
[0081] Acquire the ambient brightness detected by the display device;
[0082] Determine the duration corresponding to the ambient brightness;
[0083] The environment brightness and the duration are determined as the environment detection information.
[0084] Optionally, when the environment detection information meets a preset nighttime trigger condition, starting the nighttime mode of the display device includes:
[0085] When the ambient brightness is less than a specific brightness threshold and the duration reaches a preset duration threshold, determining that the ambient detection information satisfies the night trigger condition;
[0086] Based on the nighttime trigger condition, the working mode of the display device is automatically set to the nighttime mode.
[0087] Optionally, after determining the ambient brightness and the duration as the ambient detection information, the method further includes:
[0088] When the ambient brightness is greater than a specific brightness threshold and the duration reaches a preset duration threshold, determining that the ambient detection information does not meet the night trigger condition;
[0089] If the working mode of the display device is the night mode, the display is controlled to exit the night mode to restore the working mode to the default setting mode of the display device.
[0090] Optionally, the mode setting information includes eye protection mode setting information, and setting the output parameters of the display device according to the preset mode setting information corresponding to the night mode includes:
[0091] Obtaining the eye protection mode setting information;
[0092] According to the eye protection mode setting information, the screen light of the display device is adjusted until the output parameter corresponding to the screen light is the screen output parameter in the eye protection mode setting information.
[0093] Optionally, the screen output parameter includes a color temperature parameter and a brightness parameter, and adjusting the screen light of the display device according to the eye protection mode setting information includes:
[0094] Determining whether the display color temperature of the display device is the color temperature corresponding to the color temperature parameter;
[0095] If the display color temperature is not the color temperature corresponding to the color temperature parameter, adjusting the color temperature of the display device based on the color temperature parameter until the display color temperature is adjusted to the color temperature corresponding to the color temperature parameter;
[0096] If the display color temperature is the color temperature corresponding to the color temperature parameter, the screen display brightness of the display device is reduced based on the brightness parameter until the screen display brightness is reduced to the display brightness corresponding to the brightness parameter.
[0097] Optionally, the mode setting information further includes ear protection mode setting information, and the setting of the output parameters of the display device according to the preset mode setting information corresponding to the night mode further includes:
[0098] Acquire the ear protection mode setting information;
[0099] According to the eye protection mode setting information, the output volume of the display device is adjusted until the output parameter corresponding to the output volume is reduced to the volume threshold in the ear protection mode setting information.
[0100] In a specific implementation, the mode processing device of the display device can be applied in an electronic device, so that the electronic device can be used as a mode processing device of the display device, and can start the night mode of the display device by obtaining the environmental detection information of the display device and when the environmental detection information meets the preset night trigger condition, so as to set the output parameters of the display device according to the preset mode setting information corresponding to the night mode, and the output parameters are used to control the output of the display device, thereby realizing the automatic night mode, reducing the tediousness of manual adjustment by the user, providing a more balanced and more suitable and comfortable user experience with the night environment, and solving the problem in the existing related technology that the display device cannot automatically start the night mode. The electronic device can be composed of two or more physical entities, or it can be composed of one physical entity, such as the dialogue information processing device can be a personal computer (PC), a computer, a server, etc., and the embodiment of the present application does not make specific restrictions on this.
[0101] like Figure 4As shown, an embodiment of the present application provides an electronic device, including a processor 111, a communication interface 112, a memory 113 and a communication bus 114, wherein the processor 111, the communication interface 112, and the memory 113 communicate with each other through the communication bus 114, and the memory 113 is used to store computer programs; the processor 111 is used to implement the steps of the mode processing method of the display device provided by any of the aforementioned method embodiments when executing the program stored in the memory 113.
[0102] An embodiment of the present application further provides a computer-readable storage medium having a computer program stored thereon. When the computer program is executed by a processor, the steps of the mode processing method for a display device provided in any one of the aforementioned method embodiments are implemented.
[0103] The device embodiments described above are merely illustrative, wherein the units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0104] Through the description of the above implementation methods, those skilled in the art can clearly understand that each implementation method can be implemented by means of software plus a general hardware platform, and of course, by hardware. Based on this understanding, the above technical solution is essentially or the part that contributes to the relevant technology can be embodied in the form of a software product, and the computer software product can be stored in a computer-readable storage medium, such as ROM / RAM, a disk, an optical disk, etc., including a number of instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to execute the methods described in each embodiment or some parts of the embodiments.
[0105] It should be understood that the terms used herein are only for the purpose of describing specific example embodiments and are not intended to be limiting. Unless the context clearly indicates otherwise, the singular forms "one", "an" and "said" as used herein may also be meant to include plural forms. The terms "include", "comprise", "contain", and "have" are inclusive, and therefore specify the existence of stated features, steps, operations, elements and / or parts, but do not exclude the existence or addition of one or more other features, steps, operations, elements, parts, and / or combinations thereof. The method steps, processes, and operations described herein are not interpreted as necessarily requiring them to be performed in the specific order described or illustrated, unless the execution order is clearly indicated. It should also be understood that additional or alternative steps may be used.
[0106] The foregoing is merely a specific embodiment of the present invention, which enables those skilled in the art to understand or implement the present invention. Various modifications to these embodiments will be apparent to those skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of the present invention. Therefore, the present invention will not be limited to the embodiments shown herein, but rather to the widest scope consistent with the principles and novel features claimed herein.
Claims
1. A mode processing method for a display device, characterized in that: include: Obtain environmental detection information of the display device; When the environment detection information meets a preset nighttime trigger condition, starting a nighttime mode of the display device; According to the preset mode setting information corresponding to the night mode, the output parameters of the display device are set, and the output parameters are used to control the output of the display device.
2. The method according to claim 1, characterized in that The step of obtaining the environment detection information of the display device includes: Acquire the ambient brightness detected by the display device; Determine the duration corresponding to the ambient brightness; The environment brightness and the duration are determined as the environment detection information.
3. The method according to claim 2, characterized in that When the environment detection information meets a preset nighttime trigger condition, starting the nighttime mode of the display device includes: When the ambient brightness is less than a specific brightness threshold and the duration reaches a preset duration threshold, determining that the ambient detection information satisfies the night trigger condition; Based on the nighttime trigger condition, the working mode of the display device is automatically set to the nighttime mode.
4. The method according to claim 2, characterized in that: After determining the environment brightness and the duration as the environment detection information, the method further includes: When the ambient brightness is greater than a specific brightness threshold and the duration reaches a preset duration threshold, determining that the ambient detection information does not meet the night trigger condition; If the working mode of the display device is the night mode, the display is controlled to exit the night mode to restore the working mode to the default setting mode of the display device.
5. The method according to any one of claims 1 to 4, characterized in that: The mode setting information includes eye protection mode setting information, and setting the output parameters of the display device according to the preset mode setting information corresponding to the night mode includes: Obtaining the eye protection mode setting information; According to the eye protection mode setting information, the screen light of the display device is adjusted until the output parameter corresponding to the screen light is the screen output parameter in the eye protection mode setting information.
6. The method according to claim 5, characterized in that The screen output parameters include color temperature parameters and brightness parameters, and adjusting the screen light of the display device according to the eye protection mode setting information includes: Determining whether the display color temperature of the display device is the color temperature corresponding to the color temperature parameter; If the display color temperature is not the color temperature corresponding to the color temperature parameter, adjusting the color temperature of the display device based on the color temperature parameter until the display color temperature is adjusted to the color temperature corresponding to the color temperature parameter; If the display color temperature is the color temperature corresponding to the color temperature parameter, the screen display brightness of the display device is reduced based on the brightness parameter until the screen display brightness is reduced to the display brightness corresponding to the brightness parameter.
7. The method according to claim 5, characterized in that The mode setting information further includes ear protection mode setting information, and the output parameters of the display device are set according to the preset mode setting information corresponding to the night mode, and further includes: Acquire the ear protection mode setting information; According to the eye protection mode setting information, the output volume of the display device is adjusted until the output parameter corresponding to the output volume is reduced to the volume threshold in the ear protection mode setting information.
8. A mode processing device for a display device, characterized in that: include: An environment detection module is used to obtain environment detection information of a display device; A night mode activation module, used to activate the night mode of the display device when the environmental detection information meets a preset night trigger condition; The night mode setting module is used to set the output parameters of the display device according to the preset mode setting information corresponding to the night mode, and the output parameters are used to control the output of the display device.
9. A display device, characterized in that: include: A processor, a communication interface, a memory and a communication bus, wherein the processor, the communication interface and the memory communicate with each other via the communication bus; Memory, used to store computer programs; The processor is used to implement the steps of the mode processing method of the display device as described in any one of claims 1 to 7 when executing the program stored in the memory.
10. A computer storage medium storing computer executable instructions, wherein the computer executable instructions are used to execute the steps of the mode processing method of the display device according to any one of claims 1 to 7.
