[go: up one dir, main page]

CN115996155A - Passive wireless switch control method and control system based on Bluetooth MESH network - Google Patents

Passive wireless switch control method and control system based on Bluetooth MESH network Download PDF

Info

Publication number
CN115996155A
CN115996155A CN202210982286.2A CN202210982286A CN115996155A CN 115996155 A CN115996155 A CN 115996155A CN 202210982286 A CN202210982286 A CN 202210982286A CN 115996155 A CN115996155 A CN 115996155A
Authority
CN
China
Prior art keywords
bluetooth mesh
wireless switch
passive wireless
mesh network
node
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
CN202210982286.2A
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.)
Xiamen Yankon Energetic Lighting Co Ltd
Original Assignee
Xiamen Yankon Energetic Lighting 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 Xiamen Yankon Energetic Lighting Co Ltd filed Critical Xiamen Yankon Energetic Lighting Co Ltd
Priority to CN202210982286.2A priority Critical patent/CN115996155A/en
Publication of CN115996155A publication Critical patent/CN115996155A/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
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Landscapes

  • Mobile Radio Communication Systems (AREA)

Abstract

基于蓝牙MESH网的无源无线开关控制方法和控制系统,包括入网绑定:选定蓝牙MESH网络的至少一个节点作为监听节点,所述监听节点监听无源无线开关广播的adv包进行解析后存储,存储的信息至少包括配置信息;控制分发:所述监听节点接收所述无源无线开关广播的adv包进行解析,根据存储的所述配置信息进行翻译得到蓝牙MESH数据包,并将所述蓝牙MESH数据包在蓝牙MESH网络中转发,非目标设备接收蓝牙MESH数据包后转发,目标设备接收蓝牙MESH数据包后响应动作。本发明实现一对多控制和远程控制,解决了无源无线开关覆盖范围小的所导致的应用缺陷,同时引入了配置信息翻译,大大提升无源无线开关的扩展性及易用性。

Figure 202210982286

The passive wireless switch control method and control system based on the Bluetooth MESH network, including network access binding: at least one node of the Bluetooth MESH network is selected as a listening node, and the listening node listens to the adv packet broadcast by the passive wireless switch and stores it after parsing , the stored information includes at least configuration information; control distribution: the listening node receives and parses the adv packet broadcast by the passive wireless switch, translates the stored configuration information to obtain a Bluetooth MESH packet, and sends the Bluetooth The MESH data packet is forwarded in the Bluetooth MESH network, the non-target device forwards it after receiving the Bluetooth MESH data packet, and the target device responds to the action after receiving the Bluetooth MESH data packet. The invention realizes one-to-many control and remote control, solves the application defect caused by the small coverage of the passive wireless switch, and introduces configuration information translation at the same time, greatly improving the expansibility and usability of the passive wireless switch.

Figure 202210982286

Description

基于蓝牙MESH网的无源无线开关控制方法和控制系统Passive wireless switch control method and control system based on Bluetooth MESH network

技术领域technical field

本发明涉及智能家居领域,特别是指基于蓝牙MESH网的无源无线开关控制方法和控制系统。The invention relates to the field of smart home, in particular to a passive wireless switch control method and control system based on a Bluetooth MESH network.

背景技术Background technique

无源蓝牙按压面板是无源无线开关的一种,是不需要外接任何电气线路及电池的开关面板,其设有按键模块、蓝牙模块、能量转换模块等,其能量转换模块将用户按压按键模块时产生的机械能转换为电能,并驱动蓝牙模块发送一个非连接性蓝牙adv广播包。对端被控制设备,如灯具、风扇、智能插座等各类被控制的设备通过接收其发出的adv广播包,响应动作。因其不需要接线,不需要电池,可随意安装的特点,近年来在市面上广泛流行。The passive bluetooth press panel is a kind of passive wireless switch. It is a switch panel that does not need any external electrical lines and batteries. It is equipped with a key module, a Bluetooth module, and an energy conversion module. The mechanical energy generated during the conversion is converted into electrical energy, and drives the Bluetooth module to send a non-connectivity Bluetooth adv broadcast packet. The controlled devices at the opposite end, such as lamps, fans, smart sockets and other controlled devices, respond to actions by receiving the adv broadcast packets sent by them. Because it does not require wiring, does not require batteries, and can be installed at will, it has become widely popular in the market in recent years.

目前市面上的无源蓝牙按压面板的应用均属于点对点的应用,即接收设备通过绑定无源面板,当收到指定广播包时进行响应。此种方法虽然简短易用,但存在诸多问题,其一,由于无源面板发射无线电的能量来源于按压面板的机械能,其发射的信号强度弱,范围小,应用时经常出现控制范围近,控制信号易丢失的问题;其二,当进行一对多控制(如一个面板控制一串筒灯)时配置繁杂,需要每个接收设备都进行绑定,并且由于易丢包,极易出现各个设备不同步的情况;其三,这种应用方式只能本地控制,无法融入当下发展火热的智能家居体系内,延展性受限。The current passive Bluetooth push panel applications on the market are all point-to-point applications, that is, the receiving device responds when receiving a specified broadcast packet by binding the passive panel. Although this method is short and easy to use, there are many problems. First, because the energy emitted by the passive panel comes from the mechanical energy of pressing the panel, the strength of the signal emitted by it is weak and the range is small. The problem that the signal is easy to lose; second, when performing one-to-many control (such as one panel controlling a string of downlights), the configuration is complicated, and each receiving device needs to be bound, and due to easy packet loss, it is very easy for each device to Asynchronous situation; Third, this application method can only be controlled locally, and cannot be integrated into the current hot smart home system, and its scalability is limited.

