Intelligent lighting method, device and equipment based on television and storage medium

文档序号:1835217 发布日期:2021-11-12 浏览:8次 中文

阅读说明:本技术 基于电视的智能照明方法、装置、设备及存储介质 (Intelligent lighting method, device and equipment based on television and storage medium ) 是由 丘县平 于 2021-08-10 设计创作,主要内容包括:本发明属于智能电视技术领域,公开了一种基于电视的智能照明方法、装置、设备及存储介质。该方法包括:获取目标照明图片、当前环境亮度以及雷达监测数据;基于所述当前环境亮度和所述雷达监测数据播放所述目标照明图片;根据所述雷达监测数据调节所述目标照明图片对应的显示亮度;基于所述目标照明图片和所述显示亮度完成照明。通过上述方式,在得到雷达监测数据和当前环境亮度后,基于雷达监测数据和当前环境亮度对目标照明图片进行播放,不仅能够更为简便智能的实现电视的夜间照明功能,节约了成本,并根据雷达监测数据实时调整目标照明图片的显示亮度能够提高用户的体验感。(The invention belongs to the technical field of intelligent televisions and discloses an intelligent illumination method, device, equipment and storage medium based on a television. The method comprises the following steps: acquiring a target illumination picture, current environment brightness and radar monitoring data; playing the target lighting picture based on the current ambient brightness and the radar monitoring data; adjusting the display brightness corresponding to the target illumination picture according to the radar monitoring data; and finishing illumination based on the target illumination picture and the display brightness. Through the mode, after the radar monitoring data and the current environment brightness are obtained, the target illumination picture is played based on the radar monitoring data and the current environment brightness, the night illumination function of the television can be realized more conveniently and intelligently, the cost is saved, and the experience of a user can be improved by adjusting the display brightness of the target illumination picture in real time according to the radar monitoring data.)

1. A television-based intelligent lighting method, characterized in that the television-based intelligent lighting method comprises:

acquiring a target illumination picture, current environment brightness and radar monitoring data;

playing the target lighting picture based on the current ambient brightness and the radar monitoring data;

adjusting the display brightness corresponding to the target illumination picture according to the radar monitoring data;

and finishing illumination based on the target illumination picture and the display brightness.

2. The television-based smart lighting method of claim 1, wherein said playing the target lighting picture based on the current ambient brightness and the radar monitoring data comprises:

judging whether the brightness value corresponding to the current environment brightness is smaller than a preset light sensation threshold value or not;

if the brightness value corresponding to the current environment brightness is smaller than the preset light sensation threshold value, identifying objects and corresponding positions around the target television according to the radar monitoring data;

and playing the target lighting picture according to the objects existing around the target television and the corresponding positions.

3. The television-based smart lighting method according to claim 2, wherein said playing the target lighting picture according to the presence of objects and corresponding locations around the target television comprises:

judging whether objects existing around the target television are target objects or not;

if the object existing around the target television is the target object, judging whether the position corresponding to the target object is in a preset monitoring position;

and if the position corresponding to the target object is at a preset monitoring position, playing the target illumination picture.

4. The television-based smart lighting method of claim 2, wherein said identifying the presence of objects and corresponding locations around a target television from said radar monitoring data comprises:

carrying out contour detection on the radar monitoring data, and determining a contour line in the radar detection data;

determining contour blocks in the radar monitoring data and positions corresponding to the contour blocks based on the contour lines;

and carrying out contour recognition on the contour block to obtain objects around the target television.

5. The intelligent television-based lighting method according to claim 1, wherein the adjusting the display brightness corresponding to the target lighting picture according to the radar monitoring data comprises:

identifying the radar monitoring data to obtain target position information corresponding to a target object;

obtaining a target distance between the target object and a target television according to the target position information;

searching corresponding target display brightness in a preset mapping relation table based on the target distance;

and adjusting the display brightness corresponding to the target illumination picture according to the target display brightness.

6. The television-based smart lighting method as recited in claim 1, wherein after said completing lighting based on said target lighting picture and said display brightness, further comprising:

determining the current position of the target object according to the radar monitoring data;

acquiring the time when the target object leaves a preset monitoring position;

and pausing the playing of the target illumination picture according to the current position and the time when the target object leaves a preset monitoring position.

7. The television-based smart lighting method of claim 6, wherein said pausing said playing of said target lighting picture in accordance with said current location and a time said target object leaves a preset monitoring location comprises:

