CN112822811A - Bluetooth mesh-based illumination control method and illumination control system - Google Patents

Bluetooth mesh-based illumination control method and illumination control system Download PDF

Info

Publication number
CN112822811A
CN112822811A CN202110045828.9A CN202110045828A CN112822811A CN 112822811 A CN112822811 A CN 112822811A CN 202110045828 A CN202110045828 A CN 202110045828A CN 112822811 A CN112822811 A CN 112822811A
Authority
CN
China
Prior art keywords
led lamp
instruction
server
receiving
information
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
CN202110045828.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.)
Hangzhou Yaguan Technology Co ltd
Original Assignee
Hangzhou Yaguan 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 Hangzhou Yaguan Technology Co ltd filed Critical Hangzhou Yaguan Technology Co ltd
Priority to CN202110045828.9A priority Critical patent/CN112822811A/en
Publication of CN112822811A publication Critical patent/CN112822811A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H05ELECTRIC TECHNIQUES NOT OTHERWISE PROVIDED FOR
    • H05BELECTRIC HEATING; ELECTRIC LIGHT SOURCES NOT OTHERWISE PROVIDED FOR; CIRCUIT ARRANGEMENTS FOR ELECTRIC LIGHT SOURCES, IN GENERAL
    • H05B45/00Circuit arrangements for operating light-emitting diodes [LED]
    • H05B45/10Controlling the intensity of the light
    • HELECTRICITY
    • H05ELECTRIC TECHNIQUES NOT OTHERWISE PROVIDED FOR
    • H05BELECTRIC HEATING; ELECTRIC LIGHT SOURCES NOT OTHERWISE PROVIDED FOR; CIRCUIT ARRANGEMENTS FOR ELECTRIC LIGHT SOURCES, IN GENERAL
    • H05B45/00Circuit arrangements for operating light-emitting diodes [LED]
    • H05B45/20Controlling the colour of the light
    • HELECTRICITY
    • H05ELECTRIC TECHNIQUES NOT OTHERWISE PROVIDED FOR
    • H05BELECTRIC HEATING; ELECTRIC LIGHT SOURCES NOT OTHERWISE PROVIDED FOR; CIRCUIT ARRANGEMENTS FOR ELECTRIC LIGHT SOURCES, IN GENERAL
    • H05B45/00Circuit arrangements for operating light-emitting diodes [LED]
    • H05B45/30Driver circuits
    • H05B45/37Converter circuits
    • H05B45/3725Switched mode power supply [SMPS]
    • 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
    • H05B47/16Controlling the light source by timing means
    • 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
    • H05B47/175Controlling the light source by remote control
    • H05B47/19Controlling the light source by remote control via wireless transmission
    • 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/30Semiconductor lamps, e.g. solid state lamps [SSL] light emitting diodes [LED] or organic LED [OLED]
    • 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 embodiment of the invention relates to the technical field of illumination control, and particularly discloses an illumination control method and an illumination control system based on Bluetooth mesh, wherein the illumination control method based on Bluetooth mesh provided by the embodiment of the invention receives selection information of a mobile terminal on an LED lamp and sends the selection information to a server; and receiving a selection instruction generated by the server according to the selection information, wherein the selection instruction comprises a switch selection instruction and an energy-saving selection instruction, the switch selection instruction is used for carrying out timing switch control on the LED lamp, the energy-saving selection instruction is used for carrying out follow-up switch control on the LED lamp, the LED lamp in the timing switch control state can be uniformly controlled to be turned on and turned off, and the LED lamp in the follow-up switch control state can be moved along with the movement of people carrying the mobile terminal to control the turn-on and turn-off of the corresponding LED lamp, so that the waste of electric energy of the LED lamp in an unnecessary area is avoided.

Description

