CN115835456A - Networking and linkage control method for battery-powered night lamp - Google Patents

Networking and linkage control method for battery-powered night lamp Download PDF

Info

Publication number
CN115835456A
CN115835456A CN202211510382.3A CN202211510382A CN115835456A CN 115835456 A CN115835456 A CN 115835456A CN 202211510382 A CN202211510382 A CN 202211510382A CN 115835456 A CN115835456 A CN 115835456A
Authority
CN
China
Prior art keywords
networking
night light
night
battery
command
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
CN202211510382.3A
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.)
Tianjin Huaju Internet Of Things Technology Co ltd
Original Assignee
Tianjin Huaju Internet Of Things 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 Tianjin Huaju Internet Of Things Technology Co ltd filed Critical Tianjin Huaju Internet Of Things Technology Co ltd
Priority to CN202211510382.3A priority Critical patent/CN115835456A/en
Publication of CN115835456A publication Critical patent/CN115835456A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02BCLIMATE CHANGE MITIGATION TECHNOLOGIES RELATED TO BUILDINGS, e.g. HOUSING, HOUSE APPLIANCES OR RELATED END-USER APPLICATIONS
    • Y02B20/00Energy efficient lighting technologies, e.g. halogen lamps or gas discharge lamps
    • Y02B20/40Control techniques providing energy savings, e.g. smart controller or presence detection

Landscapes

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

Abstract

The invention provides a networking and linkage control method of a battery-powered night lamp, which comprises a power supply unit, a detection unit, an LED unit and a wireless unit, wherein the power supply unit is connected with the detection unit; the power supply unit comprises a charging management circuit, a battery and a power supply conversion circuit, the battery is charged through the charging management circuit, and the battery supplies power to the power supply unit, the detection unit and the LED unit through the power supply conversion circuit; the detection unit comprises a photosensitive sensor and a human body induction sensor, the photosensitive sensor and the human body induction sensor are connected with the processing chip, and wireless transmission is carried out through SOC wireless communication of the wireless unit; the LED unit comprises an LED driving module and an LED lamp panel. The invention has the beneficial effects that: the networking and linkage control method for the battery-powered night lamp has the advantages that the networking process is simple, other equipment and software are not needed, simplicity and convenience are realized, and the networking of the night lamp within 10 hours can be finished within 1 minute.

Description

一种电池供电夜灯的组网及联动控制方法Networking and linkage control method of battery-powered night lights

技术领域technical field

本发明属于小夜灯照明领域,尤其是涉及一种电池供电夜灯的组网及联动控制方法。The invention belongs to the field of night light lighting, and in particular relates to a method for networking and linkage control of a battery-powered night light.

背景技术Background technique

现有的智能照明产品组网联动基本上都是以BLE MESH,ZigBee,Wifi通信技术为基础。这些通用组网技术的共同缺点是协议实现比较复杂,相应硬件成本也偏高(用于使用更大容量的程序存储器和数据存储器)。并且在进行设备分组时需要手机APP进行辅助实现,步骤较多,操作复杂。The existing networking linkage of intelligent lighting products is basically based on BLE MESH, ZigBee, and Wifi communication technologies. The common disadvantage of these general networking technologies is that the implementation of the protocol is relatively complicated, and the corresponding hardware cost is relatively high (used to use a larger-capacity program memory and data memory). In addition, the mobile phone APP is required to assist in the grouping of devices, which involves many steps and complicated operations.

基于BLE MESH技术的网络,如果需要消息的及时转发,就要在网络中配置“好友节点”,时刻保存活跃状态,为低功耗节点实现信息存储和转发,这样就会增加网络实现的复杂度,同时也阻碍实现整体网络的低功耗。For a network based on BLE MESH technology, if timely forwarding of messages is required, a "friend node" must be configured in the network to keep the active state at all times, and realize information storage and forwarding for low-power nodes, which will increase the complexity of network implementation , while also hindering the realization of low power consumption of the overall network.