judging whether the current position is located in a preset monitoring position or not;

if the current position is not located in the preset monitoring position, determining the time interval of the target object leaving the preset monitoring position according to the time of the target object leaving the preset monitoring position and the current time;

judging whether the time interval is smaller than the preset time interval or not;

and if the time interval is not smaller than the preset time interval, the target television is in a standby state, and the playing of the target lighting picture is paused.

8. A television-based smart lighting fixture, the television-based smart lighting fixture comprising:

the acquisition module is used for acquiring a target illumination picture, current environment brightness and radar monitoring data;

the playing module is used for playing the target illumination picture based on the current ambient brightness and the radar monitoring data;

the adjusting module is used for adjusting the display brightness corresponding to the target illumination picture according to the radar monitoring data;

and the illumination module is used for finishing illumination based on the target illumination picture and the display brightness.

9. A television-based intelligent lighting device, the device comprising: a memory, a processor, and a television-based smart lighting program stored on the memory and executable on the processor, the television-based smart lighting program configured to implement the television-based smart lighting method of any one of claims 1 to 7.

10. A storage medium having a television-based smart lighting program stored thereon, wherein the television-based smart lighting program, when executed by a processor, implements the television-based smart lighting method of any one of claims 1 to 7.

Technical Field

The invention relates to the technical field of televisions, in particular to an intelligent illumination method, an intelligent illumination device, intelligent illumination equipment and a storage medium based on a television.

Background

The existing conventional television night lamp functions need to be provided with a lamp color peripheral besides necessary radar and light sensing devices, and due to structural limitation, the lamp strips are different in length, so that emitted light is subjectively deviated, and a satisfactory effect is difficult to achieve.

The above is only for the purpose of assisting understanding of the technical aspects of the present invention, and does not represent an admission that the above is prior art.

Disclosure of Invention

The invention mainly aims to provide an intelligent lighting method, device, equipment and storage medium based on a television, and aims to solve the technical problems that the user experience of the night vision function of the television in the prior art is poor, and the realization of the night vision function needs to depend on external equipment.

In order to achieve the above object, the present invention provides a television-based intelligent lighting method, comprising the steps of:

acquiring a target illumination picture, current environment brightness and radar monitoring data;

playing the target lighting picture based on the current ambient brightness and the radar monitoring data;

adjusting the display brightness corresponding to the target illumination picture according to the radar monitoring data;

and finishing illumination based on the target illumination picture and the display brightness.

Optionally, the playing the target lighting picture based on the current ambient brightness and the radar monitoring data includes:

judging whether the brightness value corresponding to the current environment brightness is smaller than a preset light sensation threshold value or not;

if the brightness value corresponding to the current environment brightness is smaller than the preset light sensation threshold value, identifying objects and corresponding positions around the target television according to the radar monitoring data;

and playing the target lighting picture according to the objects existing around the target television and the corresponding positions.

Optionally, the playing the target lighting picture according to the objects existing around the target television and the corresponding positions includes:

judging whether objects existing around the target television are target objects or not;

if the object existing around the target television is the target object, judging whether the position corresponding to the target object is in a preset monitoring position;

and if the position corresponding to the target object is at a preset monitoring position, playing the target illumination picture.

Optionally, the identifying, according to the radar monitoring data, objects and corresponding positions existing around the target television includes:

carrying out contour detection on the radar monitoring data, and determining a contour line in the radar detection data;

determining contour blocks in the radar monitoring data and positions corresponding to the contour blocks based on the contour lines;

and carrying out contour recognition on the contour block to obtain objects around the target television.

Optionally, the adjusting the display brightness corresponding to the target illumination picture according to the radar monitoring data includes:

identifying the radar monitoring data to obtain target position information corresponding to a target object;

obtaining a target distance between the target object and a target television according to the target position information;

searching corresponding target display brightness in a preset mapping relation table based on the target distance;

and adjusting the display brightness corresponding to the target illumination picture according to the target display brightness.

Optionally, after the illumination is completed based on the target illumination picture and the display brightness, the method further includes:

determining the current position of the target object according to the radar monitoring data;

acquiring the time when the target object leaves a preset monitoring position;

and pausing the playing of the target illumination picture according to the current position and the time when the target object leaves a preset monitoring position.

Optionally, the pausing the playing of the target lighting picture according to the current position and the time when the target object leaves the preset monitoring position includes:

judging whether the current position is located in a preset monitoring position or not;