Bluetooth mesh-based illumination control method and illumination control system
Technical Field
The invention belongs to the technical field of illumination control, and particularly relates to an illumination control method and an illumination control system based on Bluetooth mesh.
Background
The illumination control is to adopt an automatic control technology and an intelligent management technology to control and manage the on, off, regulation, combination, scene mode and the like of a light source or a lamp device for building and environmental illumination so as to achieve the aims of building energy conservation, environmental art, sensing linkage and the like. The main lighting control technology adopts a field bus technology, a dimming control technology, a power pulse communication and control technology, a wireless control technology and the like, and with the rapid development of cloud computing and big data technologies, a new technology for implementing lighting control on environmental lighting, road lighting, building energy consumption management and the like by adopting big data becomes a necessary trend.
At present, large-scale lighting control is mostly controlled through a wired network, the technical scheme of controlling lighting through the wired network is high in cost and large in construction difficulty, when lighting equipment needing to be controlled is more, the more lines need to be arranged, and the higher the cost of arranging control lines is. And wired network lighting control among the prior art can only carry out holistic on-off control to whole or partial light usually, and not only construction cost is high, has still caused the waste to the electric energy, needs the manual work to carry out lighting control moreover usually, does not satisfy present illumination intelligent control's demand.
Disclosure of Invention
The embodiment of the invention aims to provide an illumination control method and an illumination control system based on Bluetooth mesh, and aims to solve the problems in the background art.
The embodiment of the invention is realized in such a way that a lighting control method based on Bluetooth mesh comprises the following steps:
receiving selection information of the mobile terminal on the LED lamp, and sending the selection information to a server;
receiving a selection instruction generated by the server according to the selection information, wherein the selection instruction comprises a switch selection instruction and an energy-saving selection instruction, the switch selection instruction is used for carrying out timing switch control on the LED lamp, and the energy-saving selection instruction is used for carrying out follow-up switch control on the LED lamp;
receiving an adjusting instruction of the server for the LED lamp, wherein the adjusting instruction comprises a brightness adjusting instruction and a color adjusting instruction, the brightness adjusting instruction is used for adjusting the brightness of the LED lamp, and the color adjusting instruction is used for adjusting the color of the LED lamp.
As a further limitation of the technical solution of the embodiment of the present invention, the step of performing the timing switch control on the LED lamp specifically includes:
receiving the switching time information of the mobile terminal to the LED lamp;
sending the switching time information to a server;
receiving a switching time instruction generated by the server according to the switching time information;
and executing the switching time instruction, and performing timing switching control on the LED lamp.
As a further limitation of the technical solution of the embodiment of the present invention, the step of performing the follow-up switch control on the LED lamp specifically includes:
capturing a broadcast packet transmitted by a mobile terminal;
sending the broadcast packet to a server;
receiving a light-on instruction or a light-off instruction generated by the server according to the signal intensity of the broadcast packet;
executing the light-on instruction and controlling the LED lamp to be turned on;
and executing the light-off instruction and controlling the LED lamp to be turned off.
As a further limitation of the technical solution of the embodiment of the present invention, the step of receiving the light-on instruction or the light-off instruction generated by the server according to the signal strength of the broadcast packet specifically includes:
calculating the distance between the mobile terminal and the Bluetooth controller according to the signal intensity of the broadcast packet;
judging whether the distance is smaller than a distance threshold value;
when the distance is smaller than the distance threshold value, the server generates a light-on instruction and sends the light-on instruction to the Bluetooth controller;
and when the distance is greater than the distance threshold value, the server generates a light turning-off instruction and sends the light turning-off instruction to the Bluetooth controller.
As a further limitation of the technical solution of the embodiment of the present invention, the step of determining whether the distance is smaller than the distance threshold specifically includes:
receiving follow-up adjustment information of the mobile terminal to the LED lamp;
sending the follow-up regulation information to a server;
calculating and recording a distance threshold value according to the follow-up adjustment information;
and comparing the distance threshold value with the distance.
As a further limitation of the technical solution of the embodiment of the present invention, the step of adjusting the brightness of the LED lamp specifically includes:
receiving brightness adjusting information of the mobile terminal to the LED lamp;
sending the brightness adjusting information to a server;
receiving a brightness adjusting instruction generated by the server according to the brightness adjusting information;
and executing the brightness adjusting instruction and adjusting the brightness of the LED lamp.
As a further limitation of the technical solution of the embodiment of the present invention, the step of adjusting the color of the LED lamp specifically includes:
receiving color adjusting information of the mobile terminal to the LED lamp;
sending the color adjustment information to a server;
receiving a color adjusting instruction generated by the server according to the color adjusting information;
and executing the color adjusting instruction and adjusting the color of the LED lamp.
The utility model provides a lighting control system based on bluetooth mesh, the system includes server, mobile terminal, two at least bluetooth controllers and two at least LED lamps, wherein, bluetooth controller specifically includes:
the selection information receiving unit is used for receiving the selection information of the mobile terminal on the LED lamp and sending the selection information to the server;
the instruction receiving unit is used for receiving a switch selection instruction or an energy-saving selection instruction generated by the server according to the selection information;
the switch selection instruction execution unit is used for carrying out timing switch control on the LED lamp according to the switch selection instruction;
the energy-saving selection instruction execution unit is used for carrying out follow-up switch control on the LED lamp according to the energy-saving selection instruction;
the brightness adjusting unit is used for adjusting the brightness of the LED lamp;
and the color adjusting unit is used for adjusting the color of the LED lamp.
As a further limitation of the technical solution of the embodiment of the present invention, the switch selection instruction execution unit specifically includes:
the switching time information receiving module is used for receiving the switching time information of the LED lamp by the mobile terminal;
the switching time information sending module is used for sending the switching time information to a server;
the switching time instruction receiving module is used for receiving a switching time instruction generated by the server according to the switching time information;
and the timing switch execution module is used for executing the switch time instruction and carrying out follow-up switch control on the LED lamp.
As a further limitation of the technical solution of the embodiment of the present invention, the energy-saving selection instruction execution unit specifically includes:
the broadcast packet capturing module is used for capturing a broadcast packet transmitted by the mobile terminal;
the broadcast packet sending module is used for sending the broadcast packet to a server;
the light-on execution module is used for executing the light-on instruction and controlling the LED lamp to be turned on;
and the light-off execution module is used for executing the light-off instruction and controlling the LED lamp to be turned off. .
Compared with the prior art, the invention has the beneficial effects that:
the lighting control method based on the Bluetooth mesh provided by the embodiment of the invention receives the selection information of the mobile terminal to the LED lamp and sends the selection information to the server; receiving a selection instruction generated by the server according to the selection information, wherein the selection instruction comprises a switch selection instruction and an energy-saving selection instruction, the switch selection instruction is used for carrying out timing switch control on the LED lamp, the energy-saving selection instruction is used for carrying out follow-up switch control on the LED lamp, the LED lamp in the timing switch control state can be uniformly controlled to be turned on and turned off, and the LED lamp in the follow-up switch control state can be moved along with the movement of people carrying the mobile terminal to control the turning on and the turning off of the corresponding LED lamp, so that the waste of electric energy of the LED lamps in unnecessary areas is avoided, the wired control connection among the LED lamps can be reduced, and the cost of constructing and arranging control lines is reduced.
Drawings
Fig. 1 is a network structure diagram of a lighting control method based on bluetooth mesh according to an embodiment of the present invention.
Fig. 2 is a flowchart of an operation of a lighting control method based on bluetooth mesh according to an embodiment of the present invention.
Fig. 3 is a flowchart illustrating a process of controlling a timing switch of an LED lamp according to an embodiment of the present invention.
Fig. 4 is a flowchart illustrating the operation of controlling the follow-up switch of the LED lamp according to the embodiment of the present invention.
Fig. 5 is a flowchart of the operation of receiving a light-on command or a light-off command generated by the server according to the signal strength of the broadcast packet according to the embodiment of the present invention.
Fig. 6 is a flowchart of a work procedure for determining whether the distance is smaller than the distance threshold according to the embodiment of the present invention.
Fig. 7 is a flowchart illustrating brightness adjustment of an LED lamp according to an embodiment of the present invention.
Fig. 8 is a flowchart illustrating a process of adjusting the color of an LED lamp according to an embodiment of the present invention.
Fig. 9 is a structural diagram of a bluetooth controller of a bluetooth mesh-based lighting control system according to an embodiment of the present invention.
Fig. 10 is a block diagram of a switch selection instruction execution unit according to an embodiment of the present invention.
Fig. 11 is a structural diagram of an energy-saving selection instruction execution unit according to an embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, the present invention is described in further detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
It can be understood that, in the lighting control in the prior art, the technical solution of controlling lighting by using a wired network is high in cost and difficult to construct, and when the number of lighting devices to be controlled is more, the more lines need to be arranged, the higher the cost spent on arranging control lines is. In addition, wired network lighting control in the prior art can only perform overall on-off control on the whole or part of the lighting lamps generally, so that not only is the construction cost high, but also waste is caused on electric energy.
In order to solve the problems, according to the embodiment of the invention, the selection information of the mobile terminal for the LED lamps is received, the selection information is sent to the server, and the Bluetooth controller executes the instruction of the server, so that the LED lamps in the control state of the timing switch can be uniformly controlled to be turned on and turned off, and the LED lamps in the control state of the follow-up switch can be moved along with the movement of people carrying the mobile terminal to control the turning on and the turning off of the corresponding LED lamps, so that the waste of electric energy of the LED lamps in unnecessary areas is avoided, the wired control connection among the LED lamps can be reduced, and the cost of construction and control circuit arrangement is reduced.
Specifically, as shown in fig. 1, fig. 1 is a network structure diagram of a lighting control method based on bluetooth mesh according to an embodiment of the present invention.
Specifically, the lighting control system based on the Bluetooth mesh comprises a server 101, a mobile terminal 102, at least two Bluetooth controllers 103 and 104 and at least two LED lamps 105 and 106.
It should be understood that the number of bluetooth controllers and LED lights in fig. 1 is merely illustrative. According to the realization requirement, any number of Bluetooth controllers and LED lamps can be provided, the number of the Bluetooth controllers and the number of the LED lamps are at least two, and each Bluetooth controller controls the corresponding LED lamp.
The server 101 is configured to receive information of the bluetooth controller 103, generate a control instruction, and send the control instruction to the bluetooth controller 103, where the server 101 may be an independent physical server or terminal, may also be a server cluster formed by multiple physical servers, and may be a cloud server that provides basic cloud computing services such as a cloud server, a cloud database, a cloud storage, and a CDN.
And the mobile terminal 102 is used for receiving the selection information input by people, sending the selection information to the bluetooth controller 103, receiving the brightness adjustment information and the color adjustment information input by people, and sending the brightness adjustment information and the color adjustment information to the bluetooth controller 103, wherein the mobile terminal 102 can be a smart phone, a tablet or other smart mobile devices.
The Bluetooth controller 103 is used for receiving the selection information of the mobile terminal 102 on the LED lamp 105, sending the selection information to the server 101, receiving a selection instruction generated by the server according to the selection information, and receiving an adjustment instruction of the mobile terminal on the LED lamp.
The LED lamp 105 is an electroluminescent semiconductor material chip, silver glue or white glue is solidified on the support, then the chip and the circuit board are connected through silver wires or gold wires, the periphery of the chip and the circuit board is sealed through epoxy resin, the effect of protecting an internal core wire is achieved, and finally the shell is installed, so that the LED lamp 105 has the functions of brightness adjustment and color adjustment.
Fig. 2 is a flowchart of an operation of a lighting control method based on bluetooth mesh according to an embodiment of the present invention.
And S101, receiving selection information of the mobile terminal for the LED lamp, and sending the selection information to a server.
In the embodiment of the present invention, people select the type of the LED lamp 105 on the mobile terminal 102, the mobile terminal 102 generates the selection information according to the selection result of people, and sends the selection information to the bluetooth controller 103, for example, a corresponding type selection icon for each LED lamp is provided on an operation interface of the mobile terminal 102, and the corresponding icon is selected to select the type of the LED lamp.
And step S102, receiving a selection instruction generated by the server according to the selection information, wherein the selection instruction comprises a switch selection instruction and an energy-saving selection instruction, the switch selection instruction is used for carrying out timing switch control on the LED lamp, and the energy-saving selection instruction is used for carrying out follow-up switch control on the LED lamp.
In the embodiment of the invention, the server 101 generates a selection instruction according to the received selection information, and sends the selection instruction to the bluetooth controller 103, wherein the selection instruction comprises a switch selection instruction and an energy-saving selection instruction, the bluetooth controller 103 executes the switch selection instruction to perform timing switch control on the LED lamp, and the bluetooth controller 103 executes the energy-saving selection instruction to perform follow-up switch control on the LED lamp.
Fig. 3 is a flowchart illustrating a process of controlling a timing switch of an LED lamp according to an embodiment of the present invention.
Specifically, in a preferred embodiment provided by the present invention, the step of performing the timing switch control on the LED lamp specifically includes:
and step S201, receiving the on-off time information of the LED lamp by the mobile terminal.
In the embodiment of the invention, people set the light-on time and the light-off time of the LED lamp 105 on the mobile terminal 102, and the mobile terminal 102 generates the switch time information according to the light-on time and the light-off time and sends the switch time information to the Bluetooth controller 103.
And step S202, sending the switching time information to a server.
In the embodiment of the present invention, the bluetooth controller 103 transmits the on-off time information including the light-on time and the light-off time to the server 101.
Step S203, receiving a switching time instruction generated by the server according to the switching time information.
In the embodiment of the present invention, the server 101 generates a switching time instruction according to the switching time information, and sends the switching time instruction to the bluetooth controller 103.
And step S204, executing the switching time instruction, and performing timing switching control on the LED lamp.
In the embodiment of the invention, the bluetooth controller 103 receives and executes the switching time command, and switches on and off the LED105 at a fixed time.
Specifically, in the embodiment of the present invention, by receiving the switching time information of the mobile terminal 102 for the LED lamp 105 and sending the switching time information to the server 101, the server 101 generates a switching time instruction according to the switching time information and sends the switching time instruction to the bluetooth controller 103, and the bluetooth controller 103 turns on the LED lamp 105 and the LED lamp 105 at a fixed time according to the switching time instruction. Therefore, people do not need to manually turn on and turn off the LED lamp, and electric energy waste caused by forgetting to turn off the lamp is avoided.
Further, fig. 4 is a flowchart illustrating a working process of controlling a slave switch of an LED lamp according to an embodiment of the present invention.
Specifically, in a preferred embodiment provided by the present invention, the step of performing the follow-up switch control on the LED lamp specifically includes:
step S301, capturing the broadcast packet transmitted by the mobile terminal.
In the embodiment of the present invention, as the person moves about, the mobile terminal 102 carried on the person transmits the broadcast packet to the outside, and the bluetooth controller 103 can capture the broadcast packet.
Step S302, the broadcast packet is sent to a server.
In the embodiment of the present invention, the bluetooth controller 103 transmits the captured broadcast packet to the server 101.
Step S303, receiving a light-on instruction or a light-off instruction generated by the server according to the signal intensity of the broadcast packet.
In the embodiment of the present invention, the server 101 receives the broadcast packet sent by the bluetooth controller 103, generates a light-on instruction or a light-off instruction according to the signal strength of the broadcast packet, and sends the light-on instruction or the light-off instruction to the bluetooth controller 103.
And step S304, executing the light-on instruction and controlling the LED lamp to be turned on.
In the embodiment of the present invention, when the server 101 sends the light-on instruction, the bluetooth controller 103 executes the light-on instruction to control the corresponding LED lamp 105 to be turned on.
And step S305, executing the light-off instruction and controlling the LED lamp to be turned off.
In the embodiment of the present invention, when the server 101 sends the light-off command, the bluetooth controller 103 executes the light-off command to control the corresponding LED lamp 105 to turn off.
Specifically, in the embodiment of the present invention, it can be understood that, when the distance between the mobile terminal 102 carried by a person and the bluetooth controller 103 is different, the signal intensity of the broadcast packet is different, the server 101 can determine, according to the signal intensity of the broadcast packet, that the person is far from the LED lamp 105, and when the distance is near, the server sends a light-on instruction, the corresponding LED lamp 105 is turned on, and when the distance is far, the server sends a light-off instruction, and the corresponding LED lamp 105 is turned off, so that the LED lamp can be turned on only when the person is near, and the LED lamp is prevented from being kept on all the time and wasting electric energy.
Further, fig. 5 is a flowchart of a work flow for receiving a light-on instruction or a light-off instruction generated by the server according to the signal strength of the broadcast packet according to the embodiment of the present invention.
Specifically, in a preferred embodiment provided by the present invention, the step of receiving a light-on instruction or a light-off instruction generated by the server according to the signal strength of the broadcast packet specifically includes:
and step S401, calculating the distance between the mobile terminal and the Bluetooth controller according to the signal intensity of the broadcast packet.
In the embodiment of the present invention, the signal strength of the broadcast packet represents the distance between the person carrying the mobile terminal 102 and the bluetooth controller 103, and the server 101 can calculate the distance between the mobile terminal and the bluetooth controller according to the signal strength of the broadcast packet.
Step S402, judging whether the distance is smaller than a distance threshold value, and executing step S403 when the distance is smaller than the distance threshold value; when the distance is greater than the distance threshold, step S404 is performed.
And step S403, the server generates a light-on instruction and sends the light-on instruction to the Bluetooth controller.
In the embodiment of the present invention, when the distance is smaller than the distance threshold, it indicates that the distance between the person carrying the mobile terminal 102 and the bluetooth controller 103 and the corresponding LED lamp 105 is close enough, and at this time, the corresponding LED lamp 105 is required to provide illumination for the person, the server 101 generates a light-on instruction and sends the light-on instruction to the bluetooth controller 103, and the bluetooth controller 103 executes the light-on instruction to turn on the LED lamp 105.
And S404, the server generates a light-off instruction and sends the light-off instruction to the Bluetooth controller.
In the embodiment of the present invention, when the distance is greater than the distance threshold, it indicates that the distance between the person carrying the mobile terminal 102 and the bluetooth controller 103 and the corresponding LED lamp 105 is far enough, and at this time, the corresponding LED lamp 105 is not needed to provide illumination for the person, the server 101 generates a light-off instruction and sends the light-off instruction to the bluetooth controller 103, and the bluetooth controller 103 executes the light-off instruction to turn off the LED lamp 105.
Specifically, in the embodiment of the present invention, the server 101 calculates the distance between the mobile terminal and the bluetooth controller according to the signal intensity of the broadcast packet, and generates a light-on instruction or a light-off instruction by comparing the distance with a distance threshold, so as to control the LED lamp 105 to be turned on or off, so that the LED lamp can be turned on only when people approach, and the LED lamp is prevented from being turned on all the time and wasting electric energy.
Further, in the embodiment of the present invention, fig. 6 is a flowchart of a work flow for determining whether the distance is smaller than the distance threshold according to the embodiment of the present invention.
Specifically, in a preferred embodiment provided by the present invention, the step of determining whether the distance is smaller than a distance threshold specifically includes:
and step S501, receiving follow-up adjustment information of the mobile terminal to the LED lamp.
In the embodiment of the present invention, a person inputs the distance threshold amount on the mobile terminal 102, and the mobile terminal 102 generates the follow-up adjustment information according to the distance threshold amount.
Step S502, the follow-up regulation information is sent to a server.
In the embodiment of the present invention, the mobile terminal 102 transmits the generated follow-up adjustment information to the server 101.
And step S503, calculating and recording a distance threshold value according to the follow-up adjustment information.
In the embodiment of the present invention, the server 101 receives the follow-up adjustment information, generates a distance threshold according to the follow-up adjustment information, and records the distance threshold.
Step S504, comparing the distance threshold value with the distance.
Specifically, in the embodiment of the present invention, the distance threshold may be adjusted by the mobile terminal 102, and when the distance threshold is adjusted to be smaller, the LED lamp 105 is turned on only when the distance between the person carrying the mobile terminal 102 and the bluetooth controller 103 and the corresponding LED lamp 105 is closer; when the distance threshold is adjusted to be larger, the LED lamp 105 is turned on when the distance between the person carrying the mobile terminal 102 and the Bluetooth controller 103 and the corresponding LED lamp 105 is farther.
Further, in a preferred embodiment provided by the present invention, the lighting control method based on bluetooth mesh further includes:
step S103, receiving an adjusting instruction of the server to the LED lamp, wherein the adjusting instruction comprises a brightness adjusting instruction and a color adjusting instruction, the brightness adjusting instruction is used for adjusting the brightness of the LED lamp, and the color adjusting instruction is used for adjusting the color of the LED lamp.
In the embodiment of the invention, the server 101 can change the brightness and the color of the LED lamp 105 by sending a brightness adjustment instruction and a color adjustment instruction to the bluetooth controller 103, the bluetooth controller 103 executing the brightness adjustment instruction to perform brightness adjustment on the LED lamp 105, and the bluetooth controller 103 executing the color adjustment instruction to perform color adjustment on the LED lamp 105.
Further, in the embodiment of the present invention, fig. 7 is a flowchart illustrating brightness adjustment of an LED lamp according to an embodiment of the present invention.
Specifically, in a preferred embodiment provided by the present invention, the step of adjusting the brightness of the LED lamp specifically includes:
step S601, receiving brightness adjusting information of the mobile terminal to the LED lamp.
In the embodiment of the present invention, people may adjust the brightness of the LED lamp 105 on the mobile terminal 102, the mobile terminal 102 generates the brightness adjustment information of the LED lamp 105 and sends the brightness adjustment information to the bluetooth controller 103, where the brightness adjustment icon of the LED lamp 105 may be on the display screen of the mobile terminal 102, and people may slide the brightness adjustment icon to adjust the brightness of the LED lamp 105.
Step S602, sending the brightness adjustment information to a server.
In the embodiment of the present invention, the bluetooth controller 103 transmits the brightness adjustment information to the server 101.
Step S603, receiving a brightness adjustment instruction generated by the server according to the brightness adjustment information.
In the embodiment of the present invention, the server 101 generates a brightness adjustment instruction according to the brightness adjustment information, and sends the brightness adjustment instruction to the bluetooth controller 103.
And step S604, executing the brightness adjusting instruction and adjusting the brightness of the LED lamp.
In the embodiment of the present invention, the bluetooth controller 103 executes the brightness adjustment command and adjusts the LED lamp 105 to a corresponding brightness.
Specifically, in the embodiment of the present invention, the bluetooth controller 103 receives brightness adjustment information generated by brightness adjustment performed on the mobile terminal 102 by a person, and sends the brightness adjustment information to the server 101, the server 101 generates a brightness adjustment instruction according to the brightness adjustment information, and the bluetooth controller 103 controls the brightness of the LED lamp according to the brightness adjustment instruction.
Further, in the embodiment of the present invention, fig. 8 is a flowchart illustrating a process of adjusting a color of an LED lamp according to the embodiment of the present invention.
Specifically, in a preferred embodiment provided by the present invention, the step of performing color adjustment on the LED lamp specifically includes:
and step S701, receiving color adjustment information of the mobile terminal to the LED lamp.
In the embodiment of the present invention, people may perform color adjustment of the LED lamp 105 on the mobile terminal 102, the mobile terminal 102 generates color adjustment information of the LED lamp 105 and sends the color adjustment information to the bluetooth controller 103, where the color selection icon of the LED lamp 105 may be on a display screen of the mobile terminal 102, and people may select a color of the LED lamp 105 on the color selection icon.
Step S702, sending the color adjustment information to a server.
Step S703 is to receive a color adjustment instruction generated by the server according to the color adjustment information.
And step S704, executing the color adjusting instruction and adjusting the color of the LED lamp.
In an embodiment of the present invention, the bluetooth controller 103 executes the color adjustment command and adjusts the LED lamp 105 to a corresponding color.
Specifically, in the embodiment of the present invention, the bluetooth controller 103 receives color adjustment information generated by color adjustment performed by a person on the mobile terminal 102, and sends the color adjustment information to the server 101, the server 101 generates a color adjustment instruction according to the color adjustment information, and the bluetooth controller 103 controls the color of the LED lamp according to the color adjustment instruction.
Fig. 9 is a structural diagram of a bluetooth controller of a bluetooth mesh-based lighting control system according to an embodiment of the present invention.
Specifically, in a preferred embodiment provided by the present invention, the bluetooth controller 103 specifically includes:
and a selection information receiving unit 1031, configured to receive selection information of the mobile terminal for the LED lamp, and send the selection information to the server.
An instruction receiving unit 1032, configured to receive a switch selection instruction or an energy saving selection instruction generated by the server according to the selection information.
And the switch selection instruction execution unit 1033 is used for performing timing switch control on the LED lamp according to the switch selection instruction.
And an energy-saving selection instruction execution unit 1034 for performing follow-up switch control on the LED lamp according to the energy-saving selection instruction.
And a brightness adjusting unit 1035 for adjusting the brightness of the LED lamp.
A color adjusting unit 1036 for performing color adjustment on the LED lamp.
In the embodiment of the present invention, the selection information receiving unit 1031 receives selection information of the mobile terminal 102 for the LED lamp, and sends the selection information to the server 101, the server 101 generates a selection instruction according to the selection information, where the selection instruction includes a switch selection instruction and an energy saving selection instruction, the instruction receiving unit 1032 receives the switch selection instruction or the energy saving selection instruction generated by the server 101 according to the selection information, the switch selection instruction execution unit 1033 executes the switch selection instruction to perform timing switch control on the LED lamp, and the energy saving selection instruction execution unit 1034 executes the energy saving selection instruction to perform follow-up switch control on the LED lamp. The brightness adjustment unit 1035 and the color adjustment unit 1036 perform brightness adjustment and color adjustment, respectively, on the LED lamp.
Further, in the embodiment of the present invention, fig. 10 is a structural diagram of a switch selection instruction execution unit according to the embodiment of the present invention.
Specifically, in a preferred embodiment provided by the present invention, the switch selection instruction execution unit 1033 specifically includes:
and the switching time information receiving module 10331 is configured to receive switching time information of the LED lamp by the mobile terminal.
A switch time information sending module 10332, configured to send the switch time information to the server.
A switch time instruction receiving module 10333, configured to receive a switch time instruction generated by the server according to the switch time information.
And the timing switch execution module 10334 is configured to execute the switch time instruction, and perform follow-up switch control on the LED lamp.
In the embodiment of the present invention, people set the light-on time and the light-off time of the LED lamp 105 on the mobile terminal 102, the mobile terminal 102 generates the switch time information according to the light-on time and the light-off time, the switch time information receiving module 10331 receives the switch time information and sends the switch time information to the server 101 through the switch time information sending module 10332, the server 101 generates the switch time instruction according to the switch time information, the switch time instruction receiving module 10333 receives the switch time instruction, the timing switch execution module 10334 executes the switch time instruction, and controls the LED lamp to be turned on or turned off at a specific time.
Further, in the embodiment of the present invention, fig. 11 is a structural diagram of an energy-saving selection instruction execution unit according to the embodiment of the present invention.
Specifically, in the preferred embodiment provided in the present invention, the energy-saving selection instruction execution unit 1034 specifically includes:
a broadcast packet capturing module 10341 for capturing broadcast packets transmitted by the mobile terminal.
A broadcast packet sending module 10342, configured to send the broadcast packet to a server.
And the light-on executing module 10343 is configured to execute the light-on instruction and control the LED light to be turned on.
And a light-off executing module 10344, configured to execute the light-off instruction and control the LED light to turn off.
In the embodiment of the present invention, the broadcast packet capturing module 10341 captures a broadcast packet transmitted by the mobile terminal 102, and transmits the broadcast packet to the server 101 through the broadcast packet transmitting module 10342, the server 101 generates a light-on instruction or a light-off instruction according to the signal intensity of the broadcast packet, the light-on executing module 10343 executes the light-on instruction and controls the LED lamp to be turned on, and the light-off executing module 10344 executes the light-off instruction and controls the LED lamp to be turned off, so that the LED lamp can be turned on only when people approach, and the LED lamp is prevented from being kept on all the time and wasting electric energy.
In summary, in the embodiment of the present invention, selection information of the mobile terminal for the LED lamp is received, and the selection information is sent to the server; the method comprises the steps of receiving a selection instruction generated by the server according to the selection information, wherein the switch selection instruction is used for carrying out timing switch control on the LED lamp, the energy-saving selection instruction is used for carrying out follow-up switch control on the LED lamp, the LED lamp in a timing switch control state can be controlled to be turned on and turned off in a unified mode, and the LED lamp in the follow-up switch control can be controlled to be turned on and turned off along with the movement of people carrying the mobile terminal, so that the waste of electric energy of the LED lamp in an unnecessary area is avoided, the wired control connection among the LED lamps can be reduced, and the cost of constructing and arranging a control line is reduced.
It should be understood that, although the steps in the flowcharts of the embodiments of the present invention are shown in sequence as indicated by the arrows, the steps are not necessarily performed in sequence as indicated by the arrows. The steps are not performed in the exact order shown and described, and may be performed in other orders, unless explicitly stated otherwise. Moreover, at least a portion of the steps in various embodiments may include multiple sub-steps or multiple stages that are not necessarily performed at the same time, but may be performed at different times, and the order of performance of the sub-steps or stages is not necessarily sequential, but may be performed in turn or alternately with other steps or at least a portion of the sub-steps or stages of other steps.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by a computer program, which can be stored in a non-volatile computer-readable storage medium, and can include the processes of the embodiments of the methods described above when the program is executed. Any reference to memory, storage, database, or other medium used in the embodiments provided herein may include non-volatile and/or volatile memory, among others. Non-volatile memory can include read-only memory (ROM), Programmable ROM (PROM), Electrically Programmable ROM (EPROM), Electrically Erasable Programmable ROM (EEPROM), or flash memory. Volatile memory can include Random Access Memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in a variety of forms such as Static RAM (SRAM), Dynamic RAM (DRAM), Synchronous DRAM (SDRAM), Double Data Rate SDRAM (DDRSDRAM), Enhanced SDRAM (ESDRAM), Synchronous Link DRAM (SLDRAM), Rambus Direct RAM (RDRAM), direct bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM).
The technical features of the embodiments described above may be arbitrarily combined, and for the sake of brevity, all possible combinations of the technical features in the embodiments described above are not described, but should be considered as being within the scope of the present specification as long as there is no contradiction between the combinations of the technical features.
The above-mentioned embodiments only express several embodiments of the present invention, and the description thereof is more specific and detailed, but not construed as limiting the scope of the present invention. It should be noted that, for a person skilled in the art, several variations and modifications can be made without departing from the inventive concept, which falls within the scope of the present invention. Therefore, the protection scope of the present patent shall be subject to the appended claims.
The above description is only for the purpose of illustrating the preferred embodiments of the present invention and is not to be construed as limiting the invention, and any modifications, equivalents and improvements made within the spirit and principle of the present invention are intended to be included within the scope of the present invention.