发明内容Contents of the invention

本发明的主要目的在于克服现有无源蓝牙按压面板控制范围小、难以一对多应用、无法远程控制的缺陷,提出基于蓝牙MESH网的无源无线开关控制方法和控制系统,扩大控制范围,能实现一对多控制和远程控制。The main purpose of the present invention is to overcome the shortcomings of the existing passive Bluetooth pressing panel, such as small control range, difficulty in one-to-many application, and incapable of remote control, and propose a passive wireless switch control method and control system based on Bluetooth MESH network to expand the control range. Can realize one-to-many control and remote control.

本发明采用如下技术方案:The present invention adopts following technical scheme:

一种基于蓝牙MESH网的无源无线开关控制方法,其特征在于:包括A passive wireless switch control method based on Bluetooth MESH network, characterized in that: comprising

入网绑定:选定蓝牙MESH网络的至少一个节点作为监听节点,所述监听节点监听无源无线开关广播的adv包进行解析后存储,所述监听节点还存储有配置信息;Network access binding: select at least one node of the Bluetooth MESH network as a listening node, the listening node listens to the adv packet broadcast by the passive wireless switch, analyzes and stores it, and the listening node also stores configuration information;

控制分发:所述监听节点接收所述无源无线开关广播的adv包进行解析,根据存储的所述配置信息进行翻译得到蓝牙MESH数据包,并将所述蓝牙MESH数据包在蓝牙MESH网络中转发,非目标设备接收蓝牙MESH数据包后转发,目标设备接收蓝牙MESH数据包后响应动作。Control distribution: the monitoring node receives and analyzes the adv packet broadcast by the passive wireless switch, translates the stored configuration information to obtain the Bluetooth MESH data packet, and forwards the Bluetooth MESH data packet in the Bluetooth MESH network , the non-target device forwards the Bluetooth MESH packet after receiving it, and the target device responds after receiving the Bluetooth MESH packet.

优选的,所述入网绑定中,所述监听节点触发绑定操作并在预设的时间长度内进行搜寻操作以监听所述无源无线开关的入网操作所广播的adv包。Preferably, in the network access binding, the monitoring node triggers a binding operation and performs a search operation within a preset time length to monitor the adv packet broadcast by the passive wireless switch's network access operation.

优选的,所述监听节点触发绑定操作包括触发所述监听节点上的物理按钮、APP上的操作按钮或重上电;所述无源无线开关的入网操作包括按压至少一个指定按键。Preferably, the monitoring node triggering the binding operation includes triggering a physical button on the monitoring node, an operation button on the APP, or repowering; the network access operation of the passive wireless switch includes pressing at least one designated key.

优选的,所述控制分发中,所述监听节点监听所述无源无线开关的控制操作所广播的adv包。Preferably, in the control distribution, the monitoring node monitors the adv packet broadcast by the control operation of the passive wireless switch.

优选的,还包括修改配置:通过所述蓝牙MESH网络读取存储于所述监听节点上的配置信息进行修改,将修改后的配置信息传输至所述监听节点并覆盖修改前的配置信息。Preferably, it also includes modifying the configuration: reading and modifying the configuration information stored on the listening node through the Bluetooth MESH network, transmitting the modified configuration information to the listening node and overwriting the configuration information before modification.

优选的,采用节点执行所述修改配置,所述节点为带有显示屏且具有蓝牙功能的移动终端。Preferably, the modification configuration is performed by using a node, and the node is a mobile terminal with a display screen and a Bluetooth function.

优选的,所述配置信息包括操作识别码、响应目标范围、响应动作和响应的附加操作。Preferably, the configuration information includes an operation identification code, a response target range, a response action and an additional operation of the response.

优选的,所述无源无线开关广播的adv包还包括MAC地址、设备识别类型码和厂商识别码和按键码。Preferably, the adv packet broadcast by the passive wireless switch further includes a MAC address, a device identification type code, a manufacturer identification code and a key code.

优选的,所述目标设备为单一设备或多设备或逻辑组。Preferably, the target device is a single device or multiple devices or a logical group.

一种基于蓝牙MESH网的无源无线开关控制系统,其特征在于:A passive wireless switch control system based on Bluetooth MESH network, characterized in that:

无源无线开关,具有蓝牙通信功能,用于根据触发动作广播adv包;Passive wireless switch, with Bluetooth communication function, used to broadcast adv packets according to trigger actions;