if the current position is not located in the preset monitoring position, determining the time interval of the target object leaving the preset monitoring position according to the time of the target object leaving the preset monitoring position and the current time;

judging whether the time interval is smaller than the preset time interval or not;

and if the time interval is not smaller than the preset time interval, the target television is in a standby state, and the playing of the target lighting picture is paused.

In addition, in order to achieve the above object, the present invention further provides a smart lighting device based on a television, including:

the acquisition module is used for acquiring a target illumination picture, current environment brightness and radar monitoring data;

the playing module is used for playing the target illumination picture based on the current ambient brightness and the radar monitoring data;

the adjusting module is used for adjusting the display brightness corresponding to the target illumination picture according to the radar monitoring data;

and the illumination module is used for finishing illumination based on the target illumination picture and the display brightness.

In addition, to achieve the above object, the present invention further provides a television-based intelligent lighting device, including: a memory, a processor, and a television-based smart lighting program stored on the memory and executable on the processor, the television-based smart lighting program configured to implement the television-based smart lighting method as described above.

In addition, to achieve the above object, the present invention further provides a storage medium having a television-based smart lighting program stored thereon, wherein the television-based smart lighting program, when executed by a processor, implements the television-based smart lighting method as described above.

The method comprises the steps of obtaining a target illumination picture, current environment brightness and radar monitoring data; playing the target lighting picture based on the current ambient brightness and the radar monitoring data; adjusting the display brightness corresponding to the target illumination picture according to the radar monitoring data; and finishing illumination based on the target illumination picture and the display brightness. Through the mode, after the radar monitoring data and the current environment brightness are obtained, the target illumination picture is played based on the radar monitoring data and the current environment brightness, the night illumination function of the television can be realized more conveniently and intelligently, the cost is saved, and the experience of a user can be improved by adjusting the display brightness of the target illumination picture in real time according to the radar monitoring data.

Drawings

Fig. 1 is a schematic structural diagram of a television-based intelligent lighting device in a hardware operating environment according to an embodiment of the present invention;

fig. 2 is a schematic flow chart of a first embodiment of the television-based intelligent lighting method of the present invention;

FIG. 3 is a target illumination picture according to an embodiment of the television-based intelligent illumination method of the present invention;

FIG. 4 is a schematic overall flowchart of an embodiment of the television-based intelligent lighting method of the present invention;

FIG. 5 is a schematic flow chart of a second embodiment of the television-based intelligent lighting method of the present invention;

fig. 6 is a block diagram of a first embodiment of the intelligent lighting device based on a television according to the present invention.

The implementation, functional features and advantages of the objects of the present invention will be further explained with reference to the accompanying drawings.

Detailed Description

It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.

Referring to fig. 1, fig. 1 is a schematic structural diagram of a television-based intelligent lighting device in a hardware operating environment according to an embodiment of the present invention.

As shown in fig. 1, the television-based smart lighting device may include: a processor 1001, such as a Central Processing Unit (CPU), a communication bus 1002, a user interface 1003, a network interface 1004, and a memory 1005. Wherein a communication bus 1002 is used to enable connective communication between these components. The user interface 1003 may include a Display screen (Display), an input unit such as a Keyboard (Keyboard), and the optional user interface 1003 may also include a standard wired interface, a wireless interface. The network interface 1004 may optionally include a standard wired interface, a Wireless interface (e.g., a Wireless-Fidelity (Wi-Fi) interface). The Memory 1005 may be a Random Access Memory (RAM) Memory, or may be a Non-Volatile Memory (NVM), such as a disk Memory. The memory 1005 may alternatively be a storage device separate from the processor 1001.

Those skilled in the art will appreciate that the configuration shown in fig. 1 does not constitute a limitation of television-based intelligent lighting devices, and may include more or fewer components than those shown, or some components in combination, or a different arrangement of components.

As shown in fig. 1, a memory 1005, which is one type of storage medium, may include therein an operating system, a network communication module, a user interface module, and a television-based smart lighting program.

In the television-based intelligent lighting device shown in fig. 1, the network interface 1004 is mainly used for data communication with a network server; the user interface 1003 is mainly used for data interaction with a user; the processor 1001 and the memory 1005 of the intelligent television-based lighting device may be disposed in the intelligent television-based lighting device, and the intelligent television-based lighting device calls the intelligent television-based lighting program stored in the memory 1005 through the processor 1001 and executes the intelligent television-based lighting method provided by the embodiment of the present invention.

