CN115529704A - Method, device, equipment and storage medium for controlling intelligent lamp group equipment - Google Patents
Method, device, equipment and storage medium for controlling intelligent lamp group equipment Download PDFInfo
- Publication number
- CN115529704A CN115529704A CN202210068420.8A CN202210068420A CN115529704A CN 115529704 A CN115529704 A CN 115529704A CN 202210068420 A CN202210068420 A CN 202210068420A CN 115529704 A CN115529704 A CN 115529704A
- Authority
- CN
- China
- Prior art keywords
- current
- light group
- broadcast control
- identification information
- lamp group
- 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
Links
Images
Classifications
-
- H—ELECTRICITY
- H05—ELECTRIC TECHNIQUES NOT OTHERWISE PROVIDED FOR
- H05B—ELECTRIC HEATING; ELECTRIC LIGHT SOURCES NOT OTHERWISE PROVIDED FOR; CIRCUIT ARRANGEMENTS FOR ELECTRIC LIGHT SOURCES, IN GENERAL
- H05B47/00—Circuit arrangements for operating light sources in general, i.e. where the type of light source is not relevant
- H05B47/10—Controlling the light source
- H05B47/175—Controlling the light source by remote control
- H05B47/19—Controlling the light source by remote control via wireless transmission
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L12/00—Data switching networks
- H04L12/02—Details
- H04L12/16—Arrangements for providing special services to substations
- H04L12/18—Arrangements for providing special services to substations for broadcast or conference, e.g. multicast
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L12/00—Data switching networks
- H04L12/28—Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
- H04L12/2803—Home automation networks
- H04L12/2816—Controlling appliance services of a home automation network by calling their functionalities
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L12/00—Data switching networks
- H04L12/28—Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
- H04L12/2803—Home automation networks
- H04L12/283—Processing of data at an internetworking point of a home automation network
- H04L12/2834—Switching of information between an external network and a home network
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L12/00—Data switching networks
- H04L12/28—Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
- H04L12/2803—Home automation networks
- H04L2012/284—Home automation networks characterised by the type of medium used
- H04L2012/2841—Wireless
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Automation & Control Theory (AREA)
- Computing Systems (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
Description
技术领域technical field
本申请涉及智能设备技术领域,例如涉及用于智能灯组设备控制的方法、装置、设备及存储介质。The present application relates to the technical field of smart devices, for example, to methods, devices, devices and storage media for controlling smart lamp group devices.
背景技术Background technique
随着智能技术的发展,目前家居系统也逐渐成为智能家居系统,其中,智能照明成为智能家居中重要的组成部分,目前,智能筒灯射灯在智能家居应用中的地位不断提高。但是,智能筒灯射灯的照明区域较小,一般通过一组智能灯来实现对一个区域的照明,并在开关控制时,将多个智能筒灯射灯设置成为一个组,即智能灯组设备,来进行整个组的控制,这样简化操作流程,提高用户体验。With the development of smart technology, the current home system has gradually become a smart home system. Among them, smart lighting has become an important part of smart home. At present, the status of smart downlight spotlights in smart home applications is constantly improving. However, the lighting area of the smart downlight spotlight is small. Generally, a group of smart lights are used to illuminate an area, and when the switch is controlled, multiple smart downlight spotlights are set into a group, that is, the smart light group Devices are used to control the entire group, which simplifies the operation process and improves user experience.
目前,家居系统中可包括:通过处于无线通讯网络中的网关设备、一个或多个路由器设备、以及一个或多个智能灯组成的智能灯组设备,这样,网关设备可以广播形式发送灯组控制指令,而路由设备接收到广播指令后,会再次转发广播指令,终端设备即智能灯组设备接收到广播指令后,若标识信息匹配则可执行对应的广播指令,实现了对智能灯组设备的控制。可见,智能灯组设备的控制依赖于网关设备的广播和路由设备的转发广播,某个终端设备会收到来自不同路由设备或者网关设备的广播指令,收到指令后还会重复上报自己的状态到网关设备,因此,设备的通信量会特别大,而且会有重复的转发造成带宽占用量较大而出现的漏控和丢包问题。At present, the home system may include: a gateway device in the wireless communication network, one or more router devices, and a smart light group device composed of one or more smart lights. In this way, the gateway device can broadcast the light group control After the routing device receives the broadcast command, it will forward the broadcast command again. After receiving the broadcast command, the terminal device, that is, the smart light group device, can execute the corresponding broadcast command if the identification information matches, realizing the smart light group device. control. It can be seen that the control of smart light group devices depends on the broadcast of the gateway device and the forwarding broadcast of the routing device. A certain terminal device will receive broadcast instructions from different routing devices or gateway devices, and will repeatedly report its own status after receiving the instructions. To the gateway device, therefore, the communication traffic of the device will be particularly large, and there will be problems of leakage control and packet loss caused by repeated forwarding resulting in a large bandwidth occupation.
发明内容Contents of the invention
为了对披露的实施例的一些方面有基本的理解,下面给出了简单的概括。所述概括不是泛泛评述,也不是要确定关键/重要组成元素或描绘这些实施例的保护范围,而是作为后面的详细说明的序言。In order to provide a basic understanding of some aspects of the disclosed embodiments, a brief summary is presented below. The summary is not intended to be an extensive overview nor to identify key/important elements or to delineate the scope of these embodiments, but rather serves as a prelude to the detailed description that follows.
本公开实施例提供了一种用于智能灯组设备控制方法、装置、设备和存储介质,应用于家居系统中,以解决智能灯组设备控制通信量大的技术问题。所述家居系统包括:处于无线通讯网络中的网关设备、一个或多个路由器设备、以及一个或多个智能灯组设备。Embodiments of the present disclosure provide a method, device, device, and storage medium for controlling intelligent lamp group equipment, which are applied in a home system to solve the technical problem of large communication traffic for intelligent lamp group equipment control. The home system includes: a gateway device in a wireless communication network, one or more router devices, and one or more smart light group devices.
在一些实施例中,所述方法包括:In some embodiments, the method includes:
接收到第一设备发送的当前灯组广播控制指令;receiving the broadcast control instruction of the current lamp group sent by the first device;
在当前设备为所述路由设备的情况下,若所述第一设备不是所述网关设备时,获取所述当前灯组广播控制指令携带的目的灯组标识信息;In the case where the current device is the routing device, if the first device is not the gateway device, acquire the destination light group identification information carried in the current light group broadcast control instruction;
在所述当前设备的当前灯组标识信息与所述目的灯组标识信息匹配的情况下,通过所述无线通讯网络,广播所述当前灯组广播控制指令,并执行所述当前灯组广播控制指令;以及,在所述当前设备的当前灯组标识信息与所述目的灯组标识信息不匹配的情况下,不广播所述当前灯组广播控制指令。In the case that the current light group identification information of the current device matches the target light group identification information, broadcast the current light group broadcast control instruction through the wireless communication network, and execute the current light group broadcast control Instruction; and, in the case that the current lamp group identification information of the current device does not match the target lamp group identification information, not broadcasting the current lamp group broadcast control instruction.
在一些实施例中,所述装置包括:In some embodiments, the device includes:
接收模块,被配置为接收到第一设备发送的当前灯组广播控制指令;The receiving module is configured to receive the current light group broadcast control instruction sent by the first device;
获取模块,被配置为在当前设备为所述路由设备的情况下,若所述第一设备不是所述网关设备时,获取所述当前灯组广播控制指令携带的目的灯组标识信息;The acquisition module is configured to acquire the destination light group identification information carried in the current light group broadcast control instruction if the first device is not the gateway device when the current device is the routing device;
第一控制模块,被配置为在所述当前设备的当前灯组标识信息与所述目的灯组标识信息匹配的情况下,通过所述无线通讯网络,广播所述当前灯组广播控制指令,并执行所述当前灯组广播控制指令;以及,在所述当前设备的当前灯组标识信息与所述目的灯组标识信息不匹配的情况下,不广播所述当前灯组广播控制指令。The first control module is configured to broadcast the current light group broadcast control instruction through the wireless communication network when the current light group identification information of the current device matches the target light group identification information, and Execute the broadcast control instruction of the current light group; and, in the case that the identification information of the current light group of the current device does not match the identification information of the target light group, do not broadcast the broadcast control instruction of the current light group.
在一些实施例中,所述用于智能灯组设备控制的装置,包括处理器和存储有程序指令的存储器,所述处理器被配置为在执行所述程序指令时,执行上述用于智能灯组设备控制方法。In some embodiments, the device for intelligent lamp group equipment control includes a processor and a memory storing program instructions, and the processor is configured to execute the above-mentioned intelligent lamp control device when executing the program instructions. Group device control method.
在一些实施例中,所述设备,包括上述用于智能灯组设备控制的装置。In some embodiments, the device includes the above-mentioned device for controlling smart light group devices.
在一些实施例中,所述存储介质,存储有程序指令,所述程序指令在运行时,执行上述用于智能灯组设备控制的方法。In some embodiments, the storage medium stores program instructions, and when the program instructions are run, execute the above-mentioned method for controlling smart lamp group equipment.
本公开实施例提供的用于智能灯组设备控制方法、装置、设备和存储介质,可以实现以下技术效果:The method, device, device, and storage medium for intelligent lamp group equipment control provided by the embodiments of the present disclosure can achieve the following technical effects:
家居系统中,路由设备不是从网关设备接收到灯组广播控制指令后,需获取对应的目的灯组标识信息,在路由设备的灯组标识信息与目的灯组标识信息匹配的情况下,才会转发灯组广播控制指令,这样,不会有多个路由器设备重复转发广播控制指令,减少了通信量,也减少网络带宽的占用量,减少了通讯过程中漏控和丢包等问题出现的记录,提高了智能灯组控制的稳定性。In the home system, after the routing device receives the light group broadcast control command from the gateway device, it needs to obtain the corresponding destination light group identification information. Only when the light group identification information of the routing device matches the destination light group identification information Forward the broadcast control commands of the light group, so that multiple routers will not repeatedly forward the broadcast control commands, reducing the communication traffic, reducing the network bandwidth occupation, and reducing the records of problems such as leakage control and packet loss in the communication process , which improves the stability of smart light group control.
以上的总体描述和下文中的描述仅是示例性和解释性的,不用于限制本申请。The foregoing general description and the following description are exemplary and explanatory only and are not intended to limit the application.
附图说明Description of drawings
一个或多个实施例通过与之对应的附图进行示例性说明,这些示例性说明和附图并不构成对实施例的限定,附图中具有相同参考数字标号的元件示为类似的元件,附图不构成比例限制,并且其中:One or more embodiments are exemplified by the corresponding drawings, and these exemplifications and drawings do not constitute a limitation to the embodiments, and elements with the same reference numerals in the drawings are shown as similar elements, The drawings are not limited to scale and in which:
图1是本公开实施例提供的一种家居系统的结构示意图;FIG. 1 is a schematic structural diagram of a home system provided by an embodiment of the present disclosure;
图2是本公开实施例提供的一种用于智能灯组设备控制方法的流程示意图;Fig. 2 is a schematic flowchart of a method for controlling smart lamp group equipment provided by an embodiment of the present disclosure;
图3是本公开实施例提供的一种用于智能灯组设备控制方法的流程示意图;Fig. 3 is a schematic flowchart of a method for controlling smart lamp group equipment provided by an embodiment of the present disclosure;
图4是本公开实施例提供的一种用于智能灯组设备控制方法的流程示意图;Fig. 4 is a schematic flowchart of a method for controlling smart lamp group equipment provided by an embodiment of the present disclosure;
图5是本公开实施例提供的一种用于智能灯组设备上报控制方法的流程示意图;Fig. 5 is a schematic flowchart of a reporting control method for smart lamp group equipment provided by an embodiment of the present disclosure;
图6是本公开实施例提供的一种用于智能灯组设备控制装置的结构示意图;Fig. 6 is a schematic structural diagram of a control device for smart lamp group equipment provided by an embodiment of the present disclosure;
图7是本公开实施例提供的一种用于智能灯组设备控制装置的结构示意图。Fig. 7 is a schematic structural diagram of a control device for smart lamp group equipment provided by an embodiment of the present disclosure.
具体实施方式detailed description
为了能够更加详尽地了解本公开实施例的特点与技术内容,下面结合附图对本公开实施例的实现进行详细阐述,所附附图仅供参考说明之用,并非用来限定本公开实施例。在以下的技术描述中,为方便解释起见,通过多个细节以提供对所披露实施例的充分理解。然而,在没有这些细节的情况下,一个或多个实施例仍然可以实施。在其它情况下,为简化附图,熟知的结构和装置可以简化展示。In order to understand the characteristics and technical content of the embodiments of the present disclosure in more detail, the implementation of the embodiments of the present disclosure will be described in detail below in conjunction with the accompanying drawings. The attached drawings are only for reference and description, and are not intended to limit the embodiments of the present disclosure. In the following technical description, for purposes of explanation, numerous details are set forth in order to provide a thorough understanding of the disclosed embodiments. However, one or more embodiments may be practiced without these details. In other instances, well-known structures and devices may be shown simplified in order to simplify the drawings.
本公开实施例的说明书和权利要求书及上述附图中的术语“第一”、“第二”等是用于区别类似的对象,而不必用于描述特定的顺序或先后次序。应该理解这样使用的数据在适当情况下可以互换,以便这里描述的本公开实施例的实施例。此外,术语“包括”和“具有”以及他们的任何变形,意图在于覆盖不排他的包含。The terms "first", "second" and the like in the description and claims of the embodiments of the present disclosure and the above drawings are used to distinguish similar objects, and are not necessarily used to describe a specific sequence or sequence. It should be understood that the data so used may be interchanged under appropriate circumstances so as to facilitate the embodiments of the disclosed embodiments described herein. Furthermore, the terms "comprising" and "having", as well as any variations thereof, are intended to cover a non-exclusive inclusion.
除非另有说明,术语“多个”表示两个或两个以上。Unless stated otherwise, the term "plurality" means two or more.
本公开实施例中,字符“/”表示前后对象是一种“或”的关系。例如,A/B表示:A或B。In the embodiments of the present disclosure, the character "/" indicates that the preceding and following objects are an "or" relationship. For example, A/B means: A or B.
术语“和/或”是一种描述对象的关联关系,表示可以存在三种关系。例如,A和/或B,表示:A或B,或,A和B这三种关系。The term "and/or" is an associative relationship describing objects, indicating that there can be three relationships. For example, A and/or B means: A or B, or, A and B, these three relationships.
本公开实施例中,家居系统中有多个设备,包括:网关设备、路由器设备以及智能灯组设备,这些设备之间可进行无线通讯,即这些设备可处于无线通讯网络之中。当然,家居环境有大有小,因此,可有一个、两个或多个路由器设备,以及一个、两个或多个智能灯组设备,并且,一个路由器设备可与一个、两个或多个智能灯组设备处于同一组内,具有相同的群组标识信息,即灯组标识信息。In the embodiment of the present disclosure, there are multiple devices in the home system, including: a gateway device, a router device, and a smart light group device. These devices can communicate wirelessly, that is, these devices can be in a wireless communication network. Of course, home environments vary in size, so there can be one, two or more router devices, and one, two or more smart light group devices, and one router device can be connected with one, two or more The smart light group devices are in the same group and have the same group identification information, that is, the light group identification information.
由于路由设备、智能灯组设备等都对应有灯组标识信息,从而,路由设备不是从而网关设备接收到灯组广播控制指令后,需获取对应的目的灯组标识信息,在路由设备的灯组标识信息与目的灯组标识信息匹配的情况下,才会转发灯组广播控制指令,这样,不会有多个路由器设备重复转发广播控制指令,减少了通信量,也减少网络带宽的占用量,减少了通讯过程中漏控和丢包等问题出现的记录,提高了智能灯组控制的稳定性。另外,若在设定时间内重复接收到相同控制类型的灯组广播控制指令,设备也不会重复上报执行后的设备状态信息,进一步减少通信量,进一步提高了智能灯组控制的稳定性。Since routing devices, smart light group devices, etc. all have corresponding light group identification information, the routing device does not need to obtain the corresponding destination light group identification information after receiving the light group broadcast control command. Only when the identification information matches the identification information of the destination light group, the broadcast control command of the light group will be forwarded. In this way, multiple router devices will not repeatedly forward the broadcast control command, which reduces the amount of communication and the occupation of network bandwidth. It reduces the records of problems such as leakage control and packet loss during the communication process, and improves the stability of the intelligent light group control. In addition, if the light group broadcast control command of the same control type is repeatedly received within the set time, the device will not repeatedly report the executed device status information, further reducing communication traffic, and further improving the stability of smart light group control.
本公开实施例中,家居系统可包括:网关设备、一个、两个或多个路由器设备、一个或多个智能灯组设备。其中,设备之间可通过有线或无线的不同拓扑结构的连接,实现通信互通,例如:网状结构,星型结构等等,这样,设备之间可基于红外、蓝牙、紫蜂、局域网等中的一种或多种通讯技术进行通信互通。In the embodiment of the present disclosure, the home system may include: a gateway device, one, two or more router devices, and one or more smart light group devices. Among them, the communication between devices can be realized through wired or wireless connections of different topological structures, such as: mesh structure, star structure, etc. In this way, devices can be based on infrared, Bluetooth, Zigbee, LAN, etc. One or more communication technologies for communication and interoperability.
图1是本公开实施例提供的一种用于家居系统的结构示意图。如图1所示,该家居系统可包括:网关设备100,多个路由设备200,以及多个智能灯组设备300。Fig. 1 is a schematic structural diagram of a household system provided by an embodiment of the present disclosure. As shown in FIG. 1 , the home system may include: a
其中,网关设备100可分别与路由设备200以及智能灯组设备300通信,路由设备200之间、路由设备200与智能灯组设备300之间也都可进行通讯,并且,一个路由器设备200可与一个、两个或多个智能灯组设备处于同一组内,具有相同的组标识信息,即灯组标识信息。其中,设备之间可基于红外、蓝牙、紫蜂、局域网等中的一种或多种通讯技术进行通信互通。如图1所示,设备之间可基于紫蜂Zigbee通讯技术进行通讯互通,即设备处于Zigbee网络中。Among them, the
网关设备100可在Zigbee网络中广播发送灯组广播控制指令,并且,灯组广播控制指令中携带了目的灯组标识信息,即指示那组智能灯组是需要被控制的智能灯组。The
路由器设备200可Zigbee网络中广播转发从而网关设备100得到的灯组广播控制指令。但是,路由设备200之间也互相通讯,因此,一个路由设备200也可从其他路由设备200接收到灯组广播控制指令,在本公开实施例中,路由设备200不是从而网关设备100接收到灯组广播控制指令时,不是直接转发灯组广播控制指令,而是需获取对应的目的灯组标识信息,在路由设备的灯组标识信息与目的灯组标识信息匹配的情况下,才会转发灯组广播控制指令,这样,不会有多个路由器设备重复转发广播控制指令,减少了通信量,也减少网络带宽的占用量,减少了通讯过程中漏控和丢包等问题出现的记录,提高了智能灯组控制的稳定性。The
当然,智能灯组设备300可也从Zigbee网络中接收到灯组广播控制指令,它们不再广播转发灯组广播控制指令,而是在智能灯组的灯组标识信息与目的灯组标识信息匹配的情况下,执行灯组广播控制指令。Of course, the smart
路由设备200以及智能灯组设备300在确定设备的灯组标识信息与目的灯组标识信息匹配的情况下,执行灯组广播控制指令后,还可向网关设备100上报执行后的设备状态信息。本公开实施例中,可预先配置设备的上报信息的模式,可配置为不需要进行应答ACK模式。即可配置设备状态信息的模式为不需要进行应答模式。这样,路由设备200以及智能灯组设备300向网关设备100上报了执行后的设备状态信息后,网关设备100可不应答了,这样也减少了通信数据量,当然也就减少网络带宽的占用量,提高了智能灯组控制的稳定性。When the
在一些实施例中,网关设备100可能会频繁下发控制色温亮度的广播指令,这样,如果设定时间内,路由设备200或智能灯组设备300接收到相同控制类型的灯组广播控制指令,则路由设备200或智能灯组设备300不需要每执行一个灯组广播控制指令,就上报对应的设备状态信息,只上报最终状态即可。即在接收到当前灯组广播控制指令后设定时间内未接收到下一灯组广播控制指令的情况下,向网关设备上报执行后的当前设备状态信息;或,在接收到当前灯组广播控制指令后设定时间内接收到下一灯组广播控制指令的情况下,若下一灯组广播控制指令与当前灯组广播控制指令的控制类型不一致时,向网关设备上报执行后的当前设备状态信息。可见,对于相同控制类型的灯组广播控制指令,不需要重复多次上报设备状态信息,减少了控制和上报的数据量,进一步提高了智能灯组控制的稳定性。In some embodiments, the
在家居系统中,可通过灯组广播控制指令,实现对智能灯组设备的控制。In the home system, the control commands of the smart light group equipment can be realized through the light group broadcast control command.
图2是本公开实施例提供的一种用于智能灯组设备控制方法的流程示意图。当然,应用于家居系统中,如图2所示,家居系统智能灯组设备控制的过程包括:Fig. 2 is a schematic flowchart of a method for controlling smart lamp group equipment provided by an embodiment of the present disclosure. Of course, when applied to the home system, as shown in Figure 2, the process of controlling the smart light group equipment in the home system includes:
步骤201:接收到第一设备发送的当前灯组广播控制指令。Step 201: Receive the broadcast control instruction of the current lamp group sent by the first device.
家居系统中,设备处于无线通讯网络中。用户通过控制器或终端控制应用APP发送了控制指令后,网关设备可广播发送对应的灯组广播控制指令,从而,处于无线通讯网络中的路由设备以及智能灯组设备中一个、两个或多个设备可接收到网关设备广播发送的灯组广播控制指令,并且,路由设备可与广播转发灯组广播控制指令,因此,家居系统中,路由设备或智能灯组设备可接收第一设备发送的灯组广播控制指令,即当前时刻,当前设备可接收第一设备发送的当前灯组广播控制指令,其中,第一设备可为网关设备,也可不为网关设备;当前设备可为路由设备或智能灯组设备。In the home system, the equipment is in the wireless communication network. After the user sends the control command through the controller or the terminal control application APP, the gateway device can broadcast and send the corresponding light group broadcast control command, so that one, two or more of the routing devices and smart light group devices in the wireless communication network A device can receive the light group broadcast control command broadcasted by the gateway device, and the routing device can forward the light group broadcast control command with the broadcast. Therefore, in the home system, the routing device or the smart light group device can receive the light group broadcast control command sent by the first device. Light group broadcast control command, that is, at the current moment, the current device can receive the current light group broadcast control command sent by the first device, where the first device may be a gateway device or may not be a gateway device; the current device may be a routing device or a smart Lighting equipment.
步骤202:在当前设备为路由设备的情况下,若第一设备不是网关设备时,获取当前灯组广播控制指令携带的目的灯组标识信息。Step 202: In the case that the current device is a routing device, if the first device is not a gateway device, obtain the destination light group identification information carried in the current light group broadcast control command.
本公开实施例中,第一设备可为网关设备,也可不为网关设备;当前设备可为路由设备或智能灯组设备。因此,不同的第一设备,不同的当前设备,对应的控制过程不同。其中,若当前设备为路由设备,且第一设备不是网关设备时,可获取当前灯组广播控制指令携带的目的灯组标识信息。In the embodiment of the present disclosure, the first device may or may not be a gateway device; the current device may be a routing device or a smart light group device. Therefore, different first devices and different current devices have different corresponding control processes. Wherein, if the current device is a routing device and the first device is not a gateway device, the destination light group identification information carried in the current light group broadcast control command may be obtained.
家居系统中,每个设备都有对应的设备标识信息,其中,由于一个路由器设备与一个、两个或多个智能灯组设备可组成一个智能灯组群,因此,每个设备的设备标识信息中还包括:灯组标识信息,其中,同一群组中的路由器设备和智能灯组设备的灯组标识信息相同。因此,网关广播发送当前灯组广播控制指令时,当前灯组广播控制指令中携带了待控制设备所在群组的目的灯组标识信息,这样,在当前设备为路由设备的情况下,若第一设备不是网关设备时,获取当前灯组广播控制指令携带的目的灯组标识信息。In the home system, each device has corresponding device identification information. Since one router device and one, two or more smart light group devices can form a smart light group, the device identification information of each device Also includes: light group identification information, wherein the light group identification information of the router device and the smart light group device in the same group are the same. Therefore, when the gateway broadcasts the current light group broadcast control command, the current light group broadcast control command carries the target light group identification information of the group where the device to be controlled is located. In this way, when the current device is a routing device, if the first When the device is not a gateway device, obtain the destination light group identification information carried in the current light group broadcast control command.
步骤203:在当前设备的当前灯组标识信息与目的灯组标识信息匹配的情况下,通过无线通讯网络,广播当前灯组广播控制指令,并执行当前灯组广播控制指令;以及,在当前设备的当前灯组标识信息与目的灯组标识信息不匹配的情况下,不广播当前灯组广播控制指令。Step 203: In the case that the identification information of the current lamp group of the current device matches the identification information of the target lamp group, broadcast the broadcast control instruction of the current lamp group through the wireless communication network, and execute the broadcast control instruction of the current lamp group; and, in the current device If the identification information of the current lamp group does not match the identification information of the target lamp group, the current lamp group broadcast control command will not be broadcast.
当前设备为路由设备,当前路由设备的当前灯组标识信息与目的灯组标识信息匹配时,当前路由设备不仅可通过无线通讯网络,广播当前灯组广播控制指令,还可执行当前灯组广播控制指令。而若当前灯组标识信息与目的灯组标识信息不匹配时,当前路由设备则不再继续广播转发当前灯组广播控制指令,当然,也不能执行当前灯组广播控制指令。The current device is a routing device, and when the identification information of the current light group of the current routing device matches the identification information of the destination light group, the current routing device can not only broadcast the broadcast control command of the current light group through the wireless communication network, but also execute the broadcast control of the current light group instruction. And if the identification information of the current light group does not match the identification information of the target light group, the current routing device will not continue to broadcast and forward the broadcast control command of the current light group, and of course, cannot execute the broadcast control command of the current light group.
可见,对于路由器设备,不是从而网关设备接收到当前灯组广播控制指令后,需获取对应的目的灯组标识信息,在路由设备的灯组标识信息与目的灯组标识信息匹配的情况下,才会转发当前灯组广播控制指令,这样,不会有多个路由器设备重复转发广播控制指令,减少了通信量,也减少网络带宽的占用量,减少了通讯过程中漏控和丢包等问题出现的记录,提高了智能灯组控制的稳定性。It can be seen that for the router device, after receiving the broadcast control command of the current light group, the gateway device needs to obtain the corresponding destination light group identification information, and only when the light group identification information of the routing device matches the destination light group identification information It will forward the broadcast control command of the current light group, so that multiple router devices will not repeatedly forward the broadcast control command, which reduces the communication traffic, reduces the network bandwidth occupation, and reduces the occurrence of leakage control and packet loss in the communication process. records, which improves the stability of smart light group control.
由于不同的第一设备,不同的当前设备,对应的控制过程不同。因此,在一些实施例中,在当前设备为路由设备的情况下,若第一设备是网关设备时,通过无线通讯网络,广播当前灯组广播控制指令,并获取当前灯组广播控制指令携带的目的灯组标识信息;在当前设备的当前灯组标识信息与目的灯组标识信息匹配的情况下,执行当前灯组广播控制指令。Due to different first devices and different current devices, the corresponding control processes are different. Therefore, in some embodiments, when the current device is a routing device, if the first device is a gateway device, the current light group broadcast control command is broadcast through the wireless communication network, and the current light group broadcast control command is obtained. Identification information of the target light group; when the identification information of the current light group of the current device matches the identification information of the target light group, execute the broadcast control instruction of the current light group.
若当前设备为路由设备,且第一设备是网关设备时,当前设备首先需要广播转发接收到的当前灯组广播控制指令,然后,在当前设备的当前灯组标识信息与目的灯组标识信息匹配的情况下,执行当前灯组广播控制指令,当然,两者不匹配时,也不执行当前灯组广播控制指令。If the current device is a routing device and the first device is a gateway device, the current device first needs to broadcast and forward the received current light group broadcast control command, and then match the current light group identification information of the current device with the target light group identification information In the case of , execute the broadcast control command of the current lamp group. Of course, if the two do not match, the broadcast control command of the current lamp group will not be executed.
在一些实施例中,在当前设备为智能灯组设备的情况下,获取当前灯组广播控制指令携带的目的灯组标识信息;在当前设备的当前灯组标识信息与目的灯组标识信息匹配的情况下,执行当前灯组广播控制指令。In some embodiments, when the current device is a smart light group device, the target light group identification information carried by the current light group broadcast control command is obtained; when the current light group identification information of the current device matches the target light group identification information In this case, execute the broadcast control command of the current lamp group.
若当前设备为智能灯组设备,无论第一设备是不是网关设备,当前的智能灯组设备都需要获取当前灯组广播控制指令携带的目的灯组标识信息,当然,当前设备的当前灯组标识信息与目的灯组标识信息匹配时,执行当前灯组广播控制指令;而若两种不匹配时,则不需要执行当前灯组广播控制指令。If the current device is a smart light group device, no matter whether the first device is a gateway device or not, the current smart light group device needs to obtain the destination light group identification information carried by the current light group broadcast control command. Of course, the current light group ID of the current device When the information matches the target lamp group identification information, the current lamp group broadcast control instruction is executed; and if the two do not match, the current lamp group broadcast control instruction does not need to be executed.
在家居系统中,无论是路由设备还是网关设备,在执行当前灯组广播控制指令之后,还可过无线通讯网络,向网关设备上报执行后的当前设备状态信息。In the home system, whether it is a routing device or a gateway device, after executing the current light group broadcast control command, it can also report the current device status information after execution to the gateway device through the wireless communication network.
本公开一些实施例中,可预先配置上报信令的模式,可配置为不应答ACK模式,即可配置设备状态信息的模式为不需要进行应答模式。这样,网关设备接收到上报的当前设备状态信息后,并需要向路由器设备或智能灯组设备返回应答消息,这样,进一步减少家居系统中的通信量,提高了智能灯组控制的稳定性。In some embodiments of the present disclosure, the signaling reporting mode can be pre-configured, and can be configured as a non-acknowledgment ACK mode, that is, the mode of device status information can be configured as a mode that does not require an acknowledgment. In this way, after the gateway device receives the reported current device status information, it needs to return a response message to the router device or the smart light group device. In this way, the communication traffic in the home system is further reduced, and the stability of the smart light group control is improved.
在网关设备设定时间重复下发同一个灯组广播控制指令,或者,下发同一控制类型的灯组广播控制指令时,路由器设备或智能灯组设备不需要重复上报执行后的设备状态信息。在一些实施例中,在接收到当前灯组广播控制指令后设定时间内未接收到下一灯组广播控制指令的情况下,向网关设备上报执行后的当前设备状态信息;在接收到当前灯组广播控制指令后设定时间内接收到下一灯组广播控制指令的情况下,若下一灯组广播控制指令与当前灯组广播控制指令的控制类型不一致时,向网关设备上报执行后的当前设备状态信息。When the gateway device repeatedly sends the same light group broadcast control command, or sends the same control type of light group broadcast control command, the router device or the smart light group device does not need to repeatedly report the device status information after execution. In some embodiments, if the next light group broadcast control command is not received within a set time after receiving the current light group broadcast control command, the current device status information after execution is reported to the gateway device; When the next light group broadcast control command is received within the set time after the light group broadcast control command, if the control type of the next light group broadcast control command is inconsistent with the current light group broadcast control command, it will report to the gateway device after execution current device status information.
设定时间可为1、2、3或5秒等等。若网关设备频繁下发控制色温亮度的广播指令,这样,可能在设定时间2秒内接收了两个或多个灯组广播控制指令,并且,这些灯组广播控制指令的控制类型都是控制色温亮度,因此,可不向网关设备上报执行后的当前设备状态信息;而在接收到最后一个控制色温亮度的灯组广播控制指令后,设定时间2秒内未收到下一灯组广播控制指令,或者,下一灯组广播控制指令不是控制色温亮度时,可向网关设备上报执行后的当前设备状态信息。The set time can be 1, 2, 3 or 5 seconds and so on. If the gateway device frequently sends broadcast commands to control color temperature and brightness, it may receive two or more broadcast control commands for light groups within 2 seconds of the set time, and the control types of these light group broadcast control commands are control Color temperature and brightness, therefore, the current device status information after execution may not be reported to the gateway device; after receiving the last light group broadcast control command to control color temperature and brightness, the next light group broadcast control has not been received within 2 seconds of the set time command, or when the next light group broadcast control command is not to control the color temperature and brightness, the current device status information after execution can be reported to the gateway device.
可见,对于相同控制类型的灯组广播控制指令,不需要重复多次上报设备状态信息,减少了控制和上报的数据量,进一步提高了智能灯组控制的稳定性。It can be seen that for the same control type of lamp group broadcast control commands, there is no need to repeatedly report device status information, which reduces the amount of control and reported data, and further improves the stability of intelligent lamp group control.
下面将操作流程集合到具体实施例中,举例说明本公开实施例提供的用于家居系统智能灯组设备控制过程。In the following, the operation process is integrated into a specific embodiment to illustrate the control process of the smart light group device used in the home system provided by the embodiment of the present disclosure.
本实施例中,家居系统的结构可如图1所示,包括:处于Zigbee网络中的网关设备100、多个路由设备200,以及多个智能灯组设备300。其中每个路由设备可与一个、两个或多个智能灯组设备处于同一群组中,即具有相同的灯组标识信息。In this embodiment, the structure of the home system can be shown in FIG. 1 , including: a
图3是本公开实施例提供的一种用于智能灯组设备控制方法的流程示意图。应用于家居系统的路由设备中,结合图3,智能灯组设备控制的过程包括:Fig. 3 is a schematic flowchart of a method for controlling smart lamp group equipment provided by an embodiment of the present disclosure. Applied to the routing device of the home system, referring to Figure 3, the process of controlling the smart light group device includes:
步骤301:接收到第一设备发送的当前灯组广播控制指令。Step 301: Receive the broadcast control instruction of the current lamp group sent by the first device.
步骤302:判断第一设备是否为网关设备?若是,执行步骤303,否则,执行步骤。Step 302: Determine whether the first device is a gateway device? If yes, perform step 303, otherwise, perform step 303.
步骤303:通过Zigbee网络,广播转发当前灯组广播控制指令。Step 303: broadcast and forward the broadcast control command of the current light group through the Zigbee network.
步骤304:获取当前灯组广播控制指令携带的目的灯组标识信息。Step 304: Obtain the target lamp group identification information carried in the current lamp group broadcast control instruction.
步骤305:判断当前设备的当前灯组标识信息与目的灯组标识信息是否匹配?若是,执行步骤306,否则,流程结束。Step 305: Determine whether the identification information of the current lamp group of the current device matches the identification information of the target lamp group? If yes, execute
步骤306:执行当前灯组广播控制指令。转入步骤310。Step 306: Execute the broadcast control instruction of the current light group. Go to step 310.
步骤307:获取当前灯组广播控制指令携带的目的灯组标识信息。Step 307: Obtain the target lamp group identification information carried in the current lamp group broadcast control instruction.
步骤308:判断当前设备的当前灯组标识信息与目的灯组标识信息是否匹配?若是,执行步骤309,否则,流程结束。Step 308: Determine whether the identification information of the current lamp group of the current device matches the identification information of the target lamp group? If yes, execute
步骤309:通过Zigbee网络,广播转发当前灯组广播控制指令,并执行当前灯组广播控制指令。转入步骤310。Step 309: Broadcast and forward the broadcast control command of the current light group through the Zigbee network, and execute the broadcast control command of the current light group. Go to step 310.
步骤310:通过Zigbee网络,向网关设备上报执行后的当前设备状态信息。Step 310: Report current device state information after execution to the gateway device through the Zigbee network.
可见,本实施例中,家居系统中,路由设备不是从网关设备接收到灯组广播控制指令后,需获取对应的目的灯组标识信息,在路由设备的灯组标识信息与目的灯组标识信息匹配的情况下,才会转发灯组广播控制指令,这样,不会有多个路由器设备重复转发广播控制指令,减少了通信量,也减少网络带宽的占用量,减少了通讯过程中漏控和丢包等问题出现的记录,提高了智能灯组控制的稳定性。It can be seen that in this embodiment, in the home system, the routing device does not need to obtain the corresponding destination light group identification information after receiving the light group broadcast control command from the gateway device. The light group identification information of the routing device and the destination light group identification information In the case of a match, the broadcast control command of the light group will be forwarded. In this way, multiple router devices will not repeatedly forward the broadcast control command, which reduces the communication traffic, reduces the network bandwidth occupation, and reduces the leakage control and communication during the communication process. Records of problems such as packet loss have improved the stability of smart light group control.
图4是本公开实施例提供的一种用于智能灯组设备控制方法的流程示意图。应用于家居系统的智能灯组设备中,结合图4,智能灯组设备控制的过程包括:Fig. 4 is a schematic flowchart of a method for controlling smart lamp group equipment provided by an embodiment of the present disclosure. In the smart light group equipment applied to the home system, referring to Figure 4, the control process of the smart light group device includes:
步骤401:接收到第一设备发送的当前灯组广播控制指令。Step 401: Receive the broadcast control instruction of the current lamp group sent by the first device.
步骤402:获取当前灯组广播控制指令携带的目的灯组标识信息。Step 402: Obtain the target lamp group identification information carried in the current lamp group broadcast control command.
步骤403:判断当前设备的当前灯组标识信息与目的灯组标识信息是否匹配?若是,执行步骤404,否则,流程结束。Step 403: Determine whether the identification information of the current lamp group of the current device matches the identification information of the target lamp group? If yes, execute
步骤404:执行当前灯组广播控制指令。Step 404: Execute the broadcast control instruction of the current light group.
步骤405:通过Zigbee网络,向网关设备上报执行后的当前设备状态信息。Step 405: Report current device state information after execution to the gateway device through the Zigbee network.
可见,本实施例中,家居系统中,智能灯组设备接收到灯组广播控制指令后,在智能灯组设备的灯组标识信息与目的灯组标识信息匹配的情况下,可执行当前灯组广播控制指令,实现了智能灯组的智能控制。It can be seen that in this embodiment, in the home system, after the smart light group device receives the light group broadcast control command, if the light group identification information of the smart light group device matches the target light group identification information, it can execute the current light group The broadcast control command realizes the intelligent control of the intelligent light group.
在如图1所示家居系统中,无论是路由设备还是网关设备,在执行当前灯组广播控制指令之后,还可过Zigbee网络,向网关设备上报执行后的当前设备状态信息。其中,可预先配置上报信令的模式,可配置为不应答ACK模式,即可配置设备状态信息的模式为不需要进行应答模式。设定时间可为1秒。In the home system shown in Figure 1, whether it is a routing device or a gateway device, after executing the current light group broadcast control command, it can also report the current device status information after execution to the gateway device through the Zigbee network. Among them, the mode of reporting signaling can be pre-configured, and can be configured as a non-acknowledgment ACK mode, that is, the mode of configuring the device status information as a mode that does not need to respond. The setting time can be 1 second.
图5是本公开实施例提供的一种用于智能灯组设备上报控制的流程示意图。应用于家居系统的智能灯组设备执行当前灯组广播控制指令之后,结合图5,智能灯组设备上报控制的过程包括:Fig. 5 is a schematic flow chart for reporting control of smart light group devices provided by an embodiment of the present disclosure. After the smart light group device applied to the home system executes the current light group broadcast control command, referring to Figure 5, the process of reporting and controlling the smart light group device includes:
步骤501:判断接收到当前灯组广播控制指令后1秒内是否接收到下一灯组广播控制指令?若是,执行步骤502,否则,执行步骤503。Step 501: Determine whether the broadcast control command for the next light group is received within 1 second after receiving the broadcast control command for the current light group? If yes, go to step 502; otherwise, go to step 503.
步骤502:判断下一灯组广播控制指令与当前灯组广播控制指令的控制类型是否一致?若是,则上报流程结束,否则,执行步骤503。Step 502: Determine whether the control type of the next light group broadcast control command is consistent with the current light group broadcast control command? If yes, the reporting process ends; otherwise,
步骤503:通过Zigbee网络,向网关设备上报执行后的当前设备状态信息。Step 503: Report current device state information after execution to the gateway device through the Zigbee network.
可见,本实施例中,对于相同控制类型的灯组广播控制指令,不需要重复多次上报设备状态信息,减少了控制和上报的数据量,进一步提高了智能灯组控制的稳定性。It can be seen that in this embodiment, for the lamp groups of the same control type to broadcast control commands, there is no need to repeatedly report the device status information, which reduces the amount of data for control and reporting, and further improves the stability of intelligent lamp group control.
根据上述用于家居系统智能灯组设备控制的过程,可构建一种用于家居系统智能灯组设备控制的装置。According to the above-mentioned process for controlling the smart light group equipment in the home system, a device for controlling the smart light group equipment in the home system can be constructed.
图6是本公开实施例提供的一种用于家居系统智能灯组设备控制装置的结构示意图。家居系统包括:处于无线通讯网络中的网关设备、一个或多个路由器设备、以及一个或多个智能灯组设备,如图6所示,用于智能灯组设备控制装置包括:接收模块610、获取模块620和第一控制模块630。Fig. 6 is a schematic structural diagram of a control device for smart light group equipment in a home system provided by an embodiment of the present disclosure. The home system includes: a gateway device in a wireless communication network, one or more router devices, and one or more smart light group devices. As shown in FIG. 6 , the control device for smart light group devices includes: a receiving
其中,在一些实施例中,在用于智能灯组设备控制装置应用于路由器设备的情况下,各个模块具体配置如下:Among them, in some embodiments, in the case where the control device for smart light group equipment is applied to router equipment, the specific configuration of each module is as follows:
接收模块610,被配置为接收到第一设备发送的当前灯组广播控制指令。The receiving
获取模块620,被配置为在当前设备为路由设备的情况下,若第一设备不是网关设备时,获取当前灯组广播控制指令携带的目的灯组标识信息。The obtaining
第一控制模块630,被配置为在当前设备的当前灯组标识信息与目的灯组标识信息匹配的情况下,通过无线通讯网络,广播当前灯组广播控制指令,并执行当前灯组广播控制指令;以及,在当前设备的当前灯组标识信息与目的灯组标识信息不匹配的情况下,不广播当前灯组广播控制指令。The
在一些实施例中,还包括:In some embodiments, also include:
第二控制模块,被配置为在当前设备为路由设备的情况下,若第一设备是网关设备时,通过无线通讯网络,广播当前灯组广播控制指令,并获取当前灯组广播控制指令携带的目的灯组标识信息;在当前设备的当前灯组标识信息与目的灯组标识信息匹配的情况下,执行当前灯组广播控制指令。The second control module is configured to, when the current device is a routing device, and if the first device is a gateway device, broadcast the broadcast control command of the current light group through the wireless communication network, and obtain the information carried by the broadcast control command of the current light group Identification information of the target light group; when the identification information of the current light group of the current device matches the identification information of the target light group, execute the broadcast control instruction of the current light group.
在一些实施例中,还包括:In some embodiments, also include:
上报模块,被配置为通过无线通讯网络,向网关设备上报执行后的当前设备状态信息。The reporting module is configured to report current device state information after execution to the gateway device through the wireless communication network.
在一些实施例中,还包括:In some embodiments, also include:
配置模块,被配置为配置设备状态信息的模式为不需要进行应答模式。The configuration module is configured to configure the mode of device status information as a mode that does not need to respond.
在一些实施例中,上报模块,具体被配置为在接收到当前灯组广播控制指令后设定时间内未接收到下一灯组广播控制指令的情况下,向网关设备上报执行后的当前设备状态信息;在接收到当前灯组广播控制指令后设定时间内接收到下一灯组广播控制指令的情况下,若下一灯组广播控制指令与当前灯组广播控制指令的控制类型不一致时,向网关设备上报执行后的当前设备状态信息。In some embodiments, the reporting module is specifically configured to report the executed current device to the gateway device in the case that the next broadcast control instruction of the current lamp group is not received within a set time after receiving the broadcast control instruction of the current lamp group. Status information; if the broadcast control command of the next light group is received within the set time after receiving the broadcast control command of the current light group, if the control type of the broadcast control command of the next light group is inconsistent with the control type of the broadcast control command of the current light group , report the current device status information after execution to the gateway device.
在一些实施例中,在用于智能灯组设备控制装置应用于智能灯组设备的情况下,各个模块具体配置如下:In some embodiments, in the case where the control device for the smart light set equipment is applied to the smart light set equipment, the specific configuration of each module is as follows:
接收模块610,被配置为接收到第一设备发送的当前灯组广播控制指令。The receiving
获取模块620,被配置为在当前设备为智能灯组设备的情况下,获取当前灯组广播控制指令携带的目的灯组标识信息。The obtaining
第一控制模块630,被配置为在当前设备的当前灯组标识信息与目的灯组标识信息匹配的情况下,执行当前灯组广播控制指令。The
当然,在用于智能灯组设备控制装置应用于智能灯组设备的情况下,也可包括:上报模块以及配置模块,具体就不一一列举了。Certainly, in the case where the control device for the smart light set equipment is applied to the smart light set equipment, it may also include: a reporting module and a configuration module, which will not be listed one by one.
可见,本实施例中,家居系统中,路由设备不是从网关设备接收到灯组广播控制指令后,用于智能灯组设备控制的装置需获取对应的目的灯组标识信息,在路由设备的灯组标识信息与目的灯组标识信息匹配的情况下,才会转发灯组广播控制指令,这样,不会有多个路由器设备重复转发广播控制指令,减少了通信量,也减少网络带宽的占用量,减少了通讯过程中漏控和丢包等问题出现的记录,提高了智能灯组控制的稳定性。当然,对于相同控制类型的灯组广播控制指令,也不需要重复多次上报设备状态信息,减少了控制和上报的数据量,进一步提高了智能灯组控制的稳定性。It can be seen that in this embodiment, in the home system, after the routing device receives the light group broadcast control command from the gateway device, the device used to control the smart light group device needs to obtain the corresponding destination light group identification information. Only when the group identification information matches the destination light group identification information, the light group broadcast control command will be forwarded. In this way, multiple router devices will not repeatedly forward the broadcast control command, which reduces communication traffic and reduces network bandwidth usage. , reducing the records of problems such as leakage control and packet loss in the communication process, and improving the stability of the control of the intelligent light group. Of course, for the same control type of light group broadcast control commands, there is no need to repeatedly report device status information, which reduces the amount of control and reporting data, and further improves the stability of smart light group control.
本公开实施例提供了一种用于智能灯组设备控制的装置,其结构如图7所示,包括:An embodiment of the present disclosure provides a device for controlling smart light group equipment, the structure of which is shown in Figure 7, including:
处理器(processor)1000和存储器(memory)1001,还可以包括通信接口(Communication Interface)1002和总线1003。其中,处理器1000、通信接口1002、存储器1001可以通过总线1003完成相互间的通信。通信接口1002可以用于信息传输。处理器1000可以调用存储器1001中的逻辑指令,以执行上述实施例的用于智能灯组设备控制的方法。A processor (processor) 1000 and a memory (memory) 1001 may also include a communication interface (Communication Interface) 1002 and a
此外,上述的存储器1001中的逻辑指令可以通过软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。In addition, the above logic instructions in the
存储器1001作为一种计算机可读存储介质,可用于存储软件程序、计算机可执行程序,如本公开实施例中的方法对应的程序指令/模块。处理器1000通过运行存储在存储器1001中的程序指令/模块,从而执行功能应用以及数据处理,即实现上述方法实施例中的用于智能灯组设备控制的方法。The
存储器1001可包括存储程序区和存储数据区,其中,存储程序区可存储操作系统、至少一个功能所需的应用程序;存储数据区可存储根据终端设备的使用所创建的数据等。此外,存储器1001可以包括高速随机存取存储器,还可以包括非易失性存储器。The
本公开实施例提供了一种用于智能灯组设备控制装置,包括:处理器和存储有程序指令的存储器,处理器被配置为在执行程序指令时,执行用于智能灯组设备控制方法。An embodiment of the present disclosure provides a device control device for a smart lamp group, including: a processor and a memory storing program instructions, and the processor is configured to execute a method for controlling smart lamp group devices when executing the program instructions.
本公开实施例提供了一种设备,包括上述用于智能灯组设备控制装置。其中,设备可为路由器设备或智能灯组设备。An embodiment of the present disclosure provides a device, including the above device control device for a smart light group. Wherein, the device may be a router device or a smart light group device.
本公开实施例提供了一种存储介质,存储有程序指令,所述程序指令在运行时,执行上述用于智能灯组设备控制方法。An embodiment of the present disclosure provides a storage medium, which stores program instructions, and when the program instructions are run, execute the above-mentioned method for controlling a smart lamp group device.
本公开实施例提供了一种计算机程序产品,所述计算机程序产品包括存储在计算机可读存储介质上的计算机程序,所述计算机程序包括程序指令,当所述程序指令被计算机执行时,使所述计算机执行上述用于智能灯组设备控制方法。An embodiment of the present disclosure provides a computer program product, the computer program product includes a computer program stored on a computer-readable storage medium, the computer program includes program instructions, and when the program instructions are executed by a computer, the The computer executes the above-mentioned control method for the intelligent lamp group equipment.
上述的存储介质可以是暂态计算机可读存储介质,也可以是非暂态计算机可读存储介质。The above-mentioned storage medium may be a transitory computer-readable storage medium, or a non-transitory computer-readable storage medium.
本公开实施例的技术方案可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括一个或多个指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行本公开实施例所述方法的全部或部分步骤。而前述的存储介质可以是非暂态存储介质,包括:U盘、移动硬盘、只读存储器(ROM,Read-Only Memory)、随机存取存储器(RAM,Random Access Memory)、磁碟或者光盘等多种可以存储程序代码的介质,也可以是暂态存储介质。The technical solutions of the embodiments of the present disclosure can be embodied in the form of software products, which are stored in a storage medium and include one or more instructions to make a computer device (which can be a personal computer, a server, or a network equipment, etc.) to perform all or part of the steps of the method described in the embodiments of the present disclosure. The aforementioned storage medium can be a non-transitory storage medium, including: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), magnetic disk or optical disk, etc. A medium that can store program code, or a transitory storage medium.
以上描述和附图充分地示出了本公开的实施例,以使本领域的技术人员能够实践它们。其他实施例可以包括结构的、逻辑的、电气的、过程的以及其他的改变。实施例仅代表可能的变化。除非明确要求,否则单独的部件和功能是可选的,并且操作的顺序可以变化。一些实施例的部分和特征可以被包括在或替换其他实施例的部分和特征。本公开实施例的范围包括权利要求书的整个范围,以及权利要求书的所有可获得的等同物。当用于本申请中时,虽然术语“第一”、“第二”等可能会在本申请中使用以描述各元件,但这些元件不应受到这些术语的限制。这些术语仅用于将一个元件与另一个元件区别开。比如,在不改变描述的含义的情况下,第一元件可以叫做第二元件,并且同样第,第二元件可以叫做第一元件,只要所有出现的“第一元件”一致重命名并且所有出现的“第二元件”一致重命名即可。第一元件和第二元件都是元件,但可以不是相同的元件。而且,本申请中使用的用词仅用于描述实施例并且不用于限制权利要求。如在实施例以及权利要求的描述中使用的,除非上下文清楚地表明,否则单数形式的“一个”(a)、“一个”(an)和“所述”(the)旨在同样包括复数形式。类似地,如在本申请中所使用的术语“和/或”是指包含一个或一个以上相关联的列出的任何以及所有可能的组合。另外,当用于本申请中时,术语“包括”(comprise)及其变型“包括”(comprises)和/或包括(comprising)等指陈述的特征、整体、步骤、操作、元素,和/或组件的存在,但不排除一个或一个以上其它特征、整体、步骤、操作、元素、组件和/或这些的分组的存在或添加。在没有更多限制的情况下,由语句“包括一个…”限定的要素,并不排除在包括所述要素的过程、方法或者设备中还存在另外的相同要素。本文中,每条实施例重点说明的可以是与其他实施例的不同之处,各个实施例之间相同相似部分可以互相参见。对于实施例公开的方法、产品等而言,如果其与实施例公开的方法部分相对应,那么相关之处可以参见方法部分的描述。The above description and drawings sufficiently illustrate the embodiments of the present disclosure to enable those skilled in the art to practice them. Other embodiments may incorporate structural, logical, electrical, procedural, and other changes. The examples merely represent possible variations. Individual components and functions are optional unless explicitly required, and the order of operations may vary. Portions and features of some embodiments may be included in or substituted for those of other embodiments. The scope of embodiments of the present disclosure includes the full scope of the claims, and all available equivalents of the claims. When used in the present application, although the terms 'first', 'second', etc. may be used in the present application to describe various elements, these elements should not be limited by these terms. These terms are only used to distinguish one element from another. For example, a first element could be called a second element without changing the meaning of the description, and likewise, a second element could be called a first element, as long as all occurrences of "first element" are renamed consistently and all occurrences of "Second component" can be renamed consistently. The first element and the second element are both elements, but may not be the same element. Also, the terms used in the present application are used to describe the embodiments only and are not used to limit the claims. As used in the examples and description of the claims, the singular forms "a", "an" and "the" are intended to include the plural forms as well unless the context clearly indicates otherwise . Similarly, the term "and/or" as used in this application is meant to include any and all possible combinations of one or more of the associated listed ones. Additionally, when used in this application, the term "comprise" and its variants "comprises" and/or comprising (comprising) etc. refer to stated features, integers, steps, operations, elements, and/or The presence of a component does not preclude the presence or addition of one or more other features, integers, steps, operations, elements, components and/or groupings of these. Without further limitations, an element defined by the statement "comprising a ..." does not exclude the presence of additional identical elements in the process, method or apparatus comprising said element. Herein, what each embodiment focuses on may be the difference from other embodiments, and the same and similar parts of the various embodiments can be referred to each other. For the method, product, etc. disclosed in the embodiment, if it corresponds to the method part disclosed in the embodiment, then the relevant part can refer to the description of the method part.
本领域技术人员可以意识到,结合本文中所公开的实施例描述的各示例的单元及算法步骤,能够以电子硬件、或者计算机软件和电子硬件的结合来实现。这些功能究竟以硬件还是软件方式来执行,可以取决于技术方案的特定应用和设计约束条件。所述技术人员可以对每条特定的应用来使用不同方法以实现所描述的功能,但是这种实现不应认为超出本公开实施例的范围。所述技术人员可以清楚地了解到,为描述的方便和简洁,上述描述的系统、装置和单元的具体工作过程,可以参考前述方法实施例中的对应过程,在此不再赘述。Those skilled in the art can appreciate that the units and algorithm steps of the examples described in conjunction with the embodiments disclosed herein can be implemented by electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed by hardware or software may depend on the specific application and design constraints of the technical solution. The skilled artisan may implement the described functions using different methods for each specific application, but such implementation should not be regarded as exceeding the scope of the embodiments of the present disclosure. The skilled person can clearly understand that for the convenience and brevity of the description, the specific working process of the above-described system, device and unit can refer to the corresponding process in the foregoing method embodiment, which will not be repeated here.
本文所披露的实施例中,所揭露的方法、产品(包括但不限于装置、设备等),可以通过其它的方式实现。例如,以上所描述的装置实施例仅仅是示意性的,例如,所述单元的划分,可以仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另外,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,装置或单元的间接耦合或通信连接,可以是电性,机械或其它的形式。所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例。另外,在本公开实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。In the embodiments disclosed herein, the disclosed methods and products (including but not limited to devices, equipment, etc.) can be implemented in other ways. For example, the device embodiments described above are only illustrative. For example, the division of the units may only be a logical function division. In actual implementation, there may be other division methods. For example, multiple units or components may be combined Or it can be integrated into another system, or some features can be ignored, or not implemented. In addition, the mutual coupling or direct coupling or communication connection shown or discussed may be through some interfaces, and the indirect coupling or communication connection of devices or units may be in electrical, mechanical or other forms. The units described as separate components may or may not be physically separated, and the 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. Some or all of the units can be selected according to actual needs to implement this embodiment. In addition, each functional unit in the embodiments of the present disclosure may be integrated into one processing unit, each unit may exist separately physically, or two or more units may be integrated into one unit.
附图中的流程图和框图显示了根据本公开实施例的系统、方法和计算机程序产品的可能实现的体系架构、功能和操作。在这点上,流程图或框图中的每条方框可以代表一个模块、程序段或代码的一部分,所述模块、程序段或代码的一部分包含一个或多个用于实现规定的逻辑功能的可执行指令。在有些作为替换的实现中,方框中所标注的功能也可以以不同于附图中所标注的顺序发生。例如,两个连续的方框实际上可以基本并行地执行,它们有时也可以按相反的顺序执行,这可以依所涉及的功能而定。在附图中的流程图和框图所对应的描述中,不同的方框所对应的操作或步骤也可以以不同于描述中所披露的顺序发生,有时不同的操作或步骤之间不存在特定的顺序。例如,两个连续的操作或步骤实际上可以基本并行地执行,它们有时也可以按相反的顺序执行,这可以依所涉及的功能而定。框图和/或流程图中的每条方框、以及框图和/或流程图中的方框的组合,可以用执行规定的功能或动作的专用的基于硬件的系统来实现,或者可以用专用硬件与计算机指令的组合来实现。The flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to embodiments of the disclosure. In this regard, each block in a flowchart or block diagram may represent a module, program segment, or portion of code that includes one or more Executable instructions. In some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks in succession may, in fact, be executed substantially concurrently, or they may sometimes be executed in the reverse order, depending upon the functionality involved. In the descriptions corresponding to the flowcharts and block diagrams in the accompanying drawings, the operations or steps corresponding to different blocks may also occur in a different order than disclosed in the description, and sometimes there is no specific agreement between different operations or steps. order. For example, two consecutive operations or steps may, in fact, be performed substantially concurrently, or they may sometimes be performed in the reverse order, depending upon the functionality involved. Each block in the block diagrams and/or flowcharts, and combinations of blocks in the block diagrams and/or flowcharts, can be implemented by a dedicated hardware-based system that performs the specified functions or actions, or can be implemented by dedicated hardware implemented in combination with computer instructions.
Claims (10)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202210068420.8A CN115529704A (en) | 2022-01-20 | 2022-01-20 | Method, device, equipment and storage medium for controlling intelligent lamp group equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202210068420.8A CN115529704A (en) | 2022-01-20 | 2022-01-20 | Method, device, equipment and storage medium for controlling intelligent lamp group equipment |
Publications (1)
Publication Number | Publication Date |
---|---|
CN115529704A true CN115529704A (en) | 2022-12-27 |
Family
ID=84693642
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202210068420.8A Pending CN115529704A (en) | 2022-01-20 | 2022-01-20 | Method, device, equipment and storage medium for controlling intelligent lamp group equipment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN115529704A (en) |
-
2022
- 2022-01-20 CN CN202210068420.8A patent/CN115529704A/en active Pending
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US11428430B2 (en) | Air conditioning system having multiple outdoor units and multiple indoor units, method and device for operating air conditioning system | |
CN1656745B (en) | Determining and configuring a communication path in a network | |
CN107566229A (en) | The packet control process of intelligent domestic system | |
US9872128B2 (en) | Method of establishing stable Piconet and system of establishment of stable Piconet based on bluetooth | |
CN104811375A (en) | Smart home gateway and networking method thereof | |
EP3017661A1 (en) | A method for operating a communication device in a communication network, a communication device, a luminaire equipped with such communication device | |
JP2017505562A (en) | Commissioning the Zigbee® Light Link network | |
JP6414834B2 (en) | SAS system, SAS system traversal method and apparatus | |
CN102223312B (en) | Flow control method and equipment based on link status | |
CN113260072B (en) | Mesh networking traffic scheduling method, gateway equipment and storage medium | |
Shailendra et al. | Analyzing home automation and networking technologies | |
CN102916887B (en) | OpenFlow out-of-band networking method based on in-band virtual channel | |
EP3272180B1 (en) | Lighting network | |
CN109863787A (en) | Lighting Troubleshooting | |
CN109347734B (en) | Message sending method, device, network equipment and computer readable medium | |
CN108810881B (en) | Network distribution method, equipment and system | |
CN111163003A (en) | Topology discovery method of wireless multi-control-domain SDN | |
JP6432294B2 (en) | COMMUNICATION SYSTEM, COMMUNICATION SYSTEM CONTROL METHOD, AND PROGRAM | |
CN115529704A (en) | Method, device, equipment and storage medium for controlling intelligent lamp group equipment | |
CN115524985A (en) | Method, device and system for controlling intelligent household system and storage medium | |
JP7246016B2 (en) | COMMUNICATION METHOD, PROGRAM AND COMMUNICATION DEVICE | |
BE1027084B1 (en) | UNIT FOR CONTROLLING DATA COMMUNICATION | |
CN111698155B (en) | STP protocol message distributed processing method, system and related equipment | |
CN104202186A (en) | Method and system for configuring parameters for embedded device | |
CN117201551B (en) | Building information processing method based on Internet of things |
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 |