A kind of control method of intelligent LED system
Technical field
The present invention relates to a kind of control method, more particularly, to a kind of control method of intelligent LED system.
Background technology
With the continuous development of network and information technology, continuous improvement of the people to life requirement, more and more people are willing to
Meaning goes to experience and receives mobile Internet of Things and smart home.In order to exactly into intelligent LED lamp system user select it is each
Intelligent LED lamp sends control instruction, and the control method of traditional intelligent LED lamp system is user by control terminal to intelligence
More intelligent LED lamps in LED lamp system send unicast control instruction successively, after intelligent LED lamp receives control instruction, according to
Parameter inside control instruction changes the variation that electric current generates color and brightness.
The control method of traditional intelligent LED lamp system is when being controlled, although selected each intelligent LED lamp pair
The time of control instruction response is consistent, but more intelligent LED lamps of the control terminal into intelligent LED lamp system are sent out successively
Unicast control instruction is sent, so that each intelligent LED lamp receives control instruction Time Inconsistency, thus generates each intelligent LED
The problem of variation of lamp is inconsistent.Simultaneously because a control method needs to send a plurality of unicast control instruction, portion is not only existed
There is the problem of channel block the problem of unicast instruction is divided to lose.The problem of above-mentioned, all can be with selected intelligent LED lamp number
Amount increases, and the performance of problem is more apparent.Also, it in the control method of traditional intelligent LED system, is included in unicast control instruction
Parameter be mainly configured by user before unicast control instruction is sent or using preset parameter, the former exist operate it is numerous
There is style sheet one in the problem of trivial, the latter.
The content of the invention
The technical problems to be solved by the invention, which are to provide one kind, can eliminate the inconsistent situation of intelligent LED lamp variation, keep away
Exempt from control instruction loss, prevent channel block, and it is easy to operate, make intelligent LED lamp system that there is the intelligence of a variety of changing patteries
The control method of LED information display system.
Technical solution is used by the present invention solves above-mentioned technical problem:A kind of control method of intelligent LED system, bag
Include following steps:
1. user starts to configure the intelligent LED lamp of intelligent LED lamp system by control terminal, concrete configuration process
For:
A. the first control of generation number in control terminal, the first control number is stored in control terminal;
B. after user selects the intelligent LED lamp needed to configure in intelligent LED lamp system by control terminal, in control terminal
Generation one comprising first control number the first unicast configuration-direct, and by the first unicast configuration-direct be sent to successively by
The intelligent LED lamp needed to configure of selection;
C. after selected intelligent LED lamp receives the first unicast configuration-direct, the in the first unicast configuration-direct is extracted
One control is numbered and is stored in its internal storage space, and then the first unicast configuration-direct successful information of generation storage is sent to
Control terminal;
D. when control terminal receives storage the first unicast configuration-direct successful information of all selected intelligent LED lamps
Afterwards, the second control of generation number in control terminal, the second control number is stored in control terminal;
E. a second unicast configuration-direct for including the second control number is generated in control terminal, and by second unicast
Configuration-direct is sent to selected intelligent LED lamp successively;
F. after selected intelligent LED lamp receives the second unicast configuration-direct, the in the second unicast configuration-direct is extracted
Two controls are numbered and are stored in its internal storage space, and then the second unicast configuration-direct successful information of generation storage is sent to
Control terminal;
G. when control terminal receives storage the second unicast configuration-direct successful information of all selected intelligent LED lamps
Afterwards, user sets the running parameter of intelligent LED lamp, and these running parameters are stored in control terminal and are joined as newest variation
Number.
H. first Broadcasting Control of the generation comprising the second control number and above-mentioned newest running parameter refers in control terminal
Order, and first Broadcasting Control instruction is sent to intelligent LED lamp all in intelligent LED lamp system;
I. after each intelligent LED lamp receives the instruction of the first Broadcasting Control in intelligent LED lamp system, it is wide that first is extracted first
The second control number and the newest running parameter in control instruction are broadcast, is then searched in its internal storage space with the presence or absence of second
Control number, if it is present the newest running parameter of extraction is stored in its internal storage space;If it is not, it does not deposit
Storage;
J. at this point, if user needs to change running parameter again, the amended running parameter of user is substituted into original most
New change parameter is on the contrary then be directly entered step k as entering step k after current newest running parameter;
K. control terminal puies forward second broadcast configuration of the generation comprising the first control number and newest running parameter and instructs, and will
Second Broadcasting Control instruction is sent to intelligent LED lamp all in intelligent LED lamp system.
L. the first control in each intelligent LED lamp extraction the second broadcast configuration instruction of the second broadcast configuration instruction is received
Number and newest running parameter are searched in its internal storage space and numbered with the presence or absence of the second control, if it is present will extraction
First control number and newest running parameter be stored in its internal storage space, and return storage successful information to control eventually
End;
M. after control terminal receives the storage successful information that all selected intelligent LED lamps return, send for clear
Except the 3rd Broadcasting Control of the second control number is instructed to all intelligent LED lamps in intelligent LED lamp system, each intelligent LED lamp
After receiving the instruction of the 3rd Broadcasting Control, search its internal storage space and numbered with the presence or absence of the second control;If so, then by
Two control numbers are removed from its internal storage space, and configuration is completed;
2. user starts to control the intelligent LED lamp of intelligent LED lamp system by control terminal, process is specifically controlled
For:
N. user is instructed by the 4th Broadcasting Control of the control terminal generation comprising the first control number, by the 4th broadcast
Control instruction is sent to all intelligent LED lamps in intelligent LED lamp system;
O. when each intelligent LED in intelligent LED lamp system receives the instruction of the 4th Broadcasting Control, the 4th broadcast control of extraction
The first control number in system instruction, searches in its internal storage space and is numbered with the presence or absence of the first control;If it is present root
Corresponding variation occurs according to the luminance parameter of its memory storage, color temperature parameters and color parameter, completes the control to the intelligent LED of selection
System.
The running parameter includes luminance parameter, color temperature parameters and color parameter.
Compared with prior art, advantages of the present invention as follows first matches somebody with somebody the intelligent LED lamp of intelligent LED lamp system
It puts, in configuration process, the first of step a generations controls number use scope process in order to control, the second control of step d generations
Number use scope is configuration process, and two processes avoid mixed number generation from conflicting using independent number, user in step j
Running parameter can be changed, Broadcasting Control instruction can be transmitted in user's selection the first control number in step m, passes through step j and step
The combination of rapid m2 step, one side user can realize the various conversion of intelligent LED lamp system by customized mode, separately
On the one hand also simplify user's operation process, in the step o in subsequent control stage, judgement the is carried out by intelligent LED lamp itself
The first control in the instruction of four Broadcasting Controls numbers to decide whether the principle for generating this order reacting condition so that broadcast
Control instruction replaces the unicast control instruction of traditional control method, solves each LED light in traditional control method and receives control
The problem of instruction time processed is inconsistent thereby eliminates intelligent LED lamp and changes inconsistent situation, while a Broadcasting Control refers to
The problem of order efficiently solves part unicast instruction loss and channel block instead of a plurality of unicast control instruction.
Specific embodiment
The control method of the intelligent LED system of the present invention is described in further detail with reference to embodiments.
Embodiment one:A kind of control method of intelligent LED system, comprises the following steps:
1. user starts to configure the intelligent LED lamp of intelligent LED lamp system by control terminal, concrete configuration process
For:
A. the first control of generation number in control terminal, the first control number is stored in control terminal;
B. after user selects the intelligent LED lamp needed to configure in intelligent LED lamp system by control terminal, in control terminal
Generation one comprising first control number the first unicast configuration-direct, and by the first unicast configuration-direct be sent to successively by
The intelligent LED lamp needed to configure of selection;
C. after selected intelligent LED lamp receives the first unicast configuration-direct, the in the first unicast configuration-direct is extracted
One control is numbered and is stored in its internal storage space, and then the first unicast configuration-direct successful information of generation storage is sent to
Control terminal;
D. when control terminal receives storage the first unicast configuration-direct successful information of all selected intelligent LED lamps
Afterwards, the second control of generation number in control terminal, the second control number is stored in control terminal;
E. a second unicast configuration-direct for including the second control number is generated in control terminal, and by second unicast
Configuration-direct is sent to selected intelligent LED lamp successively;
F. after selected intelligent LED lamp receives the second unicast configuration-direct, the in the second unicast configuration-direct is extracted
Two controls are numbered and are stored in its internal storage space, and then the second unicast configuration-direct successful information of generation storage is sent to
Control terminal;
G. when control terminal receives storage the second unicast configuration-direct successful information of all selected intelligent LED lamps
Afterwards, user sets the running parameter of intelligent LED lamp, and these running parameters are stored in control terminal and are joined as newest variation
Number.
H. first Broadcasting Control of the generation comprising the second control number and above-mentioned newest running parameter refers in control terminal
Order, and first Broadcasting Control instruction is sent to intelligent LED lamp all in intelligent LED lamp system;
I. after each intelligent LED lamp receives the instruction of the first Broadcasting Control in intelligent LED lamp system, it is wide that first is extracted first
The second control number and the newest running parameter in control instruction are broadcast, is then searched in its internal storage space with the presence or absence of second
Control number, if it is present the newest running parameter of extraction is stored in its internal storage space;If it is not, it does not deposit
Storage;
J. at this point, if user needs to change running parameter again, the amended running parameter of user is substituted into original most
New change parameter is on the contrary then be directly entered step k as entering step k after current newest running parameter;
K. control terminal puies forward second broadcast configuration of the generation comprising the first control number and newest running parameter and instructs, and will
Second Broadcasting Control instruction is sent to intelligent LED lamp all in intelligent LED lamp system.
L. the first control in each intelligent LED lamp extraction the second broadcast configuration instruction of the second broadcast configuration instruction is received
Number and newest running parameter are searched in its internal storage space and numbered with the presence or absence of the second control, if it is present will extraction
First control number and newest running parameter be stored in its internal storage space, and return storage successful information to control eventually
End;
M. after control terminal receives the storage successful information that all selected intelligent LED lamps return, send for clear
Except the 3rd Broadcasting Control of the second control number is instructed to all intelligent LED lamps in intelligent LED lamp system, each intelligent LED lamp
After receiving the instruction of the 3rd Broadcasting Control, search its internal storage space and numbered with the presence or absence of the second control;If so, then by
Two control numbers are removed from its internal storage space, and configuration is completed;
2. user starts to control the intelligent LED lamp of intelligent LED lamp system by control terminal, process is specifically controlled
For:
N. user is instructed by the 4th Broadcasting Control of the control terminal generation comprising the first control number, by the 4th broadcast
Control instruction is sent to all intelligent LED lamps in intelligent LED lamp system;
O. when each intelligent LED in intelligent LED lamp system receives the instruction of the 4th Broadcasting Control, the 4th broadcast control of extraction
The first control number in system instruction, searches in its internal storage space and is numbered with the presence or absence of the first control;If it is present root
Corresponding variation occurs according to the luminance parameter of its memory storage, color temperature parameters and color parameter, completes the control to the intelligent LED of selection
System.
Embodiment two:A kind of control method of intelligent LED system, comprises the following steps:
1. user starts to configure the intelligent LED lamp of intelligent LED lamp system by control terminal, concrete configuration process
For:
A. the first control of generation number in control terminal, the first control number is stored in control terminal;
B. after user selects the intelligent LED lamp needed to configure in intelligent LED lamp system by control terminal, in control terminal
Generation one comprising first control number the first unicast configuration-direct, and by the first unicast configuration-direct be sent to successively by
The intelligent LED lamp needed to configure of selection;
C. after selected intelligent LED lamp receives the first unicast configuration-direct, the in the first unicast configuration-direct is extracted
One control is numbered and is stored in its internal storage space, and then the first unicast configuration-direct successful information of generation storage is sent to
Control terminal;
D. when control terminal receives storage the first unicast configuration-direct successful information of all selected intelligent LED lamps
Afterwards, the second control of generation number in control terminal, the second control number is stored in control terminal;
E. a second unicast configuration-direct for including the second control number is generated in control terminal, and by second unicast
Configuration-direct is sent to selected intelligent LED lamp successively;
F. after selected intelligent LED lamp receives the second unicast configuration-direct, the in the second unicast configuration-direct is extracted
Two controls are numbered and are stored in its internal storage space, and then the second unicast configuration-direct successful information of generation storage is sent to
Control terminal;
G. when control terminal receives storage the second unicast configuration-direct successful information of all selected intelligent LED lamps
Afterwards, user sets the running parameter of intelligent LED lamp, and these running parameters are stored in control terminal and are joined as newest variation
Number.
H. first Broadcasting Control of the generation comprising the second control number and above-mentioned newest running parameter refers in control terminal
Order, and first Broadcasting Control instruction is sent to intelligent LED lamp all in intelligent LED lamp system;
I. after each intelligent LED lamp receives the instruction of the first Broadcasting Control in intelligent LED lamp system, it is wide that first is extracted first
The second control number and the newest running parameter in control instruction are broadcast, is then searched in its internal storage space with the presence or absence of second
Control number, if it is present the newest running parameter of extraction is stored in its internal storage space;If it is not, it does not deposit
Storage;
J. at this point, if user needs to change running parameter again, the amended running parameter of user is substituted into original most
New change parameter is on the contrary then be directly entered step k as entering step k after current newest running parameter;
K. control terminal puies forward second broadcast configuration of the generation comprising the first control number and newest running parameter and instructs, and will
Second Broadcasting Control instruction is sent to intelligent LED lamp all in intelligent LED lamp system.
L. the first control in each intelligent LED lamp extraction the second broadcast configuration instruction of the second broadcast configuration instruction is received
Number and newest running parameter are searched in its internal storage space and numbered with the presence or absence of the second control, if it is present will extraction
First control number and newest running parameter be stored in its internal storage space, and return storage successful information to control eventually
End;
M. after control terminal receives the storage successful information that all selected intelligent LED lamps return, send for clear
Except the 3rd Broadcasting Control of the second control number is instructed to all intelligent LED lamps in intelligent LED lamp system, each intelligent LED lamp
After receiving the instruction of the 3rd Broadcasting Control, search its internal storage space and numbered with the presence or absence of the second control;If so, then by
Two control numbers are removed from its internal storage space, and configuration is completed;
2. user starts to control the intelligent LED lamp of intelligent LED lamp system by control terminal, process is specifically controlled
For:
N. user is instructed by the 4th Broadcasting Control of the control terminal generation comprising the first control number, by the 4th broadcast
Control instruction is sent to all intelligent LED lamps in intelligent LED lamp system;
O. when each intelligent LED in intelligent LED lamp system receives the instruction of the 4th Broadcasting Control, the 4th broadcast control of extraction
The first control number in system instruction, searches in its internal storage space and is numbered with the presence or absence of the first control;If it is present root
Corresponding variation occurs according to the luminance parameter of its memory storage, color temperature parameters and color parameter, completes the control to the intelligent LED of selection
System.
In the present embodiment, running parameter includes luminance parameter, color temperature parameters and color parameter.