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
monitoring 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

A passive wireless switch control method and a control system based on a Bluetooth MESH network comprise network access binding: selecting at least one node of a Bluetooth MESH network as a monitoring node, wherein the monitoring node monitors an adv packet broadcast by a passive wireless switch, analyzes the adv packet and stores the adv packet, and the stored information at least comprises configuration information; and (3) control distribution: the monitoring node receives the adv packet broadcast by the passive wireless switch, analyzes the adv packet, translates the adv packet according to the stored configuration information to obtain a Bluetooth MESH data packet, forwards the Bluetooth MESH data packet in a Bluetooth MESH network, forwards the Bluetooth MESH data packet after receiving the Bluetooth MESH data packet by non-target equipment, and responds to actions after receiving the Bluetooth MESH data packet by target equipment. The invention realizes one-to-many control and remote control, solves the application defect caused by small coverage area of the passive wireless switch, introduces configuration information translation, and greatly improves the expansibility and usability of the passive wireless switch.

Description

Passive wireless switch control method and control system based on Bluetooth MESH network
Technical Field
The invention relates to the field of intelligent home, in particular to a passive wireless switch control method and a control system based on a Bluetooth MESH network.
Background
The passive Bluetooth pressing panel is a passive wireless switch, is a switch panel without any external electric circuit and battery, and is provided with a key module, a Bluetooth module, an energy conversion module and the like, wherein the energy conversion module converts mechanical energy generated when a user presses the key module into electric energy and drives the Bluetooth module to send a non-connectivity Bluetooth adv broadcast packet. The opposite controlled equipment such as lamps, fans, intelligent sockets and the like responds by receiving the adv broadcast packet sent by the opposite controlled equipment. The battery is free from wiring and free from being installed, and is widely popular in the market in recent years.
The application of passive bluetooth pressing panel on the market all belongs to point-to-point application, namely receiving equipment responds when receiving a specified broadcast packet by binding the passive panel. The method is short and easy to use, but has a plurality of problems, firstly, as the energy of the radio emitted by the passive panel is derived from the mechanical energy of the pressing panel, the intensity of the emitted signal is weak, the range is small, the problem that the control range is close and the control signal is easy to lose often occurs during application; secondly, when one-to-many control (such as one panel controlling one string of down lamps) is performed, the configuration is complicated, each receiving device is required to be bound, and the situation that each device is not synchronous is very easy to occur due to easy packet loss; thirdly, the application mode can only be controlled locally, and can not be integrated into an intelligent home system for developing fire and heat at present, and the ductility is limited.
Disclosure of Invention
The invention mainly aims to overcome the defects that the existing passive Bluetooth pressing panel has a small control range, is difficult to apply in one-to-many mode and cannot be controlled remotely, and provides a passive wireless switch control method and a control system based on a Bluetooth MESH network, which expand the control range and can realize one-to-many control and remote control.
The invention adopts the following technical scheme:
a passive wireless switch control method based on a Bluetooth MESH network is characterized in that: comprising
Network entry binding: selecting at least one node of a Bluetooth MESH network as a monitoring node, wherein the monitoring node monitors an adv packet broadcast by a passive wireless switch, analyzes and stores the adv packet, and the monitoring node also stores configuration information;
and (3) control distribution: the monitoring node receives the adv packet broadcast by the passive wireless switch, analyzes the adv packet, translates the adv packet according to the stored configuration information to obtain a Bluetooth MESH data packet, forwards the Bluetooth MESH data packet in a Bluetooth MESH network, forwards the Bluetooth MESH data packet after receiving the Bluetooth MESH data packet by non-target equipment, and responds to actions after receiving the Bluetooth MESH data packet by target equipment.
Preferably, in the network access binding, the monitoring node triggers a binding operation and performs a searching operation within a preset time length to monitor an adv packet broadcasted by the network access operation of the passive wireless switch.
Preferably, the monitoring node triggering binding operation includes triggering a physical button on the monitoring node, an operation button on an APP or a re-power-up; the network access operation of the passive wireless switch includes pressing at least one designated key.
Preferably, in the control distribution, the monitoring node monitors an adv packet broadcasted by a control operation of the passive wireless switch.
Preferably, the method further comprises modifying the configuration: and reading the configuration information stored on the monitoring node through the Bluetooth MESH network for modification, transmitting the modified configuration information to the monitoring node and covering the configuration information before modification.
Preferably, the modification configuration is performed by using a node, wherein 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 a response additional operation.
Preferably, the adv packet broadcast by the passive wireless switch further includes a MAC address, a device identification type code, and a vendor identification code and a key code.
Preferably, the target device is a single device or multiple devices or logical groups.
A passive wireless switch control system based on a Bluetooth MESH network is characterized in that:
the passive wireless switch has a Bluetooth communication function and is used for broadcasting an adv packet according to the triggering action;
the Bluetooth MESH network is provided with a plurality of nodes, at least one node is selected as a monitoring node, and at least one node is set as a controlled node; the monitoring node receives and analyzes the adv packet broadcast by the passive wireless switch, translates the adv packet according to the stored configuration information to obtain a Bluetooth MESH data packet, and forwards the Bluetooth MESH data packet in a Bluetooth MESH network; the non-target equipment in the controlled node receives the Bluetooth MESH data packet and then forwards the Bluetooth MESH data packet, and the target equipment in the controlled node responds to the action after receiving the Bluetooth MESH data packet.
As can be seen from the above description of the present invention, compared with the prior art, the present invention has the following advantages:
the invention comprises adding the passive wireless switch into the Bluetooth MESH network and binding the monitoring node, monitoring the adv packet broadcast by the passive wireless switch by the monitoring node to translate and transfer the Bluetooth MESH data packet, realizing one-to-many control and remote control, solving the application defect caused by small coverage area of the passive wireless switch, introducing the translation of configuration information, and greatly improving the expansibility and usability of the passive wireless switch.
The invention can also read the configuration information stored on the monitoring node through the Bluetooth MESH network to modify, and transmit the modified configuration information to the monitoring node and cover the configuration information before modification, thereby realizing the visualized configuration of the passive wireless switch on the mobile terminal and meeting the control requirement of the personalized intelligent home.
Drawings
FIG. 1 is a schematic diagram of a data path of a controlled device controlling a first logical group through a passive wireless switch.
The invention is further described in detail below with reference to the drawings and the specific examples.
Detailed Description
The invention is further described below by means of specific embodiments.
In the present invention, the terms "first," "second," "third," and the like are used merely to distinguish between similar objects and not necessarily to describe a particular sequence or order, nor are they to be construed as indicating or implying a relative importance. In the description, the directions or positional relationships indicated by "upper", "lower", "left", "right", "front" and "rear", etc. are used for convenience of description of the present invention based on the directions or positional relationships shown in the drawings, and are not intended to indicate or imply that the apparatus must have a specific orientation, be constructed and operated in a specific orientation, and thus should not be construed as limiting the scope of protection of the present invention. The specific meaning of the terms in this application will be understood by those of ordinary skill in the art as the case may be.
In addition, in the description of the present application, unless otherwise indicated, "a plurality" means two or more. "and/or", describes an association relationship of an association object, and indicates that there may be three relationships, for example, a and/or B, and may indicate: a exists alone, A and B exist together, and B exists alone. The character "/" generally indicates that the context-dependent object is an "or" relationship.
The Bluetooth MESH network is a low-power Bluetooth network topology for establishing communication of many-to-many devices, and the devices can mutually carry out information data transfer. In the bluetooth MESH network, a device that does not join the bluetooth MESH network is generally called an unassigned device, and the unassigned device joins the bluetooth MESH network and is called a node.
The nodes in the Mesh network can be classified into various applications such as sensors, lamps, gateways and relays according to application functions, and can be classified into normal electric equipment and low-power-consumption equipment according to power supply modes, wherein the low-power-consumption equipment is in a long-time dormant state in the Mesh network, a Friendship relation needs to be established with the normal electric equipment, network information is processed regularly, and therefore an adv packet cannot be monitored for a long time. The nodes in the invention adopt common electric nodes, namely non-low-power-consumption nodes.
The invention discloses a passive wireless switch control method based on a Bluetooth MESH network, which at least comprises network access binding and control distribution, and specifically comprises the following steps:
network entry binding: at least one node of the Bluetooth MESH network is selected as a monitoring node, the monitoring node monitors an adv packet broadcast by the passive wireless switch, analyzes the adv packet and stores the adv packet, and the monitoring node also stores configuration information.
Specifically, the network access binding means that one or more nodes in the Bluetooth Mesh network are set to monitor adv packets broadcasted by the passive wireless switch. The adv package is usually an unconnected custom adv package, and the following information can be obtained after the adv package is parsed: information such as MAC address, device identification type code, vendor identification code, key code, etc. The listening node stores configuration information matched with the adv packet, wherein the configuration information is that the passive wireless switch is associated with the actual control operation, namely, the configuration information is a translation rule, and the translation rule can comprise an operation identification code (namely, the adv corresponding to each key of the passive wireless switch), a response target range (such as a single device or multiple devices or a logic group), a response action (such as turning on a lamp or adjusting to 60% brightness), and a response additional operation (such as delay response time, response operation gradual change time and the like). When the monitoring node monitors the ADV packet of the passive wireless switch, the monitoring node analyzes the ADV packet, and if the analyzed MAC address, the equipment identification type code, the manufacturer identification code, the key code and the like are matched with the stored configuration information, the subsequent translation step is carried out according to the key code and specific rules.
The number of keys of the passive wireless switch is determined according to the physical structure, one or more keys are possible, and the specific functions realized by the keys are realized by configuration information, and can be customized. When the passive wireless switch joins the Bluetooth MESH network for the first time, the configuration information stored in the monitoring node is default configuration information, and the key function is default function.
When network access binding is required, the selected listening node requires a trigger binding operation, including but not limited to: triggering a physical button on the monitoring node, an operation button on the App, or a power-on again, etc. After the monitoring node triggers the binding operation, the monitoring node performs a searching operation within a preset time length to monitor the passive wireless switch. At this time, the passive wireless switch performs a network access operation, where the network access operation may be that at least one designated key of the passive wireless switch is pressed (for example, two designated keys are pressed simultaneously to avoid false touch), and then the passive wireless switch may send an adv packet. The monitoring node receives the adv packet for analysis and storage. The monitoring node can prompt the user to complete network access binding in the modes of flashing lights, reporting App to pop windows, changing brightness or color and the like.
And (3) control distribution: the monitoring node receives and analyzes the adv packet broadcast by the passive wireless switch, translates according to the stored configuration information to obtain a Bluetooth MESH data packet, forwards the Bluetooth MESH data packet in a Bluetooth MESH network, forwards the Bluetooth MESH data packet after receiving the Bluetooth MESH data packet by non-target equipment, and responds to actions after receiving the Bluetooth MESH data packet by the target equipment.
Control distribution refers to how a target device receives and responds when a passive wireless switch is pressed. In the control distribution, the listening node also listens for an adv packet broadcast by a control operation of the passive wireless switch, which may be pressing a key on the passive wireless switch. The types of data that the passive wireless switch broadcasts in the control distribution and the ad packets broadcast in the network-access binding may be the same and the specific content may be different.
Specifically, when a user presses a certain key of the passive wireless switch which is already connected with the network, the passive wireless switch sends an adv packet, the monitoring node receives and successfully analyzes the adv packet, translates the adv packet according to stored configuration information to obtain a Bluetooth MESH data packet, and forwards the Bluetooth MESH data packet in a Bluetooth MESH network. The forwarded Bluetooth MESH data packet is completely in Bluetooth MESH format, and a common SIG Model and a customized Vendor Model can be used. The target device relies on the perfect safety and reliability of the Bluetooth Mesh network, and can stably receive and respond to the corresponding actions. The target device may be a single device or multiple devices or logic groups, and the logic groups generally refer to nodes which are located at one position or need to be controlled together, such as all down lamps in a living room of a family, and are added into one logic group to be controlled together, so that all the down lamps in a corridor can be provided with one logic group, and the same lamp (node) can be located in multiple groups at the same time. Referring to fig. 1, a user controls a schematic diagram of a data path of a controlled device of a first logical group through a passive wireless switch.
In the invention, for a monitoring node, responses made after an adv packet broadcast by a passive wireless switch is received are different in different trigger modes, and in network access binding, the adv packet is monitored for finding and identifying a designated passive panel, and a characteristic value of the adv packet is stored in the monitoring node for subsequent user configuration; in the distribution control stage, the operation of corresponding translation, forwarding and the like is required to be carried out according to the stored configuration information when the adv packet is monitored.
If the configuration information stored in the monitoring node is default configuration information, default translation rules set by the equipment in factory, such as short-press switch lamp, long-press dimming and the like, are adopted. In practical applications, the configuration information may be modified, i.e. the translation rules may be customized. When a user needs to change the functions of keys or needs to select the number and range of controlled devices, such as configuring a key to control lights of a corridor and a key to control lights of a restaurant, the configuration needs to be changed.
Thus, the present invention also includes modifying the configuration: and reading the configuration information stored on the monitoring node through the Bluetooth MESH network for modification, transmitting the modified configuration information to the monitoring node and covering the configuration information before modification.
The configuration modification is the function of configuring the passive wireless switch, so that the configured information can be transmitted through the Bluetooth Mesh network, and the configuration process becomes very convenient. The configuration modification can be performed through the node, the node can select a mobile terminal with a display screen and Bluetooth functions, including but not limited to a mobile phone, a PAD, a computer, and application software (App) on various mobile devices with Bluetooth functions, and the App can read (using a Vendor model) configuration information stored on the monitoring node through a Bluetooth Mesh network. The mobile terminal can open a visual interface for a user to configure according to the capability of the passive wireless switch, and modified configuration contents include but are not limited to 1 and a response target range: single device, multi-device, logical group, broadcast, 2, response action: switch, dimming, scene, timing, etc.; 3. combining action responses: double click operation function selection, long press operation function selection, and the like. For example, when the user needs to configure the button No. 2 on the passive wireless switch to control the switching of the corridor lamp, the information 1 recorded in the corresponding configuration information, the adv and 2 corresponding to the button, the logical group 3 where the corridor lamp is located, the switching operation, 4, and no additional action.
After the user is set, the mobile terminal transmits the modified configuration information to the monitoring node through the Bluetooth Mesh network Vendor model, the monitoring node receives the modified configuration information and locally stores the modified configuration information, and the modified configuration information covers the configuration information before modification. And after receiving the adv packet broadcast by the corresponding passive wireless switch, the monitoring node translates the modified configuration information into a data packet of the Bluetooth Mesh and sends the data packet out through the Bluetooth Mesh network.
The invention also provides a passive wireless switch control system based on the Bluetooth MESH network, which comprises
The passive wireless switch has a Bluetooth communication function and is used for broadcasting an adv packet according to the triggering action, a plurality of keys can be arranged on the passive wireless switch, and the function of each key can be defined according to the requirement.
The Bluetooth MESH network is provided with a plurality of nodes, at least one node is selected as a monitoring node, and a plurality of nodes are set as controlled equipment; the monitoring node receives and analyzes the adv packet broadcast by the passive wireless switch, translates the adv packet according to the stored configuration information to obtain a Bluetooth MESH data packet, and forwards the Bluetooth MESH data packet in a Bluetooth MESH network; and forwarding the Bluetooth MESH data packet received by the non-target equipment in the controlled equipment, and responding the Bluetooth MESH data packet received by the target equipment in the controlled equipment.
The system of the invention adopts the passive wireless switch control method based on the Bluetooth MESH network to realize the control of the controlled equipment.
The foregoing is merely illustrative of specific embodiments of the present invention, but the design concept of the present invention is not limited thereto, and any insubstantial modification of the present invention by using the design concept shall fall within the scope of the present invention.