An embodiment of the present invention provides an intelligent lighting method based on a television, and referring to fig. 2, fig. 2 is a schematic flow diagram of a first embodiment of the intelligent lighting method based on a television according to the present invention.

In this embodiment, the television-based intelligent lighting method includes the following steps:

step S10: and acquiring a target illumination picture, current environment brightness and radar monitoring data.

It should be noted that, the implementation subject of this embodiment is the smart television, after the controller or the complete machine module of the smart television acquires the target illumination picture for illumination, it is determined whether to close the standby state to play the target illumination picture according to the brightness of the surrounding environment and the radar monitoring data, and when the controller or the complete machine module determines to play the target illumination picture, the controller or the complete machine module adjusts the display brightness of the target illumination picture according to the radar monitoring data to achieve the purpose of adjusting the illumination brightness, and finally complete night illumination.

It should be understood that the target lighting picture refers to a static picture for specific lighting, as shown in fig. 3, the target lighting picture has a characteristic of being bright in the upper black and the lower black, the upper area is in a full black state, and the bottom is an elongated non-black area, which may be other colors capable of presenting lighting effects, such as white and yellow, and the like, which is not limited in this embodiment.

It can be understood that the current environment brightness is the brightness of the surrounding environment collected by the light sensing device of the smart television, the radar monitoring data is the data collected by the radar module of the smart television, the radar used in the radar module is not limited in this embodiment, and the laser radar is used in this embodiment.

In specific implementation, the smart television acquires a target illumination picture for illumination, and acquires radar monitoring data and current environment brightness acquired by a radar module and a light sensing device in the smart television.

Step S20: and playing the target lighting picture based on the current ambient brightness and the radar monitoring data.

It should be noted that when the current ambient brightness is less than the preset light sensing threshold and the radar monitoring data monitors that there is human activity in the preset monitoring position, the smart television plays the target illumination picture for illumination, and if the current ambient brightness is less than the preset light sensing threshold but there is no human activity monitored, the smart television is still in a standby state and does not play the target illumination picture temporarily.

In a specific sight line, the preset light sensation threshold refers to an environment brightness value set by a user or an administrator whether the current environment needs to be illuminated, and the preset monitoring position refers to a position range boundary set by the user or the administrator for illumination. For example, the current preset monitoring position is a circle with the position of the smart television as the center of the circle and 6 meters as the radius, the distance between the position of the currently monitored object and the smart television is 8 meters, no human activity is monitored in the preset monitoring position, and although the current ambient brightness is smaller than the preset light sensation threshold value, the smart television is still in a standby state and does not play a target illumination picture. The distance between the currently monitored position of the object and the intelligent television is 4 meters, the object is a person, and meanwhile, the current environment brightness is smaller than a preset light sensation threshold value, so that the intelligent television starts to play a target illumination picture.

Step S30: and adjusting the display brightness corresponding to the target illumination picture according to the radar monitoring data.

It should be noted that the target object and the corresponding position may be determined according to the radar monitoring data, and the display brightness of the target illumination picture may be adjusted according to the corresponding relationship between the position and the display brightness.

It can be understood that, in order to give a better lighting experience to a user, and not make the user feel the problem of dazzling current lighting brightness or lighting effect, further, the adjusting the display brightness corresponding to the target lighting picture according to the radar monitoring data includes: identifying the radar monitoring data to obtain target position information corresponding to a target object; obtaining a target distance between the target object and a target television according to the target position information; searching corresponding target display brightness in a preset mapping relation table based on the target distance; and adjusting the display brightness corresponding to the target illumination picture according to the target display brightness.

It should be noted that the target object refers to a human body, the target position information refers to current position information of the target object, and the preset mapping relationship table is a correspondence relationship table between a target distance and display brightness obtained through a test.

It is understood that after the target position information of the target object is obtained, the distance between the current target object and the target television may be determined according to the target position information, for example, if the position information of the current target object a is located at 6 meters diagonally in front of the target television, the target distance between the target object a and the target television is 6 meters.

It can be understood that after the target distance is obtained, the corresponding target display brightness is searched in the preset mapping relation table according to the target distance, and the display brightness of the target illumination picture is adjusted according to the target display brightness. For example, if the target distance of the current target object a is 6 meters, the corresponding display brightness is 10 levels, and the current display brightness of the target illumination picture is 5 levels, the display brightness of the target illumination picture needs to be adjusted to reach 10 levels.