蓝牙MESH网络,设有若干节点,选定至少一节点作为监听节点,设定至少一节点作为被控节点;所述监听节点接收所述无源无线开关广播的adv包进行解析,根据存储的所述配置信息进行翻译得到蓝牙MESH数据包,并将所述蓝牙MESH数据包在蓝牙MESH网络中转发;被控节点中的非目标设备接收蓝牙MESH数据包后转发,被控节点中的目标设备接收蓝牙MESH数据包后响应动作。The Bluetooth MESH network is provided with several nodes, at least one node is selected as the monitoring node, and at least one node is set as the controlled node; the monitoring node receives the adv packet broadcast by the passive wireless switch for analysis, and according to the stored The above configuration information is translated to obtain the Bluetooth MESH data packet, and the Bluetooth MESH data packet is forwarded in the Bluetooth MESH network; the non-target device in the controlled node receives the Bluetooth MESH data packet and forwards it, and the target device in the controlled node receives the Bluetooth MESH data packet. Response action after Bluetooth MESH packet.

由上述对本发明的描述可知,与现有技术相比,本发明具有如下有益效果:As can be seen from the above description of the present invention, compared with the prior art, the present invention has the following beneficial effects:

本发明包括将无源无线开关加入到蓝牙MESH网络中并绑定监听节点,通过监听节点监听无源无线开关广播的adv包进行翻译并转发蓝牙Mesh数据包,实现一对多控制和远程控制,解决了无源无线开关覆盖范围小的所导致的应用缺陷,同时引入了配置信息的翻译,大大提升无源无线开关的扩展性及易用性。The invention includes adding a passive wireless switch to a Bluetooth MESH network and binding a monitoring node, and listening to the adv packet broadcast by the passive wireless switch through the monitoring node to translate and forward the Bluetooth Mesh data packet to realize one-to-many control and remote control, It solves the application defects caused by the small coverage of passive wireless switches, and introduces the translation of configuration information, which greatly improves the scalability and ease of use of passive wireless switches.

本发明还可通过蓝牙MESH网络读取存储于监听节点上的配置信息进行修改,将修改后的配置信息传输至监听节点并覆盖修改前的配置信息,从而实现在移动终端上可视化的配置无源无线开关,满足个性化智能家居控制需求。The present invention can also read and modify the configuration information stored on the listening node through the Bluetooth MESH network, transmit the modified configuration information to the listening node and overwrite the configuration information before modification, so as to realize the passive configuration visualized on the mobile terminal Wireless switch to meet the needs of personalized smart home control.

附图说明Description of drawings

图1为通过无源无线开关控制第一逻辑组的被控设备的数据通路示意图。FIG. 1 is a schematic diagram of a data path for controlling a first logical group of controlled devices through a passive wireless switch.

以下结合附图和具体实施例对本发明作进一步详述。The present invention will be described in further detail below in conjunction with the accompanying drawings and specific embodiments.

具体实施方式Detailed ways

以下通过具体实施方式对本发明作进一步的描述。The present invention will be further described below through specific embodiments.

本发明中,对于术语“第一”、“第二”、“第三”等仅用于区别类似的对象,而不必用于描述特定的顺序或先后次序,也不能理解为指示或暗示相对重要性。对于描述中,采用了“上”、“下”、“左”、“右”、“前”和“后”等指示的方位或位置关系为基于附图所示的方位或位置关系,仅是为了便于描述本发明,而不是指示或暗示所指的装置必须具有特定的方位、以特定的方位构造和操作,因此不能理解为对本发明保护范围的限制。对于本领域的普通技术人员而言,可以根据具体情况理解上述术语在本申请中的具体含义。In the present invention, the terms "first", "second", "third" and so on are only used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence, nor can they be interpreted as indicating or implying relative importance sex. In the description, the orientations or positional relationships indicated by "up", "down", "left", "right", "front" and "rear" are based on the orientations or positional relationships shown in the drawings, and are only In order to facilitate the description of the present invention, it does not indicate or imply that the referred device must have a specific orientation, be constructed and operated in a specific orientation, and thus should not be construed as limiting the protection scope of the present invention. Those of ordinary skill in the art can understand the specific meanings of the above terms in this application according to specific situations.

另外,在本申请的描述中,除非另有说明,“多个”是指两个或两个以上。“和/或”,描述关联对象的关联关系,表示可以存在三种关系,例如,A和/或B,可以表示:单独存在A,同时存在A和B,单独存在B这三种情况。字符“/”一般表示前后关联对象是一种“或”的关系。In addition, in the description of the present application, unless otherwise specified, "plurality" means two or more. "And/or" describes the association relationship of associated objects, indicating that there may be three types of relationships, for example, A and/or B may indicate: A exists alone, A and B exist simultaneously, and B exists independently. The character "/" generally indicates that the contextual objects are an "or" relationship.

蓝牙MESH网络是用于建立多对多设备通信的低功耗蓝牙网络拓扑,设备之间可以相互进行信息数据传递。在蓝牙MESH网络中,通常将未加入蓝牙MESH网络的设备叫做未配网设备,未配网设备加入到蓝牙MESH网络之后就被称为节点。The Bluetooth MESH network is a low-power Bluetooth network topology used to establish many-to-many device communication, and the devices can transmit information and data to each other. In the Bluetooth MESH network, the devices that have not joined the Bluetooth MESH network are usually called unprovisioned network devices, and the unprovisioned network devices are called nodes after joining the Bluetooth MESH network.

Mesh网络中的节点按应用功能分类可以是传感器、灯具、网关、中继器等各种应用,按供电方式分类可分为常在电设备和低功耗设备,低功耗设备在Mesh网络中处于长时间休眠状态,需要与常在电设备建立Friendship关系,定期处理网络信息的,故无法长时间监听adv包。本发明中节点采用常在电节点,即非低功耗节点。The nodes in the Mesh network can be classified into various applications such as sensors, lamps, gateways, and repeaters according to their application functions. It is in a long-term dormant state, and needs to establish a friendship relationship with the always-on equipment and process network information regularly, so it cannot monitor adv packets for a long time. In the present invention, the node adopts a constant electric node, that is, a non-low power consumption node.

本发明的一种基于蓝牙MESH网的无源无线开关控制方法,至少包括入网绑定和控制分发,具体如下:A passive wireless switch control method based on a Bluetooth MESH network of the present invention at least includes network access binding and control distribution, specifically as follows:

入网绑定:选定蓝牙MESH网络的至少一个节点作为监听节点,监听节点监听无源无线开关广播的adv包进行解析后存储,监听节点还存储有配置信息。Network access binding: select at least one node of the Bluetooth MESH network as the monitoring node, the monitoring node listens to the adv packet broadcast by the passive wireless switch, analyzes and stores it, and the monitoring node also stores configuration information.

具体的,本发明的所谓入网绑定是指设置一个或多个蓝牙Mesh网络中的节点监听无源无线开关广播的adv包。adv包通常是一类不可连接的自定义adv包,其解析后可得到以下几类信息:MAC地址、设备识别类型码、厂商识别码和按键码等信息。监听节点存储有与adv包匹配的配置信息,其中配置信息是无源无线开关与实际控制操作相关联的配置信息即为翻译规则,其可包括操作识别码(即无源无线开关的每个按键对应的adv)、响应目标范围(例如是单一设备或多设备或逻辑组)、响应动作(例如是开灯还是调整到60%亮度)和响应的附加操作(例如延迟响应时间、响应操作渐变时间等)。当监听节点监听到无源无线开关的ADV包后进行解析,若解析出的MAC地址、设备识别类型码、厂商识别码和按键码等与存储的配置信息相匹配,才会根据按键码及具体规则进行后续的翻译步骤。Specifically, the so-called network access binding in the present invention refers to setting one or more nodes in the Bluetooth Mesh network to listen to the adv packets broadcast by the passive wireless switch. The adv package is usually a type of non-connectable custom adv package, and the following types of information can be obtained after parsing: MAC address, device identification type code, manufacturer identification code, key code and other information. The listening node stores configuration information matched with the adv package, wherein the configuration information is that the configuration information associated with the passive wireless switch and the actual control operation is a translation rule, which may include an operation identification code (that is, each button of the passive wireless switch corresponding adv), response target range (such as a single device or multiple devices or a logical group), response actions (such as turning on the light or adjusting to 60% brightness) and additional operations of the response (such as delayed response time, response operation fade time wait). When the monitoring node listens to the ADV packet of the passive wireless switch, it analyzes it. If the parsed MAC address, device identification type code, manufacturer identification code, and key code match the stored configuration information, the rules for subsequent translation steps.

无源无线开关的按键数量是根据其物理构造决定的,可能有一个或多个,其按键实现的具体功能通过配置信息进行配置实现,且可自定义。无源无线开关首次加入蓝牙MESH网络时,监听节点存储的配置信息为默认配置信息,则按键功能为默认功能。The number of buttons of a passive wireless switch is determined according to its physical structure, and there may be one or more. The specific functions of the buttons are configured through configuration information and can be customized. When the passive wireless switch joins the Bluetooth MESH network for the first time, the configuration information stored by the monitoring node is the default configuration information, and the button function is the default function.

当需要进行入网绑定时,选定的监听节点需要一个触发绑定的操作,触发绑定操作包括但不限于:触发监听节点上的物理按钮、App上的操作按钮或重上电等。当监听节点触发绑定操作之后,监听节点将在预设的时间长度内进行搜寻操作以监听无源无线开关。此时,无源无线开关进行入网操作,该入网操作可以是按下无源无线开关的至少一个指定按键(如两个指定的按键同时按下,避免误触),则无源无线开关会发出adv包。监听节点接收到此adv包进行解析和存储。该监听节点还可通过闪灯、上报App进行弹窗、改变亮度或颜色等方式提示用户入网绑定完成。When network access binding is required, the selected listening node needs an operation to trigger the binding. The triggering binding operation includes but is not limited to: triggering the physical button on the listening node, the operation button on the App, or power-on, etc. After the monitoring node triggers the binding operation, the monitoring node will perform a search operation within a preset time period to monitor the passive wireless switch. At this time, the passive wireless switch performs a network access operation. The network access operation can be to press at least one designated button of the passive wireless switch (for example, press two designated buttons at the same time to avoid accidental touch), then the passive wireless switch will send out adv package. The listening node receives the adv packet for parsing and storage. The monitoring node can also remind the user that the network access binding is completed by flashing lights, reporting to the App for pop-up windows, changing brightness or color, etc.

控制分发:监听节点接收无源无线开关广播的adv包进行解析,根据存储的配置信息进行翻译得到蓝牙MESH数据包,并将蓝牙MESH数据包在蓝牙MESH网络中转发,非目标设备接收蓝牙MESH数据包后转发,目标设备接收蓝牙MESH数据包后响应动作。Control distribution: the listening node receives and analyzes the adv packet broadcast by the passive wireless switch, translates the stored configuration information to obtain the Bluetooth MESH data packet, and forwards the Bluetooth MESH data packet in the Bluetooth MESH network, and the non-target device receives the Bluetooth MESH data After the packet is forwarded, the target device responds to the action after receiving the Bluetooth MESH packet.

控制分发指当按压无源无线开关时,目标设备如何接收并响应。在控制分发中,监听节点还监听无源无线开关的控制操作所广播的adv包,该控制操作可为按压无源无线开关上的某个按键。无源无线开关在控制分发中广播的adv包与入网绑定中广播的adv包,其包含的数据类型可相同,具体内容可有所不同。Control distribution refers to how the target device receives and responds when the passive wireless switch is pressed. In the control distribution, the listening node also listens to the adv packet broadcast by the control operation of the passive wireless switch. The control operation may be pressing a certain button on the passive wireless switch. The adv packet broadcast by the passive wireless switch in the control distribution and the adv packet broadcast in the network access binding may contain the same data type, but the specific content may be different.

具体的,当用户按下已入网绑定的无源无线开关的某个按键,则无源无线开关发送adv包,监听节点将会接收并成功解析该adv包,并根据存储的配置信息进行翻译得到蓝牙MESH数据包,并在蓝牙Mesh网络中转发。转发的蓝牙MESH数据包格式完全为蓝牙Mesh格式,可使用包括通用的SIG Model和定制化的Vendor model模型。目标设备依托蓝牙Mesh网络完善的安全性、可靠性,可稳定接收并响应对应动作。目标设备可为单一设备或多设备或逻辑组,逻辑组通常是指同处于一个位置或者需要一同控制的节点,比如家庭客厅里面的所有筒灯,将其加入到一个逻辑组进行一同控制,同理,走廊的所有射灯也可设置一个逻辑组,并且同一个灯(节点)可以同时处于多个组之中。参见图1的用户通过无源无线开关控制第一逻辑组的被控设备的数据通路示意图。Specifically, when the user presses a button of the passive wireless switch that has been bound to the network, the passive wireless switch will send an adv packet, and the monitoring node will receive and successfully parse the adv packet, and translate it according to the stored configuration information Get the Bluetooth MESH packet and forward it in the Bluetooth Mesh network. The format of the forwarded Bluetooth MESH packet is completely in the Bluetooth Mesh format, including the general SIG Model and the customized Vendor model. Relying on the complete security and reliability of the Bluetooth Mesh network, the target device can stably receive and respond to corresponding actions. The target device can be a single device or multiple devices or a logical group. Logical groups usually refer to nodes that are in the same location or need to be controlled together. All the spotlights in the corridor can also be set to a logical group, and the same light (node) can be in multiple groups at the same time. Refer to FIG. 1 , which is a schematic diagram of a data path for a user to control the controlled devices of the first logic group through a passive wireless switch.

本发明中,对于监听节点,在不同触发模式下,收到无源无线开关广播的adv包之后做出的响应不一样,在入网绑定中,监听adv包是为了发现、识别指定的无源面板,并将其特征值保存到监听节点中,供后续用户配置;而在分发控制阶段,监听到adv包就要根据存储的配置信息进行相应的翻译、转发等操作。In the present invention, for the listening node, under different trigger modes, the response after receiving the adv packet broadcast by the passive wireless switch is different. In the network access binding, the monitoring adv packet is for discovering and identifying the specified passive panel, and save its characteristic values in the monitoring node for subsequent user configuration; and in the distribution control stage, when the adv package is monitored, corresponding operations such as translation and forwarding must be performed according to the stored configuration information.

监控节点中存储的配置信息若为默认的配置信息,则采用设备出厂设置的默认翻译规则,如短按开关灯,长按调光等。实际应用中,配置信息是可以修改的,即翻译规则可进行自定义。当用户需要更改按键的功能,或者需要选择被控制设备的数量、范围,诸如配置一个按键控制走廊的灯,一个按键控制餐厅的灯时,就需要进行修改配置。If the configuration information stored in the monitoring node is the default configuration information, the default translation rules set by the device factory will be used, such as short press to switch lights, long press to dim, etc. In practical applications, the configuration information can be modified, that is, the translation rules can be customized. When the user needs to change the function of the button, or needs to select the number and range of the controlled equipment, such as configuring a button to control the lights in the corridor, and a button to control the lights in the restaurant, it is necessary to modify the configuration.

因此,本发明还包括修改配置:通过蓝牙MESH网络读取存储于监听节点上的配置信息进行修改,将修改后的配置信息传输至监听节点并覆盖修改前的配置信息。Therefore, the present invention also includes modifying the configuration: reading and modifying the configuration information stored on the listening node through the Bluetooth MESH network, transmitting the modified configuration information to the listening node and overwriting the configuration information before modification.

本发明的修改配置即是配置无源无线开关的功能,所以配置的信息可以通过蓝牙Mesh网络传输,使得配置过程变得十分便捷。可以通过节点执行修改配置,节点可选择带有显示屏且具有蓝牙功能的移动终端,包括但不限于手机、PAD、电脑、各类带有蓝牙功能的移动设备上的应用软件(App)进行配置,App可通过蓝牙Mesh网络读取(使用Vendor model)存储在监听节点上的配置信息。移动终端可根据无源无线开关的能力,开放可视化界面供用户进行配置,修改的配置内容包括但不限于1、响应目标范围:单设备、多设备、逻辑组、广播,2、响应动作:开关、调光、场景、定时等;3、组合动作响应:双击操作功能选择、长按操作功能选择等。例如,用户需要配置无源无线开关上的2号按键控制走廊灯的开关,则对应的配置信息上记载的信息1、该按键对应的adv,2、走廊灯所在的逻辑组3、开关操作,4、无附加动作。The modified configuration of the present invention is the function of configuring the passive wireless switch, so the configuration information can be transmitted through the Bluetooth Mesh network, making the configuration process very convenient. The configuration can be modified through the node. The node can choose a mobile terminal with a display screen and Bluetooth function, including but not limited to mobile phones, PADs, computers, and various mobile devices with Bluetooth functions. Application software (App) for configuration , the App can read (using the Vendor model) the configuration information stored on the listening node through the Bluetooth Mesh network. The mobile terminal can open a visual interface for users to configure according to the capabilities of the passive wireless switch. The modified configuration content includes but is not limited to 1. Response target range: single device, multi-device, logical group, broadcast, 2. Response action: switch , Dimming, Scene, Timing, etc.; 3. Combined action response: double-click operation function selection, long-press operation function selection, etc. For example, if the user needs to configure the No. 2 button on the passive wireless switch to control the switch of the corridor light, the information recorded in the corresponding configuration information 1, the adv corresponding to the button, 2, the logical group where the corridor light is located 3, the switch operation, 4. No additional actions.

用户设定完成后,移动终端将修改后的配置信息通过蓝牙Mesh网络Vendor model传输给监听节点,监听节点接收到修改后的配置信息进行本地保存,该修改后的配置信息将覆盖修改前的配置信息。此后,当监听节点接收到对应无源无线开关广播的adv包之后,将按照修改后的配置信息翻译成蓝牙Mesh的数据包,并通过蓝牙Mesh网络发送出去。After the user setting is completed, the mobile terminal transmits the modified configuration information to the monitoring node through the Bluetooth Mesh network Vendor model, and the monitoring node receives the modified configuration information and saves it locally. The modified configuration information will overwrite the configuration before modification information. Afterwards, when the listening node receives the adv packet broadcast by the corresponding passive wireless switch, it will translate the modified configuration information into a Bluetooth Mesh data packet and send it out through the Bluetooth Mesh network.

本发明还提出一种基于蓝牙MESH网的无源无线开关控制系统,包括The present invention also proposes a passive wireless switch control system based on Bluetooth MESH network, including

无源无线开关,具有蓝牙通信功能,用于根据触发动作广播adv包,其上可设置多个按键,每个按键的功能可根据需要进行定义。Passive wireless switch with bluetooth communication function, used to broadcast adv packet according to trigger action, multiple buttons can be set on it, and the function of each button can be defined according to needs.

蓝牙MESH网络,设有若干节点,选定至少一节点作为监听节点,设定若干节点作为被控设备;监听节点接收无源无线开关广播的adv包进行解析,根据存储的配置信息进行翻译得到蓝牙MESH数据包,并将蓝牙MESH数据包在蓝牙MESH网络中转发;被控设备中的非目标设备接收蓝牙MESH数据包后转发,被控设备中的目标设备接收蓝牙MESH数据包后响应动作。The Bluetooth MESH network has several nodes, at least one node is selected as the monitoring node, and several nodes are set as the controlled devices; the monitoring node receives the adv packet broadcast by the passive wireless switch for analysis, and translates it according to the stored configuration information to obtain the Bluetooth MESH data packet, and forward the Bluetooth MESH data packet in the Bluetooth MESH network; the non-target device in the controlled device receives the Bluetooth MESH data packet and forwards it, and the target device in the controlled device receives the Bluetooth MESH data packet and responds.

本发明的系统采用上述的一种基于蓝牙MESH网的无源无线开关控制方法实现控制被控设备。The system of the present invention adopts the above-mentioned passive wireless switch control method based on the bluetooth MESH network to realize the control of the controlled device.

上述仅为本发明的具体实施方式,但本发明的设计构思并不局限于此,凡利用此构思对本发明进行非实质性的改动,均应属于侵犯本发明保护范围的行为。The above is only a specific embodiment of the present invention, but the design concept of the present invention is not limited thereto, and any non-substantial changes made to the present invention by using this concept should be an act of violating the protection scope of the present invention.

Claims (10)