基于ZigBee技术的网络,必须设置“协调器”角色,同样这一角色的设备也必须时刻保持活跃,也阻碍实现整体网络的低功耗,同时也增加了实现成本。The network based on ZigBee technology must set the role of "coordinator", and the devices in this role must also be kept active at all times, which also hinders the realization of low power consumption of the overall network, and also increases the implementation cost.

发明内容Contents of the invention

有鉴于此,本发明旨在提出一种电池供电夜灯的组网及联动控制方法,以至少解决背景技术中的至少一个问题。In view of this, the present invention aims to propose a method for networking and linkage control of battery-powered night lights, so as to at least solve at least one problem in the background technology.

为达到上述目的,本发明的技术方案是这样实现的:In order to achieve the above object, technical solution of the present invention is achieved in that way:

一种电池供电夜灯的组网及联动控制方法,包括电源单元、检测单元、LED单元和无线单元;A method for networking and linkage control of a battery-powered night light, comprising a power supply unit, a detection unit, an LED unit, and a wireless unit;

电源单元包括充电管理电路、电池和电源转换电路,通过充电管理电路为电池充电,电池通过电源转换电路为电源单元、检测单元、LED单元供电;The power supply unit includes a charging management circuit, a battery and a power conversion circuit, the battery is charged through the charging management circuit, and the battery supplies power to the power supply unit, the detection unit, and the LED unit through the power conversion circuit;

检测单元包括光敏传感器和人体感应传感器,光敏传感器和人体感应传感器与处理芯片连接,通过无线单元的SOC无线通讯进行无线传输;The detection unit includes a photosensitive sensor and a human body induction sensor, which are connected to the processing chip and wirelessly transmitted through the SOC wireless communication of the wireless unit;

LED单元包括LED驱动模块和LED灯板。The LED unit includes an LED driver module and an LED light board.

进一步的,夜灯组网流程如下:Further, the night light networking process is as follows:

A1、通过将多个无组网信息的夜灯的开关顺序拨到自动模式;A1. By switching the switch sequence of multiple night lights without networking information to automatic mode;

A2、每个夜灯循环定时发送一条RF消息,消息中包含一个组网ID和本夜灯的工作时长信息,所述RF消息为组网命令,将组网ID记为G,工作时长记为T;A2. Each night light cycle regularly sends an RF message, which contains a network ID and the working time information of the night light. The RF message is a network command, and the network ID is recorded as G, and the working time is recorded as T;

A3、每个夜灯在发送RF消息的间歇接收其他夜灯发送的RF消息,如果收到的组网命令中的工作时长超过本机工作时长或者超过前次保存的组网命令中的工作时长,则保存最新收到的的组网命令信息;A3. Each night light receives RF messages sent by other night lights in the interval of sending RF messages. If the working time in the received networking command exceeds the working time of the machine or exceeds the working time in the previously saved networking command , save the latest received networking command information;

A4、在设定时间后,将G变量中保存的组网ID作为本夜灯加入的夜灯分组,保存组网结果到flash存储器,然后转换到自动工作模式。A4. After setting the time, use the network ID saved in the G variable as the night light group that this night light joins, save the network result to the flash memory, and then switch to the automatic working mode.

进一步的,夜灯解除组网流程为:Further, the night light release networking process is as follows:

B1、将夜灯开关拨到OFF;B1. Turn the night light switch to OFF;

B2、将夜灯开关拨到ON;B2. Turn the night light switch to ON;

B3、设定时间内将夜灯开关拨到OFF;B3. Turn the night light switch to OFF within the set time;

B4、重新将夜灯开关拨到ON或AUTO,清除组网信息。B4. Turn the night light switch to ON or AUTO again to clear the networking information.

进一步的,夜灯联动控制过程如下:Further, the night light linkage control process is as follows:

C1、在自动模式下,某一个夜灯如果通过人体感应传感器检测到人体移动,如果光照传感器检测到当前处于黑暗状态,就点亮本夜灯,并持续通过2.4G射频发送本组的点灯命令,命令中包含本组的ID和本夜灯的ID以及本条命令的流水序号;C1. In the automatic mode, if a certain night light detects human body movement through the human body induction sensor, if the light sensor detects that it is currently in a dark state, it will light up the night light and continue to send the lighting command of this group through the 2.4G radio frequency , the command includes the ID of this group, the ID of this night light and the serial number of this command;