Claims (10)

1. A passive wireless switch control method based on a Bluetooth MESH network is characterized in that: comprising
Network entry binding: selecting at least one node of a Bluetooth MESH network as a monitoring node, wherein the monitoring node monitors an adv packet broadcast by a passive wireless switch, analyzes and stores the adv packet, and the monitoring node also stores configuration information;
and (3) control distribution: the monitoring node receives the adv packet broadcast by the passive wireless switch, analyzes the adv packet, translates the adv packet according to the stored configuration information to obtain a Bluetooth MESH data packet, forwards the Bluetooth MESH data packet in a Bluetooth MESH network, forwards the Bluetooth MESH data packet after receiving the Bluetooth MESH data packet by non-target equipment, and responds to actions after receiving the Bluetooth MESH data packet by target equipment.
2. The passive wireless switch control method based on the bluetooth MESH network as claimed in claim 1, wherein: in the network access binding, the monitoring node triggers a binding operation and performs a searching operation within a preset time length to monitor an adv packet broadcasted by the network access operation of the passive wireless switch.
3. The passive wireless switch control method based on the bluetooth MESH network as claimed in claim 2, wherein: triggering binding operation by the monitoring node comprises triggering a physical button on the monitoring node, an operation button on the APP or re-electrifying; the network access operation of the passive wireless switch includes pressing at least one designated key.
4. The passive wireless switch control method based on the bluetooth MESH network as claimed in claim 1, wherein: in the control distribution, the monitoring node monitors an adv packet broadcasted by the control operation of the passive wireless switch.
5. The passive wireless switch control method based on the bluetooth MESH network as claimed in claim 1, wherein: further comprising modifying the configuration: and reading the configuration information stored on the monitoring node through the Bluetooth MESH network for modification, transmitting the modified configuration information to the monitoring node and covering the configuration information before modification.
6. The passive wireless switch control method based on the Bluetooth MESH network as claimed in claim 5, wherein: and executing the modification configuration by adopting a node, wherein the node is a mobile terminal with a display screen and a Bluetooth function.
7. The passive wireless switch control method based on the 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 additional operations of the response.
8. The passive wireless switch control method based on the bluetooth MESH network as claimed in claim 1, wherein: the adv packet broadcast by the passive wireless switch also comprises an MAC address, a device identification type code, a manufacturer identification code and a key code.
9. The passive wireless switch control method based on the bluetooth MESH network as claimed in claim 1, wherein: the target device is a single device or multiple devices or logical groups.
10. A passive wireless switch control system based on a Bluetooth MESH network is characterized in that:
the passive wireless switch has a Bluetooth communication function and is used for broadcasting an adv packet according to the triggering action;
the Bluetooth MESH network is provided with a plurality of nodes, at least one node is selected as a monitoring node, and a plurality of nodes are set as controlled equipment; the monitoring node receives and analyzes the adv packet broadcast by the passive wireless switch, translates the adv packet according to the stored configuration information to obtain a Bluetooth MESH data packet, and forwards the Bluetooth MESH data packet in a Bluetooth MESH network; and forwarding the Bluetooth MESH data packet received by the non-target equipment in the controlled equipment, and responding the Bluetooth MESH data packet received by the target equipment in the controlled equipment.
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)

