CN113613370A - Atmosphere lamp control method and device, computer readable storage medium and terminal - Google Patents
Atmosphere lamp control method and device, computer readable storage medium and terminal Download PDFInfo
- Publication number
- CN113613370A CN113613370A CN202111007684.4A CN202111007684A CN113613370A CN 113613370 A CN113613370 A CN 113613370A CN 202111007684 A CN202111007684 A CN 202111007684A CN 113613370 A CN113613370 A CN 113613370A
- Authority
- CN
- China
- Prior art keywords
- color
- lamp
- atmosphere lamp
- brightness
- determining
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
- 238000000034 method Methods 0.000 title claims abstract description 34
- 239000011324 bead Substances 0.000 claims description 79
- 238000004891 communication Methods 0.000 claims description 17
- 238000004590 computer program Methods 0.000 claims description 12
- 230000007704 transition Effects 0.000 claims description 12
- 230000008859 change Effects 0.000 claims description 10
- 239000003086 colorant Substances 0.000 claims description 10
- 230000000694 effects Effects 0.000 abstract description 13
- 230000001795 light effect Effects 0.000 abstract description 3
- 230000003044 adaptive effect Effects 0.000 abstract description 2
- 239000011049 pearl Substances 0.000 description 9
- 230000005540 biological transmission Effects 0.000 description 3
- 230000036651 mood Effects 0.000 description 3
- 238000005192 partition Methods 0.000 description 3
- 238000010586 diagram Methods 0.000 description 2
- 238000009434 installation Methods 0.000 description 2
- 230000009286 beneficial effect Effects 0.000 description 1
- 230000006872 improvement Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 230000008569 process Effects 0.000 description 1
- 230000000007 visual effect Effects 0.000 description 1
Images
Classifications
-
- H—ELECTRICITY
- H05—ELECTRIC TECHNIQUES NOT OTHERWISE PROVIDED FOR
- H05B—ELECTRIC HEATING; ELECTRIC LIGHT SOURCES NOT OTHERWISE PROVIDED FOR; CIRCUIT ARRANGEMENTS FOR ELECTRIC LIGHT SOURCES, IN GENERAL
- H05B47/00—Circuit arrangements for operating light sources in general, i.e. where the type of light source is not relevant
- H05B47/10—Controlling the light source
- H05B47/105—Controlling the light source in response to determined parameters
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02B—CLIMATE CHANGE MITIGATION TECHNOLOGIES RELATED TO BUILDINGS, e.g. HOUSING, HOUSE APPLIANCES OR RELATED END-USER APPLICATIONS
- Y02B20/00—Energy efficient lighting technologies, e.g. halogen lamps or gas discharge lamps
- Y02B20/40—Control techniques providing energy savings, e.g. smart controller or presence detection
Landscapes
- Circuit Arrangement For Electric Light Sources In General (AREA)
Abstract
An atmosphere lamp control method and device, a computer readable storage medium and a terminal are provided, wherein the atmosphere lamp control method comprises the following steps: acquiring target audio and video data, wherein the target audio and video data comprises picture data and sound data; determining the color of the picture according to the picture data; determining color control parameters of the atmosphere lamp according to the color of the picture, wherein the color control parameters are used for adjusting the color of the atmosphere lamp; determining a brightness control parameter of the atmosphere lamp according to the sound data, wherein the brightness control parameter is used for adjusting the brightness of the atmosphere lamp; and outputting atmosphere lamp control information, wherein the atmosphere lamp control information comprises the color control parameter and the brightness control parameter. According to the scheme, the control effect of the atmosphere lamp can be improved, so that the light effect of the atmosphere lamp is more adaptive to the picture.
Description
Technical Field
The embodiment of the invention relates to the field of intelligent equipment, in particular to an atmosphere lamp control method and device, a computer readable storage medium and a terminal.
Background
With the improvement of the living standard of people, the television has become one of the essential household appliances in the life of people. In order to improve the watching effect, some televisions are provided with atmosphere lamps for adjusting the color of the environment and creating a better watching atmosphere. However, the control effect of the existing atmosphere lamp is not ideal.
Disclosure of Invention
The technical problem solved by the embodiment of the invention is how to improve the control effect of the atmosphere lamp so as to enable the light effect of the atmosphere lamp to be more adaptive to the picture.
In order to solve the above technical problem, an embodiment of the present invention provides an ambience lamp control method, including: acquiring target audio and video data, wherein the target audio and video data comprises picture data and sound data; determining the color of the picture according to the picture data; determining color control parameters of the atmosphere lamp according to the color of the picture, wherein the color control parameters are used for adjusting the color of the atmosphere lamp; determining a brightness control parameter of the atmosphere lamp according to the sound data, wherein the brightness control parameter is used for adjusting the brightness of the atmosphere lamp; and outputting atmosphere lamp control information, wherein the atmosphere lamp control information comprises the color control parameter and the brightness control parameter.
Optionally, the determining the color of the picture according to the picture data includes: the atmosphere lamp comprises a plurality of lamp beads, the picture is divided according to the arrangement positions of the lamp beads to obtain a plurality of blocks, and each block corresponds to one lamp bead; the color of each tile is determined.
Optionally, the determining the color of each partition includes: when the block comprises a plurality of colors, counting the proportion of the colors, and taking the color with the largest proportion as the color of the block.
Optionally, the determining the color control parameter of the ambience lamp according to the color of the picture includes: and determining the color control parameters of the lamp beads corresponding to each block according to the color of each block.
Optionally, the determining the color control parameter of the ambience lamp according to the color of the picture includes: if each block corresponds to a plurality of lamp beads, determining a transition color band of the color of the adjacent block according to the color of the adjacent block; and determining the color control parameters of the atmosphere lamp according to the colors of the adjacent blocks and the transition color band.
Optionally, the determining the brightness control parameter of the atmosphere lamp according to the sound data includes: and calculating the brightness control parameters of the lamp beads corresponding to the blocks according to the brightness of each block.
Optionally, the atmosphere lamp control method further includes: obtaining the distance between each lamp bead in the atmosphere lamp and a playing end of the target audio and video data; and adjusting the brightness control parameter of each lamp bead according to the distance between each lamp bead and the playing end, and taking the adjusted brightness control parameter as the brightness control parameter.
Optionally, the atmosphere lamp control method further includes: after the target audio and video data are obtained, determining the type of the target audio and video data according to the target audio and video data; and determining a control mode of the atmosphere lamp according to the type of the target audio and video data, wherein the control information of the atmosphere lamp is different in different control modes.
Optionally, the atmosphere lamp control method further includes: determining the change frequency of the atmosphere lamp according to the video frame rate of the picture data; and outputting the control information of the atmosphere lamp according to the change frequency of the atmosphere lamp.
Optionally, the video frame rate is the same as the change frequency.
Optionally, the outputting the atmosphere lamp control information includes: converting the format of the atmosphere lamp control information into a format meeting a specified wireless communication mode; and outputting the atmosphere lamp control information meeting the format corresponding to the specified wireless communication mode.
Optionally, the atmosphere lamp control information includes a plurality of data bit data, and each data bit data is used for controlling the color and the brightness of the corresponding lamp bead respectively, and the atmosphere lamp includes a plurality of lamp beads.
An embodiment of the present invention further provides an atmosphere lamp control apparatus, including: the device comprises an acquisition unit, a processing unit and a processing unit, wherein the acquisition unit is used for acquiring target audio and video data, and the target audio and video data comprises picture data and sound data; a first determining unit, configured to determine a color of a picture according to the picture data; a second determining unit, configured to determine a color control parameter of the ambience lamp according to the color of the picture, where the color control parameter is used to adjust the color of the ambience lamp; a third determining unit, configured to determine a brightness control parameter of the ambience lamp according to the sound data, where the brightness control parameter is used to adjust the brightness of the ambience lamp; and the output unit is used for outputting atmosphere lamp control information, and the atmosphere lamp control information comprises the color control parameter and the brightness control parameter.
Embodiments of the present invention further provide a computer-readable storage medium, which is a non-volatile storage medium or a non-transitory storage medium, and on which a computer program is stored, where the computer program is executed by a processor to perform any one of the steps of the above-mentioned atmosphere lamp control method.
The embodiment of the invention also provides a terminal, which comprises a memory and a processor, wherein the memory is stored with a computer program capable of running on the processor, and the processor executes the steps of any one of the atmosphere lamp control methods when running the computer program.
Compared with the prior art, the technical scheme of the embodiment of the invention has the following beneficial effects:
and determining the color of the picture according to the picture data in the target audio and video data, and further determining the color control parameter of the atmosphere lamp according to the color of the picture. And determining the brightness control parameter of the atmosphere lamp according to the sound data in the target audio and video data. And outputting atmosphere lamp control information, wherein the atmosphere lamp control information comprises a color control parameter and a brightness control parameter, the color of the atmosphere lamp can be adjusted through the color control parameter, and the brightness of the atmosphere lamp can be adjusted through the brightness control parameter. The color control parameters are determined according to the picture data of the target audio and video, and the brightness adjustment parameters are determined according to the sound data, so that the color and the brightness of the atmosphere lamp can be adjusted according to the target audio and video, the consistency of the color and the brightness of the atmosphere lamp and the target audio and video data is improved, and the control effect of the atmosphere lamp is improved.
Drawings
FIG. 1 is a flow chart of an atmosphere lamp control method in an embodiment of the present invention;
FIG. 2 is a schematic diagram of an atmosphere lamp control apparatus according to an embodiment of the present invention.
Detailed Description
The atmosphere lamp on the existing television is usually installed on the back or around the television, and the environment color is adjusted through the atmosphere lamp to create a better viewing atmosphere. However, the control effect of the existing atmosphere lamp is not ideal.
In order to solve the above problem, in the embodiment of the present invention, the color of the picture is determined according to the picture data in the target audio/video data, and then the color control parameter of the atmosphere lamp is determined according to the color of the picture. And determining the brightness control parameter of the atmosphere lamp according to the sound data in the target audio and video data. And outputting atmosphere lamp control information, wherein the atmosphere lamp control information comprises a color control parameter and a brightness control parameter, the color of the atmosphere lamp can be adjusted through the color control parameter, and the brightness of the atmosphere lamp can be adjusted through the brightness control parameter. The color control parameters are determined according to the picture data of the target audio and video, and the brightness adjustment parameters are determined according to the sound data, so that the color and the brightness of the atmosphere lamp can be adjusted according to the target audio and video, the consistency of the color and the brightness of the atmosphere lamp and the target audio and video data is improved, and the control effect of the atmosphere lamp is improved.
In order to make the aforementioned objects, features and advantages of the embodiments of the present invention more comprehensible, specific embodiments accompanied with figures are described in detail below.
An embodiment of the present invention provides an atmosphere lamp control method, and referring to fig. 1, a flowchart of the atmosphere lamp control method in the embodiment of the present invention is given, which may specifically include the following steps:
and step S11, acquiring target audio and video data.
In a particular implementation, the target audio-visual data may include visual data and audio data.
In step S12, the color of the screen is determined based on the screen data.
In order to improve the control effect of the atmosphere lamp, in some non-limiting embodiments, when the atmosphere lamp comprises a plurality of lamp beads, the picture can be divided according to the arrangement position of each lamp bead to obtain a plurality of blocks. Each block is respectively corresponding to a lamp bead. And determining the color of each block according to the picture data corresponding to each block.
In some embodiments, in order to improve flexibility of installation and configuration of the atmosphere lamp, an atmosphere lamp position configuration interface may be provided, and the installation positions of the lamp beads in the atmosphere lamp may be configured through the configuration interface. And then the picture can be blocked according to the position of the atmosphere lamp.
In a specific implementation, when determining the color of each segment, for each segment, when the segment includes a plurality of colors, the proportion of each color may be counted, and the color with the largest proportion is taken as the color of the segment.
In specific implementation, when each block corresponds to a plurality of lamp beads, the blocks can be further divided according to the number of the lamp beads corresponding to the blocks, and a plurality of sub-blocks are obtained. And determining the color of each sub-block according to the picture data corresponding to each sub-block.
And step S13, determining the color control parameter of the atmosphere lamp according to the color of the picture.
In a specific implementation, the color control parameters of the ambience lamp may be used to adjust the color of the ambience lamp. When the color control parameters of the atmosphere lamp are determined according to the color of the picture, the color control parameters of the lamp beads corresponding to the blocks can be determined according to the color of each block, and the color control parameters of the lamp beads corresponding to the blocks are adopted to control the color of the lamp beads corresponding to the blocks.
Further, when each sub-block is further divided to obtain a plurality of sub-blocks, the color of the lamp bead corresponding to each sub-block can be determined according to the color of each sub-block.
In specific implementation, the color control parameters may be configured according to the type of the lamp bead. When the lamp bead includes a red (R) illuminant, a green (G) illuminant, and a blue (B) illuminant, the color configuration parameters may be RGB values, different RGB values, and the color of the lamp bead is different. For example, when the RGB value is (255, 255, 255), the color of the lamp bead is white; when the RGB value is (0, 0, 0), the color of the lamp bead is black; when the RGB value is (255, 0, 0), the color of the lamp bead is red; when the RGB value is (0, 255, 0), the color of the lamp bead is green; when the RGB value is (0, 0, 255), the color of the lamp bead is blue; when the RGB value is (255, 0, 255), the color of the lamp bead is purple. R, G, B in the RGB values all range from 0 to 255, and other colors can be obtained by adjusting R, G and the specific value of B, which is not illustrated here.
Further, when determining the color control parameter of the atmosphere lamp according to the picture color, if each block corresponds to a plurality of lamp beads, determining the transition color band of the color of the adjacent block according to the color of the adjacent block. And determining the color control parameters of the atmosphere lamp according to the colors of the adjacent blocks and the transition color band. Through confirming the transition typewriter ribbon between the adjacent piecemeal, can realize the transition of the colour of the lamp pearl between the adjacent piecemeal for the colour of the adjacent lamp pearl that adjacent piecemeal corresponds carries out natural transition, improves the light effect of atmosphere lamp.
The lamp beads corresponding to the transition color band can be determined according to the number of the lamp beads corresponding to each block and the relative position of each lamp bead, the lamp beads corresponding to the transition color band can be from the lamp beads corresponding to two blocks in the adjacent blocks, and can also be from the lamp beads corresponding to one block in the adjacent blocks. The configuration may be specifically performed according to the relative position of each partition and the number of partitions.
By taking the lamp beads corresponding to one block as an example, the color control parameters of the lamp beads in the middle area can be configured according to the colors of the block, and the color control parameters of the lamp beads in the two side areas can be configured according to the transition color band.
Step S14, determining the brightness control parameter of the atmosphere lamp according to the sound data.
In a specific implementation, the brightness control parameter is used to adjust the brightness of the ambience lamp.
In specific implementation, when the brightness control parameter of the atmosphere lamp is determined according to the sound data, the brightness control parameter of the lamp bead corresponding to each block can be calculated according to the brightness of each block. The brightness of the color of the lamp bead can be adjusted through the brightness control parameter.
In specific implementation, in order to further improve the effect of the atmosphere lamp, in some non-limiting embodiments of the present invention, the distance between each lamp bead in the atmosphere lamp and the playing end of the target audio/video data is obtained. And adjusting the brightness control parameters of the lamp beads according to the distance between each lamp bead and the playing end, and taking the adjusted brightness control parameters as the brightness control parameters finally used for controlling the lamp beads. That is, the brightness of the lamp bead can be configured to different brightness when the distance between the lamp bead and the playing end is different.
In some embodiments, brightness and distance are configured to be inversely related, that is, brightness of a lamp bead closer to the playing end is higher, and brightness of a lamp bead farther from the playing end is lower, so that brightness of the lamp bead is gradually changed, and the effect of the atmosphere lamp is improved.
In a specific implementation, the steps S13 and S14 may be executed synchronously or asynchronously, that is, the step S13 may be executed before the step S14, after the step S14, or simultaneously with the step S14, which is not limited herein.
Step S15, the atmosphere lamp control information is output.
In a specific implementation, the ambience light control information comprises the color control parameter and a brightness control parameter. And outputting the control information of the atmosphere lamp to the atmosphere lamp so as to control the color and the brightness of the atmosphere lamp.
From the above, the color of the picture is determined according to the picture data in the target audio/video data, and then the color control parameter of the atmosphere lamp is determined according to the color of the picture. And determining the brightness control parameter of the atmosphere lamp according to the sound data in the target audio and video data. And outputting atmosphere lamp control information, wherein the atmosphere lamp control information comprises a color control parameter and a brightness control parameter, the color of the atmosphere lamp can be adjusted through the color control parameter, and the brightness of the atmosphere lamp can be adjusted through the brightness control parameter. The color control parameters are determined according to the picture data of the target audio and video, and the brightness adjustment parameters are determined according to the sound data, so that the color and the brightness of the atmosphere lamp can be adjusted according to the target audio and video, the consistency of the color and the brightness of the atmosphere lamp and the target audio and video data is improved, and the control effect of the atmosphere lamp is improved.
In specific implementation, after the target audio and video data is acquired, the type of the target audio and video data can be determined according to the target audio and video data. And determining a control mode of the atmosphere lamp according to the type of the target audio and video data, wherein the control information of the atmosphere lamp is different in different control modes.
For example, the type of the target audio-video data is a movie, and the control mode of the atmosphere light is determined to be a movie mode. As another example, the type of the target audio-video data is a concert, and the control mode of the atmosphere lamp is determined to be a music mode. And if the type of the target audio and video data is Karaoke, determining that the control mode of the atmosphere lamp is a Karaoke mode. Wherein, under different modes, atmosphere lamp control information is different, and atmosphere lamp control information can also include scintillation frequency control parameter when including colour control parameter and luminance control parameter, can also include luminance adjustment range etc.. The flicker effect of the lamp beads can be controlled by configuring flicker frequency control parameters, the brightness can be limited by the brightness adjusting range, and then the brightness range of the lamp beads is controlled, so that the overall brightness of the environment is adjusted. By configuring different atmosphere lamp modes, the lamplight effect matched with various types of target audio and video data can be built in a targeted manner, and the atmosphere sense and the user experience of a user are improved.
In a specific implementation, the change frequency of the atmosphere lamp may be determined according to a video frame rate of the picture data. And determining the output time of the atmosphere lamp control information according to the change frequency of the atmosphere lamp, and further outputting the atmosphere lamp control information.
Further, the video frame rate is the same as the change frequency, thereby realizing the synchronization and consistency of the picture change and the color change of the atmosphere lamp.
In specific implementation, the playing end is in communication connection with the atmosphere lamp in a wireless mode, so that the flexibility of the layout of the atmosphere lamp can be improved. The playing end can be a television, a mobile phone, a computer and other suitable terminals.
In specific implementation, the wireless communication mode may be WIFI, bluetooth, Zigbee, or the like. The Zigbee can also be called a Zigbee protocol, and is a wireless network protocol for low-speed short-distance transmission.
In a specific implementation, when the atmosphere lamp control information is output, the format of the atmosphere lamp control information may be converted into a format meeting the specified wireless communication mode, and the atmosphere lamp control information meeting the format corresponding to the specified wireless communication mode is output.
In specific implementation, when the atmosphere lamp includes a plurality of lamp pearls, in order to facilitate the control to each lamp pearl, can dispose a plurality of lamp pearl drive arrangement, every lamp pearl drive arrangement can drive a plurality of lamp pearls. In order to reduce delay and improve the real-time property of sending the atmosphere lamp control information, the atmosphere lamp control information can be output in a broadcasting mode. The atmosphere lamp control information may comprise control information of all lamp beads. Because atmosphere lamp control information includes the control information of all lamp pearls, sends atmosphere lamp control information through the mode of broadcasting, can realize that each lamp pearl drive arrangement can receive atmosphere lamp control information simultaneously or in less time deviation relatively to improve atmosphere lamp control information transmission's real-time, reduce atmosphere lamp control information transmission's time delay.
In order to realize that the control information of all the lamp beads is included in the atmosphere lamp control information, in some non-limiting embodiments, the atmosphere lamp control information may include a plurality of data bit data, and each data bit data is used for controlling the color and brightness of the corresponding lamp bead.
In specific implementation, when the playing end and the atmosphere lamp are configured, the effective data bits corresponding to the lamp beads are configured and appointed. Specifically, the playing end can allocate valid data bits to each lamp bead driving device according to the number of the lamp bead driving devices of the atmosphere lamp. Subsequently, when atmosphere lamp control information is received, control information of the corresponding lamp beads can be obtained from each effective data bit. For example, each lamp bead driving device may be configured with a communication module, and after the communication module of each lamp bead driving device receives the broadcasted atmosphere lamp control information, data is acquired from the valid data bit corresponding to the lamp bead driving device, and the data acquired from the valid data bit is sent to the lamp bead driving device to control the lamp bead.
In the atmosphere lamp control information broadcasting process, the data loss condition may occur due to the interference of the external environment, and in order to avoid the influence on the control of the atmosphere lamp due to the loss of the atmosphere lamp control information, in the specific implementation, within a set duration, the playing end can broadcast the atmosphere lamp control information periodically. That is, the same atmosphere lamp control information may be periodically broadcast within a set time period. The set duration can be obtained according to the video playing frame rate.
In order to distinguish whether the atmosphere lamp control information is broadcast for the first time or repeatedly, i.e. whether the atmosphere lamp control information is new or repeatedly broadcast, in some non-limiting embodiments of the present invention, the atmosphere lamp control information may comprise a command tag (command tag) for identifying whether the atmosphere lamp control information is updated or not. When the atmosphere lamp receives the atmosphere lamp control information, the instruction label is recorded, when the atmosphere lamp control information is subsequently received, whether the atmosphere lamp control information is updated or not is judged according to the recorded instruction label and the instruction label in the atmosphere lamp control information, if yes, the operation corresponding to the updated atmosphere lamp control information is executed, and the instruction label is updated. If not, it is ignored.
In some non-limiting embodiments, the mood lamp control information may be broadcast in a conventional bluetooth broadcast manner, the mood lamp control information may be broadcast in a low power bluetooth broadcast manner, and the mood lamp control information may be broadcast in an extended broadcast manner.
An embodiment of the present invention further provides an ambience lamp control device, and referring to fig. 2, a schematic structural diagram of the ambience lamp control device in the embodiment of the present invention is shown. The ambience lamp control device 20 may comprise:
the device comprises an acquisition unit 21, a processing unit and a processing unit, wherein the acquisition unit 21 is used for acquiring target audio and video data, and the target audio and video data comprises picture data and sound data;
a first determining unit 22, configured to determine a color of the picture according to the picture data;
a second determining unit 23, configured to determine a color control parameter of the ambience lamp according to the color of the picture, where the color control parameter is used to adjust the color of the ambience lamp;
a third determining unit 24, configured to determine a brightness control parameter of the ambience lamp according to the sound data, where the brightness control parameter is used to adjust the brightness of the ambience lamp;
and an output unit 25 for outputting atmosphere lamp control information, wherein the atmosphere lamp control information includes the color control parameter and the brightness control parameter.
In a specific implementation, the specific structure and the specific work flow of the ambience lamp control device 20 may refer to the description of the ambience lamp control method provided in the above embodiment, and are not described herein again.
The embodiment of the invention also provides an atmosphere lamp control system, which can comprise a playing end and an atmosphere lamp.
The playing end can acquire target audio and video data, wherein the target audio and video data comprises picture data and sound data; determining the color of the picture according to the picture data; determining color control parameters of the atmosphere lamp according to the color of the picture, wherein the color control parameters are used for adjusting the color of the atmosphere lamp; determining a brightness control parameter of the atmosphere lamp according to the sound data, wherein the brightness control parameter is used for adjusting the brightness of the atmosphere lamp; and outputting atmosphere lamp control information to the atmosphere lamp, wherein the atmosphere lamp control information comprises the color control parameter and the brightness control parameter.
And after the atmosphere lamp receives the atmosphere lamp control information, controlling the color of each lamp bead according to the color control parameter indicated by the atmosphere lamp control information, and controlling the color of each lamp bead according to the brightness control parameter.
The playing end can be a mobile phone, a computer, a television and the like.
When the broadcast end is connected with the atmosphere lamp through wireless communication, the broadcast end and the atmosphere lamp are respectively provided with corresponding wireless communication modules. For example, when the bluetooth is connected between broadcast end and the atmosphere lamp, broadcast end and atmosphere lamp are provided with bluetooth communication module respectively. If the playing end and the atmosphere lamp are connected through WIFI, the playing end and the atmosphere lamp are respectively provided with a WIFI communication module.
Specifically, the playing end may include a control device and a communication module, and the ambience light control information obtained by the control device may be output via the communication module of the playing end. Correspondingly, the communication module of the atmosphere lamp can receive the control information of the atmosphere lamp and control the color and the brightness of each lamp bead according to the control information of the atmosphere lamp.
Specifically, the working principle and the flow between the playing end and the atmosphere lamp in the atmosphere lamp control system may refer to the description of the atmosphere lamp control method provided in the above embodiment, and are not described herein again.
Embodiments of the present invention further provide a computer-readable storage medium, which may be a non-volatile storage medium or a non-transitory storage medium, and a computer program is stored on the computer-readable storage medium, and when being executed by a processor, the computer program performs the steps of the atmosphere lamp control method provided in any of the above embodiments.
The embodiment of the present invention further provides a terminal, which includes a memory and a processor, where the memory stores a computer program capable of running on the processor, and the processor executes the steps of the atmosphere lamp control method provided in any of the above embodiments when running the computer program.
Those skilled in the art will appreciate that all or part of the steps in the methods of the above embodiments may be implemented by hardware related to instructions of a program, which may be stored in any computer readable storage medium, and the storage medium may include: ROM, RAM, magnetic or optical disks, and the like.
Although the present invention is disclosed above, the present invention is not limited thereto. Various changes and modifications may be effected therein by one skilled in the art without departing from the spirit and scope of the invention as defined in the appended claims.
Claims (15)
1. An ambience lamp control method, comprising:
acquiring target audio and video data, wherein the target audio and video data comprises picture data and sound data;
determining the color of the picture according to the picture data;
determining color control parameters of the atmosphere lamp according to the color of the picture, wherein the color control parameters are used for adjusting the color of the atmosphere lamp;
determining a brightness control parameter of the atmosphere lamp according to the sound data, wherein the brightness control parameter is used for adjusting the brightness of the atmosphere lamp;
and outputting atmosphere lamp control information, wherein the atmosphere lamp control information comprises the color control parameter and the brightness control parameter.
2. The ambience lamp control method of claim 1, wherein said determining a color of the picture based on said picture data comprises:
the atmosphere lamp comprises a plurality of lamp beads, the picture is divided according to the arrangement positions of the lamp beads to obtain a plurality of blocks, and each block corresponds to one lamp bead;
the color of each tile is determined.
3. The ambience lamp control method of claim 2, wherein the determining the color of each segment includes: when the block comprises a plurality of colors, counting the proportion of the colors, and taking the color with the largest proportion as the color of the block.
4. The ambience lamp control method of claim 2, wherein the determining the color control parameter of the ambience lamp based on the color of the picture comprises:
and determining the color control parameters of the lamp beads corresponding to each block according to the color of each block.
5. The ambience lamp control method of claim 2, wherein the determining the color control parameter of the ambience lamp based on the color of the picture comprises:
if each block corresponds to a plurality of lamp beads, determining a transition color band of the color of the adjacent block according to the color of the adjacent block;
and determining the color control parameters of the atmosphere lamp according to the colors of the adjacent blocks and the transition color band.
6. The ambience lamp control method of claim 2, wherein determining the brightness control parameter of the ambience lamp based on the sound data comprises:
and calculating the brightness control parameters of the lamp beads corresponding to the blocks according to the brightness of each block.
7. The atmosphere lamp control method according to any one of claims 1 to 6, further comprising:
obtaining the distance between each lamp bead in the atmosphere lamp and a playing end of the target audio and video data;
and adjusting the brightness control parameter of each lamp bead according to the distance between each lamp bead and the playing end, and taking the adjusted brightness control parameter as the brightness control parameter.
8. The ambient lamp control method of claim 1, further comprising:
after the target audio and video data are obtained, determining the type of the target audio and video data according to the target audio and video data;
and determining a control mode of the atmosphere lamp according to the type of the target audio and video data, wherein the control information of the atmosphere lamp is different in different control modes.
9. The ambient lamp control method of claim 1, further comprising:
determining the change frequency of the atmosphere lamp according to the video frame rate of the picture data;
and outputting the control information of the atmosphere lamp according to the change frequency of the atmosphere lamp.
10. The ambience lamp control method of claim 9, wherein the video frame rate is the same as the varying frequency.
11. The ambience lamp control method of claim 1, wherein the outputting the ambience lamp control information includes:
converting the format of the atmosphere lamp control information into a format meeting a specified wireless communication mode;
and outputting the atmosphere lamp control information meeting the format corresponding to the specified wireless communication mode.
12. The ambience lamp control method of claim 1, wherein the ambience lamp control information includes a plurality of data bit data, each data bit data being for controlling a color and a brightness of a corresponding lamp bead, respectively, the ambience lamp including the plurality of lamp beads.
13. An ambience lamp control device, comprising:
the device comprises an acquisition unit, a processing unit and a processing unit, wherein the acquisition unit is used for acquiring target audio and video data, and the target audio and video data comprises picture data and sound data;
a first determining unit, configured to determine a color of a picture according to the picture data;
a second determining unit, configured to determine a color control parameter of the ambience lamp according to the color of the picture, where the color control parameter is used to adjust the color of the ambience lamp;
a third determining unit, configured to determine a brightness control parameter of the ambience lamp according to the sound data, where the brightness control parameter is used to adjust the brightness of the ambience lamp;
and the output unit is used for outputting atmosphere lamp control information, and the atmosphere lamp control information comprises the color control parameter and the brightness control parameter.
14. A computer-readable storage medium, being a non-volatile storage medium or a non-transitory storage medium, having a computer program stored thereon, wherein the computer program, when being executed by a processor, is adapted to perform the steps of the ambience lamp control method of any one of claims 1 to 12.
15. A terminal comprising a memory and a processor, said memory having stored thereon a computer program operable on said processor, characterized in that said processor, when executing said computer program, performs the steps of the ambience lamp control method of any one of claims 1 to 12.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202111007684.4A CN113613370B (en) | 2021-08-30 | 2021-08-30 | Atmosphere lamp control method and device, computer readable storage medium and terminal |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202111007684.4A CN113613370B (en) | 2021-08-30 | 2021-08-30 | Atmosphere lamp control method and device, computer readable storage medium and terminal |
Publications (2)
Publication Number | Publication Date |
---|---|
CN113613370A true CN113613370A (en) | 2021-11-05 |
CN113613370B CN113613370B (en) | 2024-03-19 |
Family
ID=78342301
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202111007684.4A Active CN113613370B (en) | 2021-08-30 | 2021-08-30 | Atmosphere lamp control method and device, computer readable storage medium and terminal |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN113613370B (en) |
Cited By (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114158160A (en) * | 2021-11-26 | 2022-03-08 | 杭州当虹科技股份有限公司 | Immersive atmosphere lamp system based on video content analysis |
CN114228613A (en) * | 2021-11-12 | 2022-03-25 | 北京罗克维尔斯科技有限公司 | Control method and device for atmosphere lamp in vehicle and storage medium |
CN114290988A (en) * | 2022-01-06 | 2022-04-08 | 北京地平线机器人技术研发有限公司 | Method and device for adjusting light in vehicle, electronic equipment and storage medium |
CN114355804A (en) * | 2021-12-20 | 2022-04-15 | 广西世纪创新显示电子有限公司 | Control method of eye-protection lamp, eye-protection lamp and computer storage medium |
CN114554655A (en) * | 2022-02-18 | 2022-05-27 | 青岛易来智能科技股份有限公司 | Light effect execution method and device, storage medium and electronic device |
WO2023082361A1 (en) * | 2021-11-15 | 2023-05-19 | 深圳市万联通智能科技有限公司 | Method and system for converting video image change data into led three-dimensional magic color effect |
WO2023109091A1 (en) * | 2021-12-17 | 2023-06-22 | 深圳创维-Rgb电子有限公司 | Lamp strip control method, lamp strip system, electronic device, and storage medium |
CN116552379A (en) * | 2023-06-05 | 2023-08-08 | 浙江百康光学股份有限公司 | Automobile atmosphere lamp control method, electronic equipment and readable medium |
Citations (15)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2006107905A (en) * | 2004-10-05 | 2006-04-20 | Sony Corp | Illumination control device and illumination control method, recording medium, and program |
CN101554093A (en) * | 2006-12-08 | 2009-10-07 | 皇家飞利浦电子股份有限公司 | Device for generating light with a variable color |
US20100060671A1 (en) * | 2008-09-05 | 2010-03-11 | Samsung Electronics Co., Ltd. | Local-dimming method, light source apparatus performing the local-dimming method and display apparatus having the light source apparatus |
JP2012124905A (en) * | 2010-02-26 | 2012-06-28 | Sharp Corp | Content reproduction device, television receiver, content reproduction method, content reproduction program, and recording medium |
CN105933762A (en) * | 2016-05-18 | 2016-09-07 | 海信集团有限公司 | Linkage control method and device for smart home |
WO2017000810A1 (en) * | 2015-06-30 | 2017-01-05 | 芋头科技(杭州)有限公司 | System for controlling lighting display effect |
CN106658134A (en) * | 2016-10-28 | 2017-05-10 | 青岛海信电器股份有限公司 | Time synchronization method for ambient light television and ambient light television |
CN107401704A (en) * | 2017-08-01 | 2017-11-28 | 苏州欧普照明有限公司 | Projecting Lamp and its control method and controller, display system |
CN107836019A (en) * | 2015-04-15 | 2018-03-23 | 飞利浦照明控股有限公司 | Method and apparatus for customizing color transition effect |
CN109743819A (en) * | 2018-12-07 | 2019-05-10 | 北京梧桐车联科技有限责任公司 | Control method and device, storage medium and the vehicle-mounted atmosphere lamp of vehicle-mounted atmosphere lamp |
CN111591210A (en) * | 2020-04-22 | 2020-08-28 | 深圳市点嘀互联网络有限公司 | System and method for intelligent interaction between embedded equipment and vehicle atmosphere lamp |
CN111787671A (en) * | 2020-07-15 | 2020-10-16 | 江门市征极光兆科技有限公司 | Control method based on movie and television picture synchronous light atmosphere |
CN112435265A (en) * | 2020-11-06 | 2021-03-02 | 联宝(合肥)电子科技有限公司 | Lamp effect synchronous processing method and device and computer readable storage medium |
CN112888121A (en) * | 2021-01-21 | 2021-06-01 | 上海禾骋科技有限公司 | Atmosphere lamp intelligent interaction system based on central computing platform |
CN113286405A (en) * | 2021-04-30 | 2021-08-20 | 深圳市凯润智能照明有限公司 | System and method for realizing synchronous control of lamplight by audio frequency and image |
-
2021
- 2021-08-30 CN CN202111007684.4A patent/CN113613370B/en active Active
Patent Citations (15)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2006107905A (en) * | 2004-10-05 | 2006-04-20 | Sony Corp | Illumination control device and illumination control method, recording medium, and program |
CN101554093A (en) * | 2006-12-08 | 2009-10-07 | 皇家飞利浦电子股份有限公司 | Device for generating light with a variable color |
US20100060671A1 (en) * | 2008-09-05 | 2010-03-11 | Samsung Electronics Co., Ltd. | Local-dimming method, light source apparatus performing the local-dimming method and display apparatus having the light source apparatus |
JP2012124905A (en) * | 2010-02-26 | 2012-06-28 | Sharp Corp | Content reproduction device, television receiver, content reproduction method, content reproduction program, and recording medium |
CN107836019A (en) * | 2015-04-15 | 2018-03-23 | 飞利浦照明控股有限公司 | Method and apparatus for customizing color transition effect |
WO2017000810A1 (en) * | 2015-06-30 | 2017-01-05 | 芋头科技(杭州)有限公司 | System for controlling lighting display effect |
CN105933762A (en) * | 2016-05-18 | 2016-09-07 | 海信集团有限公司 | Linkage control method and device for smart home |
CN106658134A (en) * | 2016-10-28 | 2017-05-10 | 青岛海信电器股份有限公司 | Time synchronization method for ambient light television and ambient light television |
CN107401704A (en) * | 2017-08-01 | 2017-11-28 | 苏州欧普照明有限公司 | Projecting Lamp and its control method and controller, display system |
CN109743819A (en) * | 2018-12-07 | 2019-05-10 | 北京梧桐车联科技有限责任公司 | Control method and device, storage medium and the vehicle-mounted atmosphere lamp of vehicle-mounted atmosphere lamp |
CN111591210A (en) * | 2020-04-22 | 2020-08-28 | 深圳市点嘀互联网络有限公司 | System and method for intelligent interaction between embedded equipment and vehicle atmosphere lamp |
CN111787671A (en) * | 2020-07-15 | 2020-10-16 | 江门市征极光兆科技有限公司 | Control method based on movie and television picture synchronous light atmosphere |
CN112435265A (en) * | 2020-11-06 | 2021-03-02 | 联宝(合肥)电子科技有限公司 | Lamp effect synchronous processing method and device and computer readable storage medium |
CN112888121A (en) * | 2021-01-21 | 2021-06-01 | 上海禾骋科技有限公司 | Atmosphere lamp intelligent interaction system based on central computing platform |
CN113286405A (en) * | 2021-04-30 | 2021-08-20 | 深圳市凯润智能照明有限公司 | System and method for realizing synchronous control of lamplight by audio frequency and image |
Non-Patent Citations (3)
Title |
---|
TOMMASO GRITTI等: "Automatic Light Scene Setting Through Image-Based Sparse Light Effect Approximation", 《IEEE TRANSACTIONS ON MULTIMEDIA》, 3 April 2012 (2012-04-03) * |
刘一然: "多投影及移动投影增强现实技术", 《中国优秀硕士学位论文全文数据库》, 22 May 2014 (2014-05-22) * |
叶成俊: "基于蓝牙通信的影视LED灯的研究与设计", 《中国优秀硕士学位论文全文数据库》, no. 4, 15 April 2021 (2021-04-15) * |
Cited By (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114228613A (en) * | 2021-11-12 | 2022-03-25 | 北京罗克维尔斯科技有限公司 | Control method and device for atmosphere lamp in vehicle and storage medium |
WO2023082361A1 (en) * | 2021-11-15 | 2023-05-19 | 深圳市万联通智能科技有限公司 | Method and system for converting video image change data into led three-dimensional magic color effect |
CN114158160A (en) * | 2021-11-26 | 2022-03-08 | 杭州当虹科技股份有限公司 | Immersive atmosphere lamp system based on video content analysis |
CN114158160B (en) * | 2021-11-26 | 2024-03-29 | 杭州当虹科技股份有限公司 | Immersive atmosphere lamp system based on video content analysis |
WO2023109091A1 (en) * | 2021-12-17 | 2023-06-22 | 深圳创维-Rgb电子有限公司 | Lamp strip control method, lamp strip system, electronic device, and storage medium |
CN114355804A (en) * | 2021-12-20 | 2022-04-15 | 广西世纪创新显示电子有限公司 | Control method of eye-protection lamp, eye-protection lamp and computer storage medium |
CN114290988A (en) * | 2022-01-06 | 2022-04-08 | 北京地平线机器人技术研发有限公司 | Method and device for adjusting light in vehicle, electronic equipment and storage medium |
CN114554655A (en) * | 2022-02-18 | 2022-05-27 | 青岛易来智能科技股份有限公司 | Light effect execution method and device, storage medium and electronic device |
CN116552379A (en) * | 2023-06-05 | 2023-08-08 | 浙江百康光学股份有限公司 | Automobile atmosphere lamp control method, electronic equipment and readable medium |
Also Published As
Publication number | Publication date |
---|---|
CN113613370B (en) | 2024-03-19 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN113613370B (en) | Atmosphere lamp control method and device, computer readable storage medium and terminal | |
CN105933762B (en) | A kind of inter-linked controlling method and device of smart home | |
US9081265B2 (en) | Decentralized intelligent nodal lighting system | |
CN100584037C (en) | Flicker-free adaptive thresholding for ambient light derived from video content mapped through unrendered color space | |
CN113677077B (en) | Wireless atmosphere lamp control system, method and device, readable storage medium and terminal | |
CN1906951A (en) | Ambient light derived by subsampling video content and mapped through unrendered color space | |
US10832636B2 (en) | Image processing apparatus, image processing method, and program | |
CN113299245B (en) | Method and device for adjusting local backlight of display equipment, display equipment and storage medium | |
US20180199414A1 (en) | Smart lighting device, control terminal, and lighting system | |
CN104219849A (en) | Method and device for controlling light-emitting equipment on basis of audio signal | |
WO2022170765A1 (en) | Display device and backlight control method | |
US9380443B2 (en) | Immersive positioning and paring | |
CN104219850A (en) | Light emitting equipment control method and device | |
CN106997748A (en) | The white balance dynamically set up based on ambient light in video display device | |
CN115396641B (en) | Laser projection display method, three-color laser projection apparatus, and readable storage medium | |
WO2024051111A1 (en) | Lighting device linkage control system and lighting device linkage control method | |
CN103489411B (en) | The color of display screen maintains method and system | |
KR102070322B1 (en) | Display apparatus and display panel driving method thereof | |
CN104728991B (en) | air conditioner display interface control method, system and terminal | |
CN105828503A (en) | Method and apparatus for controlling lamp | |
EP2605622B1 (en) | Dynamic ambient lighting | |
CN111148332A (en) | Scene control system and method of intelligent lighting equipment | |
CN116453477A (en) | Backlight processing method and device based on local dimming, backlight equipment and projector | |
KR20120050745A (en) | Multi-vision system and picture visualizing method the same | |
CN115334099A (en) | Linkage system, method and storage medium of streaming media audio/video data and lamp |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |