CN105760188B - A kind of fast switch over method of the physical switch for Intelligent illumination device - Google Patents

A kind of fast switch over method of the physical switch for Intelligent illumination device Download PDF

Info

Publication number
CN105760188B
CN105760188B CN201610061890.6A CN201610061890A CN105760188B CN 105760188 B CN105760188 B CN 105760188B CN 201610061890 A CN201610061890 A CN 201610061890A CN 105760188 B CN105760188 B CN 105760188B
Authority
CN
China
Prior art keywords
illumination device
parameter
intelligent illumination
color
service logic
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.)
Active
Application number
CN201610061890.6A
Other languages
Chinese (zh)
Other versions
CN105760188A (en
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.)
Shenzhen Ogemray Technology Co ltd
Original Assignee
Shenzhen Ogemray 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 Shenzhen Ogemray Technology Co ltd filed Critical Shenzhen Ogemray Technology Co ltd
Priority to CN201610061890.6A priority Critical patent/CN105760188B/en
Publication of CN105760188A publication Critical patent/CN105760188A/en
Application granted granted Critical
Publication of CN105760188B publication Critical patent/CN105760188B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/65Updates
    • HELECTRICITY
    • H05ELECTRIC TECHNIQUES NOT OTHERWISE PROVIDED FOR
    • H05BELECTRIC HEATING; ELECTRIC LIGHT SOURCES NOT OTHERWISE PROVIDED FOR; CIRCUIT ARRANGEMENTS FOR ELECTRIC LIGHT SOURCES, IN GENERAL
    • H05B47/00Circuit arrangements for operating light sources in general, i.e. where the type of light source is not relevant
    • H05B47/10Controlling the light source
    • 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

Abstract

The present invention discloses a kind of fast switch over method of physical switch for Intelligent illumination device, including following procedure: process 1: establishing the bidirectional data transfers channel of a physics between mobile terminal and Intelligent illumination device by APP application program;Wherein, Intelligent illumination device is the lighting apparatus for supporting home control network communication protocol, and has physical switch;Process 2: writing configuration documentation template, which is converted to variable for service logic, and initial parameter is arranged for each variable;The interface of configuration documentation template is arranged to be conducted into APP application program, and forms configuration data packet;Process 3: configuration data packet is sent to Intelligent illumination device by mobile terminal, and Intelligent illumination device received data packet simultaneously stores its configuration information, completes the configuration of Intelligent illumination device;Process 4: user sends operational order by physical switch, and Intelligent illumination device receives the operational order that physical switch is sent, and completes corresponding operation according to the configuration information of its storage.

Description