1.一种基于蓝牙MESH网的无源无线开关控制方法,其特征在于:包括1. A passive wireless switch control method based on bluetooth MESH network, characterized in that: comprising 入网绑定:选定蓝牙MESH网络的至少一个节点作为监听节点,所述监听节点监听无源无线开关广播的adv包进行解析后存储,所述监听节点还存储有配置信息;Network access binding: select at least one node of the Bluetooth MESH network as a listening node, the listening node listens to the adv packet broadcast by the passive wireless switch, analyzes and stores it, and the listening node also stores configuration information; 控制分发:所述监听节点接收所述无源无线开关广播的adv包进行解析,根据存储的所述配置信息进行翻译得到蓝牙MESH数据包,并将所述蓝牙MESH数据包在蓝牙MESH网络中转发,非目标设备接收蓝牙MESH数据包后转发,目标设备接收蓝牙MESH数据包后响应动作。Control distribution: the monitoring node receives and analyzes the adv packet broadcast by the passive wireless switch, translates the stored configuration information to obtain the Bluetooth MESH data packet, and forwards the Bluetooth MESH data packet in the Bluetooth MESH network , the non-target device forwards the Bluetooth MESH packet after receiving it, and the target device responds after receiving the Bluetooth MESH packet. 2.如权利要求1所述的一种基于蓝牙MESH网的无源无线开关控制方法,其特征在于:所述入网绑定中,所述监听节点触发绑定操作并在预设的时间长度内进行搜寻操作以监听所述无源无线开关的入网操作所广播的adv包。2. A kind of passive wireless switch control method based on bluetooth MESH network as claimed in claim 1, it is characterized in that: in described network access binding, described monitoring node triggers binding operation and within the preset length of time Perform a search operation to monitor the adv packets broadcast by the passive wireless switch's network access operation. 3.如权利要求2所述的一种基于蓝牙MESH网的无源无线开关控制方法,其特征在于:所述监听节点触发绑定操作包括触发所述监听节点上的物理按钮、APP上的操作按钮或重上电;所述无源无线开关的入网操作包括按压至少一个指定按键。3. A kind of passive wireless switch control method based on bluetooth MESH network as claimed in claim 2, it is characterized in that: described listening node triggers binding operation comprises triggering the physical button on described listening node, the operation on APP button or power on again; the network access operation of the passive wireless switch includes pressing at least one designated key. 4.如权利要求1所述的一种基于蓝牙MESH网的无源无线开关控制方法,其特征在于:所述控制分发中,所述监听节点监听所述无源无线开关的控制操作所广播的adv包。4. A kind of passive wireless switch control method based on bluetooth MESH network as claimed in claim 1, is characterized in that: in described control distribution, described listening node listens to the broadcasted information of the control operation of described passive wireless switch adv package. 5.如权利要求1所述的一种基于蓝牙MESH网的无源无线开关控制方法,其特征在于:还包括修改配置:通过所述蓝牙MESH网络读取存储于所述监听节点上的配置信息进行修改,将修改后的配置信息传输至所述监听节点并覆盖修改前的配置信息。5. A kind of passive wireless switch control method based on Bluetooth MESH network as claimed in claim 1, is characterized in that: also comprises modifying configuration: read the configuration information that is stored on the monitoring node through described Bluetooth MESH network modify, and transmit the modified configuration information to the listening node and overwrite the configuration information before modification. 6.如权利要求5所述的一种基于蓝牙MESH网的无源无线开关控制方法,其特征在于:采用节点执行所述修改配置,所述节点为带有显示屏且具有蓝牙功能的移动终端。6. a kind of passive wireless switch control method based on bluetooth MESH network as claimed in claim 5, it is characterized in that: adopt node to carry out described modification configuration, described node is to have display screen and have the mobile terminal of bluetooth function . 7.如权利要求1所述的一种基于蓝牙MESH网的无源无线开关控制方法,其特征在于:所述配置信息包括操作识别码、响应目标范围、响应动作和响应的附加操作。7. A passive wireless switch control method based on a Bluetooth MESH network as claimed in claim 1, wherein the configuration information includes an operation identification code, a response target range, a response action and an additional operation of the response. 8.如权利要求1所述的一种基于蓝牙MESH网的无源无线开关控制方法,其特征在于:所述无源无线开关广播的adv包还包括MAC地址、设备识别类型码和厂商识别码和按键码。8. A kind of passive wireless switch control method based on bluetooth MESH network as claimed in claim 1, is characterized in that: the adv bag that described passive wireless switch broadcasts also comprises MAC address, device identification type code and vendor identification code and key codes. 9.如权利要求1所述的一种基于蓝牙MESH网的无源无线开关控制方法,其特征在于:所述目标设备为单一设备或多设备或逻辑组。9. A passive wireless switch control method based on Bluetooth MESH network as claimed in claim 1, characterized in that: the target device is a single device or multiple devices or a logical group. 10.一种基于蓝牙MESH网的无源无线开关控制系统,其特征在于:10. A passive wireless switch control system based on bluetooth MESH network, characterized in that: 无源无线开关,具有蓝牙通信功能,用于根据触发动作广播adv包;Passive wireless switch, with Bluetooth communication function, used to broadcast adv packets according to trigger actions; 蓝牙MESH网络,设有若干节点,选定至少一节点作为监听节点,设定若干节点作为被控设备;所述监听节点接收所述无源无线开关广播的adv包进行解析,根据存储的所述配置信息进行翻译得到蓝牙MESH数据包,并将所述蓝牙MESH数据包在蓝牙MESH网络中转发;被控设备中的非目标设备接收蓝牙MESH数据包后转发,被控设备中的目标设备接收蓝牙MESH数据包后响应动作。The Bluetooth MESH network is provided with several nodes, at least one node is selected as a monitoring node, and several nodes are set as controlled devices; the monitoring node receives the adv packet broadcast by the passive wireless switch for analysis, and according to the stored The configuration information is translated to obtain the Bluetooth MESH data packet, and the Bluetooth MESH data packet is forwarded in the Bluetooth MESH network; the non-target device in the controlled device receives the Bluetooth MESH data packet and forwards it, and the target device in the controlled device receives the Bluetooth MESH data packet. Response action after MESH packet.
CN202210982286.2A 2022-08-16 2022-08-16 Passive wireless switch control method and control system based on Bluetooth MESH network Pending CN115996155A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210982286.2A CN115996155A (en) 2022-08-16 2022-08-16 Passive wireless switch control method and control system based on Bluetooth MESH network

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210982286.2A CN115996155A (en) 2022-08-16 2022-08-16 Passive wireless switch control method and control system based on Bluetooth MESH network

