CN105163448A - LED intelligent lamp control method, device and system - Google Patents

LED intelligent lamp control method, device and system Download PDF

Info

Publication number
CN105163448A
CN105163448A CN201510605018.9A CN201510605018A CN105163448A CN 105163448 A CN105163448 A CN 105163448A CN 201510605018 A CN201510605018 A CN 201510605018A CN 105163448 A CN105163448 A CN 105163448A
Authority
CN
China
Prior art keywords
lamp control
lamp
data
led intelligent
control instruction
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.)
Pending
Application number
CN201510605018.9A
Other languages
Chinese (zh)
Inventor
王韬
贺强
林达炘
魏泽科
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangdong Xiaoming Network Technology Co Ltd
Original Assignee
Guangdong Xiaoming Network Technology Co Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Guangdong Xiaoming Network Technology Co Ltd filed Critical Guangdong Xiaoming Network Technology Co Ltd
Priority to CN201510605018.9A priority Critical patent/CN105163448A/en
Publication of CN105163448A publication Critical patent/CN105163448A/en
Pending legal-status Critical Current

Links

Classifications

    • YGENERAL 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
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02BCLIMATE CHANGE MITIGATION TECHNOLOGIES RELATED TO BUILDINGS, e.g. HOUSING, HOUSE APPLIANCES OR RELATED END-USER APPLICATIONS
    • Y02B20/00Energy efficient lighting technologies, e.g. halogen lamps or gas discharge lamps
    • Y02B20/40Control techniques providing energy savings, e.g. smart controller or presence detection

Landscapes

  • Circuit Arrangement For Electric Light Sources In General (AREA)

Abstract

The invention relates to the technical field of software, and particularly relates to an LED intelligent lamp control method, a device and a system. A lamp control file is made in advance, the lamp control file is composed of time data and a lamp control instruction associated with the time data, the lamp control instruction is used for controlling the state of the LED intelligent lamp, whether the time data in the lamp control file have first time data associated with current playing time of an audio and video file is judged, if yes, the first lamp control instruction associated with the first time data is acquired to be sent to the LED intelligent lamp, the LED intelligent lamp analyzes and executes the first lamp control instruction, and the state of the LED intelligent lamp is controlled.

Description