C2、本组的其他夜灯收到前述的点灯命令,就点亮自己的灯板,同时将前述的点灯命令进行转发;C2. Other night lights in this group will light up their own light boards after receiving the aforementioned lighting command, and at the same time forward the aforementioned lighting command;

C3.如果夜灯收到的是本次点灯过程中已经转发过的点灯命令,则不再转发,并且也不再延长亮灯周期;C3. If the night light receives a lighting command that has been forwarded during this lighting process, it will not be forwarded again, and the lighting cycle will not be extended;

C4、如果夜灯已经处于被RF命令点亮状态,可以再被人体感应传感器触发,延长亮灯周期;C4. If the night light is already in the state of being lit by the RF command, it can be triggered by the human body sensor to extend the lighting cycle;

C5、如果夜灯已经处于被RF命令点亮状态,可以再被其他夜灯发出的新的点灯命令触发,延长亮灯周期;C5. If the night light is already in the state of being lit by the RF command, it can be triggered by a new lighting command issued by other night lights to extend the lighting cycle;

C6、所有被点亮的夜灯维持一定的点亮周期后,经过一个渐灭过程后熄灭。C6. After all the lit night lights maintain a certain lighting period, they go out after a gradual extinction process.

一种电子设备,包括处理器以及与处理器通信连接,且用于存储所述处理器可执行指令的存储器,所述处理器用于执行一种电池供电夜灯的组网及联动控制方法。An electronic device includes a processor and a memory connected to the processor for storing instructions executable by the processor, and the processor is used for executing a method for networking and linkage control of battery-powered night lights.

一种服务器,包括至少一个处理器,以及与所述处理器通信连接的存储器,所述存储器存储有可被所述至少一个处理器执行的指令,所述指令被所述处理器执行,以使所述至少一个处理器执行一种电池供电夜灯的组网及联动控制方法。A server includes at least one processor, and a memory communicated with the processor, the memory stores instructions executable by the at least one processor, the instructions are executed by the processor, so that The at least one processor executes a method for networking and linkage control of battery-powered night lights.

一种计算机可读取存储介质,存储有计算机程序,所述计算机程序被处理器执行时实现一种电池供电夜灯的组网及联动控制方法。A computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, a method for networking and linkage control of battery-powered night lights is realized.

相对于现有技术,本发明所述的一种电池供电夜灯的组网及联动控制方法具有以下有益效果:Compared with the prior art, the method for networking and linkage control of a battery-powered night light according to the present invention has the following beneficial effects:

(1)本发明所述的一种电池供电夜灯的组网及联动控制方法,组网过程简单,不需要其他设备和软件,简便,快捷,不超过1分钟的时间就可以将10只以内的夜灯完成组网;(1) The networking and linkage control method of a battery-powered night light according to the present invention has a simple networking process and does not require other equipment and software. The night light completes the networking;

(2)本发明所述的一种电池供电夜灯的组网及联动控制方法,另外的优点是联动控制过程简单,夜灯可以间歇休眠,方便降低待机功耗和节能。本发明的第三个优点是使用2.4G私有协议,实现简单,在程序存储器和数据存储器的使用上可以比使用蓝牙(BLE),ZigBee,Wifi协议的其他方法节省一半以上空间,从而可以有效降低实现成本。(2) The networking and linkage control method of a battery-powered night light according to the present invention has another advantage of simple linkage control process, and the night light can sleep intermittently, which is convenient for reducing standby power consumption and saving energy. The 3rd advantage of the present invention is to use 2.4G proprietary agreement, realizes simply, can save more than half space than other methods of using bluetooth (BLE), ZigBee, Wifi protocol in the use of program memory and data memory, thereby can effectively reduce Implementation costs.

附图说明Description of drawings