Publications (1)

Publication Number Publication Date
CN115996155A true CN115996155A (en) 2023-04-21

Family

ID=85993115

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210982286.2A Pending CN115996155A (en) 2022-08-16 2022-08-16 Passive wireless switch control method and control system based on Bluetooth MESH network

Country Status (1)

Country Link
CN (1) CN115996155A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN119383565A (en) * 2024-10-24 2025-01-28 深圳市平安顺科技有限公司 A Bluetooth network channel gate control system and method

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050195810A1 (en) * 2004-03-04 2005-09-08 Chang Industry, Inc. Transparent link layer mesh router
US20090003243A1 (en) * 2007-06-15 2009-01-01 Silver Spring Networks, Inc. Network utilities in wireless mesh communications networks
US20170171950A1 (en) * 2014-08-11 2017-06-15 RAB Lighting Inc. Wireless lighting control systems and methods
CN111083654A (en) * 2019-12-18 2020-04-28 欧普照明股份有限公司 Method for realizing control of wireless passive switch, wireless passive switch and proxy node
CN111786871A (en) * 2020-06-05 2020-10-16 厦门阳光物联科技有限公司 Bluetooth MESH different network data transmission method

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050195810A1 (en) * 2004-03-04 2005-09-08 Chang Industry, Inc. Transparent link layer mesh router
US20090003243A1 (en) * 2007-06-15 2009-01-01 Silver Spring Networks, Inc. Network utilities in wireless mesh communications networks
US20170171950A1 (en) * 2014-08-11 2017-06-15 RAB Lighting Inc. Wireless lighting control systems and methods
CN111083654A (en) * 2019-12-18 2020-04-28 欧普照明股份有限公司 Method for realizing control of wireless passive switch, wireless passive switch and proxy node
CN111786871A (en) * 2020-06-05 2020-10-16 厦门阳光物联科技有限公司 Bluetooth MESH different network data transmission method

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN119383565A (en) * 2024-10-24 2025-01-28 深圳市平安顺科技有限公司 A Bluetooth network channel gate control system and method

Similar Documents

Publication Publication Date Title
CN111052687B (en) Apparatus and method for controlling addition of network nodes to a multihop network
CN204719514U (en) A smart home system capable of conditional control
CN105223820B (en) A kind of multifunctional intellectual house control system
CN103176445B (en) Based on intelligent home control system and the control method thereof of BLC2200
CN102663883A (en) Distributed intelligent remote controller for household appliances
KR102641285B1 (en) Device identification method
CN111083654B (en) Method for realizing control of wireless passive switch, wireless passive switch and proxy node
CN104426750A (en) Method, equipment and system for instant messaging
CN204719434U (en) A smart home system capable of many-to-many communication
CN101592942A (en) A kind of control method of electrically driven curtain and system
CN105848252A (en) Node control network accessing method based on ZigBee network
CN204719436U (en) A smart home system capable of background control services
CN204719435U (en) Smart home system using many-to-many communication
CN111654844A (en) Device pairing method and related device and device
CN115019494A (en) Wireless switch, wireless switch processing method and control system
CN115996155A (en) Passive wireless switch control method and control system based on Bluetooth MESH network
WO2024060800A1 (en) Control system and processing method for intelligent wall switch, and intelligent wall switch
US9357497B2 (en) Controlling the power consumption of a receiving unit
CN114513772A (en) Bluetooth communication terminal, Bluetooth control equipment and Bluetooth communication system
CN104063033B (en) State switching method and electronic equipment based on interconnection electronic devices
TW201327498A (en) Method for controlling grouped devices
CN204697344U (en) A kind of have the simple and easy induction lamp system arranging function
CN106304579A (en) A kind of intelligent control switch system
CN115086939B (en) Receiver and processing method thereof
CN207164981U (en) A kind of control circuit and control system

Legal Events

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

Application publication date: 20230421

RJ01 Rejection of invention patent application after publication