A kind of control method, Apparatus and system of LED intelligent lamp
Technical field
The present invention relates to software technology field, particularly relate to a kind of control method, Apparatus and system of LED intelligent lamp.
Background technology
Along with socioeconomic progress that is day by day flourish and audio-visual technology is upgraded, domestic audio-visual equipment is as video recorder, TV, sound equipment etc., its price has reached the level of universalness, as long as anyone has demand, all can have very easily, therefore the popularity rate of domestic sound equipment, TV is high, and also anxious manner of breathing closes with audio-visual equipment in most of amusement and leisure of compatriots.
But at present the audio-visual equipment of general household lacks globality audio and a lamp light control system, so that effect is had a greatly reduced quality when appreciating at home, not as at the cinema or the effect of viewing and admiring in MTV portion true to nature like that and perfect.Along with improving constantly of people's living standard, not only pursuing the super impression of audiovisual when watching home theater, also needing sensation on the spot in person simultaneously.Current home theater is lower to indoor light sensation control overflow, cannot accomplish the super impression of sound, optical, electrical one.
Summary of the invention
Technical problem to be solved by this invention is: providing a kind of can change with the play content change of audio-video document by control LED intelligent lamp, realizes control method, the Apparatus and system of LED intelligent lamp of super impression of sound, optical, electrical one.
In order to solve the problems of the technologies described above, the first technical scheme that the present invention adopts is:
A control method for LED intelligent lamp, comprising:
S1, default lamp control file and audio-video document, the lamp control instruction that described lamp control file comprises time data and is associated with time data; Described time data is associated with the reproduction time of described audio-video document, and described lamp control instruction is for the state of control LED intelligent lamp; Described time data comprises the very first time data be associated with the reproduction time of described audio-video document, and described lamp control instruction comprises the first lamp control instruction be associated with very first time data;
S2, playing audio-video document;
S3, judge whether lamp control file has the very first time data be associated with the current reproduction time of described audio-video document, if having, obtain the first lamp control instruction that described very first time data are associated;
S4, send described first lamp control instruction to LED intelligent lamp, the change of control LED intelligent lamp state.
The second technical scheme that the present invention adopts is:
A control device for LED intelligent lamp, comprises presetting module, playing module, judge module, acquisition module and sending module;
Described presetting module, for default lamp control file and audio-video document, the lamp control instruction that described lamp control file comprises time data and is associated with time data; Described time data is associated with the reproduction time of described audio-video document, and described lamp control instruction is for the state of control LED intelligent lamp; Described time data comprises the very first time data be associated with the reproduction time of described audio-video document, and described lamp control instruction comprises the first lamp control instruction be associated with very first time data;
Described playing module, for playing audio-video document;
Described judge module, for judging whether lamp control file has the very first time data be associated with the current reproduction time of described audio-video document;
Described acquisition module, if when having for lamp control file a very first time data be associated with the current reproduction time of described audio-video document, obtain the first lamp control instruction that described very first time data are associated;
Described sending module, for sending described first lamp control instruction to LED intelligent lamp, the change of control LED intelligent lamp state.
The 3rd technical scheme that the present invention adopts is:
A control system for LED intelligent lamp, comprises video player, processor and LED intelligent lamp;
Described video player is used for playing audio-video document;
Described processor comprises memory module, processing module and sending module;
Described memory module is for storing lamp control file; The lamp control instruction that described lamp control file comprises time data and is associated with time data; Described time data is associated with the reproduction time of described audio-video document, and described lamp control instruction is for the state of control LED intelligent lamp; Described time data comprises the very first time data be associated with the reproduction time of described audio-video document, and described lamp control instruction comprises the first lamp control instruction be associated with very first time data;
Whether described processing module has for judging the very first time data be associated with the current reproduction time of described audio-video document in lamp control file;
If described sending module is used for there are the very first time data be associated with the current reproduction time of described audio-video document in lamp control file, after obtaining the first lamp control instruction that described very first time data are associated, send described first lamp control instruction to LED intelligent lamp;
The first lamp control instruction that described LED intelligent lamp sends for receiving sending module, according to the change of the first lamp control instruction control LED intelligent lamp state.
Beneficial effect of the present invention is: make lamp control file in advance, this lamp control file is made up of time data and the lamp control instruction that is associated with time data, lamp control instruction is for the state of control LED intelligent lamp, by judging whether there are the very first time data be associated with the current play time of audio-video document in the time data in lamp control file, if have, the first lamp control instruction that just acquisition very first time data are associated sends to LED intelligent lamp, LED intelligent lamp is resolved and is performed the first lamp control instruction, realizes the state of control LED intelligent lamp.Such as want when audio-video document is played to 1 hour 20 points 12 seconds, LED intelligent lamp is shown in red, then the very first time data of lamp control file be set to 1 hour 20 points 12 seconds, the lamp control instruction that described very first time data are associated is set to redness, when playing audio-video document is to above-mentioned time point, the very first time data that can recognize lamp control file are identical with the time of now audio-video document, send lamp control instruction to LED intelligent lamp, LED intelligent lamp is resolved and after performing this lamp control instruction, LED intelligent lamp will be shown in red.
Accompanying drawing explanation
Fig. 1 is the flow chart of steps of the control method of a kind of LED intelligent lamp of the present invention;
Fig. 2 is the structural representation of the control device of a kind of LED intelligent lamp of the present invention;
Fig. 3 is the structural representation of the control system of a kind of LED intelligent lamp of the present invention;
Label declaration:
10, presetting module; 20, playing module; 30, judge module; 40, acquisition module; 50, sending module; 1, LED intelligent lamp; 2, processor; 3, video player.
Embodiment
By describing technology contents of the present invention in detail, realized object and effect, accompanying drawing is coordinated to be explained below in conjunction with execution mode.
The design of most critical of the present invention is: by judging whether there are the very first time data be associated with the current play time of audio-video document in lamp control file, if have, the first lamp control instruction that acquisition very first time data are associated sends to LED intelligent lamp, LED intelligent lamp is resolved and is performed the first lamp control instruction, realizes the state of control LED intelligent lamp.
Please refer to Fig. 1, the control method of a kind of LED intelligent lamp provided by the invention, comprising:
S1, default lamp control file and audio-video document, the lamp control instruction that described lamp control file comprises time data and is associated with time data; Described time data is associated with the reproduction time of described audio-video document, and described lamp control instruction is for the state of control LED intelligent lamp; Described time data comprises the very first time data be associated with the reproduction time of described audio-video document, and described lamp control instruction comprises the first lamp control instruction be associated with very first time data;
S2, playing audio-video document;
S3, judge whether lamp control file has the very first time data be associated with the current reproduction time of described audio-video document, if having, obtain the first lamp control instruction that described very first time data are associated;
S4, send described first lamp control instruction to LED intelligent lamp, the change of control LED intelligent lamp state.
From foregoing description, beneficial effect of the present invention is: make lamp control file in advance, this lamp control file is made up of time data and the lamp control instruction that is associated with time data, lamp control instruction is for the state of control LED intelligent lamp, by judging whether there are the very first time data be associated with the current play time of audio-video document in the time data in lamp control file, if have, the first lamp control instruction that just acquisition very first time data are associated sends to LED intelligent lamp, LED intelligent lamp is resolved and is performed the first lamp control instruction, realizes the state of control LED intelligent lamp.Such as want when audio-video document is played to 1 hour 20 points 12 seconds, LED intelligent lamp is shown in red, then the very first time data of lamp control file be set to 1 hour 20 points 12 seconds, the lamp control instruction that described very first time data are associated is set to redness, when playing audio-video document is to above-mentioned time point, the very first time data that can recognize lamp control file are identical with the time of now audio-video document, send lamp control instruction to LED intelligent lamp, LED intelligent lamp is resolved and after performing this lamp control instruction, LED intelligent lamp will be shown in red.
Further, also comprise between step S1 and step S2: step S11, send described lamp control file and try out to LED intelligent lamp.Described test run behavior will be made lamp control file and be sent to LED intelligent lamp, display lamp light effect.
Further, described lamp control instruction comprises frame head data, order data, data length, data volume and checking data.
Further, described frame head data size is a byte; Described order data size is two bytes; Described data length size is a byte; Described data volume size is determined by data length; Described checking data size is a byte.
Further, also comprise after described step S4:
S5, LED intelligent lamp resolves the first lamp control instruction after receiving the first lamp control instruction;
S6, LED intelligent lamp performs the first lamp control instruction after resolving.
Further, described step S5 is specially:
LED intelligent lamp receives the first lamp control instruction;
Obtain frame head data, judge that whether described frame head data is identical with the standard frame head data being stored in LED intelligent lamp;
If so, checking data is obtained;
Judge whether checking data is effective;
If effectively, obtain order data and data length;
According to data length, obtain data volume;
Described step S6 is specially: LED intelligent lamp performs described order data and data volume.
Seen from the above description, first obtain frame head data, when frame head data is identical with the standard frame head data being stored in LED intelligent lamp, explanation is the beginning of a lamp control instruction.If not identical, just judge next data.Only have when the frame head data in alarm lamp control instruction is correct, just obtain checking data, under checking data is effective situation, just obtains order data and data length, can effectively promote data identification efficiency.
Further, described " judging whether lamp control file has the very first time data identical with the reproduction time of described audio-video document " is specially: interval preset duration judges whether lamp control file has the very first time data identical with the reproduction time of described audio-video document.Described preset duration is 10ms.
Seen from the above description, show that interval 10ms carries out once above-mentioned judgement through a large amount of experiments, system resource allocation is comparatively balanced.
Refer to Fig. 2, the control device of a kind of LED intelligent lamp provided by the invention, comprises presetting module 10, playing module 20, judge module 30, acquisition module 40 and sending module 50;
Described presetting module 10, for default lamp control file and audio-video document, the lamp control instruction that described lamp control file comprises time data and is associated with time data; Described time data is associated with the reproduction time of described audio-video document, and described lamp control instruction is for the state of control LED intelligent lamp; Described time data comprises the very first time data be associated with the reproduction time of described audio-video document, and described lamp control instruction comprises the first lamp control instruction be associated with very first time data;
Described playing module 20, for playing audio-video document;
Described judge module 30, for judging whether lamp control file has the very first time data be associated with the current reproduction time of described audio-video document;
Described acquisition module 40, if when having for lamp control file a very first time data be associated with the current reproduction time of described audio-video document, obtain the first lamp control instruction that described very first time data are associated;
Described sending module 50, for sending described first lamp control instruction to LED intelligent lamp, the change of control LED intelligent lamp state.
Further, described lamp control instruction comprises frame head data, order data, data length, data volume and checking data.
Refer to Fig. 3, the control system of a kind of LED intelligent lamp provided by the invention, comprises video player 3, processor 2 and LED intelligent lamp 1;
Described video player 3 is for playing audio-video document;
Described processor 2 comprises memory module, processing module and sending module;
Described memory module is for storing lamp control file; The lamp control instruction that described lamp control file comprises time data and is associated with time data; Described time data is associated with the reproduction time of described audio-video document, and described lamp control instruction is for the state of control LED intelligent lamp; Described time data comprises the very first time data be associated with the reproduction time of described audio-video document, and described lamp control instruction comprises the first lamp control instruction be associated with very first time data;
Whether described processing module has for judging the very first time data be associated with the current reproduction time of described audio-video document in lamp control file;
If described sending module is used for there are the very first time data be associated with the current reproduction time of described audio-video document in lamp control file, after obtaining the first lamp control instruction that described very first time data are associated, send described first lamp control instruction to LED intelligent lamp;
The first lamp control instruction that described LED intelligent lamp 1 sends for receiving sending module, according to the change of the first lamp control instruction control LED intelligent lamp state.
Further, described processor 2 also comprises acquisition module;
Described acquisition module, for obtaining the identifying information of the audio-video document of the current broadcasting of video player, searching according to described identifying information and obtaining the lamp control file storing and be associated with the audio-video document of current broadcasting in a storage module.
Please refer to Fig. 1-3, embodiments of the invention one are:
Shadow editing machine is used for making and generating lamp control file, shadow editing machine is set up socket with LED intelligent lamp and is communicated, be used for carrying out transmitting the instruction in lamp control file, complete the transmission of lamp control instruction, LED intelligent lamp is after receiving lamp control instruction, the corresponding lamp control of protocol analysis according to the rules instruction, and drive corresponding hardware to perform corresponding function.
The control method of a kind of LED intelligent lamp provided by the invention, comprising:
S1, default lamp control file and audio-video document, the lamp control instruction that described lamp control file comprises time data and is associated with time data; Described time data is associated with the reproduction time of described audio-video document, and described lamp control instruction is for the state of control LED intelligent lamp; Described time data comprises the very first time data be associated with the reproduction time of described audio-video document, and described lamp control instruction comprises the first lamp control instruction be associated with very first time data; Described lamp control instruction comprises frame head data, order data, data length, data volume and checking data.
The size of described frame head data is a byte; Frame head data is the frame head of Frame, identifies the beginning (being the beginning of control command) of a communication frame.Frame head data is AE.
The size of described order data is two bytes; Order data represents command type, such as ON/OFF, monochrome, secondary colour, gradual change, flicker, horse race lamp or dazzle coloured silk at random.
The size of described data length is a byte; The data length of data length representative data body, such as 0x01,0x10,0x4.
The size of described data volume is determined by data length; Data volume is the real data that communicate.
Described checking data size is a byte.Checking data represents the XOR value of all director datas.
The concrete conversion regime of described lamp control file is: undertaken converting lamp control file to by the project file structure attribute defined.
Project file structure attribute comprises as follows:
Path: play film path;
ConfigureList: film special-effect information set;
ConfigureList.StartTime: time started;
ConfigureList.EndTime: end time;
ConfigureList.Color1: lamp group 1 color, if only arrange Color1, then all lamp group is all the color of Color1;
ConfigureList.Color2: lamp group 2 color, if only arrange Color1 and Color2, then the foreground of gradual change and rear scenery;
ConfigureList.Color3: lamp group 3 color;
ConfigureList.Color4: lamp group 4 color;
ConfigureList.Deng: control lamp group quantity, if null, lamp group is entirely bright;
ConfigureList.Interval: the time interval;
ConfigureList.Count: flashing times;
ConfigureList.Direction: direction;
ConfigureList.BuChang: step-length;
CreatDate: creation-time;
ProName: the file path generating lamp control;
Corresponding json form project file is generated, such as a certain lamp control project file according to the corresponding attribute of editor
{"Path":"xx:\\xxx\\xxx.mp4","ConfigureList":[{"StartTime":"00:00:01:000","EndTime":"00:00:10:000","Color1":"#FFFFFF00","Color2":xxxxxx,"Color3":xxxxxx,"Color4":xxxxxx,"Duang":"xx","Deng":xxxx,"Interval":xxxx,"Count":xxxx,"Direction":xxxx,"BuChang":xxxx},{"StartTime":"00:00:11:000","EndTime":"00:00:15:000","Color1":"#FFFF0000","Color2":xxxx,"Color3":xxxx,"Color4":null,"xxxx":"xxxx","Deng":xxxx,"Interval":xxxx,"Count":xxxx,"Direction":xxxx,"BuChang":xxxx}],"CreatDate":xxxx,"ProName":"xx:\\xxx\\xxx.xm"}
Conversion lamp control file, file format xm, content format is as follows:
[{"time":"0:00:00:000","value":"ae00010101aa"},{"time":"00:00:01:010","value":"ae000310ff0000000000ff00ff00000000ff0000aa"},{"time":"00:00:11:110","value":"ae00040aff0000000000ff0003e8aa"}]。
Use the information aggregate of ConfigureList, the rule according to such as following table 1 converts lamp control file to:
Table 1
The command type supported for LED intelligent lamp as table 2 and design parameter:
Table 2
S11, send described lamp control file and carry out preview to LED intelligent lamp; In real process, the lamp control file made directly can be sent to LED intelligent lamp get final product preview lamp control file (showing LED intelligent lamp lighting effects);
S2, playing audio-video document;
S3, judge whether lamp control file has the very first time data be associated with the current reproduction time of described audio-video document, if having, obtain the first lamp control instruction that described very first time data are associated; Be specially: interval preset duration judges whether lamp control file has the very first time data be associated with the current reproduction time of described audio-video document.Described preset duration is 10ms.Show that interval 10ms carries out once above-mentioned judgement through a large amount of experiments, system resource allocation is comparatively balanced.
S4, send described first lamp control instruction to LED intelligent lamp, the change of control LED intelligent lamp state.
S5, LED intelligent lamp resolves the first lamp control instruction after receiving the first lamp control instruction; Described step S5 is specially:
LED intelligent lamp receives the first lamp control instruction;
Obtain frame head data, judge that whether described frame head data is identical with the standard frame head data being stored in LED intelligent lamp;
If so, checking data is obtained;
Judge whether checking data is effective;
If effectively, obtain order data and data length;
According to data length, obtain data volume;
First obtain frame head data, when frame head data is identical with the standard frame head data being stored in LED intelligent lamp, explanation is the beginning of a lamp control instruction.If not identical, just judge next data.Only have when the frame head data in alarm lamp control instruction is correct, just obtain checking data, under checking data is effective situation, just obtains order data and data length, can effectively promote data identification efficiency.
S6, LED intelligent lamp performs the first lamp control instruction after resolving.
Step S6 is specially: LED intelligent lamp performs described order data and data volume.
Provide a kind of control device of LED intelligent lamp according to the control method of above-mentioned LED intelligent lamp, comprise presetting module 10, playing module 20, judge module 30, acquisition module 40 and sending module 50;
Described presetting module 10, for default lamp control file and audio-video document, the lamp control instruction that described lamp control file comprises time data and is associated with time data; Described time data is associated with the reproduction time of described audio-video document, and described lamp control instruction is for the state of control LED intelligent lamp; Described time data comprises the very first time data be associated with the reproduction time of described audio-video document, and described lamp control instruction comprises the first lamp control instruction be associated with very first time data;
Described playing module 20, for playing audio-video document;
Described judge module 30, for judging whether lamp control file has the very first time data be associated with the current reproduction time of described audio-video document;
Described acquisition module 40, if when having for lamp control file a very first time data be associated with the current reproduction time of described audio-video document, obtain the first lamp control instruction that described very first time data are associated;
Described sending module 50, for sending described first lamp control instruction to LED intelligent lamp, the change of control LED intelligent lamp state.
Further, described lamp control instruction comprises frame head data, order data, data length, data volume and checking data.
As Fig. 3, the control system of a kind of LED intelligent lamp provided by the invention, comprises video player 3, processor 2 and LED intelligent lamp 1;
Described video player 3 is for playing audio-video document;
Described processor 2 comprises memory module, processing module and sending module;
Described memory module is for storing lamp control file; The lamp control instruction that described lamp control file comprises time data and is associated with time data; Described time data is associated with the reproduction time of described audio-video document, and described lamp control instruction is for the state of control LED intelligent lamp; Described time data comprises the very first time data be associated with the reproduction time of described audio-video document, and described lamp control instruction comprises the first lamp control instruction be associated with very first time data;
Whether described processing module has for judging the very first time data be associated with the current reproduction time of described audio-video document in lamp control file;
If described sending module is used for there are the very first time data be associated with the current reproduction time of described audio-video document in lamp control file, after obtaining the first lamp control instruction that described very first time data are associated, send described first lamp control instruction to LED intelligent lamp;
The first lamp control instruction that described LED intelligent lamp 1 sends for receiving sending module, according to the change of the first lamp control instruction control LED intelligent lamp state.
In actual application, processor can be arranged on LED intelligent lamp end or video player end; Such as processor is arranged on LED intelligent lamp end to be and to be integrated in LED intelligent lamp, the hardware configuration of system can be simplified.Video player can be the equipment that television set, mobile terminal etc. have video playback capability.
The operation principle of shadow editing machine comprises 5 parts, specific as follows:
1, select to edit film;
Shadow editing machine editorial staff selects the film needing editor.
2, select to connect light fixture;
Shadow editing machine editorial staff needs to configure corresponding light fixture, is convenient to when editting shadow file, preview effect.
3, edit film special efficacy, preserve;
Shadow editing machine editorial staff edits shadow special efficacy, and special efficacy mainly comprises monochrome, secondary colour, gradual change, flicker, horse race lamp, dazzles coloured silk at random.
4, lamp control file is generated;
After shadow editing machine editorial staff has edited, generate corresponding lamp control file, for correspondence film, have corresponding function player and intelligent lamp to organically combine.
5, preview, sends lamp control instruction to LED intelligent lamp;
After shadow editing machine editorial staff has edited, and connect light fixture, can preview shadow file effect.
The concrete manufacturing process using shadow editing machine to make lamp control file is:
(1) film A is edited first:
In light fixture administration module, click " connection light fixture ", prompting returns " successful connection "; Then start next step, otherwise enter light fixture management by menu module, configure correct light fixture information;
In video preview module, click " selection video " button, find A film;
In the light fixture special efficacy storehouse of light fixture administration module, click special single color effect button, draw and collect module region to lamp control-register, click the special efficacy button that module region is collected in lamp control-register, eject rear also edit file, click afterwards and determine;
Click in menu module and preserve, the special-effect information of editor's film A can be preserved; Click and generate lamp control file button, lamp control file can be become according to protocol conversion;
In menu module, click preview, film starts to play, and according to the lamp control file generated, the lamp control instruction sent in lamp control file shows to LED intelligent lamp.
(2) editor's film A has been preserved:
Open in the impact of menu module mid point, the storage file of the film A special-effect information selecting preserved last time;
Load the special-effect information of preserving film A last time and editing;
In the light fixture special efficacy storehouse of light fixture administration module, click special single color effect button, draw and collect module region to lamp control-register, click the special efficacy button that module region is collected in lamp control-register, eject rear also edit file, click afterwards and determine;
Click in menu module and preserve, the special-effect information of editor's film A can be preserved; Click and generate lamp control file button, lamp control file can be become according to protocol conversion;
In menu module, click preview, film starts to play, and according to the lamp control file generated, the lamp control instruction sent in lamp control file shows to LED intelligent lamp.
In sum, the control method of a kind of LED intelligent lamp provided by the invention, Apparatus and system, by making lamp control file in advance, this lamp control file is made up of time data and the lamp control instruction that is associated with time data, lamp control instruction is for the state of control LED intelligent lamp, by judging whether there are the very first time data be associated with the current play time of audio-video document in the time data in lamp control file, if have, the first lamp control instruction that just acquisition very first time data are associated sends to LED intelligent lamp, LED intelligent lamp is resolved and is performed the first lamp control instruction, realize the state of control LED intelligent lamp.Such as want when audio-video document is played to 1 hour 20 points 12 seconds, LED intelligent lamp is shown in red, then the very first time data of lamp control file be set to 1 hour 20 points 12 seconds, the lamp control instruction that described very first time data are associated is set to redness, when playing audio-video document is to above-mentioned time point, the very first time data that can recognize lamp control file are identical with the time of now audio-video document, send lamp control instruction to LED intelligent lamp, LED intelligent lamp is resolved and after performing this lamp control instruction, LED intelligent lamp will be shown in red.
The foregoing is only embodiments of the invention; not thereby the scope of the claims of the present invention is limited; every equivalents utilizing specification of the present invention and accompanying drawing content to do, or be directly or indirectly used in relevant technical field, be all in like manner included in scope of patent protection of the present invention.