Step S40: and finishing illumination based on the target illumination picture and the display brightness.

It should be noted that, the target illumination picture and the target display brightness are used for playing and displaying, and finally, the illumination is completed. The intelligent lighting function of the intelligent television and the lighting effect generated by other equipment are not interfered with each other, and the intelligent lighting function and the lighting effect generate effects respectively. For example, when the current smart television is in a state of playing a target lighting photo for lighting, the smart home device also turns on a light belt of the smart home device for lighting, and does not interrupt lighting of the smart television, i.e., the target television, which is interfered.

It is understood that, in order to save cost and ensure that resources are not wasted, further, after the completion of the illumination based on the target illumination picture and the display brightness, the method further includes: determining the current position of the target object according to the radar monitoring data; acquiring the time when the target object leaves a preset monitoring position; and pausing the playing of the target illumination picture according to the current position and the time when the target object leaves a preset monitoring position.

It should be noted that, the current position of the target object refers to the current position of the target object that is monitored in real time after illumination has been performed on the basis of the current target object, and whether the target object has left the preset monitoring position is determined.

It can be understood that the time when the target object leaves the preset monitoring position refers to a time point when the target object leaves the preset monitoring position, and when the target object leaves the preset monitoring position for a certain time, the playing of the target lighting picture is paused, so that the smart television enters the standby state again.

In a specific implementation, in order to enable a user to have a better lighting experience, a situation that the user stops lighting when the user just leaves a preset monitoring position does not occur, and further, the pausing the playing of the target lighting picture according to the current position and the time when the target object leaves the preset monitoring position includes: judging whether the current position is located in a preset monitoring position or not; if the current position is not located in the preset monitoring position, determining the time interval of the target object leaving the preset monitoring position according to the time of the target object leaving the preset monitoring position and the current time; judging whether the time interval is smaller than the preset time interval or not; and if the time interval is not smaller than the preset time interval, the target television is in a standby state, and the playing of the target lighting picture is paused.

The preset time interval refers to a time interval preset by a user or an administrator, in which the illumination is stopped after the target object leaves for a certain time.

It can be understood that the current position of the target object is monitored in real time according to radar monitoring data, whether the target object leaves the preset monitoring position or not is judged according to the current position of the target object, if the current position of the target object is not within the preset monitoring position, the time and the current time when the target object leaves the preset monitoring position are obtained, whether the time length for the current target object to leave reaches the preset time interval or not is judged according to the time interval, if the preset time interval is reached, the target television is in a standby state, and the target illumination picture is paused to stop illumination. For example, if the current preset monitoring position is a circle with the position of the smart television as the center of a circle and 6 meters as the radius, and the current position of the target object is 8 meters ahead of the smart television, it indicates that the target object has left the preset monitoring position, i.e., the illumination area, and the time for acquiring that the target object leaves the preset monitoring position is 11: 25: 26, the preset time interval is 10s, and the current time is 11: 25: 36, if the time length of the target object leaving the preset monitoring position is equal to the preset time interval, the target television, namely the smart television, enters the standby state again, the playing of the target illumination picture is suspended, and the illumination is stopped.

In a specific implementation, as shown in fig. 4, the current smart television is in an AI standby state, the current ambient brightness is obtained according to the light sensing device, if the current ambient brightness is smaller than the preset light sensing threshold, whether a human body enters the current preset monitoring position is obtained according to radar monitoring data obtained by the radar module, if the human body enters the current preset monitoring position, a controller of the smart television raises a terminal pin (GPIO) and plays a target illumination picture, when the human body leaves the preset monitoring position, timing is started, if the human body enters the preset monitoring position again in the timing process, timing is interrupted, when the human body leaves the preset monitoring position, timing is restarted, whether the length of time when the human body leaves the preset monitoring position is smaller than a preset time interval is judged, if the length of time is not smaller, the smart television enters the standby state again, the playing of the target illumination picture is stopped, and the illumination process is finally ended.

The method comprises the steps of obtaining a target illumination picture, current environment brightness and radar monitoring data; playing the target lighting picture based on the current ambient brightness and the radar monitoring data; adjusting the display brightness corresponding to the target illumination picture according to the radar monitoring data; and finishing illumination based on the target illumination picture and the display brightness. Through the mode, after the radar monitoring data and the current environment brightness are obtained, the target illumination picture is played based on the radar monitoring data and the current environment brightness, the night illumination function of the television can be realized more conveniently and intelligently, the cost is saved, and the experience of a user can be improved by adjusting the display brightness of the target illumination picture in real time according to the radar monitoring data.