构成本发明的一部分的附图用来提供对本发明的进一步理解,本发明的示意性实施例及其说明用于解释本发明,并不构成对本发明的不当限定。在附图中:The drawings constituting a part of the present invention are used to provide a further understanding of the present invention, and the schematic embodiments and descriptions of the present invention are used to explain the present invention, and do not constitute an improper limitation of the present invention. In the attached picture:

图1为本发明实施例所述的系统组成框图示意图;Fig. 1 is a schematic diagram of a system composition block diagram according to an embodiment of the present invention;

图2为本发明实施例所述的多个夜灯组网时其中一个的组网流程图如下示意图;Fig. 2 is a schematic diagram of the networking flow chart of one of the multiple night lights networking described in the embodiment of the present invention as follows;

图3为本发明实施例所述的被人体感应传感器触发点灯的夜灯工作流程图示意图;Fig. 3 is a schematic diagram of the working flow chart of the night light triggered by the human body induction sensor according to the embodiment of the present invention;

图4为本发明实施例所述的被RF命令触发点灯的夜灯工作流程图示意图。FIG. 4 is a schematic diagram of a working flowchart of a night light triggered by an RF command according to an embodiment of the present invention.

具体实施方式Detailed ways

需要说明的是,在不冲突的情况下,本发明中的实施例及实施例中的特征可以相互组合。It should be noted that, in the case of no conflict, the embodiments of the present invention and the features in the embodiments can be combined with each other.

下面将参考附图并结合实施例来详细说明本发明。The present invention will be described in detail below with reference to the accompanying drawings and examples.

本发明的方案是使用2.4G私有协议进行无线通讯,针对目前无线组网方法步骤较多,操作复杂的现状,本发明通过一种方法简单快捷的完成夜灯组网及解除组网过程。The solution of the present invention is to use the 2.4G private protocol for wireless communication. Aiming at the present situation that the current wireless networking method has many steps and complex operations, the present invention uses a method to simply and quickly complete the night light networking and release networking process.

针对目前联动控制方式实现复杂,并且不容易实现低功耗的缺点,本发明通过一种方法以更低的成本实现了低功耗的联动控制功能。Aiming at the disadvantages that the current linkage control method is complicated to realize and low power consumption is not easy to realize, the present invention realizes the linkage control function of low power consumption at a lower cost through a method.

本发明适用的夜灯产品具备人体感应传感器可以检测人体移动,具备光敏元件可以检测是否是暗环境,同时这些夜灯产品具备三档位的拨动开关,三个档位分别是ON,OFF,AUTO,在ON档位时,夜灯常亮;在OFF档位时,夜灯关闭;在AUTO档位时,夜灯可以在暗环境被人体感应传感器触发点亮。The night light products applicable to the present invention are equipped with human body induction sensors that can detect human body movement, and photosensitive elements that can detect whether it is a dark environment. At the same time, these night light products have three-position toggle switches, and the three positions are ON, OFF, AUTO, in the ON gear, the night light is always on; in the OFF gear, the night light is off; in the AUTO gear, the night light can be triggered by the human body sensor to light up in a dark environment.

系统组成框图1所示;The system composition block diagram is shown in Figure 1;

夜灯组网过程:Night light networking process:

1.通过将多个无组网信息的夜灯的开关顺序拨到“自动”模式;1. By switching the switch sequence of multiple night lights without networking information to "automatic" mode;

2.每个夜灯循环定时(含随机延时)发送一条RF消息(组网命令),消息中包含一个组网ID(标记为G)和本夜灯的工作时长信息(T);2. Send an RF message (network command) at regular intervals (including random delay) for each night light cycle, which contains a network ID (marked as G) and the working time information (T) of the night light;

3.每个夜灯在发送RF消息的间歇接收其他夜灯发送的RF消息(组网命令),如果收到的组网命令中的工作时长比本机工作时长或者前次保存的组网命令中的工作时长还要长,就保存最新收的的组网命令信息:G=组网ID,T=工作时长;3. Each night light receives RF messages (networking commands) sent by other night lights during the interval of sending RF messages. If the working time of the received networking command is longer than the working time of the machine or the previous saved networking command If the working hours are longer, save the latest received networking command information: G=networking ID, T=working hours;