Claims (10)

1. a control method for LED intelligent lamp, is characterized in that, comprising:
S1, default lamp control file and audio-video document, the lamp control instruction that described lamp control file comprises time data and is associated with time data; Described time data is associated with the reproduction time of described audio-video document, and described lamp control instruction is for the state of control LED intelligent lamp; Described time data comprises the very first time data be associated with the reproduction time of described audio-video document, and described lamp control instruction comprises the first lamp control instruction be associated with very first time data;
S2, playing audio-video document;
S3, judge in lamp control file, whether there are the very first time data be associated with the current reproduction time of described audio-video document, if having, obtain the first lamp control instruction that described very first time data are associated;
S4, send described first lamp control instruction to LED intelligent lamp, the change of control LED intelligent lamp state.
2. the control method of LED intelligent lamp according to claim 1, is characterized in that, also comprise between step S1 and step S2: step S11, send described lamp control file and try out to LED intelligent lamp.
3. the control method of LED intelligent lamp according to claim 1, is characterized in that, described lamp control instruction comprises frame head data, order data, data length, data volume and checking data.
4. the control method of LED intelligent lamp according to claim 3, is characterized in that, described frame head data size is a byte; Described order data size is two bytes; Described data length size is a byte; Described data volume size is determined by data length; Described checking data size is a byte.
5. the control method of LED intelligent lamp according to claim 3, is characterized in that, also comprise after step S4:
S5, LED intelligent lamp resolves the first lamp control instruction after receiving the first lamp control instruction;
S6, LED intelligent lamp performs the first lamp control instruction after resolving.
6. the control method of LED intelligent lamp according to claim 5, it is characterized in that, step S5 is specially:
LED intelligent lamp receives the first lamp control instruction;
Obtain frame head data, judge that whether described frame head data is identical with the standard frame head data being stored in LED intelligent lamp;
If so, checking data is obtained;
Judge whether checking data is effective;
If effectively, obtain order data and data length;
According to data length, obtain data volume;
Step S6 is specially: LED intelligent lamp performs described order data and data volume.
7. the control method of LED intelligent lamp according to claim 1, it is characterized in that, described " judging whether lamp control file has the very first time data identical with the reproduction time of described audio-video document " is specially: interval preset duration judges whether lamp control file has the very first time data identical with the reproduction time of described audio-video document; Described preset duration is 10ms.
8. a control device for LED intelligent lamp, is characterized in that, comprises presetting module, playing module, judge module, acquisition module and sending module;
Described presetting module, for default lamp control file and audio-video document, the lamp control instruction that described lamp control file comprises time data and is associated with time data; Described time data is associated with the reproduction time of described audio-video document, and described lamp control instruction is for the state of control LED intelligent lamp; Described time data comprises the very first time data be associated with the reproduction time of described audio-video document, and described lamp control instruction comprises the first lamp control instruction be associated with very first time data;
Described playing module, for playing audio-video document;
Whether described judge module, have for judging the very first time data be associated with the current reproduction time of described audio-video document in lamp control file;
Described acquisition module, if for there being the very first time data be associated with the current reproduction time of described audio-video document in lamp control file time, obtain the first lamp control instruction that described very first time data are associated;
Described sending module, for sending described first lamp control instruction to LED intelligent lamp, the change of control LED intelligent lamp state.
9. a control system for LED intelligent lamp, is characterized in that, comprises video player, processor and LED intelligent lamp;
Described video player is used for playing audio-video document;
Described processor comprises memory module, processing module and sending module;
Described memory module is for storing lamp control file; The lamp control instruction that described lamp control file comprises time data and is associated with time data; Described time data is associated with the reproduction time of described audio-video document, and described lamp control instruction is for the state of control LED intelligent lamp; Described time data comprises the very first time data be associated with the reproduction time of described audio-video document, and described lamp control instruction comprises the first lamp control instruction be associated with very first time data;
Whether described processing module has for judging the very first time data be associated with the current reproduction time of described audio-video document in lamp control file;
If described sending module is used for there are the very first time data be associated with the current reproduction time of described audio-video document in lamp control file, after obtaining the first lamp control instruction that described very first time data are associated, send described first lamp control instruction to LED intelligent lamp;
The first lamp control instruction that described LED intelligent lamp sends for receiving sending module, according to the change of the first lamp control instruction control LED intelligent lamp state.
10. the control system of LED intelligent lamp according to claim 9, is characterized in that, described processor also comprises acquisition module;
Described acquisition module, for obtaining the identifying information of the audio-video document of the current broadcasting of video player, searching according to described identifying information and obtaining the lamp control file storing and be associated with the audio-video document of current broadcasting in a storage module.
CN201510605018.9A 2015-09-21 2015-09-21 LED intelligent lamp control method, device and system Pending CN105163448A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510605018.9A CN105163448A (en) 2015-09-21 2015-09-21 LED intelligent lamp control method, device and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510605018.9A CN105163448A (en) 2015-09-21 2015-09-21 LED intelligent lamp control method, device and system

