Background
At present, a television indicator lamp is only used for indicating two working states of television standby or television starting, for example, the indicator lamp displays green or white when the television is started, and displays red when the television is standby, however, with the development of the smart television technology, the television application scenes are more diversified, and the television indicator lamp with single lighting effect cannot be combined with the television application scenes to increase the scientific and technological feeling of the smart television, and cannot reflect the interaction with users.
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 a control method of a breathing lamp, intelligent equipment and a computer readable storage medium, and aims to solve the technical problems that the existing television indicator lamp is single in lighting effect, does not have scientific and technological sense and cannot reflect interaction with a user.
In order to achieve the above object, the present invention provides a control method of a breathing lamp, which is applied to an intelligent device, and includes:
after the intelligent equipment is detected to be started, determining a working scene of a breathing lamp;
determining a working breathing lamp and a corresponding working mode thereof according to the working scene of the breathing lamp;
and controlling the working breathing lamp to work according to the corresponding working mode.
Optionally, before the step of determining the working scene of the breathing lamp after the smart device is turned on is detected, the method includes:
receiving a setting instruction of a working mode of the breathing lamp;
and setting a working breathing lamp based on a working scene of the breathing lamp and a working mode corresponding to the working breathing lamp according to the working mode setting instruction.
Optionally, the smart machine includes a first breathing lamp and a second breathing lamp, and the work mode corresponding to the work breathing lamp includes that the first breathing lamp and the second breathing lamp breathe alternately, and the first breathing lamp breathes, and the second breathing lamp breathes.
Optionally, the smart machine further comprises a lower decorative strip and an upper decorative strip arranged on the lower decorative strip installation surface, the first breathing lamp is arranged between the installation surface and the upper decorative strip, and the second breathing lamp is arranged on the upper decorative strip.
Optionally, after it is detected that the smart device is turned on, the step of determining the working scene of the breathing lamp includes:
after the intelligent equipment is detected to be started, acquiring current operation state data of the intelligent equipment;
and determining an application scene of the intelligent equipment according to the current running state data of the intelligent equipment, and determining a working scene of the breathing lamp based on the application scene of the intelligent equipment.
Optionally, the step of controlling the working breathing lamp to work according to the corresponding working mode includes:
if the working scene of the breathing lamp is determined to be the temperature reminding scene, weather information is obtained;
and determining temperature information according to the weather information, and controlling the second breathing lamp to breathe according to a breathing rule corresponding to the temperature information.
Optionally, the step of controlling the working breathing lamp to work according to the corresponding working mode further includes:
if the working scene of the breathing lamp is determined to be a time reporting scene, current time information is obtained;
and controlling the first breathing lamp to breathe according to the breathing rule corresponding to the current time information.
Optionally, the step of controlling the working breathing lamp to work according to the corresponding working mode further includes:
if the working scene of the breathing lamp is determined to be a music scene, music information is obtained;
and determining the music frequency according to the music information, and controlling the first breathing lamp to breathe according to the breathing rule corresponding to the music frequency.
In addition, to achieve the above object, the present invention also provides an intelligent device, including: a memory, a processor and a control program for a breathing lamp stored on said memory and executable on said processor, said control program for a breathing lamp when executed by said processor implementing the steps of the method for controlling a breathing lamp as described above.
In addition, in order to achieve the above object, the present invention further provides a computer-readable storage medium, wherein the computer-readable storage medium stores a control program of a breathing lamp, and the control program of the breathing lamp is executed by a processor to implement the steps of the control method of the breathing lamp.
After the intelligent equipment is detected to be started, the working scene of the breathing lamp is firstly determined, then the breathing lamp needing to work and the corresponding working mode thereof are determined according to the determined working scene, and further the breathing lamp needing to work is controlled to work according to the corresponding working mode. By the mode, the breathing lamp can be used for creating different lighting effects to call for the application scene of the intelligent device, so that the breathing lamp has higher practicability, the technological sense is improved, good visual experience is brought to users, and interaction with the users can be realized.
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.
The main solution of the embodiment of the invention is as follows: after the intelligent equipment is detected to be started, determining a working scene of a breathing lamp; determining a working breathing lamp and a corresponding working mode thereof according to the working scene of the breathing lamp; and controlling the working breathing lamp to work according to the corresponding working mode.
As shown in fig. 1, fig. 1 is a schematic terminal structure diagram of a hardware operating environment according to an embodiment of the present invention.
The terminal of the embodiment of the invention can be an intelligent television, a PC and other intelligent equipment.
As shown in fig. 1, the terminal may include: a processor 1001, such as a 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., WI-FI interface). The memory 1005 may be a high-speed RAM memory or a non-volatile memory (e.g., a magnetic disk memory). The memory 1005 may alternatively be a storage device separate from the processor 1001.
Optionally, the terminal may further include a camera, a Radio Frequency (RF) circuit, a sensor, an audio circuit, a Wi-Fi module, and the like. Such as light sensors, motion sensors, and other sensors. Specifically, the light sensor may include an ambient light sensor that may adjust the brightness of the display screen according to the brightness of ambient light, and a proximity sensor that may turn off the display screen and/or the backlight when the mobile terminal is moved to the ear. As one of the motion sensors, the gravity acceleration sensor can detect the magnitude of acceleration in each direction (generally, three axes), detect the magnitude and direction of gravity when the mobile terminal is stationary, and can be used for applications (such as horizontal and vertical screen switching, related games, magnetometer attitude calibration), vibration recognition related functions (such as pedometer and tapping) and the like for recognizing the attitude of the mobile terminal; of course, the mobile terminal may also be configured with other sensors such as a gyroscope, a barometer, a hygrometer, a thermometer, and an infrared sensor, which are not described herein again.
Those skilled in the art will appreciate that the terminal structure shown in fig. 1 is not intended to be limiting and may include more or fewer components than those shown, or some components may be combined, or a different arrangement of components.
As shown in fig. 1, a memory 1005, which is one type of computer storage medium, may include an operating system, a network communication module, a user interface module, and a control program for the breathing lamp.
In the terminal shown in fig. 1, the network interface 1004 is mainly used for connecting to a backend server and performing data communication with the backend server; the user interface 1003 is mainly used for connecting a client (user side) and performing data communication with the client; and the processor 1001 may be configured to invoke a control program for the breathing lamp stored in the memory 1005 and perform the following operations:
after the intelligent equipment is detected to be started, determining a working scene of a breathing lamp;
determining a working breathing lamp and a corresponding working mode thereof according to the working scene of the breathing lamp;
and controlling the working breathing lamp to work according to the corresponding working mode.
Further, the processor 1001 may call a control program of the breathing lamp stored in the memory 1005, and also perform the following operations:
receiving a setting instruction of a working mode of the breathing lamp;
and setting a working breathing lamp based on a working scene of the breathing lamp and a working mode corresponding to the working breathing lamp according to the working mode setting instruction.
Further, the smart machine includes that first breathing lamp and second breathe the lamp, with the mode that work breathing lamp corresponds includes that first breathing lamp breathes in turn with the second breathing lamp, and first breathing lamp breathes, and the second breathing lamp breathes.
Furthermore, the smart machine further comprises a lower decorative strip and an upper decorative strip arranged on the lower decorative strip installation surface, the first breathing lamp is arranged on the installation surface and between the upper decorative strips, and the second breathing lamp is arranged on the upper decorative strip.
Further, the processor 1001 may call a control program of the breathing lamp stored in the memory 1005, and also perform the following operations:
after the intelligent equipment is detected to be started, acquiring current operation state data of the intelligent equipment;
and determining an application scene of the intelligent equipment according to the current running state data of the intelligent equipment, and determining a working scene of the breathing lamp based on the application scene of the intelligent equipment.
Further, the processor 1001 may call a control program of the breathing lamp stored in the memory 1005, and also perform the following operations:
if the working scene of the breathing lamp is determined to be the temperature reminding scene, weather information is obtained;
and determining temperature information according to the weather information, and controlling the second breathing lamp to breathe according to a breathing rule corresponding to the temperature information.
Further, the processor 1001 may call a control program of the breathing lamp stored in the memory 1005, and also perform the following operations:
if the working scene of the breathing lamp is determined to be a time reporting scene, current time information is obtained;
and controlling the first breathing lamp to breathe according to the breathing rule corresponding to the current time information.
Further, the processor 1001 may call a control program of the breathing lamp stored in the memory 1005, and also perform the following operations:
if the working scene of the breathing lamp is determined to be a music scene, music information is obtained;
and determining the music frequency according to the music information, and controlling the first breathing lamp to breathe according to the breathing rule corresponding to the music frequency.
Based on the hardware structure of the terminal, various embodiments of the control method of the breathing lamp are provided.
Referring to fig. 2, a first embodiment of a control method of a breathing lamp of the present invention provides a control method of a breathing lamp, the method including:
step S10, after the intelligent device is detected to be started, determining the working scene of the breathing lamp;
the control method of the breathing lamp is applied to intelligent equipment, and the intelligent equipment can be terminal equipment such as an intelligent television and a PC. The intelligent television is used as an example for explanation, the breathing lamp module provided with at least two breathing lamps is arranged in the middle of the lower frame of the intelligent television display screen, certainly, the breathing lamp module is not limited to the position, and during specific implementation, the position of the breathing lamp module can be flexibly arranged, such as the position of the lower frame of the display screen which is inclined to the left or the right, and the like. In this embodiment, two breathing lamps are taken as an example, the two breathing lamps can be respectively a decoration backlight and a LOGO backlight, and both adopt an LED (Light Emitting Diode). The decorative backlight source is composed of four LEDs which are distributed in a left-middle-right mode, one LED is arranged on the left side and the right side, and two LEDs in the middle are arranged in parallel up and down. In addition, each LED lamp of the decorative backlight source can respectively display light with different colors, and the color of the decorative backlight source can be customized; the LOGO backlight can also display different colors of light.
As shown in fig. 3, fig. 3 is a schematic structural diagram of a breathing lamp module 10, the breathing lamp module 10 includes a lower decorative strip 11, an upper decorative strip 12, a decorative backlight 13, a LOGO backlight 14, and a light-transmitting sheet 15 adapted to the LOGO backlight 14, wherein the lower decorative strip has a mounting surface 16, the upper decorative strip is disposed on the mounting surface 16 of the lower decorative strip, and the upper decorative strip 12 can be fixed above the lower decorative strip 11 by screws. The decorative backlight 13 is centrally disposed between the mounting surface 16 and the upper decorative strip 12. Go up trim 12 and have and deviate from the mounting surface and upwards extend decorative cover 17, decorative cover 17's intermediate position is equipped with the decoration LOGO18 of fretwork, and the back of decorative cover 17 is located to LOGO backlight 14, is equipped with the printing opacity piece with LOGO backlight 14 and decoration LOGO18 adaptation between decorative cover 17's the back and the decoration LOGO 18. Of course, the structure of the breathing lamp module in the embodiment is not limited to the invention. In this embodiment, the decorative backlight source is defined as a first breathing lamp, and the LOGO backlight source is defined as a second breathing lamp.
Firstly, after the intelligent television is powered on and started, the working scene of the breathing lamp is determined.
The smart television of the embodiment comprises the following application scenes: a starting scene, a remote control operation scene, a standby (dormant) scene, a temperature reminding scene, a time reporting scene, a music playing scene and the like. The embodiment can preset a work scene of the breathing lamp based on an application scene of the smart television and the requirement of a user so as to use the breathing lamp to create different light effects to call for the application scene of the smart device. The working scene of the breathing lamp can be set by a manufacturer of the intelligent television or can be set by a user in a self-defined mode. When the user sets by user-definition, the intelligent television displays a setting interface of the working scene of the breathing lamp for the user to set by user-definition when receiving a setting instruction of the working scene of the breathing lamp triggered by the key operation of the user based on the setting key of the remote controller. When the user-defined setting is carried out, the user can set a breathing lamp working scene based on the application scene of the intelligent television and the requirement of the user, and the breathing lamp working scene which can be set by the user comprises a starting scene, a remote control operation scene, a standby scene, a temperature reminding scene, a time telling scene, a music scene and the like. The main board of the smart television can determine the current application scene of the smart television based on the current running state data of the smart television, so that the working scene of the breathing lamp is determined based on the current application scene of the smart television.
Step S20, determining a working breathing lamp and a corresponding working mode thereof according to the working scene of the breathing lamp;
in this embodiment, the smart television is preset with a corresponding relationship between a working scene of the breathing lamp, the working breathing lamp and a corresponding working mode thereof.
For example, (1) can set up the start scene, and the breathing lamp that corresponds work is first breathing lamp (decorate the backlight) and second breathing lamp (LOGO backlight), and the mode that corresponds breathes for first breathing lamp and second breathing lamp is breathed in turn, and the breathing rule is: the first breathing lamp (decorative backlight source) is turned on from dark, then the left LED and the right LED of the first breathing lamp (decorative backlight source) are turned off from light to dark, and the middle LED is kept on for a long time; after the first breathing lamp breathes and finishes, the second breathing lamp (LOGO backlight) is bright by dark, treats that the display screen of smart television lights the system and starts the back, and two middle LEDs of first breathing lamp (decorate the backlight) reduce luminance gradually and extinguish when smart television gets into the homepage.
(2) Set up the remote control operation scene, the breathing lamp that corresponds work is first breathing lamp (decorate the backlight), and the mode that corresponds is breathed lamp (decoration backlight) for first breathing and breathes with corresponding breathing rule, and this breathing rule is: every time a remote control operation (except for a key operation based on a standby key) is received, two LEDs in the middle of the first breathing lamp (decorative backlight) blink once, that is, the brightness of the two LEDs in the middle gradually changes from 0 to 100% and then gradually changes to 0 again.
(3) Set up standby (dormancy) scene, the breathing lamp that corresponds work is first breathing lamp (decorate the backlight), and the mode that corresponds breathes for first breathing lamp (decorate the backlight) with corresponding breathing rule, and this breathing rule is: when the intelligent television receives a standby instruction, an LED which displays red light in a first breathing lamp (a decorative backlight source) is turned on, or another LED which displays other certain color is turned on. Note that, at this time, the second breathing lamp (LOGO backlight) is turned off.
(4) Set up temperature and remind the scene, the lamp of breathing that corresponds work is lamp (LOGO backlight) is breathed to the second, and the mode that corresponds breathes lamp (LOGO backlight) for the second and breathes with corresponding breathing rule, and this breathing rule is: displaying high brightness at high temperature, middle brightness at medium temperature, and low brightness at low temperature; alternatively, red color is displayed at high temperature, orange color is displayed at medium temperature, and green color is displayed at low temperature.
(5) The scene of telling time is set up, and the breathing lamp that corresponds work is first breathing lamp (decorate the backlight), and the mode that corresponds breathes lamp (decorate the backlight) for first breathing and breathes with corresponding breathing rule, and this breathing rule is: the first breathing lamp (decorative backlight source) breathes for a long time (for example, 5S) at the time of the whole hour, and breathes for a short time (for example, 1.5S) at the time of the half hour; or the first breathing lamp (decorative backlight source) breathes twice at the integral point and breathes once at the half point, and certainly, the breathing times of the integral point and the half point can be flexibly set.
(6) Set up the music scene, the breathing lamp that corresponds work is first breathing lamp (decorate the backlight), and the mode that corresponds breathes lamp (decorates the backlight) for first breathing and breathes with corresponding breathing rule and breathe, and this breathing rule is: the first breathing lamp (decorative backlight) breathes based on the frequency of the music, namely the breathing rhythm of the first breathing lamp (decorative backlight) follows the frequency of the music, when the audio frequency is high, the first breathing lamp (decorative backlight) breathes for a long time (for example, 5S), and the breathing speed is slow (the breathing time is long, for example, the next breath is carried out after 5S); at low audio frequencies, the first breathing lamp (decorative backlight) breathes for a short time (e.g. 1.5S), and the breathing speed is high (the time for breathing is short, e.g. 1.5S later, the next breath is entered).
Therefore, after the working scene of the breathing lamp is determined, the breathing lamp to be operated and the corresponding working mode thereof can be determined based on the corresponding relation.
And step S30, controlling the working breathing lamp to work according to the corresponding working mode.
And then, controlling the breathing lamp to work according to the corresponding working mode. For example, if the working scene of the breathing lamp is determined to be a startup scene, the current duty ratio of the 4 LEDs of the first breathing lamp (decorative backlight) is adjusted from dark to bright by adjusting the current duty ratio of the 4 LEDs of the first breathing lamp (decorative backlight), specifically, the current duty ratio of the 4 LEDs of the first breathing lamp (decorative backlight) is adjusted from low to high (0-10% -20% -30% -40% -50% -60%), and then the current duty ratio of the left and right LEDs of the first breathing lamp (decorative backlight) is adjusted from high to low (0% -50% -40% -30% -20% -10% -0), so that the left and right LEDs are turned off from bright to dark. The breathing time and speed of the first breathing lamp (decorative backlight source) can be set according to the screen-on time of the intelligent television, the screen of the general intelligent television needs 5-10 seconds to be lighted, for example, the screen-on time of the intelligent television needs 7S, so that the first breathing lamp (decorative backlight source) can breath twice, the breathing period is 2.5S once, and the breathing period is 5S twice; after the first breathing lamp breathes and accomplishes, make the second breathe lamp (LOGO backlight) by dark to bright through the current duty cycle of adjusting the second breathing lamp (LOGO backlight), perhaps realize through adding the capacitance in the circuit, breathe at the first breathing lamp and charge for the capacitance after accomplishing, make the second breathe the current at lamp (LOGO backlight) both ends progressively grow to it is bright by dark to realize that the second breathes lamp (LOGO backlight). After the display screen of the intelligent television is started, the current duty ratio of two LEDs in the middle of the first breathing lamp (decorative backlight) is adjusted to control the brightness of the display screen to be gradually reduced, so that the display screen is turned off when entering a homepage.
In this embodiment, after it is detected that the intelligent device is turned on, a working scene of the breathing lamp is first determined, and then the breathing lamp to be operated and a corresponding working mode thereof are determined according to the determined working scene, so that the breathing lamp to be operated is controlled to operate according to the corresponding working mode. In this way, this embodiment can utilize the breathing lamp to build different light effects and call for smart machine's application scene, makes the breathing lamp have higher practicality, not only promotes science and technology to feel, brings good visual experience for the user, still can realize with user's interaction.
Further, referring to fig. 4, a second embodiment of the control method of the breathing lamp according to the present invention provides a control method of a breathing lamp, which may include, based on the above embodiment shown in fig. 2, before step S10:
step S40, receiving a setting instruction of a work mode of the breathing lamp;
and step S50, setting a working breathing lamp based on the working scene of the breathing lamp and a working mode corresponding to the working breathing lamp according to the working mode setting instruction.
In this embodiment, the smart television can receive a breathing lamp working mode setting instruction of a user, and then set a working breathing lamp based on a breathing lamp working scene and a working mode corresponding to the working breathing lamp according to the working mode setting instruction. Specifically, when the intelligent television receives a breathing lamp working mode setting instruction triggered by the user through key operation based on a remote controller setting key, a breathing lamp working mode setting interface is displayed for the user to perform user-defined setting. When the user-defined setting is carried out, different lighting effects and intelligent television responses can be set respectively based on the screen-on time, the system starting time, the homepage entering time and the remote control state of the intelligent television. And then, storing the association relationship between the user-defined work breathing lamp and the corresponding work mode by the smart television. The working mode corresponding to the working breathing lamp comprises that the first breathing lamp and the second breathing lamp alternately breathe, the first breathing lamp breathes, and the second breathing lamp breathes.
For example, (1) when the breathing lamp work scene is the start scene, the breathing lamp of corresponding work is first breathing lamp (decorate the backlight) and second breathing lamp (LOGO backlight), and the mode that corresponds is that first breathing lamp breathes in turn with the second breathing lamp, and the breathing rule is: the first breathing lamp (decorative backlight source) is turned on from dark, then the left LED and the right LED of the first breathing lamp (decorative backlight source) are turned off from light to dark, and the middle LED is kept on for a long time; after the first breathing lamp breathes and finishes, the second breathing lamp (LOGO backlight) is bright by dark, treats that the display screen of smart television lights the system and starts the back, and two middle LEDs of first breathing lamp (decorate the backlight) reduce luminance gradually and extinguish when smart television gets into the homepage.
(2) When breathing lamp work scene is the remote control operation scene, the breathing lamp of corresponding work is first breathing lamp (decorate the backlight), and the mode that corresponds breathes for first breathing lamp (decorate the backlight) with corresponding breathing rule, and this breathing rule is: every time a remote control operation (except for a key operation based on a standby key) is received, two LEDs in the middle of the first breathing lamp (decorative backlight) blink once, that is, the brightness of the two LEDs in the middle gradually changes from 0 to 100% and then gradually changes to 0.
(3) When breathing lamp work scene is standby (dormancy) scene, the breathing lamp of corresponding work is first breathing lamp (decorate the backlight), and the mode that corresponds breathes for first breathing lamp (decorate the backlight) with corresponding breathing rule, and this breathing rule is: when the intelligent television receives a standby instruction, an LED which displays red light in a first breathing lamp (a decorative backlight source) is turned on, or another LED which displays other certain color is turned on. Note that, at this time, the second breathing lamp (LOGO backlight) is turned off.
(4) When breathing lamp work scene reminds the scene for temperature, the lamp is breathed for the second to the breathing lamp (LOGO backlight) of corresponding work, and the mode that corresponds breathes lamp (LOGO backlight) for the second and breathes with corresponding breathing rule, and this breathing rule is: displaying high brightness at high temperature, middle brightness at medium temperature, and low brightness at low temperature; alternatively, red color is displayed at high temperature, orange color is displayed at medium temperature, and green color is displayed at low temperature.
(5) When breathing lamp work scene is the scene of telling time, the breathing lamp of corresponding work is first breathing lamp (decorate the backlight), and the mode that corresponds breathes for first breathing lamp (decorate the backlight) with corresponding breathing rule, and this breathing rule is: the first breathing lamp (decorative backlight source) breathes for a long time (for example, 5S) at the time of the whole hour, and breathes for a short time (for example, 1.5S) at the time of the half hour; or the first breathing lamp (decorative backlight source) breathes twice at the integral point and breathes once at the half point, and certainly, the breathing times of the integral point and the half point can be flexibly set.
(6) When breathing lamp work scene is the music scene, the breathing lamp of corresponding work is first breathing lamp (decorate the backlight), and the mode that corresponds is first breathing lamp (decorate the backlight) and breathes with corresponding breathing rule, and this breathing rule is: the first breathing lamp (decorative backlight) breathes based on the frequency of the music, namely the breathing rhythm of the first breathing lamp (decorative backlight) follows the frequency of the music, when the audio frequency is high, the first breathing lamp (decorative backlight) breathes for a long time (for example, 5S), and the breathing speed is slow (the breathing time is long, for example, the next breath is carried out after 5S); at low audio frequencies, the first breathing lamp (decorative backlight) breathes for a short time (e.g. 1.5S), and the breathing speed is high (the time for breathing is short, e.g. 1.5S later, the next breath is entered).
This embodiment can make it have different functions and light effect through the ingenious utilization to decorating backlight and LOGO backlight.
Further, a third embodiment of the control method of the breathing lamp of the present invention provides a control method of a breathing lamp, based on the above embodiment shown in fig. 2, step S30 may include:
step S31, if the working scene of the breathing lamp is determined to be an air temperature reminding scene, acquiring weather information;
step S32, determining temperature information according to the weather information, and controlling the second breathing lamp to breathe according to a breathing rule corresponding to the temperature information;
the smart television of this embodiment presets the temperature subregion, for example: high temperature, more than 30 ℃; medium temperature, 20-30 ℃; the low temperature is less than 20 ℃, and the temperature zones can also be flexibly arranged. After the intelligent television is networked, when the intelligent television is in an application scene of temperature reminding, determining that a working scene of a breathing lamp is a temperature reminding scene, acquiring weather information at the moment, then determining temperature information based on the weather information, namely determining a temperature partition to which the current temperature belongs, and further enabling the second breathing lamp (LOGO backlight source) to display high brightness at high temperature, middle brightness at medium temperature and low brightness at low temperature by adjusting the current duty ratio of the second breathing lamp (LOGO backlight source); or the color of the second breathing lamp (LOGO backlight source) is adjusted, so that the second breathing lamp (LOGO backlight source) displays red at high temperature, orange at medium temperature and green at low temperature.
Step S30 may further include:
step S33, if the working scene of the breathing lamp is determined to be a time telling scene, current time information is obtained;
and step S34, controlling the first breathing lamp to breathe according to the breathing rule corresponding to the current time information.
When the intelligent television detects that the time reaches an integral point or a half point, and the intelligent television is in a time-reporting application scene at the moment, determining that the working scene of the breathing lamp is a time-reporting scene, acquiring time information at the moment, and then enabling the first breathing lamp (a decorative backlight source) to breathe once in the integral point time duration (such as 5S) and breathe once in the half point time duration (such as 1.5S) by adjusting the current duty ratio and the breathing times of the first breathing lamp; or twice at full time and once at half time.
In addition, a specific time key can be set on the remote controller, and the corresponding relation between the working mode of the breathing lamp and the time key is set, so that a user can know the current approximate time through key operation based on the time key of the remote controller.
Step S30 may further include:
step S35, if the work scene of the breathing lamp is determined to be a music scene, music information is obtained;
and step S36, determining the music frequency according to the music information, and controlling the first breathing lamp to breathe according to the breathing rule corresponding to the music frequency.
When the situation that the intelligent television plays music is detected, the intelligent television is in an application scene of playing the music, and the working scene of the breathing lamp is determined to be a music scene. The intelligent television of the embodiment presets the partitions of high audio and low audio. In a music scene, acquiring music information, further determining the frequency of the music, judging an audio frequency partition to which the frequency of the music belongs, and then adjusting the current duty ratio and the breathing cycle of a first breathing lamp (a decorative backlight source) to enable the first breathing lamp (the decorative backlight source) to perform slow long breathing at a high audio frequency; at low audio frequencies, a fast short breath is taken.
In this embodiment, the breathing lamp that control needs work carries out work according to its mode of operation that corresponds, has realized utilizing the breathing lamp to build different light effects and has responded to smart machine's application scene, has improved the practicality of breathing lamp.
In addition, the embodiment of the invention also provides a computer readable storage medium.
The computer readable storage medium of the present invention stores a control program of a breathing lamp, which when executed by a processor, implements the following operations:
after the intelligent equipment is detected to be started, determining a working scene of a breathing lamp;
determining a working breathing lamp and a corresponding working mode thereof according to the working scene of the breathing lamp;
and controlling the working breathing lamp to work according to the corresponding working mode.
The specific embodiment of the breathing lamp control program stored in the computer-readable storage medium of the present invention executed by the processor is substantially the same as the embodiments of the breathing lamp control method described above, and is not described herein again.
It should 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 solutions of the present invention may be embodied in the form of a software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal device (such as a mobile phone, a computer, a server, an air conditioner, 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.