4.30秒后,将G变量中保存的组网ID作为本夜灯加入的夜灯分组,保存组网结果到flash存储器,然后转换到“自动”工作模式;4. After 30 seconds, use the network ID saved in the G variable as the night light group that this night light joins, save the network result to the flash memory, and then switch to the "automatic" working mode;

多个夜灯组网时其中一个的组网流程图如图2所示;When multiple night lights are networked, one of the network flow charts is shown in Figure 2;

夜灯解除组网过程:The night light release networking process:

1.将夜灯开关拨到OFF;1. Turn the night light switch to OFF;

2.将夜灯开关拨到ON;2. Turn the night light switch to ON;

3.3秒内将夜灯开关拨到OFF;Turn the night light switch to OFF within 3.3 seconds;

4.重新将夜灯开关拨到ON或AUTO,清除组网信息。4. Turn the night light switch to ON or AUTO again to clear the networking information.

夜灯联动控制过程:Night light linkage control process:

1.在“自动”模式下,某一个夜灯如果通过人体感应传感器检测到人体移动,如果光照传感器检测到当前处于黑暗状态,就点亮本夜灯,并持续通过2.4G射频发送本组的点灯命令(命令中包含本组的ID和本夜灯的ID以及本条命令的流水序号);1. In the "automatic" mode, if a certain night light detects human body movement through the human body sensor, if the light sensor detects that it is currently in a dark state, it will light up the night light and continue to send the group's information through the 2.4G radio frequency. Lighting command (the command includes the ID of this group, the ID of this night light and the serial number of this command);

2.本组的其他夜灯收到前述的点灯命令,就点亮自己的灯板,同时将前述的点灯命令进行转发;2. Other night lights in this group will light up their own light boards after receiving the aforementioned lighting command, and at the same time forward the aforementioned lighting command;

3.如果夜灯收到的是本次点灯过程中已经转发过的点灯命令,则不再转发,并且也不再延长亮灯周期;3. If the night light receives a lighting command that has been forwarded during this lighting process, it will not be forwarded again, and the lighting cycle will not be extended;

4.如果夜灯已经处于被RF命令点亮状态,可以再被人体感应传感器触发,延长亮灯周期;4. If the night light is already in the state of being lit by the RF command, it can be triggered by the human body sensor to extend the lighting cycle;

5.如果夜灯已经处于被RF命令点亮状态,可以再被其他夜灯发出的新的点灯命令触发,延长亮灯周期;5. If the night light is already in the state of being lit by the RF command, it can be triggered by a new lighting command issued by other night lights to extend the lighting cycle;

6.所有被点亮的夜灯维持一定的点亮周期后,经过一个渐灭过程后熄灭。6. After all the lit night lights maintain a certain lighting period, they will go out after a gradual extinction process.

被人体感应传感器触发点灯的夜灯工作流程图如图3所示;The working flow chart of the night light triggered by the human body induction sensor is shown in Figure 3;

被RF命令触发点灯的夜灯工作流程图如图4所示。The working flow diagram of the night light triggered by the RF command is shown in Figure 4.

本领域普通技术人员可以意识到,结合本文中所公开的实施例描述的各示例的单元及方法步骤,能够以电子硬件、计算机软件或者二者的结合来实现,为了清楚地说明硬件和软件的可互换性,在上述说明中已经按照功能一般性地描述了各示例的组成及步骤。这些功能究竟以硬件还是软件方式来执行,取决于技术方案的特定应用和设计约束条件。专业技术人员可以对每个特定的应用来使用不同方法来实现所描述的功能,但是这种实现不应认为超出本发明的范围。Those of ordinary skill in the art can realize that the units and method steps of the examples described in conjunction with the embodiments disclosed herein can be implemented by electronic hardware, computer software, or a combination of the two. In order to clearly illustrate the relationship between hardware and software Interchangeability. In the above description, the composition and steps of each example have been generally described according to their functions. Whether these functions are executed by hardware or software depends on the specific application and design constraints of the technical solution. Those skilled in the art may use different methods to implement the described functions for each specific application, but such implementation should not be regarded as exceeding the scope of the present invention.