Referring to fig. 5, fig. 5 is a flowchart illustrating a second embodiment of a television-based intelligent lighting method according to the present invention.

Based on the first embodiment, the step S20 in the intelligent television-based lighting method of this embodiment includes:

step S201: and judging whether the brightness value corresponding to the current environment brightness is smaller than a preset light sensation threshold value or not.

It should be noted that, after the current environment brightness is acquired by the light sensing device of the smart television, that is, the target television, the brightness value corresponding to the current environment brightness is compared with the preset light sensing threshold value, and whether the current environment needs to be illuminated is determined.

Step S202: and if the brightness value corresponding to the current environment brightness is smaller than the preset light sensation threshold value, identifying objects and corresponding positions around the target television according to the radar monitoring data.

It should be noted that, if the brightness value corresponding to the current environment is smaller than the preset light sensation threshold, it indicates that the current environment is dark, and illumination is required, and it is further required to identify objects and corresponding positions existing around the target television according to the radar monitoring data, and determine whether a human body exists in the current preset monitoring position.

It can be understood that, for better identification of radar monitoring data, further, the identifying of the object and the corresponding position existing around the target television according to the radar monitoring data includes: carrying out contour detection on the radar monitoring data, and determining a contour line in the radar detection data; determining contour blocks in the radar monitoring data and positions corresponding to the contour blocks based on the contour lines; and carrying out contour recognition on the contour block to obtain objects around the target television.

It should be noted that, because there are a plurality of objects in the radar monitoring data, there are obvious differences and incoherence between the objects, and meanwhile, because the distance between the points of the object itself is close, there is a certain outline, connecting the points close to each other forms the contour lines in the radar monitoring data, dividing the radar monitoring data into different areas according to the contour lines, so as to obtain one or more contour blocks in the radar monitoring data, and at the same time, obtain the position information of the contour blocks.

It will be appreciated that the resulting contour block may have different objects, e.g. people, animals or static objects, which are contour identified to obtain the objects present around the target television.

Step S203: and playing the target lighting picture according to the objects existing around the target television and the corresponding positions.

It should be noted that, after the object and the corresponding position existing around the target television are obtained, whether the target illumination picture needs to be played for illumination at present is further determined according to the object and the corresponding position existing around the target television.

It can be understood that, in order to illuminate the target television after monitoring human activities and save resources, further, playing the target illumination picture according to the objects existing around the target television and the corresponding positions includes: judging whether objects existing around the target television are target objects or not; if the object existing around the target television is the target object, judging whether the position corresponding to the target object is in a preset monitoring position; and if the position corresponding to the target object is at a preset monitoring position, playing the target illumination picture.

It should be noted that the target object is a person, whether there is a human body in the objects around the target television, that is, whether there is a human body in the objects, if there is a human body at present, it is determined whether the human body has entered a preset monitoring position, that is, an illumination area, according to the position of the human body, if the human body has entered the illumination area, a target illumination picture is played for illumination, and if the human body has not entered the illumination area, the smart television is still in a standby state.

In this embodiment, whether the brightness value corresponding to the current ambient brightness is smaller than a preset light sensation threshold is determined; if the brightness value corresponding to the current environment brightness is smaller than the preset light sensation threshold value, identifying objects and corresponding positions around the target television according to the radar monitoring data; the target illumination picture is played according to the objects existing around the target television and the corresponding positions, and whether the target illumination picture needs to be played for illumination or not is judged more accurately according to the current ambient brightness and the radar monitoring data by the mode, so that resources and cost are saved, and a good night illumination effect is achieved.

In addition, referring to fig. 6, the present invention also provides a smart lighting device based on a television, including:

and the acquisition module 10 is used for acquiring a target illumination picture, the current environment brightness and radar monitoring data.

And the playing module 20 is configured to play the target lighting picture based on the current ambient brightness and the radar monitoring data.

And the adjusting module 30 is configured to adjust the display brightness corresponding to the target illumination picture according to the radar monitoring data.

And the illumination module 40 is used for finishing illumination based on the target illumination picture and the display brightness.