A kind of fast switch over method of the physical switch for Intelligent illumination device
Technical field
The present invention relates to the physical switch of Intelligent illumination device, the physical switch of specifically a kind of Intelligent illumination device is quick The universal method of handoff functionality.
Background technique
Intelligent facilitation become a kind of trend today, more and more Intelligent illumination devices require APP come into How the control such as row color, brightness, remove mobile phone, allow Intelligent illumination device can the color liked of automatic identification user, And several functions are switched fast by a physical switch (or physical button), user experience is provided, is that user selects intelligence One of significant consideration of energy lighting apparatus and developer are dedicated to one of important topic of research.Wherein, physical switch It is for electronic switch, the movement that electronic switch can be people makes a system by the program finished in advance Column reaction, and physical switch is manual control, as soon as people does a movement to switch, switch does a reaction.
The function of the physical switch of Intelligent illumination device traditional at present is all relatively simple, has the drawback that
1. existing physical switch is used to control lamp switch, this function can only carry out switch operation to equipment;
2. physical switch controls a kind of color switching of lamp, this function can only assign a kind of switching of color, function to equipment It is too single;
3. physical switch control lamp switches in fixed several colors, this function is just set when equipment factory The color for having set several fixations carries out color switching by physical switch, but these colors are not necessarily the face that user likes Color leverages the experience sense of user.
Also having scheme is by APP(application program) switch come real-time perfoming color, user may be implemented under this scene Rapid color switching, but toning is required using APP and network every time, not only uses pretty troublesome, also has certain Technical difficulty can not spread to various crowds, and be unable to reach the purpose of mobile phone.
Summary of the invention
Therefore, for above-mentioned problem, the present invention proposes a kind of quickly cutting for physical switch for Intelligent illumination device Method is changed, quickly, accurately, easily Intelligent illumination device is allowed to show the favorite color of user, brightness, colour temperature, special efficacy etc., given The good experience sense of user, to solve the deficiency of the prior art.
In order to solve the above-mentioned technical problem, thinking of the invention is as follows: firstly, passing through APP application program and intelligent lighting The bidirectional data transfers channel an of physics is established between equipment, the user of APP application program passes through UI circle of APP application program Face is switched fast corresponding action type the physical switch of Intelligent illumination device is arranged, and generates configuration data packet, the configuration Data include it is a variety of for switching switch state action type (action type has: switch-mode regulation, color adaptation, brightness regulation, Color temperature adjustment, lamp light specific effect are adjusted);Then APP application program shines the Intelligent illumination device that is sent to of configuration data packet, intelligence Bright equipment received data packet simultaneously stores the configuration information, which completes;Intelligent illumination device is switched fast object in user When reason switch, the configuration information of storage in a device is checked, this operation is carried out according to user-defined action type corresponding Response.
Specifically, the technical scheme adopted by the invention is that, a kind of physical switch for Intelligent illumination device it is quick Switching method, including following procedure:
Process 1: the two-way number of a physics is established between mobile terminal and Intelligent illumination device by APP application program According to transmission channel;Wherein, Intelligent illumination device is the lighting apparatus for supporting the home control network communication protocols such as WIFI, bluetooth or ZigBee, And there is physical switch;Mobile terminal can be mobile phone, iPad(plate), apparatus such as computer, APP application program be set to it is mobile eventually On end;
Process 2: writing configuration documentation template, which is converted to variable for service logic, and is each change Amount setting initial parameter, while being associated with physical switch;APP application program be arranged configuration documentation template interface to be conducted into, And form configuration data packet;Service logic may include that switch-mode regulation, color adaptation, brightness regulation, color temperature adjustment and light are special The action types such as effect adjusting;Configuration documentation template can be write by the interface UI of APP application program, can also directly be write and be matched Set document template;
Process 3: configuration data packet is sent to Intelligent illumination device by mobile terminal, and Intelligent illumination device received data packet is simultaneously Its configuration information is stored, the configuration of Intelligent illumination device is completed;
Process 4: user sends operational order (switch-mode regulation, color adaptation, brightness regulation, colour temperature tune by physical switch The operational orders such as section and lamp light specific effect adjusting), Intelligent illumination device receives the operational order that physical switch is sent, according to its storage Configuration information complete corresponding operation.
Further, Intelligent illumination device can be common to the use habit in user's nearest a period of time, including recently Color, brightness, colour temperature, special efficacy of lamp etc. are analyzed, and automatically carry out priority ordering according to the most common function of user, are used When family is switched fast physical switch, Intelligent illumination device can the common function of preferential answering.Specifically, in process 4, intelligent lighting Equipment completes corresponding operation according to the configuration information of its storage, and the parameter value operated every time is saved to parameters frequency table In;Meanwhile it being carried out at interval of parameter value of the certain time (such as every night, or a specific time weekly) to storage The height of analysis, the frequency occurred according to parameter value is ranked up it;It is sent when Intelligent illumination device receives mobile terminal Operational order when, sweep parameter frequency meter first executes phase according to frequency of occurrences highest parameter value on parameters frequency table automatically The operation answered.
It further, further include the process modified to the configuration of Intelligent illumination device in process 3: when user will repair When changing the configuration information of Intelligent illumination device, the correspondence initial parameter in the configuration documentation template in process 2 is modified first, then It imports APP application program and generates configuration data packet, configuration data packet is sent to intelligent lighting by mobile terminal (APP application program) Equipment, Intelligent illumination device receive and store the modification that configuration can be completed.Above-mentioned modification is not only easy to operate, it is easy to accomplish, Applicable various crowds;And can realize personalized experience, user can be freely arranged according to the hobby of oneself, have good Experience sense.
Further, in process 2, the interface of configuration documentation template is arranged to be conducted into APP application program, and is formed and matched Data packet is set, which includes service logic, attribute and corresponding parameter, service logic namely is switched fast switch The action type of state, action type have: switch-mode regulation, color adaptation, brightness regulation, color temperature adjustment, lamp light specific effect are adjusted etc., The message of configuration data packet is as follows:
Wherein, service logic: a byte is occupied, wherein 0x00 expression does not enable the configuration data packet, and 0x01 representative is opened It closes and adjusts, 0x02 represents color adaptation, and 0x03 represents brightness regulation, and 0x04 represents color temperature adjustment, and 0x05 represents lamp light specific effect tune Section;Group number: 1 byte is occupied, refers to the group number of service logic;Functional parameter length: 2 bytes are occupied, refer to pair of service logic Answer the length of parameter;Parameter: distance to go is determined by the length position of parameter.
For switch-mode regulation operational order: when Intelligent illumination device receives switch-mode regulation operational order, obtaining first Then the first state of switch is switched to the second state by the first state of switch, first state and the second state are different, and first State and the second state are on or off.
For brightness adjustment operation order: when Intelligent illumination device receives brightness adjustment operation order, obtaining first Then first brightness at current time reads parameters frequency table, if having brightness value in parameters frequency table, from parameters frequency table The highest brightness of the frequency of occurrences is read as the second brightness, the first brightness is then switched to the second brightness;If parameters frequency Without brightness value in table, then the first brightness is switched to the second predetermined luminance, the first brightness and the second predetermined luminance difference are default Brightness, such as predetermined luminance are 25% brightness, can self-setting.
For color adaptation operational order: when Intelligent illumination device receives color adaptation operational order, obtaining first Then first color at current time reads parameters frequency table, if having color value in parameters frequency table, from parameters frequency table The highest color of the frequency of occurrences is read as the second color, the first color is then switched to the second color;If parameters frequency Without color value in table, then the first color being switched to the second pre-set color, the first color and the second pre-set color are different, and the One color and the second pre-set color are red, green or blue.
For color temperature adjustment operational order: when Intelligent illumination device receives color temperature adjustment operational order, obtaining first Then first colour temperature at current time reads parameters frequency table, if having color temperature value in parameters frequency table, from parameters frequency table The highest colour temperature of the frequency of occurrences is read as the second colour temperature, the first colour temperature is then switched to the second colour temperature;If parameters frequency Without color temperature value in table, then the first colour temperature being switched to the second preset color temperature, the first colour temperature and the second colour temperature differ preset color temperature, Such as preset color temperature is 25% colour temperature, it can self-setting.
Operational order is adjusted for lamp light specific effect: when Intelligent illumination device, which receives lamp light specific effect, adjusts operational order, The first lamp light specific effect for obtaining current time first, then reads parameters frequency table, if having lamp light specific effect in parameters frequency table Value then reads the highest lamp light specific effect of the frequency of occurrences as second light spy's tune, then by the first light spy from parameters frequency table Effect is switched to the second lamp light specific effect;If not having lamp light specific effect value in parameters frequency table, the first lamp light specific effect is switched to Two default lamp light specific effects, the first lamp light specific effect and the second default lamp light specific effect are different, and the first lamp light specific effect and the second default lamp Light special efficacy is preset lamp light specific effect, such as the special efficacys such as breathing, streamer and gradual change.
The present invention depends on WIFI, bluetooth and other communications, by APP application program in mobile terminal and The bi-directional transfer path of a physics is set up between Intelligent illumination device, APP application program carries out one to Intelligent illumination device The configuration of the secondary quick handoff functionality of physical switch.Intelligent illumination device learns user's use habit, user is liked, common function It can be arranged in front, preferential answering when physical switch.
To sum up, the present invention disposably configures the configuration information of the quick colour changing of physical switch by APP application program, in conjunction with intelligence User's use habit can be analyzed, Intelligent illumination device physical switch rapid switching function is reached.Compared with the conventional method, have such as Lower advantage: 1, it is at low cost, it does not need to increase any hardware cost;2, can be commonly accustomed to intellectual analysis and study user, greatly The big experience sense for improving user;3, mobile phone may be implemented, reduce damage of the smart phone to eyes of user;4, user can be with Arbitrarily the function of configuration physical switch, scalability are strong.
Specific embodiment
Now in conjunction with specific embodiment, the present invention is further described.
The present invention be mainly pass through setting APP application program mobile terminal and the Intelligent illumination device with physical switch it Between establish the bidirectional data transfers channel an of physics, mobile terminal and Intelligent illumination device support WIFI, bluetooth or other nothings Line communications protocol, so that they establish communication connection.Then user is arranged intelligent lighting by the interface UI of APP application program and sets Standby physical switch is switched fast corresponding action type, generates configuration data packet, which includes being switched fast out Off status action type (action type has: switch-mode regulation, color adaptation, brightness regulation, color temperature adjustment, lamp light specific effect are adjusted); Wherein color adaptation include to R(red), G(green), B(blue) adjusting, brightness regulation range is from most secretly to most bright, colour temperature The adjusting including cold-warm color is adjusted, lamp light specific effect includes that (Intelligent illumination device carries out different streamer within the certain intervals time Color cycle switching), gradual change (Intelligent illumination device from a kind of color slowly become another color), flashing (intelligent lighting Equipment is ceaselessly flashed according to the certain intervals time), breathing (simulation human body respiration effect), gradually bright (Intelligent illumination device is by closing To when opening, simulation is got up effect, lamp brightening slowly), it is gradually dark that (Intelligent illumination device is closed by reaching, simulation sleep effect, and lamp is slow Slow is dimmed) etc. special efficacys;APP application program receives the Intelligent illumination device that is sent to of configuration data packet, Intelligent illumination device Data packet simultaneously stores the configuration information, which completes;Intelligent illumination device is when user is switched fast physical switch, inspection The configuration information of storage in a device is looked into, this operation is responded accordingly according to user-defined action type.Pass through APP Application program and with establishing the double of a physics between physical switch and WIFI, bluetooth or other wireless telecommunications Intelligent illumination devices To data transmission channel, APP application user is fast by the physical switch that Intelligent illumination device is arranged in the UI of APP application program The corresponding action type of speed switching, generates user configuration data and makees configuration data packet, which includes being switched fast out Off status action type (action type has: switch-mode regulation, color adaptation, brightness regulation, color temperature adjustment, lamp light specific effect are adjusted); Wherein color adaptation include to R(red), G(green), B(blue) adjusting, brightness regulation range is from most secretly to most bright, colour temperature The adjusting including cold-warm color is adjusted, lamp light specific effect includes that (Intelligent illumination device carries out different streamer within the certain intervals time Color cycle switching), gradual change (Intelligent illumination device from a kind of color slowly become another color), flashing (intelligent lighting Equipment is ceaselessly flashed according to the certain intervals time), breathing (simulation human body respiration effect), gradually bright (Intelligent illumination device is by closing To when opening, simulation is got up effect, lamp brightening slowly), it is gradually dark that (Intelligent illumination device is closed by reaching, simulation sleep effect, and lamp is slow Slow is dimmed) etc. special efficacys;APP application program receives the Intelligent illumination device that is sent to of configuration data packet, Intelligent illumination device Data packet simultaneously stores the configuration information, which completes;Intelligent illumination device is when user is switched fast physical switch, inspection The configuration information of storage in a device is looked into, this operation is responded accordingly according to user-defined action type.
Specifically, a kind of fast switch over method of physical switch for Intelligent illumination device of the invention:
Process 1: the two-way number of a physics is established between mobile terminal and Intelligent illumination device by APP application program According to transmission channel;In the present embodiment, mobile terminal is mobile phone terminal;
Process 2: writing configuration documentation template, which is converted to variable for service logic, and is each change Amount setting initial parameter;The interface of configuration documentation template is arranged to be conducted into APP application program, and forms configuration data packet; Service logic is the action types such as switch-mode regulation, color adaptation, brightness regulation, color temperature adjustment and lamp light specific effect adjusting;Configure number It is as follows according to message:
Service logic namely action type: occupying a byte, and wherein 0x00 expression does not enable the configuration fast configured Data packet, 0x01 representation switch adjust, 0x02 represents color adaptation, 0x03 represents brightness regulation, 0x04 represents color temperature adjustment, 0x05 represents lamp light specific effect adjusting.Group number: occupying 1 byte, represents under the action type, and several groups of function supplies can be set User's physical button fast switches.Length: occupying 2 bytes, represents the length of corresponding parameter under the action type.Ginseng Number: distance to go is determined by length position, such as action type is color control, and group number is set as 4 groups, then the length of parameter bit For 4*6, indicate that physics rapid switch can be with 4 kinds of RGB color values of dynamic mapping;
Process 3: configuration data packet is sent to Intelligent illumination device by mobile terminal, and Intelligent illumination device received data packet is simultaneously Its configuration information is stored, the configuration of Intelligent illumination device is completed;
Process 4: user sends operational order (switch-mode regulation, color adaptation, brightness regulation, colour temperature tune by physical switch The operational orders such as section and lamp light specific effect adjusting), Intelligent illumination device receives the operational order that physical switch is sent, according to its storage Configuration information complete corresponding operation.
In the above process 4, Intelligent illumination device completes corresponding operation according to the configuration information of its storage, and will grasp every time The parameter value of work is saved into parameters frequency table;Meanwhile at interval of (such as every night, or weekly one certain time Specific time) parameter value of storage to be analyzed, the height of the frequency occurred according to parameter value is ranked up it;Work as intelligence When lighting apparatus receives the operational order of mobile terminal transmission, sweep parameter frequency meter first goes out according on parameters frequency table Existing frequency highest parameter value executes corresponding operation automatically.That is, pressing physical switch, corresponding operation life can trigger It enables.Specifically, for switch-mode regulation operational order: for example first by APP application program configure 4 groups of switches: open and close, pass, It opens, turns on lamp when pressing physical switch for the first time, such as work as headlight and originally open, then press physical switch for the first time and execute second Group switch order (pass) and so on.
For brightness adjustment operation order: for example first by the 4 groups of brightness of APP application program configuration adjustment: 25% brightness, 50% brightness, 75% brightness, 100% brightness, when user click is turned on light, default luminance should be brightness of last time when turning off the light, and press object The highest brightness value of the frequency of occurrences in parameters frequency table is lightened when reason switch, if there is no brightness value in parameters frequency table, The brightness nearest from present intensity (for example current 40% brightness is pressed and adjusted to 50% brightness after physical switch) is transferred in brightness, when User continues to press physical switch after adjusting to 100% brightness, then adjusts back to 25% brightness.
For color adaptation operational order: for example being opened first by 4 groups of colors of APP application program configuration adjustment when for the first time When lamp, then it is defaulted as color of last time when turning off the light and is transferred to the highest color of the parameters frequency table frequency of occurrences first when switching color On.The color of lamp can be switched to first color after pressing physical switch for the first time by user, press physical switch again then It is switched to second color, and so on, if lamp inherently first color, is directly switch to after pressing physical switch Second color.Quick colour changing then returns to first color again again after being switched to the last one color.
For color temperature adjustment operational order: for example first by 4 groups of colour temperatures of APP application program configuration adjustment: 30% colour temperature, 50% colour temperature, 80% colour temperature, 100% colour temperature, when user click is turned on light, default colour temperature should be colour temperature of last time when turning off the light, and press object It is transferred to the color temperature value that frequency of occurrence is most inside parameters frequency table when reason switch, if be transferred to without color temperature value from current color The nearest colour temperature of temperature (such as current 20% colour temperature press physical switch then adjust to 30% colour temperature), when user is adjusted to 100% colour temperature After continue to press physical switch, then adjust back to 30% colour temperature.
Operational order is adjusted for lamp light specific effect: when Intelligent illumination device, which receives lamp light specific effect, adjusts operational order, The first lamp light specific effect for obtaining current time first, is then switched to lamp light specific effect, the first lamp light specific effect for the first lamp light specific effect It is different with the second lamp light specific effect, and the first lamp light specific effect and the second lamp light specific effect are preset lamp light specific effects, such as breathing, The special efficacys such as streamer and gradual change.Such as pass through 3 groups of special efficacys of APP application program configuration adjustment: breathing, streamer, gradual change, Yong Hu first The special efficacy of lamp can be switched to first special efficacy after once pressing physical switch, physical switch is pressed again and be then switched to second A special efficacy, and so on, if lamp inherently the first special efficacy, second spy is directly switch to after pressing physical switch Effect.It presses physical switch again after being switched to the last one special efficacy and then returns to first special efficacy again.
In addition, Intelligent illumination device can be to the use habit in user's nearest a period of time, including nearest common lamp Color, brightness, colour temperature, special efficacy etc. are analyzed, and automatically carry out priority ordering according to the most common function of user, and user is fast When speed switching physical switch, Intelligent illumination device can the common function of preferential answering.Specifically, in process 4, Intelligent illumination device The operational order sent of APP application program and storage are received, at interval of (such as every night, or weekly one certain time A specific time) operational order of storage to be analyzed, the height of the frequency occurred according to operational order is ranked up it; When Intelligent illumination device receives the operational order of mobile terminal transmission, the high operational order of preferential answering frequency.
It further include the process modified to the configuration of Intelligent illumination device meanwhile in process 3: when user will modify intelligence When the configuration information of energy lighting apparatus, the correspondence initial parameter in the configuration documentation template in process 2 is modified first, is then introduced into APP application program generates configuration data packet, and configuration data packet is sent to intelligent lighting and set by mobile terminal (APP application program) Standby, Intelligent illumination device receives and stores the modification that configuration can be completed.Above-mentioned modification is not only easy to operate, it is easy to accomplish, it can It is applicable in various crowds;And can realize personalized experience, user can be freely arranged according to the hobby of oneself, have good body Test sense.
Using the above scheme, after a period of use, it is each that Intelligent illumination device can analyze user to user to the present invention Most common parameter hobby when next, be put into front automatically and executed by most common parameter hobby in operational order.
Compared with prior art, the present invention has the advantage that
1, humanistic care --- the present invention emphasizes the usage experience to user, passes through switch, color, brightness, the color to lamp Temperature and timing function definition, reach user especially the elderly can under more scenes (for example getting up in the night to urinate) very easily according to Bright application;
2, mobile phoneization is gone to operate --- the use demand according to user to product function can define the common of physical button Function operates user no longer by mobile phone in the time of the overwhelming majority, greatly facilitates user to product Requirement;
3, self-teaching --- according to user's use habit regular to product, can automatically by user's common function into Row major sequence, makes the use of product closer to the wish of user;
4, technical background --- the Intelligent illumination device possessed on the market is all single switching function, single toning function;
5, the function of conventional physical key is enriched, user can press physical switch according to the hobby arbitrary disposition physics of oneself Effect, such as switch, brightness, colour temperature, lamp effect etc..
Although specifically showing and describing the present invention in conjunction with preferred embodiment, those skilled in the art should be bright It is white, it is not departing from the spirit and scope of the present invention defined by the appended claims, it in the form and details can be right The present invention makes a variety of changes, and is protection scope of the present invention.

