CN112637874A - BLE Mesh-based intelligent device network distribution method - Google Patents

BLE Mesh-based intelligent device network distribution method Download PDF

Info

Publication number
CN112637874A
CN112637874A CN202011526673.2A CN202011526673A CN112637874A CN 112637874 A CN112637874 A CN 112637874A CN 202011526673 A CN202011526673 A CN 202011526673A CN 112637874 A CN112637874 A CN 112637874A
Authority
CN
China
Prior art keywords
network
information
mesh
router
wifi
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
CN202011526673.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.)
Shanghai High Flying Electronics Technology Co ltd
Original Assignee
Shanghai High Flying Electronics Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shanghai High Flying Electronics Technology Co ltd filed Critical Shanghai High Flying Electronics Technology Co ltd
Priority to CN202011526673.2A priority Critical patent/CN112637874A/en
Publication of CN112637874A publication Critical patent/CN112637874A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W24/00Supervisory, monitoring or testing arrangements
    • H04W24/02Arrangements for optimising operational condition
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W12/00Security arrangements; Authentication; Protecting privacy or anonymity
    • H04W12/08Access security
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/80Services using short range communication, e.g. near-field communication [NFC], radio-frequency identification [RFID] or low energy communication
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W48/00Access restriction; Network selection; Access point selection
    • H04W48/08Access restriction or access information delivery, e.g. discovery data delivery
    • H04W48/10Access restriction or access information delivery, e.g. discovery data delivery using broadcasted information
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W48/00Access restriction; Network selection; Access point selection
    • H04W48/20Selecting an access point
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W84/00Network topologies
    • H04W84/18Self-organising networks, e.g. ad-hoc networks or sensor networks

Abstract

The invention discloses a BLE Mesh-based intelligent device network distribution method, which relates to the technical field of Internet of things and comprises the following steps: forming a Mesh network by a dual-mode module in advance; selecting a dual-mode module nearest to each router in a network environment for accessing, wherein the access mode adopts a WIFIAP network distribution mode, and WiFi equipment is accessed to the network; after the successful networking of the WiFi access device is obtained, the Mesh network is used for broadcasting to inform other nodes in the Mesh network of the SSID and the network key of the WiFi of the link router; WiFi equipment to be connected with the router receives link information of all surrounding routers, and the WiFi equipment starts a function of scanning the surrounding routers; and (4) linking the WiFi equipment in the Mesh network with the router, wherein the link is successful, and the distribution network is completed. The method and the device realize accurate selection of the distribution network target and better network access configuration information, have simple operation, effectively improve the success rate of the distribution network, have high stability, reduce the distribution network operation steps of users and improve the user experience.

Description