在本申请所提供的几个实施例中,应该理解到,所揭露的方法和系统,可以通过其它的方式实现。例如,以上所述单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。上述单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本发明实施例方案的目的。In the several embodiments provided in this application, it should be understood that the disclosed method and system may be implemented in other ways. For example, the division of the above-mentioned units is only a logical function division, and there may be other division methods in actual implementation, for example, multiple units or components can be combined or integrated into another system, or some features can be ignored, or Not implemented. The above units may or may not be physically separated, and components shown as units may or may not be physical units, that is, they may be located in one place, or may be distributed to multiple network units. Part or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment of the present invention.

最后应说明的是:以上各实施例仅用以说明本发明的技术方案,而非对其限制;尽管参照前述各实施例对本发明进行了详细的说明,本领域的普通技术人员应当理解:其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分或者全部技术特征进行等同替换;而这些修改或者替换,并不使相应技术方案的本质脱离本发明各实施例技术方案的范围,其均应涵盖在本发明的权利要求和说明书的范围当中。Finally, it should be noted that: the above embodiments are only used to illustrate the technical solutions of the present invention, rather than limiting them; although the present invention has been described in detail with reference to the foregoing embodiments, those of ordinary skill in the art should understand that: It is still possible to modify the technical solutions described in the foregoing embodiments, or perform equivalent replacements for some or all of the technical features; and these modifications or replacements do not make the essence of the corresponding technical solutions deviate from the technical solutions of the various embodiments of the present invention. All of them should be covered by the scope of the claims and description of the present invention.

以上所述仅为本发明的较佳实施例而已,并不用以限制本发明,凡在本发明的精神和原则之内,所作的任何修改、等同替换、改进等,均应包含在本发明的保护范围之内。The above descriptions are only preferred embodiments of the present invention, and are not intended to limit the present invention. Any modifications, equivalent replacements, improvements, etc. made within the spirit and principles of the present invention shall be included in the scope of the present invention. within the scope of protection.

Claims (7)

1.一种电池供电夜灯的组网及联动控制方法,其特征在于:包括电源单元、检测单元、LED单元和无线单元;1. A network and linkage control method for a battery-powered night light, characterized in that: it includes a power supply unit, a detection unit, an LED unit and a wireless unit; 电源单元包括充电管理电路、电池和电源转换电路,通过充电管理电路为电池充电,电池通过电源转换电路为电源单元、检测单元、LED单元供电;The power supply unit includes a charging management circuit, a battery and a power conversion circuit, the battery is charged through the charging management circuit, and the battery supplies power to the power supply unit, the detection unit, and the LED unit through the power conversion circuit; 检测单元包括光敏传感器和人体感应传感器,光敏传感器和人体感应传感器与处理芯片连接,通过无线单元的SOC无线通讯进行无线传输;The detection unit includes a photosensitive sensor and a human body induction sensor, which are connected to the processing chip and wirelessly transmitted through the SOC wireless communication of the wireless unit; LED单元包括LED驱动模块和LED灯板。The LED unit includes an LED driver module and an LED light board. 2.根据权利要求1所述的一种电池供电夜灯的组网及联动控制方法,其特征在于,夜灯组网流程如下:2. A battery-powered night light networking and linkage control method according to claim 1, characterized in that the night light networking process is as follows: A1、通过将多个无组网信息的夜灯的开关顺序拨到自动模式;A1. By switching the switch sequence of multiple night lights without networking information to automatic mode; A2、每个夜灯循环定时发送一条RF消息,消息中包含一个组网ID和本夜灯的工作时长信息,所述RF消息为组网命令,将组网ID记为G,工作时长记为T;A2. Each night light cycle regularly sends an RF message, which contains a network ID and the working time information of the night light. The RF message is a network command, and the network ID is recorded as G, and the working time is recorded as T; A3、每个夜灯在发送RF消息的间歇接收其他夜灯发送的RF消息,如果收到的组网命令中的工作时长超过本机工作时长或者超过前次保存的组网命令中的工作时长,则保存最新收到的的组网命令信息;A3. Each night light receives RF messages sent by other night lights in the interval of sending RF messages. If the working time in the received networking command exceeds the working time of the machine or exceeds the working time in the previously saved networking command , save the latest received networking command information; A4、在设定时间后,将G变量中保存的组网ID作为本夜灯加入的夜灯分组,保存组网结果到flash存储器,然后转换到自动工作模式。A4. After setting the time, use the network ID saved in the G variable as the night light group that this night light joins, save the network result to the flash memory, and then switch to the automatic working mode. 3.根据权利要求2所述的一种电池供电夜灯的组网及联动控制方法,其特征在于,夜灯解除组网流程为:3. A method for networking and linkage control of battery-powered night lights according to claim 2, characterized in that the process of releasing the networking of the night lights is as follows: B1、将夜灯开关拨到OFF;B1. Turn the night light switch to OFF; B2、将夜灯开关拨到ON;B2. Turn the night light switch to ON; B3、设定时间内将夜灯开关拨到OFF;B3. Turn the night light switch to OFF within the set time; B4、重新将夜灯开关拨到ON或AUTO,清除组网信息。B4. Turn the night light switch to ON or AUTO again to clear the networking information. 4.根据权利要求2所述的一种电池供电夜灯的组网及联动控制方法,其特征在于,夜灯联动控制过程如下:4. A method for networking and linkage control of a battery-powered night light according to claim 2, characterized in that the linkage control process of the night light is as follows: C1、在自动模式下,某一个夜灯如果通过人体感应传感器检测到人体移动,如果光照传感器检测到当前处于黑暗状态,就点亮本夜灯,并持续通过2.4G射频发送本组的点灯命令,命令中包含本组的ID和本夜灯的ID以及本条命令的流水序号;C1. In the automatic mode, if a certain night light detects human body movement through the human body induction sensor, if the light sensor detects that it is currently in a dark state, it will light up the night light and continue to send the lighting command of this group through the 2.4G radio frequency , the command includes the ID of this group, the ID of this night light and the serial number of this command; C2、本组的其他夜灯收到前述的点灯命令,就点亮自己的灯板,同时将前述的点灯命令进行转发;C2. Other night lights in this group will light up their own light boards after receiving the aforementioned lighting command, and at the same time forward the aforementioned lighting command; C3.如果夜灯收到的是本次点灯过程中已经转发过的点灯命令,则不再转发,并且也不再延长亮灯周期;C3. If the night light receives a lighting command that has been forwarded during this lighting process, it will not be forwarded again, and the lighting cycle will not be extended; C4、如果夜灯已经处于被RF命令点亮状态,可以再被人体感应传感器触发,延长亮灯周期;C4. If the night light is already in the state of being lit by the RF command, it can be triggered by the human body sensor to extend the lighting cycle; C5、如果夜灯已经处于被RF命令点亮状态,可以再被其他夜灯发出的新的点灯命令触发,延长亮灯周期;C5. If the night light is already in the state of being lit by the RF command, it can be triggered by a new lighting command issued by other night lights to extend the lighting cycle; C6、所有被点亮的夜灯维持一定的点亮周期后,经过一个渐灭过程后熄灭。C6. After all the lit night lights maintain a certain lighting period, they go out after a gradual extinction process. 5.一种电子设备,包括处理器以及与处理器通信连接,且用于存储所述处理器可执行指令的存储器,其特征在于:所述处理器用于执行上述权利要求1-4任一所述的一种电池供电夜灯的组网及联动控制方法。5. An electronic device, comprising a processor and a memory connected to the processor for storing instructions executable by the processor, characterized in that: the processor is used to execute any of the above-mentioned claims 1-4 A method for networking and linkage control of battery-powered night lights described above. 6.一种服务器,其特征在于:包括至少一个处理器,以及与所述处理器通信连接的存储器,所述存储器存储有可被所述至少一个处理器执行的指令,所述指令被所述处理器执行,以使所述至少一个处理器执行如权利要求1-4任一所述的一种电池供电夜灯的组网及联动控制方法。6. A server, characterized in that: comprising at least one processor, and a memory communicatively connected to the processor, the memory stores instructions executable by the at least one processor, and the instructions are executed by the The processor executes, so that the at least one processor executes a method for networking and linkage control of battery-powered night lights according to any one of claims 1-4. 7.一种计算机可读取存储介质,存储有计算机程序,其特征在于:所述计算机程序被处理器执行时实现权利要求1-4任一项所述的一种电池供电夜灯的组网及联动控制方法。7. A computer-readable storage medium storing a computer program, characterized in that: when the computer program is executed by a processor, the networking of a battery-powered night light according to any one of claims 1-4 is realized and linkage control methods.
CN202211510382.3A 2022-11-29 2022-11-29 Networking and linkage control method for battery-powered night lamp Pending CN115835456A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211510382.3A CN115835456A (en) 2022-11-29 2022-11-29 Networking and linkage control method for battery-powered night lamp

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211510382.3A CN115835456A (en) 2022-11-29 2022-11-29 Networking and linkage control method for battery-powered night lamp