Claims (10)

1. A lighting control method based on Bluetooth mesh is characterized in that the lighting control method is applied to a Bluetooth controller and comprises the following steps:
receiving selection information of the mobile terminal on the LED lamp, and sending the selection information to a server;
receiving a selection instruction generated by the server according to the selection information, wherein the selection instruction comprises a switch selection instruction and an energy-saving selection instruction, the switch selection instruction is used for carrying out timing switch control on the LED lamp, and the energy-saving selection instruction is used for carrying out follow-up switch control on the LED lamp;
receiving an adjusting instruction of the server for the LED lamp, wherein the adjusting instruction comprises a brightness adjusting instruction and a color adjusting instruction, the brightness adjusting instruction is used for adjusting the brightness of the LED lamp, and the color adjusting instruction is used for adjusting the color of the LED lamp.
2. The lighting control method based on bluetooth mesh according to claim 1, wherein the step of performing the timing on-off control on the LED lamp specifically comprises:
receiving the switching time information of the mobile terminal to the LED lamp;
sending the switching time information to a server;
receiving a switching time instruction generated by the server according to the switching time information;
and executing the switching time instruction, and performing timing switching control on the LED lamp.
3. The lighting control method based on bluetooth mesh according to claim 1, wherein the step of performing the follow-up switch control on the LED lamp specifically comprises:
capturing a broadcast packet transmitted by a mobile terminal;
sending the broadcast packet to a server;
receiving a light-on instruction or a light-off instruction generated by the server according to the signal intensity of the broadcast packet;
executing the light-on instruction and controlling the LED lamp to be turned on;
and executing the light-off instruction and controlling the LED lamp to be turned off.
4. The lighting control method according to claim 3, wherein the step of receiving the light-on command or the light-off command generated by the server according to the signal strength of the broadcast packet specifically comprises:
calculating the distance between the mobile terminal and the Bluetooth controller according to the signal intensity of the broadcast packet;
judging whether the distance is smaller than a distance threshold value;
when the distance is smaller than the distance threshold value, the server generates a light-on instruction and sends the light-on instruction to the Bluetooth controller;
and when the distance is greater than the distance threshold value, the server generates a light turning-off instruction and sends the light turning-off instruction to the Bluetooth controller.
5. The lighting control method based on bluetooth mesh according to claim 4, wherein the step of determining whether the distance is smaller than a distance threshold specifically comprises:
receiving follow-up adjustment information of the mobile terminal to the LED lamp;
sending the follow-up regulation information to a server;
calculating and recording a distance threshold value according to the follow-up adjustment information;
and comparing the distance threshold value with the distance.
6. The lighting control method based on bluetooth mesh according to claim 1, wherein the step of adjusting the brightness of the LED lamp specifically comprises:
receiving brightness adjusting information of the mobile terminal to the LED lamp;
sending the brightness adjusting information to a server;
receiving a brightness adjusting instruction generated by the server according to the brightness adjusting information;
and executing the brightness adjusting instruction and adjusting the brightness of the LED lamp.
7. The lighting control method based on bluetooth mesh according to claim 1, wherein the step of performing color adjustment on the LED lamp specifically comprises:
receiving color adjusting information of the mobile terminal to the LED lamp;
sending the color adjustment information to a server;
receiving a color adjusting instruction generated by the server according to the color adjusting information;
and executing the color adjusting instruction and adjusting the color of the LED lamp.
8. The lighting control system based on the Bluetooth mesh is characterized by comprising a server, a mobile terminal, at least two Bluetooth controllers and at least two LED lamps, wherein the Bluetooth controllers specifically comprise:
the selection information receiving unit is used for receiving the selection information of the mobile terminal on the LED lamp and sending the selection information to the server;
the instruction receiving unit is used for receiving a switch selection instruction or an energy-saving selection instruction generated by the server according to the selection information;
the switch selection instruction execution unit is used for carrying out timing switch control on the LED lamp according to the switch selection instruction;
the energy-saving selection instruction execution unit is used for carrying out follow-up switch control on the LED lamp according to the energy-saving selection instruction;
the brightness adjusting unit is used for adjusting the brightness of the LED lamp;
and the color adjusting unit is used for adjusting the color of the LED lamp.
9. The lighting control system based on bluetooth mesh according to claim 8, wherein the switch selection instruction execution unit specifically comprises:
the switching time information receiving module is used for receiving the switching time information of the LED lamp by the mobile terminal;
the switching time information sending module is used for sending the switching time information to a server;
the switching time instruction receiving module is used for receiving a switching time instruction generated by the server according to the switching time information;
and the timing switch execution module is used for executing the switch time instruction and carrying out follow-up switch control on the LED lamp.
10. The bluetooth mesh-based lighting control system according to claim 8, wherein the energy-saving selection instruction execution unit specifically comprises:
the broadcast packet capturing module is used for capturing a broadcast packet transmitted by the mobile terminal;
the broadcast packet sending module is used for sending the broadcast packet to a server;
the light-on execution module is used for executing the light-on instruction and controlling the LED lamp to be turned on;
and the light-off execution module is used for executing the light-off instruction and controlling the LED lamp to be turned off.
CN202110045828.9A 2021-01-13 2021-01-13 Bluetooth mesh-based illumination control method and illumination control system Pending CN112822811A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110045828.9A CN112822811A (en) 2021-01-13 2021-01-13 Bluetooth mesh-based illumination control method and illumination control system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110045828.9A CN112822811A (en) 2021-01-13 2021-01-13 Bluetooth mesh-based illumination control method and illumination control system