Claims (6)

1. a kind of fast switch over method of the physical switch for Intelligent illumination device, including following procedure:
Process 1: the bi-directional data for establishing a physics between mobile terminal and Intelligent illumination device by APP application program passes Defeated channel;Wherein, Intelligent illumination device is the lighting apparatus for supporting home control network communication protocol, and has physical switch, APP application journey Sequence is set on mobile terminal;
Process 2: writing configuration documentation template, which is converted to variable for service logic, and sets for each variable Initial parameter is set, while being associated with physical switch;The interface of configuration documentation template is arranged to be conducted into APP application program, and shape At configuration data packet;
Process 3: configuration data packet is sent to Intelligent illumination device by mobile terminal, and Intelligent illumination device received data packet simultaneously stores Its configuration information completes the configuration of Intelligent illumination device;
Process 4: user sends operational order by physical switch, and Intelligent illumination device receives the operation life that physical switch is sent It enables, corresponding operation is completed according to the configuration information of its storage;
In process 4, Intelligent illumination device completes corresponding operation, and the parameter that will be operated every time according to the configuration information of its storage Value is saved into parameters frequency table;Meanwhile being analyzed at interval of parameter value of the certain time to storage, occur according to parameter value The height of frequency it is ranked up;When Intelligent illumination device receives the operational order of mobile terminal transmission, sweep first Parameters frequency table is retouched, corresponding operation is executed according to frequency of occurrences highest parameter value on parameters frequency table automatically;
Wherein, the service logic in process 2 includes switch-mode regulation, and the operational order in process 4 includes switch-mode regulation order;Process In 2, the interface of configuration documentation template is arranged to be conducted into APP application program, and forms configuration data packet, the configuration data packet Including service logic, attribute and corresponding parameter, the message of configuration data packet is specifically included:
Service logic: switch-mode regulation;Group number: M group;Functional parameter length: 1*M;Parameter: open and close;Wherein, service logic occupies One byte, indicates switch-mode regulation by 0x01;Group number occupies 1 byte, refers to the group number of service logic;Functional parameter length: it accounts for With 2 bytes, refer to the length of the correspondence parameter of service logic;Parameter: distance to go is determined by the length position of parameter;Guan You 0x00 is indicated, is opened and indicated by 0x01;
When Intelligent illumination device receives switch-mode regulation operational order, the first state of switch is obtained first, it then will switch First state be switched to the second state, first state and the second state are different, and first state and the second state are on or off.
2. a kind of fast switch over method of physical switch for Intelligent illumination device according to claim 1, feature It is: further includes the process modified to the configuration of Intelligent illumination device in process 3: being set when user will modify intelligent lighting When standby configuration information, the correspondence initial parameter in configuration documentation template first in modification process 2 is then introduced into APP application Configuration data packet is sent to Intelligent illumination device by Program Generating configuration data packet, mobile terminal, and Intelligent illumination device receives simultaneously The modification of configuration is completed in storage.
3. a kind of fast switch over method of physical switch for Intelligent illumination device according to claim 1, feature Be: the service logic in process 2 further includes color adaptation;Operational order in process 4 further includes color adaptation order;Configuration The message of data packet further include:
Service logic: color adaptation;Group number: M group;Functional parameter length: 6*M;Parameter: R, G, B;Wherein, service logic occupies One byte, indicates color adaptation by 0x02;Group number: 1 byte is occupied, refers to the group number of service logic;Functional parameter length: it accounts for With 2 bytes, refer to the length of the correspondence parameter of service logic;Parameter: distance to go determines that parameter R refers to by the length position of parameter Red, G refer to green, and B refers to blue;
When Intelligent illumination device receives color adaptation operational order, first color at current time is obtained first, is then read Parameters frequency table is taken, if having color value in parameters frequency table, the highest color of the frequency of occurrences is read from parameters frequency table and makees For the second color, the first color is then switched to the second color;If without color value in parameters frequency table, by the first face Color is switched to the second pre-set color, the first color and the second pre-set color difference, and the first color and the second pre-set color are red Color, green or blue.
4. a kind of fast switch over method of physical switch for Intelligent illumination device according to claim 1, feature Be: the service logic in process 2 further includes brightness regulation;Operational order in process 4 further includes brightness regulation order;Configuration The message of data packet further include:
Service logic: brightness regulation;Group number: M group;Functional parameter length: 2*M;Parameter: brightness percentage;
Wherein, service logic occupies a byte, indicates brightness regulation by 0x03;Group number: 1 byte is occupied, refers to service logic Group number;Functional parameter length: 2 bytes are occupied, refer to the length of the correspondence parameter of service logic;Parameter: distance to go, by joining Several length positions determines that the range of brightness percentage is 0-100%;
When Intelligent illumination device receives brightness adjustment operation order, first brightness at current time is obtained first, is then read Parameters frequency table is taken, if having brightness value in parameters frequency table, the highest brightness of the frequency of occurrences is read from parameters frequency table and makees For the second brightness, the first brightness is then switched to the second brightness;If bright by first without brightness value in parameters frequency table Degree is switched to the second predetermined luminance, and the first brightness and the second predetermined luminance differ predetermined luminance.
5. a kind of fast switch over method of physical switch for Intelligent illumination device according to claim 1, feature Be: the service logic in process 2 further includes color temperature adjustment;Operational order in process 4 further includes color temperature adjustment order;Configuration The message of data packet further include:
Service logic: color temperature adjustment;Group number: M group;Functional parameter length: 2*M;Parameter: colour temperature percentage;
Wherein, service logic occupies a byte, indicates color temperature adjustment by 0x04;Group number: 1 byte is occupied, refers to service logic Group number;Functional parameter length: 2 bytes are occupied, refer to the length of the correspondence parameter of service logic;Parameter: distance to go, by joining Several length positions determines that the range of colour temperature percentage is 0-100%;
When Intelligent illumination device receives color temperature adjustment operational order, first colour temperature at current time is obtained first, is then read Parameters frequency table is taken, if having color temperature value in parameters frequency table, the highest colour temperature of the frequency of occurrences is read from parameters frequency table and makees For the second colour temperature, the first colour temperature is then switched to the second colour temperature;If without color temperature value in parameters frequency table, by the first color Temperature is switched to the second preset color temperature, and the first colour temperature and the second colour temperature differ preset color temperature.
6. a kind of fast switch over method of physical switch for Intelligent illumination device according to claim 1, feature Be: the service logic in process 2 further includes that lamp light specific effect is adjusted;Operational order in process 4 further includes that lamp light specific effect is adjusted Order;The message of configuration data packet further include:
Service logic: lamp light specific effect is adjusted;Group number: M group;Functional parameter length: 1*M;Parameter: streamer, gradual change, breathing, flashing;
Wherein, service logic occupies a byte, indicates that lamp light specific effect is adjusted by 0x05;Group number: 1 byte is occupied, refers to business The group number of logic;Functional parameter length: 2 bytes are occupied, refer to the length of the correspondence parameter of service logic;Parameter: distance to go, It is determined by the length position of parameter, streamer is indicated by 0x01, gradual change is indicated by 0x02, indicate to breathe by 0x03, indicate to dodge by 0x04 It is bright;
When Intelligent illumination device, which receives lamp light specific effect, adjusts operational order, first light at acquisition current time first is special Then effect reads parameters frequency table, if there is lamp light specific effect value in parameters frequency table, read the frequency of occurrences from parameters frequency table Then first lamp light specific effect is switched to the second lamp light specific effect as second light spy's tune by highest lamp light specific effect;If parameter There is no lamp light specific effect value in frequency meter, then the first lamp light specific effect be switched to the second default lamp light specific effect, the first lamp light specific effect and Second default lamp light specific effect is different, and the first lamp light specific effect and the second default lamp light specific effect are preset lamp light specific effects.
CN201610061890.6A 2016-01-29 2016-01-29 A kind of fast switch over method of the physical switch for Intelligent illumination device Active CN105760188B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610061890.6A CN105760188B (en) 2016-01-29 2016-01-29 A kind of fast switch over method of the physical switch for Intelligent illumination device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610061890.6A CN105760188B (en) 2016-01-29 2016-01-29 A kind of fast switch over method of the physical switch for Intelligent illumination device