BLE Mesh-based intelligent device network distribution method
Technical Field
The invention relates to the technical field of Internet of things, in particular to a BLE Mesh-based intelligent device network distribution method.
Background
With the development of the internet of things technology, a plurality of intelligent devices are also provided with wired or wireless network cards, and can access to a network in a wired or wireless mode. The access of the network usually has some limitations, and the intelligent device needs to be configured with network information (a wireless network name and a password of the wireless access point, etc.) before the access.
At present, in the process of a network distribution of a traditional BLE Mesh network distribution mode, a network distribution failure is caused by factors such as poor network signals and external interference, a person to be distributed with the network cannot continuously send a beacon data packet waiting for the network distribution, a network distribution initiator (such as an APP) needs to re-network equipment after the network distribution failure, manual physical reset needs to be carried out on the equipment, such as five times of switching, a physical reset key is pressed for a long time, and the like, and the operation is inconvenient; in many cases, for example, in a household lighting environment, dozens of bulbs or lamps are in the same physical switch, and if a physical reset operation is performed, all the lamps can be reset at the same time, which causes great inconvenience.
The patent CN105792316A of the invention discloses a network distribution method and a network distribution device for intelligent devices. The method is applied to a distribution network system comprising intelligent equipment, a mobile terminal and a wireless access point, the mobile terminal and the wireless access point establish network connection, and the method comprises the following steps: the intelligent equipment waits for receiving the network access configuration information sent by the mobile terminal; confirming whether the network access configuration information is received, automatically restarting the intelligent equipment when the network access configuration information is received, entering an initialization state, and reading the network access configuration information; scanning a wireless access point corresponding to the wireless network name according to the wireless network name carried in the network access configuration information; after confirming that the wireless access point is scanned, establishing connection with the wireless access point; and after the connection is confirmed to be successful, the connection state is maintained. The network distribution method of the intelligent equipment is simple and convenient to operate, and the intelligent equipment can automatically access the wireless access point only by inputting the password of the wireless access point once in the application program corresponding to the intelligent equipment and the mobile terminal by a user. However, the intelligent equipment is connected with the wireless network name and the password of the wireless access point, and the whole operation process is complicated.
An effective solution to the problems in the related art has not been proposed yet.
Disclosure of Invention
Aiming at the problems in the related art, the invention provides the BLE Mesh-based intelligent equipment network distribution method, which realizes accurate selection of a network distribution target and better network access configuration information, is concise in operation, effectively improves the success rate of the network distribution, has high stability, reduces the network distribution operation steps of users, improves the user experience, and overcomes the technical problems in the prior related art.
The technical scheme of the invention is realized as follows:
a BLE Mesh-based intelligent device network distribution method comprises the following steps:
step S1, forming a Mesh network in advance through a dual-mode module;
step S2, selecting the nearest dual-mode module of each router in the network environment to access the network, wherein the access mode adopts a WIFIAP network distribution mode to access the network of the WiFi equipment;
step S3, after the successful networking of the WiFi network access device is obtained, the Mesh network is used for broadcasting to inform other nodes in the Mesh network of the SSID and the network key of the WiFi of the link router;
step S4, the WiFi equipment to be connected with the router receives the link information of all the surrounding routers, and the WiFi equipment starts the function of scanning the surrounding routers;
and step S5, the WiFi equipment in the Mesh network is linked with the router, the link is successful, and the distribution network is completed.
Further, the step of selecting the nearest dual-mode module of each router in the network environment for network access further comprises the following steps:
the intelligent Bluetooth terminal searches all wireless network information in the local area network, wherein the wireless network information comprises an SSID (service set identifier) and a network key;
generating an optimized wireless network information list by the acquired wireless network information, wherein the optimized wireless network information list comprises an optimal wireless network as a connection signal;
further, the step of generating the optimized wireless network information list includes the following steps:
sequencing the obtained wireless network information list, wherein the sequencing comprises obtaining a signal intensity value of the wireless network information;
and sorting the network information list based on the acquired signal intensity value, and screening the wireless network information with the signal intensity higher than a preset threshold value as list sorting candidate information.
Further, the step that the intelligent device sends a response reminder of successful connection to the intelligent Bluetooth terminal and keeps the connection state to complete network access further comprises the following steps:
the intelligent equipment sends a receipt prompt to the intelligent Bluetooth terminal, and if the intelligent Bluetooth terminal does not receive the prompt, the receipt prompt is larger than a set threshold value and redistributes network access configuration information according to a set network information list;
and the intelligent equipment generates and stores a connection failure log.
Further, the beacon comprises access point identification information, target channel identification information, UUID information, device name information, and MAC address information.
The invention has the beneficial effects that:
according to the BLE Mesh-based intelligent equipment network distribution method, a Mesh network is formed by a dual-mode module in advance; selecting a dual-mode module nearest to each router in a network environment for accessing, wherein the access mode adopts a WIFIAP network distribution mode, and WiFi equipment is accessed to the network; after the successful networking of the WiFi access device is obtained, the Mesh network is used for broadcasting to inform other nodes in the Mesh network of the SSID and the network key of the WiFi of the link router; WiFi equipment to be connected with the router receives link information of all surrounding routers, and the WiFi equipment starts a function of scanning the surrounding routers; and (4) linking the WiFi equipment in the Mesh network with the router, wherein the link is successful, and the distribution network is completed. The method and the device have the advantages that the network distribution target and the better network access configuration information can be accurately selected, operation is simple, the success rate of the network distribution is effectively improved, stability is high, the network distribution operation steps of users are reduced, and user experience is improved.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings needed in the embodiments will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings without creative efforts.
Fig. 1 is a schematic flow diagram of a BLE Mesh-based intelligent device network distribution method according to an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments that can be derived by one of ordinary skill in the art from the embodiments given herein are intended to be within the scope of the present invention.
According to the embodiment of the invention, the BLE Mesh-based intelligent device network distribution method is provided.
As shown in fig. 1, the BLE Mesh-based network distribution method for the smart device according to the embodiment of the present invention includes the following steps:
step S1, forming a Mesh network in advance through a dual-mode module;
step S2, selecting the nearest dual-mode module of each router in the network environment to access the network, wherein the access mode adopts a WIFIAP network distribution mode to access the network of the WiFi equipment;
step S3, after the successful networking of the WiFi network access device is obtained, the Mesh network is used for broadcasting to inform other nodes in the Mesh network of the SSID and the network key of the WiFi of the link router;
step S4, the WiFi equipment to be connected with the router receives the link information of all the surrounding routers, and the WiFi equipment starts the function of scanning the surrounding routers;
and step S5, the WiFi equipment in the Mesh network is linked with the router, the link is successful, and the distribution network is completed.
By means of the scheme, a Mesh network is formed in advance through the dual-mode module; selecting a dual-mode module nearest to each router in a network environment for accessing, wherein the access mode adopts a WIFIAP network distribution mode, and WiFi equipment is accessed to the network; after the successful networking of the WiFi access device is obtained, the Mesh network is used for broadcasting to inform other nodes in the Mesh network of the SSID and the network key of the WiFi of the link router; WiFi equipment to be connected with the router receives link information of all surrounding routers, and the WiFi equipment starts a function of scanning the surrounding routers; and (4) linking the WiFi equipment in the Mesh network with the router, wherein the link is successful, and the distribution network is completed. The method and the device have the advantages that the network distribution target and the better network access configuration information can be accurately selected, operation is simple, the success rate of the network distribution is effectively improved, stability is high, the network distribution operation steps of users are reduced, and user experience is improved.
Wherein, said step of selecting the nearest dual-mode module of each router in the network environment for network access further comprises the following steps:
the intelligent Bluetooth terminal searches all wireless network information in the local area network, wherein the wireless network information comprises an SSID (service set identifier) and a network key;
generating an optimized wireless network information list by the acquired wireless network information, wherein the optimized wireless network information list comprises an optimal wireless network as a connection signal;
the step of generating the optimized wireless network information list comprises the following steps:
sequencing the obtained wireless network information list, wherein the sequencing comprises obtaining a signal intensity value of the wireless network information;
and sorting the network information list based on the acquired signal intensity value, and screening the wireless network information with the signal intensity higher than a preset threshold value as list sorting candidate information.
The method comprises the following steps that the intelligent equipment sends a connection success receipt prompt to the intelligent Bluetooth terminal and keeps a connection state to complete network access, and further comprises the following steps:
the intelligent equipment sends a receipt prompt to the intelligent Bluetooth terminal, and if the intelligent Bluetooth terminal does not receive the prompt, the receipt prompt is larger than a set threshold value and redistributes network access configuration information according to a set network information list;
and the intelligent equipment generates and stores a connection failure log.
The beacon comprises access point identification information, target channel identification information, UUID information, equipment name information and MAC address information.
In summary, with the above technical solution of the present invention, a Mesh network is formed in advance by a dual-mode module; selecting a dual-mode module nearest to each router in a network environment for accessing, wherein the access mode adopts a WIFIAP network distribution mode, and WiFi equipment is accessed to the network; after the successful networking of the WiFi access device is obtained, the Mesh network is used for broadcasting to inform other nodes in the Mesh network of the SSID and the network key of the WiFi of the link router; WiFi equipment to be connected with the router receives link information of all surrounding routers, and the WiFi equipment starts a function of scanning the surrounding routers; and (4) linking the WiFi equipment in the Mesh network with the router, wherein the link is successful, and the distribution network is completed. The method and the device have the advantages that the network distribution target and the better network access configuration information can be accurately selected, operation is simple, the success rate of the network distribution is effectively improved, stability is high, the network distribution operation steps of users are reduced, and user experience is improved.
The present invention is not limited to the above-described preferred embodiments, but rather, the present invention is to be construed broadly and cover all modifications, equivalents, and improvements falling within the spirit and scope of the present invention.