Publications (1)

Publication Number Publication Date
CN112822811A true CN112822811A (en) 2021-05-18

Family

ID=75869276

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110045828.9A Pending CN112822811A (en) 2021-01-13 2021-01-13 Bluetooth mesh-based illumination control method and illumination control system

Country Status (1)

Country Link
CN (1) CN112822811A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113677074A (en) * 2021-08-23 2021-11-19 深圳市中智盛安安全技术有限公司 Emergency lighting system based on wireless Bluetooth control
CN114364084A (en) * 2022-03-17 2022-04-15 杭州雅观科技有限公司 Cloud-based LED lighting energy-saving system and energy-saving method

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105392251A (en) * 2015-11-26 2016-03-09 小米科技有限责任公司 Method, device and system for managing intelligent lamp
CN105451414A (en) * 2015-11-23 2016-03-30 深圳市微智电子有限公司 Intelligent service system based on offline store
CN105517224A (en) * 2015-12-14 2016-04-20 湖北工业大学 Music LED lamp system based on cloud service
CN107438306A (en) * 2017-09-15 2017-12-05 泾县麦蓝网络技术服务有限公司 A kind of indoor LED lamp illumination control method and system
WO2017216747A1 (en) * 2016-06-15 2017-12-21 Zyne (Hong Kong) Ltd. Position estimating lighting system and position estimating method
CN210431999U (en) * 2019-07-23 2020-04-28 深圳市北电仪表有限公司 Lighting terminal based on bluetooth wireless network deployment
CN111511080A (en) * 2020-04-30 2020-08-07 杭州涂鸦信息技术有限公司 Bluetooth mesh-based illumination control method and related system

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105451414A (en) * 2015-11-23 2016-03-30 深圳市微智电子有限公司 Intelligent service system based on offline store
CN105392251A (en) * 2015-11-26 2016-03-09 小米科技有限责任公司 Method, device and system for managing intelligent lamp
CN105517224A (en) * 2015-12-14 2016-04-20 湖北工业大学 Music LED lamp system based on cloud service
WO2017216747A1 (en) * 2016-06-15 2017-12-21 Zyne (Hong Kong) Ltd. Position estimating lighting system and position estimating method
CN107438306A (en) * 2017-09-15 2017-12-05 泾县麦蓝网络技术服务有限公司 A kind of indoor LED lamp illumination control method and system
CN210431999U (en) * 2019-07-23 2020-04-28 深圳市北电仪表有限公司 Lighting terminal based on bluetooth wireless network deployment
CN111511080A (en) * 2020-04-30 2020-08-07 杭州涂鸦信息技术有限公司 Bluetooth mesh-based illumination control method and related system

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113677074A (en) * 2021-08-23 2021-11-19 深圳市中智盛安安全技术有限公司 Emergency lighting system based on wireless Bluetooth control
CN114364084A (en) * 2022-03-17 2022-04-15 杭州雅观科技有限公司 Cloud-based LED lighting energy-saving system and energy-saving method
CN114364084B (en) * 2022-03-17 2022-06-10 杭州雅观科技有限公司 Cloud-based LED illumination energy-saving system and energy-saving method