Similar Documents

Publication Publication Date Title
US11324074B2 (en) Mesh network system comprising a plurality of interconnected individual mesh networks
CN105652676B (en) A kind of intelligent home appliance remote control system and control method
CN102855744B (en) Based on infrared home appliance management system and the method for smart mobile phone
CN102216916B (en) Apparatus and method of operation for a remote control system
US8552843B2 (en) Universal remote controller having home automation function
US8755913B2 (en) Lighting control network
CN111221273B (en) Control method, system, gateway, wall switch and cloud based on wireless switch
TWI411243B (en) Remote controlling system and gateway apparatus for controlling electronic appliances within space
CN101563957A (en) Method and system to select devices of a wireless network, particularly a network of wireless lighting devices
CN105897527A (en) Method and device for setting running parameter of smart home device in smart scene
CN111052687B (en) Apparatus and method for controlling addition of network nodes to a multihop network
CN106341782A (en) Mobile terminal and household electric appliance communication method and system
CN111273579A (en) Receiver, processing method and system thereof and control assembly based on self-generating switch
CN109890065A (en) A kind of network-building method and system of household appliance
EP2582210A1 (en) Intelligent power controlling system
CN111654844A (en) Device pairing method and related device and device
CN110796844A (en) Wireless remote control method
US20210367838A1 (en) System and method for distributed home automation control
JP2012129916A (en) Communication device
CN110636147B (en) Network distribution method and device with double-control switch, switch and intelligent switch system
US8922349B2 (en) Control circuit, system for operating a device and device for programming such a control circuit
CN105892298A (en) Vehicle-mounted terminal, road side device and intelligent home system
WO2024060800A1 (en) Control system and processing method for intelligent wall switch, and intelligent wall switch
CN115996155A (en) Passive wireless switch control method and control system based on Bluetooth MESH network
US9357497B2 (en) Controlling the power consumption of a receiving unit

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