Publications (1)

Publication Number Publication Date
CN115835456A true CN115835456A (en) 2023-03-21

Family

ID=85532583

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211510382.3A Pending CN115835456A (en) 2022-11-29 2022-11-29 Networking and linkage control method for battery-powered night lamp

Country Status (1)

Country Link
CN (1) CN115835456A (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109386799A (en) * 2018-11-13 2019-02-26 广东鼎瑞电塑科技有限公司 A kind of mini light night
CN112923299A (en) * 2019-12-05 2021-06-08 谢勇刚 Novel solar energy linkage induction lamp

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109386799A (en) * 2018-11-13 2019-02-26 广东鼎瑞电塑科技有限公司 A kind of mini light night
CN112923299A (en) * 2019-12-05 2021-06-08 谢勇刚 Novel solar energy linkage induction lamp

Similar Documents

Publication Publication Date Title
CN101883455B (en) Lighting power-saving measurement and control system based on wireless sensor network
CN101163365A (en) Illumination control method and system
JP7113979B2 (en) Signal repeater device capable of operating in low-power repeater mode of operation
CN102869077A (en) ZigBee-protocol-based data acquisition and transmission method of wireless sensor network
CN102892184A (en) Device and method for realizing single-live wire or battery power supply of Zigbee module
CN111132113A (en) Method for realizing low-power-consumption Bluetooth Mesh network
US9720489B2 (en) System comprising a main electrical unit and a peripheral electrical unit
US10491416B2 (en) Systems and methods for high efficiency lighting installations
CN114302544A (en) Intra-group synchronization and grouping linkage system and method based on radar radio frequency induction lamps
CN219395054U (en) Low-power consumption control circuit, projector and projector system
CN101420775A (en) Communication device and signal transferring method
CN115835456A (en) Networking and linkage control method for battery-powered night lamp
EP2241014B1 (en) Controlling the power consumption of a receiving unit
CN103260265B (en) The network-building method of a kind of event flip-over type wireless sensor network and operating mechanism
EP3632164B1 (en) Determining a duty schedule for a group of lighting devices providing a similar lighting service
CN110609534A (en) Intelligent household control method and system
CN203233569U (en) Energy-saving equipment for smart lights that are powered off and on
CN113253644B (en) Equipment working mode switching method, micro-control device and ship positioning system
CN106231739A (en) The illumination control method of a kind of complex scene and device
CN210297739U (en) Intelligent household system adopting user-defined wireless protocol
Lina Design of smart home energy efficiency management system based on BLE technology
CN104540303A (en) Field programmable timing sequence lighting adjustment control system and method for lamp
CN213562601U (en) A building block robot system module based on special mesh network sensor
CN107479912B (en) OTA (over the air) upgrading system and method under intelligent single-fire switch energy-saving mode
CN204014150U (en) Zigbee gateway device and the LED intelligent illuminating system based on this equipment

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