Claims (5)

1. A BLE Mesh-based intelligent device network distribution method is characterized by comprising the following steps:
forming a Mesh network through a dual-mode module in advance;
selecting a dual-mode module nearest to each router in a network environment for accessing, wherein the access mode adopts a WIFIAP network distribution mode, and WiFi equipment is accessed to the network;
after the successful networking of the WiFi access device is obtained, the Mesh network is used for broadcasting to inform other nodes in the Mesh network of the SSID and the network key of the WiFi of the link router;
WiFi equipment to be connected with the router receives link information of all surrounding routers, and the WiFi equipment starts a function of scanning the surrounding routers;
and (4) linking the WiFi equipment in the Mesh network with the router, wherein the link is successful, and the distribution network is completed.
2. The BLE Mesh-based smart device network distribution method according to claim 1, wherein the step of selecting the dual-mode module nearest to each router in the network environment for network entry further comprises the steps of:
the intelligent Bluetooth terminal searches all wireless network information in the local area network, wherein the wireless network information comprises an SSID (service set identifier) and a network key;
and generating an optimized wireless network information list by using the acquired wireless network information, wherein the optimized wireless network information list comprises an optimal wireless network as a connection signal.
3. The BLE Mesh-based smart device network distribution method according to claim 2, wherein the step of generating the optimized wireless network information list comprises the steps of:
sequencing the obtained wireless network information list, wherein the sequencing comprises obtaining a signal intensity value of the wireless network information;
and sorting the network information list based on the acquired signal intensity value, and screening the wireless network information with the signal intensity higher than a preset threshold value as list sorting candidate information.
4. The BLE Mesh-based network distribution method for the intelligent device according to claim 3, wherein the step of sending a connection success receipt reminder to the intelligent Bluetooth terminal and keeping the connection state to complete network entry by the intelligent device further comprises the steps of:
the intelligent equipment sends a receipt prompt to the intelligent Bluetooth terminal, and if the intelligent Bluetooth terminal does not receive the prompt, the receipt prompt is larger than a set threshold value and redistributes network access configuration information according to a set network information list;
and the intelligent equipment generates and stores a connection failure log.
5. The BLE Mesh-based network distribution method for intelligent devices according to claim 1, wherein the beacon comprises access point identification information, target channel identification information, UUID information, and device
Name information and MAC address information are prepared.
CN202011526673.2A 2020-12-22 2020-12-22 BLE Mesh-based intelligent device network distribution method Pending CN112637874A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011526673.2A CN112637874A (en) 2020-12-22 2020-12-22 BLE Mesh-based intelligent device network distribution method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011526673.2A CN112637874A (en) 2020-12-22 2020-12-22 BLE Mesh-based intelligent device network distribution method

