Method for reporting brightness-adjusting data, lighting device, and gateway
AssigneeZhejiang Shenghui Lighting Co., Ltd
InventorsGe Zhu, Xiaoping Zhu, Jinxiang Shen
Life of this patent
Estimating the term…
Abstract
The present disclosure provides a method for reporting brightness-adjusting data from a smart lighting device, a smart lighting device, and a gateway. The method includes: receiving a brightness-adjusting command from a smart terminal, the brightness-adjusting command containing brightness-adjusting data having a desired brightness value; adjusting a brightness value to the desired brightness value according to the brightness-adjusting command; and reporting the brightness-adjusting data and a serial number corresponding to the brightness-adjusting data to a gateway.
Claims11
A method for reporting brightness-adjusting data from a lighting device that includes a control module and a communication module, comprising:
- receiving a brightness-adjusting command from a terminal device, the brightness-adjusting command containing brightness-adjusting data having a desired brightness value;
- adjusting, through the control module of the lighting device, a brightness value to the desired brightness value according to the brightness-adjusting command;
- reporting, through the communication module of the lighting device, the brightness-adjusting data and a serial number corresponding to the brightness-adjusting data to a gateway, wherein:
- the gateway includes a processor and a communication module, and the serial number increases in accordance with a sequence the brightness-adjusting data are reported to the gateway;
- determining, through the processor of the gateway, whether the serial number is greater than a latest serial number stored in the gateway;
- when the serial number is greater than the latest serial number:
- reporting, through the communication module of the gateway, the brightness-adjusting data to a server;
- updating, through the server, a brightness-adjusting result according to the brightness-adjusting data;
- and
- updating, through the processor of the gateway, the latest serial number with the serial number;
- and
- when the serial number is smaller than the latest serial number, discarding, through the processor of the gateway, the brightness-adjusting data so as to maintain previous brightness-adjusting data in the server.
A lighting device, comprising a light source, a power supply component, a communication module, and a control module, wherein:
- the power supply component provides power for the light source, the communication module, and the control module;
- the communication module receives a brightness-adjusting command from a terminal device, the brightness-adjusting command containing brightness-adjusting data having a desired brightness value;
- the control module adjusts a brightness value of the lighting device to the desired brightness value;
- and
- the communication module reports the brightness-adjusting data and a serial number corresponding to the brightness-adjusting data to a gateway after the control module completes adjusting the brightness value of the lighting device, wherein:
- the gateway includes a processor and a communication module,
- the serial number increases in accordance with a sequence the brightness-adjusting data are reported to the gateway,
- the processor of the gateway determines whether the serial number is greater than a latest serial number stored in the gateway,
- when the serial number is greater than the latest serial number, the communication module of the gateway reports the brightness-adjusting data to a server, the server updates a brightness-adjusting result according to the brightness-adjusting data, and the processor of the gateway updates the latest serial number with the serial number, and
- when the serial number is smaller than the latest serial number, the processor of the gateway discards the brightness-adjusting data so as to maintain previous brightness-adjusting data in the server.
A gateway, comprising:
- a communication module, and a processor, wherein:
- the communication receives brightness-adjusting data and a serial number contained in the brightness-adjusting data sent by a lighting device, wherein:
- a brightness value of the lighting device is adjusted to a desired brightness value of the brightness-adjusting data;
- the processor determines whether the serial number is greater than a latest serial number stored in the gateway;
- when the serial number is greater than the latest serial number, the communication module reports the brightness-adjusting data to a server such that the server updates a brightness-adjusting result according to the brightness-adjusting data, and the processor updates the latest serial number with the serial number;
- and
- when the serial number is smaller than the latest serial number, the processor discards the brightness-adjusting data so as to maintain previous brightness-adjusting data in the server.
Dependencies are inferred from the claim text.