Similar Documents

Publication Publication Date Title
CN112822811A (en) Bluetooth mesh-based illumination control method and illumination control system
CN205015712U (en) Zigbee switch of taking scene control function of intelligence house
CN110719676B (en) Illumination control method and illumination control equipment
CN114928924B (en) Intelligent street lamp control system based on urban road management
CN104950716A (en) Equipment control method and equipment control device
CN203136249U (en) An intelligent illumination control system
TW201423297A (en) Method and equipment for configuring lighting
CN111542032A (en) Wireless remote meter reading device and method
US20200314986A1 (en) Lighting control
CN113873122A (en) Independent flash control method, system and device for double-flash camera and storage medium
CN112291373B (en) Control method and device of Internet of things equipment, controller and storage medium
CN103531170A (en) Display control system, control method and display device
CN105516476A (en) Method for controlling application to save power by closing high energy consumption application
CN105676989A (en) Electricity-saving method and device of mobile terminal
CN108401340A (en) A kind of lighting control system based on cloud data
CN212064421U (en) Illumination wisdom control system based on 5G communication
CN107734803A (en) Lamplight scene control method, device and electronic equipment
CN110602845B (en) Wisdom street lamp luminous environment founds system
CN112565451A (en) DALI gateway and DALI lamp control system
CN111123877A (en) Intelligent lighting control system and method
CN111669878A (en) Ubiquitous-sensing-based intelligent lamp pole illumination control method and system
CN209643046U (en) A kind of DALI controller for supporting scene to extend
CN212910152U (en) Multi-DALI (digital addressable lighting interface) address integrated intelligent control system
CN104797056A (en) LED lamp device, and system and method for setting power parameters of LED lamp
CN113271701B (en) Automatic illumination system and method for LED module

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20210518