The method comprises the steps of obtaining a target illumination picture, current environment brightness and radar monitoring data; playing the target lighting picture based on the current ambient brightness and the radar monitoring data; adjusting the display brightness corresponding to the target illumination picture according to the radar monitoring data; and finishing illumination based on the target illumination picture and the display brightness. Through the mode, after the radar monitoring data and the current environment brightness are obtained, the target illumination picture is played based on the radar monitoring data and the current environment brightness, the night illumination function of the television can be realized more conveniently and intelligently, the cost is saved, and the experience of a user can be improved by adjusting the display brightness of the target illumination picture in real time according to the radar monitoring data.

In an embodiment, the playing module 20 is further configured to determine whether a brightness value corresponding to the current environment brightness is smaller than a preset light sensation threshold;

if the brightness value corresponding to the current environment brightness is smaller than the preset light sensation threshold value, identifying objects and corresponding positions around the target television according to the radar monitoring data;

and playing the target lighting picture according to the objects existing around the target television and the corresponding positions.

In an embodiment, the playing module 20 is further configured to determine whether an object existing around the target television is a target object;

if the object existing around the target television is the target object, judging whether the position corresponding to the target object is in a preset monitoring position;

and if the position corresponding to the target object is at a preset monitoring position, playing the target illumination picture.

In an embodiment, the playing module 20 is further configured to perform contour detection on the radar monitoring data, and determine a contour line in the radar detection data;

determining contour blocks in the radar monitoring data and positions corresponding to the contour blocks based on the contour lines;

and carrying out contour recognition on the contour block to obtain objects around the target television.

In an embodiment, the adjusting module 30 is further configured to identify the radar monitoring data to obtain target position information corresponding to a target object;

obtaining a target distance between the target object and a target television according to the target position information;

searching corresponding target display brightness in a preset mapping relation table based on the target distance;

and adjusting the display brightness corresponding to the target illumination picture according to the target display brightness.

In an embodiment, the lighting module 40 is further configured to determine a current position of the target object according to the radar monitoring data;

acquiring the time when the target object leaves a preset monitoring position;

and pausing the playing of the target illumination picture according to the current position and the time when the target object leaves a preset monitoring position.

In an embodiment, the lighting module 40 is further configured to determine whether the current position is located within a preset monitoring position;

if the current position is not located in the preset monitoring position, determining the time interval of the target object leaving the preset monitoring position according to the time of the target object leaving the preset monitoring position and the current time;

judging whether the time interval is smaller than the preset time interval or not;

and if the time interval is not smaller than the preset time interval, the target television is in a standby state, and the playing of the target lighting picture is paused.

Since the present apparatus employs all technical solutions of all the above embodiments, at least all the beneficial effects brought by the technical solutions of the above embodiments are achieved, and are not described in detail herein.

Furthermore, an embodiment of the present invention further provides a storage medium, where a television-based smart lighting program is stored on the storage medium, and when being executed by a processor, the television-based smart lighting program implements the steps of the television-based smart lighting method as described above.

Since the storage medium adopts all technical solutions of all the embodiments, at least all the beneficial effects brought by the technical solutions of the embodiments are achieved, and no further description is given here.

It should be noted that the above-described work flows are only exemplary, and do not limit the scope of the present invention, and in practical applications, a person skilled in the art may select some or all of them to achieve the purpose of the solution of the embodiment according to actual needs, and the present invention is not limited herein.

In addition, the technical details that are not described in detail in this embodiment may be referred to a television-based intelligent lighting method provided in any embodiment of the present invention, and are not described herein again.

Further, it is to be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or system that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or system. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or system that comprises the element.

The above-mentioned serial numbers of the embodiments of the present invention are merely for description and do not represent the merits of the embodiments.

Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solution of the present invention or portions thereof that contribute to the prior art may be embodied in the form of a software product, where the computer software product is stored in a storage medium (e.g. Read Only Memory (ROM)/RAM, magnetic disk, optical disk), and includes several instructions for enabling a terminal device (e.g. a mobile phone, a computer, a server, or a network device) to execute the method according to the embodiments of the present invention.

The above description is only a preferred embodiment of the present invention, and not intended to limit the scope of the present invention, and all modifications of equivalent structures and equivalent processes, which are made by using the contents of the present specification and the accompanying drawings, or directly or indirectly applied to other related technical fields, are included in the scope of the present invention.

16页详细技术资料下载
上一篇:一种医用注射器针头装配设备
下一篇:自调光灯管和调光方法

网友询问留言

已有0条留言

还没有人留言评论。精彩留言会获得点赞!

精彩留言,会给你点赞!