Publications (1)

Publication Number Publication Date
CN112637874A true CN112637874A (en) 2021-04-09

Family

ID=75320985

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011526673.2A Pending CN112637874A (en) 2020-12-22 2020-12-22 BLE Mesh-based intelligent device network distribution method

Country Status (1)

Country Link
CN (1) CN112637874A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113543046A (en) * 2021-07-15 2021-10-22 中通服咨询设计研究院有限公司 A intelligence control system that is used for BLE mesh of electric wire netting to organize net
CN113645301A (en) * 2021-08-10 2021-11-12 生迪智慧科技有限公司 Communication method and device
CN113676933A (en) * 2021-08-17 2021-11-19 深圳市芯中芯科技有限公司 Mesh network distribution device election method, device and system
CN115499946A (en) * 2022-11-15 2022-12-20 成都爱旗科技有限公司 Distribution network control method and system based on BLE MESH and electronic equipment

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN204810290U (en) * 2015-06-24 2015-11-25 北京勇搏科技有限公司 Novel wireless Intelligence system
CN105338595A (en) * 2015-10-20 2016-02-17 广东欧珀移动通信有限公司 Intelligent terminal joining method, apparatus and system based on intelligent terminal system
US20160165387A1 (en) * 2014-08-26 2016-06-09 Hoang Nhu Smart home platform with data analytics for monitoring and related methods
CN107508714A (en) * 2017-09-26 2017-12-22 深圳市微智电子有限公司 The method and device of network configuration is carried out to bluetooth equipment based on bluetooth mesh
CN108391238A (en) * 2018-02-01 2018-08-10 乐鑫信息科技(上海)有限公司 Wireless MESH network matches network method
CN108513283A (en) * 2018-03-13 2018-09-07 青岛海尔科技有限公司 One kind matching network method, equipment, terminal, medium and computer equipment
CN109922516A (en) * 2019-03-01 2019-06-21 奥克斯空调股份有限公司 A kind of method of wifi equipment intelligent network distribution
CN110392445A (en) * 2019-07-17 2019-10-29 青岛海尔科技有限公司 The method, apparatus and system of equipment distribution
CN111010324A (en) * 2019-12-26 2020-04-14 航天信息股份有限公司 Household appliance ad hoc network method and system based on BLE MESH network protocol
CN111757356A (en) * 2020-06-23 2020-10-09 四川虹美智能科技有限公司 Equipment distribution network system and distribution network method thereof

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20160165387A1 (en) * 2014-08-26 2016-06-09 Hoang Nhu Smart home platform with data analytics for monitoring and related methods
CN204810290U (en) * 2015-06-24 2015-11-25 北京勇搏科技有限公司 Novel wireless Intelligence system
CN105338595A (en) * 2015-10-20 2016-02-17 广东欧珀移动通信有限公司 Intelligent terminal joining method, apparatus and system based on intelligent terminal system
CN107508714A (en) * 2017-09-26 2017-12-22 深圳市微智电子有限公司 The method and device of network configuration is carried out to bluetooth equipment based on bluetooth mesh
CN108391238A (en) * 2018-02-01 2018-08-10 乐鑫信息科技(上海)有限公司 Wireless MESH network matches network method
CN108513283A (en) * 2018-03-13 2018-09-07 青岛海尔科技有限公司 One kind matching network method, equipment, terminal, medium and computer equipment
CN109922516A (en) * 2019-03-01 2019-06-21 奥克斯空调股份有限公司 A kind of method of wifi equipment intelligent network distribution
CN110392445A (en) * 2019-07-17 2019-10-29 青岛海尔科技有限公司 The method, apparatus and system of equipment distribution
CN111010324A (en) * 2019-12-26 2020-04-14 航天信息股份有限公司 Household appliance ad hoc network method and system based on BLE MESH network protocol
CN111757356A (en) * 2020-06-23 2020-10-09 四川虹美智能科技有限公司 Equipment distribution network system and distribution network method thereof

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
姚德泉;陶勇;: "Mesh网络在配网自动化中的应用分析", 通讯世界, no. 18, 25 September 2015 (2015-09-25) *

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113543046A (en) * 2021-07-15 2021-10-22 中通服咨询设计研究院有限公司 A intelligence control system that is used for BLE mesh of electric wire netting to organize net
CN113645301A (en) * 2021-08-10 2021-11-12 生迪智慧科技有限公司 Communication method and device
CN113676933A (en) * 2021-08-17 2021-11-19 深圳市芯中芯科技有限公司 Mesh network distribution device election method, device and system
CN113676933B (en) * 2021-08-17 2023-12-01 深圳市芯中芯科技有限公司 Mesh distribution network device election method, device and system
CN115499946A (en) * 2022-11-15 2022-12-20 成都爱旗科技有限公司 Distribution network control method and system based on BLE MESH and electronic equipment

Similar Documents

Publication Publication Date Title
CN112637874A (en) BLE Mesh-based intelligent device network distribution method
CN109348458B (en) Network access configuration method and device, electronic equipment and network system
CN105208583B (en) Method and device for configuring intelligent household electrical appliance to access network and intelligent equipment
US10939287B2 (en) Method of batch automatic network configuration of WiFi devices, terminal equipment and storage medium
CN108781473B (en) Method and equipment for sharing files among different terminals
CN101305347A (en) Device-aware content delivery
CN111615123A (en) Method, device and storage medium for intelligent device network distribution
US10609649B2 (en) Method and device for reducing power consumption of terminal, and smart card
CN111885680A (en) Method, system and core equipment for establishing network connection
CN106888488A (en) The networking method and its device of smart machine
CN101572885A (en) Method and apparatus for setting wireless local area network by using button
CN105323824A (en) WIFI equipment, electronic device and method for assisting WIFI equipment access to network
CN109819498A (en) A kind of smart machine, the automatic distribution method and system of smart machine
CN108307479B (en) Communication module, network distribution method and device thereof, storage medium, equipment and terminal
CN105391605A (en) Quick network access method, system and equipment for intelligent WIFI equipment
CN110602765A (en) Network selection method and device
CN111757421A (en) Method and device for intelligent equipment network distribution
US20230291799A1 (en) Method and Apparatus of Network Configuration for Internet-of-Things Device
CN111565474B (en) Method and system for establishing communication connection between AP (access point) equipment and target terminal based on Mesh network
CN107124744B (en) Network switching method and wireless access point
CN111107605A (en) Network distribution method of household electrical appliance and household electrical appliance
US10070289B1 (en) Client association for provisioning devices in a communication network
CN112312518A (en) Method and device for connecting household appliance with dual-frequency router
CN107182073B (en) Network access system and method for configuration equipment
US11431524B2 (en) Internet of things network system and networking method thereof

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