Publications (1)

Publication Number Publication Date
CN105163448A true CN105163448A (en) 2015-12-16

Family

ID=54804173

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510605018.9A Pending CN105163448A (en) 2015-09-21 2015-09-21 LED intelligent lamp control method, device and system

Country Status (1)

Country Link
CN (1) CN105163448A (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108174498A (en) * 2017-12-28 2018-06-15 福建海媚数码科技有限公司 A kind of control method and system of the scene lamp based on intelligent Matching
CN108196888A (en) * 2017-12-28 2018-06-22 福建海媚数码科技有限公司 A kind of control method and system of scene lamp
CN109152171A (en) * 2018-08-30 2019-01-04 广州视源电子科技股份有限公司 Lamplight control method and device, readable storage medium and control system
CN110442385A (en) * 2019-06-24 2019-11-12 华域视觉科技(上海)有限公司 Light editor, driving and control method, system, equipment and storage medium
CN111601417A (en) * 2020-04-03 2020-08-28 深圳市爱图仕影像器材有限公司 Shadow effect restoration method
CN112423080A (en) * 2020-11-03 2021-02-26 深圳Tcl新技术有限公司 Program playing method and device, terminal equipment and readable storage medium

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1200679A (en) * 1995-10-02 1998-12-02 马丁专业公司 Method and apparatus for controlling lighting
CN1906953A (en) * 2004-01-06 2007-01-31 皇家飞利浦电子股份有限公司 Ambient light script command encoding
CN101388234A (en) * 2007-09-12 2009-03-18 凌阳科技股份有限公司 Multimedia playing system with lighting display device
CN101416562A (en) * 2006-03-31 2009-04-22 皇家飞利浦电子股份有限公司 Combined video and audio based ambient lighting control
CN101573976A (en) * 2006-12-28 2009-11-04 夏普株式会社 Transmission device, view environment control device, and view environment control system
CN102595704A (en) * 2012-01-06 2012-07-18 重庆三弓科技发展有限公司 Nightscape lighting sound and light synchronous control system and control method thereof
CN103237154A (en) * 2013-05-08 2013-08-07 北京天禹神鸣设计工程有限公司 Acousto-optic image synchronization control system
CN103780915A (en) * 2012-10-17 2014-05-07 索尼公司 Video files including ambient light effects

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1200679A (en) * 1995-10-02 1998-12-02 马丁专业公司 Method and apparatus for controlling lighting
CN1906953A (en) * 2004-01-06 2007-01-31 皇家飞利浦电子股份有限公司 Ambient light script command encoding
CN101416562A (en) * 2006-03-31 2009-04-22 皇家飞利浦电子股份有限公司 Combined video and audio based ambient lighting control
CN101573976A (en) * 2006-12-28 2009-11-04 夏普株式会社 Transmission device, view environment control device, and view environment control system
CN101388234A (en) * 2007-09-12 2009-03-18 凌阳科技股份有限公司 Multimedia playing system with lighting display device
CN102595704A (en) * 2012-01-06 2012-07-18 重庆三弓科技发展有限公司 Nightscape lighting sound and light synchronous control system and control method thereof
CN103780915A (en) * 2012-10-17 2014-05-07 索尼公司 Video files including ambient light effects
CN103237154A (en) * 2013-05-08 2013-08-07 北京天禹神鸣设计工程有限公司 Acousto-optic image synchronization control system

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108174498A (en) * 2017-12-28 2018-06-15 福建海媚数码科技有限公司 A kind of control method and system of the scene lamp based on intelligent Matching
CN108196888A (en) * 2017-12-28 2018-06-22 福建海媚数码科技有限公司 A kind of control method and system of scene lamp
CN109152171A (en) * 2018-08-30 2019-01-04 广州视源电子科技股份有限公司 Lamplight control method and device, readable storage medium and control system
CN110442385A (en) * 2019-06-24 2019-11-12 华域视觉科技(上海)有限公司 Light editor, driving and control method, system, equipment and storage medium
CN111601417A (en) * 2020-04-03 2020-08-28 深圳市爱图仕影像器材有限公司 Shadow effect restoration method
CN112423080A (en) * 2020-11-03 2021-02-26 深圳Tcl新技术有限公司 Program playing method and device, terminal equipment and readable storage medium

Similar Documents

Publication Publication Date Title
CN105163448A (en) LED intelligent lamp control method, device and system
US9084312B2 (en) Dynamic ambient lighting
CN105245793B (en) A kind of generation method and device of lamp control file
US20130198786A1 (en) Immersive Environment User Experience
CN104333800B (en) The Bluetooth audio frequency player method and device of a kind of display system, display system
CN103119960B (en) Information processor, information processing method and program
US20110188832A1 (en) Method and device for realising sensory effects
US8928812B2 (en) Ambient light effects based on video via home automation
US8576340B1 (en) Ambient light effects and chrominance control in video files
US20220167036A1 (en) Live broadcast method and apparatus, and computer device and storage medium
CN107396167B (en) Floated menu display method and smart television based on smart television signal source
CN1713722A (en) Method of providing initial pictures to digital TV
JP2010511986A (en) Ambient lighting
MX2012009594A (en) Content reproduction device, television receiver, content reproduction method, content reproduction program, and recording medium.
KR20090102392A (en) A method to set a video apparatus according to a video system and contents, a video apparatus and a server using the same
US9380443B2 (en) Immersive positioning and paring
US10051318B2 (en) Systems and methods for providing immersive media content
US10798435B2 (en) Dynamic visual effect enhancing system for digital cinema and control method thereof
CN110419225A (en) Distributed synchronization control system for the environmental signal in multimedia playback
CN205071410U (en) Controlling means of LED intelligence lamp
EP2605622B1 (en) Dynamic ambient lighting
CN106325246A (en) Dual-purpose home theater system integrating indoor and remote control and control method thereof
CN205666064U (en) K sings system with home theater function
CN105187884B (en) The audio and video playing method of television set and television set
CA2798279C (en) Dynamic ambient lighting

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
WD01 Invention patent application deemed withdrawn after publication
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20151216