Publications (2)

Publication Number Publication Date
CN105760188A CN105760188A (en) 2016-07-13
CN105760188B true CN105760188B (en) 2019-02-12

Family

ID=56342701

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610061890.6A Active CN105760188B (en) 2016-01-29 2016-01-29 A kind of fast switch over method of the physical switch for Intelligent illumination device

Country Status (1)

Country Link
CN (1) CN105760188B (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106094558A (en) * 2016-08-19 2016-11-09 江苏达伦电子股份有限公司 Intelligent home furnishing control method and intelligent domestic system
CN106793401A (en) * 2016-12-21 2017-05-31 广东昇辉电子控股有限公司 A kind of light fixture past near-field control system based on mobile phone
CN107592712B (en) * 2017-08-31 2021-01-15 中山易能智达电子有限公司 Light direct control system and control method thereof
CN108124347A (en) * 2017-11-01 2018-06-05 杭州古北电子科技有限公司 A kind of lamp controller and method for controlling lamp
CN109068457A (en) * 2018-07-05 2018-12-21 杭州涂鸦信息技术有限公司 A kind of general controls agreement based on bluetooth mesh lighting apparatus

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102833918A (en) * 2012-08-30 2012-12-19 四川长虹电器股份有限公司 Emotional recognition-based intelligent illumination interactive method
CN105093941A (en) * 2014-10-26 2015-11-25 深圳市艾瑟网络技术有限公司 Condition-controlled intelligent household system, and condition configuration and control method based on intelligent household system
CN105263221A (en) * 2015-10-21 2016-01-20 北京哈罗高科技有限公司 Method of smoothly adjusting change in brightness and color of intelligent lamp by use of switch
CN105263222A (en) * 2015-10-21 2016-01-20 北京哈罗高科技有限公司 Method of adjusting change in color and brightness of intelligent lamp by use of mechanical switch

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102833918A (en) * 2012-08-30 2012-12-19 四川长虹电器股份有限公司 Emotional recognition-based intelligent illumination interactive method
CN105093941A (en) * 2014-10-26 2015-11-25 深圳市艾瑟网络技术有限公司 Condition-controlled intelligent household system, and condition configuration and control method based on intelligent household system
CN105263221A (en) * 2015-10-21 2016-01-20 北京哈罗高科技有限公司 Method of smoothly adjusting change in brightness and color of intelligent lamp by use of switch
CN105263222A (en) * 2015-10-21 2016-01-20 北京哈罗高科技有限公司 Method of adjusting change in color and brightness of intelligent lamp by use of mechanical switch

Also Published As

Publication number Publication date
CN105760188A (en) 2016-07-13

Similar Documents

Publication Publication Date Title
CN105760188B (en) A kind of fast switch over method of the physical switch for Intelligent illumination device
CN104977904B (en) A kind of visible i.e. controllable intelligent home control system and control method
US11061385B2 (en) Method, apparatus and system for controlling device
CN103068112B (en) Method of light-emitting diode (LED) lamp smart lighting adjustment and system thereof
CN104898515A (en) Timing switch as well as control method and control device thereof
CN105137774A (en) Intelligent household appliance control method, device and mobile terminal
CN210691101U (en) Intelligent whole house control system
CN105208715B (en) The packet control process and system of controllable LED
CN106332351B (en) A kind of wireless LED Lighting Control Assembly, control panel and wireless pairing method
CN106094558A (en) Intelligent home furnishing control method and intelligent domestic system
CN105007206A (en) Method and device for controlling intelligent household electrical appliance and mobile terminal
CN104219833A (en) Method for intelligently generating lamplight position distribution E-map
CN104717806A (en) Method for adjusting light and colors of LED lamp and light and color adjustable LED lamp system
CN105912632A (en) Device service recommending method and device
CN106954321A (en) Adjust the method and device of light
CN107360654B (en) A kind of LED light-dimming method and system
CN106163001B (en) A kind of Intelligent LED lighting control system based on Android, IOS and ZigBee
CN108333980A (en) Control method, device, electronic equipment and computer readable storage medium
CN205883654U (en) Seven lantern control systems of intelligence
CN205196026U (en) Intelligent lighting control device by WIFI communication control
CN113543406A (en) Novel intelligent dimming device and control method and system thereof
CN104105263A (en) Working parameter correcting method based on intelligent lamps
CN106954310B (en) A kind of control method of the intelligent switch of colorful backlight
CN203537604U (en) Equipment remotely controlled through WIFI network
CN112533328A (en) Household lighting device with artificial intelligence and implementation method thereof

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant