[go: up one dir, main page]

CN111328058A - A dynamic wake-up method for Bluetooth Mesh low-power nodes - Google Patents

A dynamic wake-up method for Bluetooth Mesh low-power nodes Download PDF

Info

Publication number
CN111328058A
CN111328058A CN202010115344.2A CN202010115344A CN111328058A CN 111328058 A CN111328058 A CN 111328058A CN 202010115344 A CN202010115344 A CN 202010115344A CN 111328058 A CN111328058 A CN 111328058A
Authority
CN
China
Prior art keywords
lpn
node
power consumption
time
sleep time
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.)
Granted
Application number
CN202010115344.2A
Other languages
Chinese (zh)
Other versions
CN111328058B (en
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.)
Nantong University
Original Assignee
Nantong University
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 Nantong University filed Critical Nantong University
Priority to CN202010115344.2A priority Critical patent/CN111328058B/en
Publication of CN111328058A publication Critical patent/CN111328058A/en
Application granted granted Critical
Publication of CN111328058B publication Critical patent/CN111328058B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W52/00Power management, e.g. Transmission Power Control [TPC] or power classes
    • H04W52/02Power saving arrangements
    • H04W52/0209Power saving arrangements in terminal devices
    • H04W52/0225Power saving arrangements in terminal devices using monitoring of external events, e.g. the presence of a signal
    • 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
    • H04W52/00Power management, e.g. Transmission Power Control [TPC] or power classes
    • H04W52/02Power saving arrangements
    • H04W52/0209Power saving arrangements in terminal devices
    • H04W52/0225Power saving arrangements in terminal devices using monitoring of external events, e.g. the presence of a signal
    • H04W52/0229Power saving arrangements in terminal devices using monitoring of external events, e.g. the presence of a signal where the received signal is a wanted signal
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W52/00Power management, e.g. Transmission Power Control [TPC] or power classes
    • H04W52/04Transmission power control [TPC]
    • H04W52/38TPC being performed in particular situations
    • H04W52/46TPC being performed in particular situations in multi-hop networks, e.g. wireless relay networks
    • 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

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The invention discloses a dynamic awakening method of a Bluetooth Mesh low-power consumption node, which mainly comprises the following two aspects: firstly, a data packet sent by a friend node to a low power consumption node (LPN) carries synchronous clock information incidentally, and the low power consumption node (LPN) carries out clock synchronization every time the low power consumption node (LPN) receives data; the friend node can synchronously update the dynamic awakening time of the low-power-consumption node, and can send data to the low-power-consumption node without sending an inquiry data packet by the low-power-consumption node; secondly, the low-power consumption node is in an awakening state; in the awakening period, if new information is received, processing is carried out, and then awakening time is gradually reduced; if no new information is received, the wake-up time is gradually increased. The invention can synchronously update the clocks of the low power consumption node (LPN) and the friendly node and the dynamic awakening time of the low power consumption node, reduce the sending of the data packet of the low power consumption node and further reduce the power consumption in the Bluetooth Mesh networking process.

Description

一种蓝牙Mesh低功耗节点动态唤醒方法A dynamic wake-up method for Bluetooth Mesh low-power nodes

技术领域technical field

本发明涉及无线通信技术领域,特别涉及一种蓝牙Mesh低功耗节点唤醒方法。The invention relates to the technical field of wireless communication, in particular to a method for awakening a Bluetooth Mesh low-power node.

背景技术Background technique

在无线Mesh网络中,任何无线设备节点都可以同时作为AP和路由器,网络中的每个节点都可以发送和接收信号,每个节点都可以与一个或者多个对等节点进行直接通信。In a wireless mesh network, any wireless device node can act as an AP and a router at the same time, each node in the network can send and receive signals, and each node can communicate directly with one or more peer nodes.

无线Mesh网络结构的最大好处在于:如果最近的AP由于流量过大而导致拥塞的话,那么数据可以自动重新路由到一个通信流量较小的邻近节点进行传输。依此类推,数据包还可以根据网络的情况,继续路由到与之最近的下一个节点进行传输,直到到达最终目的地为止。The biggest benefit of the wireless mesh network structure is that if the nearest AP is congested due to excessive traffic, the data can be automatically re-routed to a neighboring node with less traffic for transmission. And so on, the data packet can also continue to be routed to the next closest node for transmission according to the network conditions until it reaches the final destination.

低功耗蓝牙和蓝牙Mesh的关系:蓝牙Mesh是一种网络技术,蓝牙Mesh网络依赖于低功耗蓝牙,而低功耗蓝牙技术是蓝牙Mesh使用的无线通信协议栈。The relationship between Bluetooth low energy and Bluetooth Mesh: Bluetooth Mesh is a network technology, Bluetooth Mesh network relies on Bluetooth low energy, and Bluetooth low energy technology is the wireless communication protocol stack used by Bluetooth Mesh.

低功耗蓝牙BLE工作模式主要分为3种:广播、扫描和连接。为了保证数据传输的准确性,有两种改进的方案:一是采用增加扫描窗口时间,使扫描覆盖率更大;二是设置广播间隔小于扫描窗口时间,使得扫描窗口时间段内必有广播数据。但是,这两种方案均有缺陷。扫描时间过长或广播间隔过短都会导致唤醒时间增加,进而增大BLE功耗;而连接式通信的BLE设备需要定时维护连接,减少连接间隔和增加连接设备数量均会导致BLE连接事件增多,从而导致BEL功耗增大。There are three main types of BLE working modes: broadcast, scan and connect. In order to ensure the accuracy of data transmission, there are two improved schemes: one is to increase the scan window time to make the scan coverage larger; the other is to set the broadcast interval to be smaller than the scan window time, so that there must be broadcast data within the scan window time period . However, both schemes have drawbacks. If the scan time is too long or the broadcast interval is too short, the wake-up time will increase, which will increase the power consumption of BLE; while the BLE device with connected communication needs to maintain the connection regularly, reducing the connection interval and increasing the number of connected devices will lead to an increase in BLE connection events. As a result, the power consumption of the BEL increases.

本发明的目的,在于提供一种蓝牙Mesh低功耗节点动态唤醒方法。在需要的时候,低功耗节点(LPN)即能动态地从休眠状态转为响应状态,建立与好友节点的网络连接,进行数据发送与接收的过程。数据传输完毕,低功耗节点(LPN)自动入休眠状态。这样,既达到数据的传输,又不需要永远在线扫描,从而节省了节点的功耗。The purpose of the present invention is to provide a dynamic wake-up method for a Bluetooth Mesh low-power node. When needed, the low-power node (LPN) can dynamically change from the sleep state to the response state, establish a network connection with the friend node, and perform the process of data transmission and reception. After the data transmission is completed, the low-power node (LPN) automatically enters a sleep state. In this way, data transmission is achieved, and there is no need to scan forever online, thereby saving the power consumption of nodes.

发明内容SUMMARY OF THE INVENTION

发明目的:本发明的目的在于克服现有技术的不足之处,提供一种蓝牙Mesh低功耗节点动态唤醒方法,从而进一步降低蓝牙Mesh组网过程中的功耗,其特点在于综合考虑了低功耗节点(LPN)的接收延迟、接收窗口等时延因素。Purpose of the invention: The purpose of the present invention is to overcome the deficiencies of the prior art, and to provide a Bluetooth Mesh low-power node dynamic wake-up method, thereby further reducing the power consumption in the Bluetooth Mesh networking process. Delay factors such as the reception delay of the power consumption node (LPN) and the reception window.

技术方案:为实现上述目的,本发明提供的技术方法如下:Technical scheme: in order to realize the above-mentioned purpose, the technical method provided by the present invention is as follows:

一种蓝牙Mesh低功耗节点动态唤醒方法,包含以下步骤:A method for dynamically awakening a Bluetooth Mesh low-power node, comprising the following steps:

S101:一种蓝牙Mesh组网系统中,用户根据自身的需求,从控制端发出操作指令给系统;S101: In a Bluetooth Mesh networking system, a user sends an operation command to the system from a control terminal according to his own needs;

S102:系统接收指令并向好友节点发送指令;S102: the system receives the instruction and sends the instruction to the friend node;

S103:好友节点暂存从系统接收到的指令;S103: The friend node temporarily stores the instruction received from the system;

S104:好友节点与LPN建立“友谊”关系,建立数据传输通道;S104: The friend node establishes a "friendship" relationship with the LPN, and establishes a data transmission channel;

S105:更新同步时钟和唤醒时间后,好友节点向唤醒时间到的LPN发送数据信息,数据信息包含待处理命令、同步时钟以及计数值N等;S105: After updating the synchronization clock and the wake-up time, the friend node sends data information to the LPN whose wake-up time is up, and the data information includes the pending command, the synchronization clock, and the count value N, etc.;

S106:好友节点与LPN更新同步时钟;S106: The friend node and the LPN update the synchronization clock;

S107:LPN判断是否接收到数据,若LPN未接收到数据,跳转步骤S108,若LPN接收到数据,则跳转步骤S109;S107: The LPN judges whether data is received, if the LPN does not receive the data, skip to step S108, and if the LPN receives the data, skip to step S109;

S108:LPN判断自身休眠时间是否不小于最长休眠时间,若LPN自身休眠时间小于最长休眠时间,则跳转步骤S1081;若LPN自身休眠时间不小于最长休眠时间,则跳转步骤S1082;S108: The LPN judges whether its own sleep time is not less than the longest sleep time. If the LPN's own sleep time is less than the longest sleep time, it will jump to step S1081; if the LPN's own sleep time is not less than the longest sleep time, it will jump to step S1082;

所述的步骤S1081为:LPN的休眠时间增加为现有休眠时间的2倍,即现有休眠时间乘以2,执行计数功能N+1,其中初值N=0;跳转步骤S113;The step S1081 is: the sleep time of the LPN is increased by 2 times of the existing sleep time, that is, the existing sleep time is multiplied by 2, and the counting function N+1 is executed, wherein the initial value N=0; skip to step S113;

所述的步骤S1082为:LPN保持最长休眠时间,跳转步骤S113;The step S1082 is: the LPN keeps the longest sleep time, and jumps to step S113;

S109:接收信息并进行处理,然后LPN与系统同步时间;S109: Receive the information and process it, and then synchronize the time between the LPN and the system;

S110:LPN判断自身休眠时间是否不大于最短休眠时间,若LPN自身休眠时间大于最短休眠时间,则跳转步骤S1101;若LPN自身休眠时间不大于最短休眠时间,则跳转步骤S1102;S110: The LPN judges whether its own sleep time is not greater than the shortest sleep time. If the LPN's own sleep time is greater than the shortest sleep time, it will jump to step S1101; if the LPN's own sleep time is not greater than the shortest sleep time, it will jump to step S1102;

所述的步骤S1101为:LPN的休眠时间减少为现有休眠时间的50%,即现有休眠时间乘0.5;执行计数功能N-1,其中初值N=0;跳转步骤S111;The step S1101 is as follows: the sleep time of the LPN is reduced to 50% of the existing sleep time, that is, the existing sleep time is multiplied by 0.5; the counting function N-1 is executed, wherein the initial value N=0; jump to step S111;

所述的步骤S1102为:LPN保持最短休眠时间;The step S1102 is: the LPN maintains the shortest sleep time;

S111:LPN记录自身剩余电量;S111: The LPN records its own remaining power;

S112:LPN发送数据信息给好友节点;S112: The LPN sends data information to the friend node;

S113:判断唤醒周期内好友节点是否收到数据,若未收到数据,则跳转步骤S1131,若收到数据,则跳转步骤S1132;S113: Determine whether the friend node has received data during the wake-up period, if no data is received, skip to step S1131, and if data is received, skip to step S1132;

所述的步骤S1131为:好友节点处的计数值N加1,当经达到最大值N=4,则保持最大值;跳转步骤S105,开始下一轮处理;The step S1131 is: the count value N at the friend node is increased by 1, and when the maximum value N=4 is reached, the maximum value is maintained; skip to step S105 to start the next round of processing;

所述的步骤S1132为:好友节点处的计数值N减1,当经达到最小值N=0则保持最小值;跳转步骤S105,开始下一轮处理。The step S1132 is as follows: the count value N at the friend node is decremented by 1, and when the minimum value N=0 is reached, the minimum value is maintained; step S105 is jumped to start the next round of processing.

进一步的,所述的步骤S101中的一种蓝牙Mesh组网系统,该系统由若干用户、系统后台、若干中继网关节点、若干好友节点以及若干低功耗节点组成,并兼具发送、接收和信息处理的功能,所述的蓝牙Mesh组网系统包含以下步骤:Further, a Bluetooth Mesh networking system in the step S101, the system is composed of several users, system background, several relay gateway nodes, several friend nodes and several low-power nodes, and has both sending and receiving functions. And the function of information processing, the described Bluetooth Mesh networking system includes the following steps:

S21:用户根据自身的需求,从控制端发出操作指令给系统后台;用户端也接收来自系统后台的信息;S21: The user sends an operation command from the control terminal to the system background according to his own needs; the user terminal also receives the information from the system background;

S22:系统后台接收来自用户的指令并向中继网关节点发送指令;中继网关节点根据指令发送结果给予系统后台反馈;S22: the system background receives the instruction from the user and sends the instruction to the relay gateway node; the relay gateway node gives feedback to the system background according to the instruction sending result;

S23:中继网关节点接收来自系统后台的指令并向好友节点发送指令;好友节点根据指令发送结果给予中继网关节点反馈;S23: The relay gateway node receives the instruction from the system background and sends the instruction to the friend node; the friend node gives feedback to the relay gateway node according to the instruction sending result;

S24:好友节点接收指令,与低功耗节点(LPN)建立“友谊”关系后,向低功耗节点(LPN)发送数据包。数据信息包含待处理命令、同步时钟以及计数值N等;从低功耗节点(LPN)接收处理完成的数据信息;S24: The friend node receives the instruction, and after establishing a "friendship" relationship with the low power consumption node (LPN), sends a data packet to the low power consumption node (LPN). The data information includes commands to be processed, the synchronization clock, and the count value N, etc.; the processed data information is received from the low-power node (LPN);

S25:低功耗节点(LPN)借助收到的数据包进行时钟同步,借助计数值同步唤醒周期;LPN唤醒时间到时接收来自好友节点的数据,数据处理完毕后,低功耗节点(LPN)记录计数值,反馈给好友节点进行同步更新唤醒周期。S25: The low-power node (LPN) uses the received data packet to synchronize the clock, and uses the count value to synchronize the wake-up period; when the LPN wake-up time is up, it receives the data from the friend node, and after the data processing is completed, the low-power node (LPN) Record the count value and feed it back to the friend node for synchronous update and wake-up cycle.

进一步的,步骤S1081和步骤S1101所述的初值N=0,若LPN有信息接收,则进行N+1计数,若LPN没有信息接收,则进行N-1计数,N的取值范围为0≤N≤4;设LPN是否有信息的判断前休眠时间为T(单位:秒),LPN初始状态休眠时间为最短休眠时间0.1秒,则执行完一次记录电量操作前LPN的休眠时间为T=0.1×2N(s)。Further, the initial value N=0 described in step S1081 and step S1101, if the LPN has received information, then carry out N+1 count, if the LPN has no information received, carry out N-1 count, the value range of N is 0 ≤N≤4; set the sleep time before LPN has information judgment as T (unit: seconds), and the sleep time in the initial state of LPN as the shortest sleep time of 0.1 seconds, then the sleep time of LPN before performing a power recording operation is T = 0.1 × 2 N (s).

进一步的,所述的系统兼具发送、接收和信息处理的功能,具体功能如下:Further, the system has the functions of sending, receiving and information processing, and the specific functions are as follows:

A:发送方面,用户发送指令后,通过系统后台对用户信息的处理,将信息依此发送到中继网关节点、好友节点,最后到达低功耗节点(LPN);A: In terms of sending, after the user sends an instruction, the system background processes the user information, and sends the information to the relay gateway node, friend node, and finally to the low-power node (LPN);

B:接收方面,组网系统主要包括用户、系统后台、中继网关节点、好友节点和低功耗节点(LPN);各系统成员间传输数据时,下层系统成员接收到上层系统成员的数据后,借助数据包和计数值进行时钟同步和唤醒周期的更新。B: In terms of reception, the networking system mainly includes users, system backgrounds, relay gateway nodes, friend nodes, and low-power nodes (LPNs). , with the help of data packets and count values for clock synchronization and update of the wake-up period.

有益效果:本发明不需要低功耗节点长时间扫描是否有信道信息,通过动态窗口根据前一跳信息的有无来增加或减少休眠时间,提高了工作时间内的工作效率,因而自身功耗和反馈开销小,算法复杂度低,适用于进一步降低低功耗蓝牙Mesh网络的功耗。Beneficial effect: the present invention does not require the low-power node to scan for a long time whether there is channel information, and increases or decreases the sleep time according to the presence or absence of the previous hop information through the dynamic window, which improves the work efficiency during the working time, and thus consumes power. And the feedback overhead is small, the algorithm complexity is low, and it is suitable for further reducing the power consumption of the low-power Bluetooth mesh network.

附图说明Description of drawings

图1为本发明实施例提供的一种蓝牙Mesh低功耗节点动态唤醒方法流程示意图;1 is a schematic flowchart of a method for dynamically waking up a Bluetooth Mesh low-power node according to an embodiment of the present invention;

图2为本发明实施例提供的一种蓝牙Mesh组网系统及接收延迟和接收窗口的时序的示意图。FIG. 2 is a schematic diagram of a Bluetooth Mesh networking system and a timing sequence of a receiving delay and a receiving window according to an embodiment of the present invention.

具体实施方式Detailed ways

下面将对本发明实施例中的技术方案进行清楚、完整地描述,以使本领域的技术人员能够更好的理解本发明的优点和特征,从而对本发明的保护范围做出更为清楚的界定。本发明所描述的实施例仅仅是本发明一部分实施例,而不是全部的实施例,基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动的前提下所获得的所有其他实施例,都属于本发明保护的范围。The technical solutions in the embodiments of the present invention will be clearly and completely described below, so that those skilled in the art can better understand the advantages and features of the present invention, and thus make a clearer definition of the protection scope of the present invention. The described embodiments of the present invention are only a part of the embodiments of the present invention, rather than all the embodiments. Based on the embodiments of the present invention, all other implementations obtained by those of ordinary skill in the art without creative work For example, all belong to the protection scope of the present invention.

如图1所示为一种蓝牙Mesh低功耗节点动态唤醒方法,它包括以下步骤:Figure 1 shows a dynamic wake-up method for a Bluetooth Mesh low-power node, which includes the following steps:

S101:一种蓝牙Mesh组网系统中,用户根据自身的需求,从控制端发出操作指令给系统;S101: In a Bluetooth Mesh networking system, a user sends an operation command to the system from a control terminal according to his own needs;

S102:系统接收指令并向好友节点发送指令;S102: the system receives the instruction and sends the instruction to the friend node;

S103:好友节点暂存从系统接收到的指令;S103: The friend node temporarily stores the instruction received from the system;

S104:好友节点与LPN建立“友谊”关系,建立数据传输通道;S104: The friend node establishes a "friendship" relationship with the LPN, and establishes a data transmission channel;

S105:更新同步时钟和唤醒时间后,好友节点向唤醒时间到的LPN发送数据信息,数据信息包含待处理命令、同步时钟以及计数值N等;S105: After updating the synchronization clock and the wake-up time, the friend node sends data information to the LPN whose wake-up time is up, and the data information includes the pending command, the synchronization clock, and the count value N, etc.;

S106:好友节点与LPN更新同步时钟;S106: The friend node and the LPN update the synchronization clock;

S107:LPN判断是否接收到数据,若LPN未接收到数据,跳转步骤S108,若LPN接收到数据,则跳转步骤S109;S107: The LPN judges whether data is received, if the LPN does not receive the data, skip to step S108, and if the LPN receives the data, skip to step S109;

S108:LPN判断自身休眠时间是否不小于最长休眠时间,若LPN自身休眠时间小于最长休眠时间,则跳转步骤S1081;若LPN自身休眠时间不小于最长休眠时间,则跳转步骤S1082;S108: The LPN judges whether its own sleep time is not less than the longest sleep time. If the LPN's own sleep time is less than the longest sleep time, it will jump to step S1081; if the LPN's own sleep time is not less than the longest sleep time, it will jump to step S1082;

所述的步骤S1081为:LPN的休眠时间增加为现有休眠时间的2倍,即现有休眠时间乘以2,执行计数功能N+1,其中初值N=0;跳转步骤S113;The step S1081 is: the sleep time of the LPN is increased by 2 times of the existing sleep time, that is, the existing sleep time is multiplied by 2, and the counting function N+1 is executed, wherein the initial value N=0; skip to step S113;

所述的步骤S1082为:LPN保持最长休眠时间,跳转步骤S113;The step S1082 is: the LPN keeps the longest sleep time, and jumps to step S113;

S109:接收信息并进行处理,然后LPN与系统同步时间;S109: Receive the information and process it, and then synchronize the time between the LPN and the system;

S110:LPN判断自身休眠时间是否不大于最短休眠时间,若LPN自身休眠时间大于最短休眠时间,则跳转步骤S1101;若LPN自身休眠时间不大于最短休眠时间,则跳转步骤S1102;S110: The LPN judges whether its own sleep time is not greater than the shortest sleep time. If the LPN's own sleep time is greater than the shortest sleep time, it will jump to step S1101; if the LPN's own sleep time is not greater than the shortest sleep time, it will jump to step S1102;

所述的步骤S1101为:LPN的休眠时间减少为现有休眠时间的50%,即现有休眠时间乘0.5;执行计数功能N-1,其中初值N=0;跳转步骤S111;The step S1101 is as follows: the sleep time of the LPN is reduced to 50% of the existing sleep time, that is, the existing sleep time is multiplied by 0.5; the counting function N-1 is executed, wherein the initial value N=0; jump to step S111;

所述的步骤S1102为:LPN保持最短休眠时间;The step S1102 is: the LPN maintains the shortest sleep time;

S111:LPN记录自身剩余电量;S111: The LPN records its own remaining power;

S112:LPN发送数据信息给好友节点;S112: The LPN sends data information to the friend node;

S113:判断唤醒周期内好友节点是否收到数据,若未收到数据,则跳转步骤S1131,若收到数据,则跳转步骤S1132;S113: Determine whether the friend node has received data during the wake-up period, if no data is received, skip to step S1131, and if data is received, skip to step S1132;

所述的步骤S1131为:好友节点处的计数值N加1,当经达到最大值N=4,则保持最大值;跳转步骤S105,开始下一轮处理;The step S1131 is: the count value N at the friend node is increased by 1, and when the maximum value N=4 is reached, the maximum value is maintained; skip to step S105 to start the next round of processing;

所述的步骤S1132为:好友节点处的计数值N减1,当经达到最小值N=0则保持最小值;跳转步骤S105,开始下一轮处理。The step S1132 is as follows: the count value N at the friend node is decremented by 1, and when the minimum value N=0 is reached, the minimum value is maintained; step S105 is jumped to start the next round of processing.

其中,步骤S1081和步骤S1101所述的初值N=0,若LPN有信息接收,则进行N+1计数,若LPN没有信息接收,则进行N-1计数,N的取值范围为0≤N≤4;设LPN是否有信息的判断前休眠时间为T(单位:秒),LPN初始状态休眠时间为最短休眠时间0.1秒,则执行完一次记录电量操作前LPN的休眠时间为T=0.1×2N(s)。Wherein, the initial value N=0 described in step S1081 and step S1101, if the LPN has received information, then carry out N+1 count, if the LPN has no information received, carry out N-1 count, and the value range of N is 0≤ N≤4; set the sleep time before the judgment of whether the LPN has information as T (unit: seconds), and the sleep time in the initial state of the LPN as the shortest sleep time of 0.1 seconds, then the sleep time of the LPN before performing a power recording operation is T = 0.1 ×2 N (s).

所述的系统兼具发送、接收和信息处理的功能,具体功能如下:The system has the functions of sending, receiving and information processing, and the specific functions are as follows:

A:发送方面,用户发送指令后,通过系统后台对用户信息的处理,将信息依此发送到中继网关节点、好友节点,最后到达低功耗节点(LPN);A: In terms of sending, after the user sends an instruction, the system background processes the user information, and sends the information to the relay gateway node, friend node, and finally to the low-power node (LPN);

B:接收方面,组网系统主要包括用户、系统后台、中继网关节点、好友节点和低功耗节点(LPN);各系统成员间传输数据时,下层系统成员接收到上层系统成员的数据后,借助数据包和计数值进行时钟同步和唤醒周期的更新。B: In terms of reception, the networking system mainly includes users, system backgrounds, relay gateway nodes, friend nodes, and low-power nodes (LPNs). , with the help of data packets and count values for clock synchronization and update of the wake-up period.

如图2所示为一种蓝牙Mesh组网系统,包含以下步骤:As shown in Figure 2, a Bluetooth Mesh networking system includes the following steps:

S21:用户根据自身的需求,从控制端发出操作指令给系统后台;用户端也接收来自系统后台的信息;S21: The user sends an operation command from the control terminal to the system background according to his own needs; the user terminal also receives the information from the system background;

S22:系统后台接收来自用户的指令并向中继网关节点发送指令;中继网关节点根据指令发送结果给予系统后台反馈;S22: the system background receives the instruction from the user and sends the instruction to the relay gateway node; the relay gateway node gives feedback to the system background according to the instruction sending result;

S23:中继网关节点接收来自系统后台的指令并向好友节点发送指令;好友节点根据指令发送结果给予中继网关节点反馈;S23: The relay gateway node receives the instruction from the system background and sends the instruction to the friend node; the friend node gives feedback to the relay gateway node according to the instruction sending result;

S24:好友节点接收指令,与低功耗节点(LPN)建立“友谊”关系后,向低功耗节点(LPN)发送数据包。数据信息包含待处理命令、同步时钟以及计数值N等;从低功耗节点(LPN)接收处理完成的数据信息;S24: The friend node receives the instruction, and after establishing a "friendship" relationship with the low power consumption node (LPN), sends a data packet to the low power consumption node (LPN). The data information includes commands to be processed, the synchronization clock, and the count value N, etc.; the processed data information is received from the low-power node (LPN);

S25:低功耗节点(LPN)借助收到的数据包进行时钟同步,借助计数值同步唤醒周期;LPN唤醒时间到时接收来自好友节点的数据,数据处理完毕后,低功耗节点(LPN)记录计数值,反馈给好友节点进行同步更新唤醒周期。S25: The low-power node (LPN) uses the received data packet to synchronize the clock, and uses the count value to synchronize the wake-up period; when the LPN wake-up time is up, it receives the data from the friend node, and after the data processing is completed, the low-power node (LPN) Record the count value and feed it back to the friend node for synchronous update and wake-up cycle.

根据如图1所示的一种蓝牙Mesh低功耗节点动态唤醒方法,提出设计实例。设低功耗节点(LPN)最短休眠时间为0.1秒,最长休眠时间为2秒。若LPN有信息待接收时,LPN梯次减少休眠时间,每次减少为现有休眠时间的50%,即现有休眠时间乘以0.5,则最多经过5次可从最长休眠时间降低为最短休眠时间;若LPN没有信息待接收时,LPN梯次增加休眠时间,每次增加为现有休眠时间的2倍,即现有休眠时间乘以2,则最多经过5次可从最短休眠时间增加为最长休眠时间。According to a Bluetooth Mesh low-power node dynamic wake-up method shown in Figure 1, a design example is proposed. The shortest sleep time of the low-power node (LPN) is set to 0.1 seconds, and the longest sleep time is 2 seconds. If the LPN has information to be received, the LPN reduces the sleep time step by step, and each time it is reduced to 50% of the existing sleep time, that is, the existing sleep time is multiplied by 0.5, and the longest sleep time can be reduced to the shortest sleep time after a maximum of 5 times. Time; if the LPN has no information to receive, the LPN will increase the sleep time step by step, each time increasing by 2 times the existing sleep time, that is, multiplying the existing sleep time by 2, then the maximum sleep time can be increased from the shortest sleep time to the maximum after 5 times. Long sleep time.

本发明中披露的说明和实践,对于本技术领域的普通技术人员来说,都是易于思考和理解的,且在不脱离本发明原理的前提下,还可以做出若干改进和润饰。因此,在不偏离本发明精神的基础上所做的修改或改进,也应视为本发明的保护范围。The description and practice disclosed in the present invention are easy to think and understand for those skilled in the art, and several improvements and modifications can be made without departing from the principles of the present invention. Therefore, modifications or improvements made without departing from the spirit of the present invention should also be regarded as the protection scope of the present invention.

Claims (4)

1. A dynamic awakening method for a Bluetooth Mesh low-power consumption node is characterized by comprising the following steps:
s101: in a Bluetooth Mesh networking system, a user sends an operation instruction to the system from a control end according to the requirement of the user;
s102: the system receives the instruction and sends the instruction to the friend node;
s103: the friend node temporarily stores the instruction received from the system;
s104: the friend node establishes a friendship relationship with the LPN and establishes a data transmission channel;
s105: after the synchronous clock and the awakening time are updated, the friend node sends data information to the LPN from the awakening time, wherein the data information comprises a command to be processed, the synchronous clock, a count value N and the like;
s106: the friend node and the LPN update a synchronous clock;
s107: the LPN determines whether data is received, and if the LPN does not receive data, the step S108 is skipped, and if the LPN receives data, the step S109 is skipped;
s108: the LPN judges whether the own dormancy time is not less than the longest dormancy time, if the own dormancy time of the LPN is less than the longest dormancy time, the step S1081 is skipped; if the own sleep time of the LPN is not less than the longest sleep time, skipping to the step S1082;
the step S1081 is: the sleep time of the LPN is increased by 2 times of the existing sleep time, that is, the existing sleep time is multiplied by 2, and a counting function N +1 is executed, where an initial value N is 0; skipping to step S113;
the step S1082 is: the LPN keeps the longest dormancy time, and the step S113 is skipped;
s109: receiving and processing information, and then synchronizing time between the LPN and the system;
s110: the LPN judges whether the own dormancy time is not more than the shortest dormancy time, if the own dormancy time of the LPN is more than the shortest dormancy time, the step S1101 is jumped to; if the own sleep time of the LPN is not more than the shortest sleep time, skipping to the step S1102;
the step S1101 is: the sleep time of the LPN is reduced to 50% of the existing sleep time, i.e., the existing sleep time is multiplied by 0.5; executing a counting function N-1, wherein an initial value N is 0; skipping to step S111;
the step S1102 is: the LPN maintains the shortest sleep time;
s111: the LPN records the self residual electric quantity;
s112: the LPN sends data information to the friend node;
s113: judging whether the friend node in the wake-up period receives data, if not, skipping to step S1131, and if so, skipping to step S1132;
the step S1131 is: adding 1 to a counting value N at a friend node, and when the maximum value N is reached to be 4, keeping the maximum value; skipping to step S105, and starting the next round of processing;
the step S1132 is: the counting value N at the friend node is reduced by 1, and the minimum value is kept when the minimum value N is 0; the process skips to step S105, and starts the next round of processing.
2. The bluetooth Mesh low-power consumption node dynamic wake-up method according to claim 1, characterized in that: the bluetooth Mesh networking system in step S101 is composed of a plurality of users, a system background, a plurality of relay gateway nodes, a plurality of friend nodes, and a plurality of low power consumption nodes, and has functions of sending, receiving, and information processing, and includes the following steps:
s21: a user sends an operation instruction to a system background from a control end according to the self requirement; the user side also receives information from the system background;
s22: the system background receives an instruction from a user and sends the instruction to the relay gateway node; the relay gateway node feeds back to the system background according to the instruction sending result;
s23: the relay gateway node receives an instruction from a system background and sends the instruction to the friend node; the friend node feeds back to the relay gateway node according to the instruction sending result;
s24: and the friend node receives the instruction, establishes the friendship relationship with the low power consumption node (LPN), and then sends a data packet to the low power consumption node (LPN). The data information comprises a command to be processed, a synchronous clock, a count value N and the like; receiving processing-completed data information from a low power consumption node (LPN);
s25: the low power consumption node (LPN) performs clock synchronization by means of the received data packet, and synchronizes a wakeup period by means of a count value; and when the LPN awakening time is up, receiving data from the friend node, and after the data is processed, recording a count value by a low power consumption node (LPN) and feeding back the count value to the friend node to synchronously update an awakening period.
3. The bluetooth Mesh low-power consumption node dynamic wake-up method according to claim 1, characterized in that: the initial value N in step S1081 and step S1101 is equal to 0, if the LPN receives information, counting is performed by N +1, and if the LPN does not receive information, counting is performed by N-1, where a value range of N is 0 or more and N is 4 or less; if the sleep time before the LPN has the information is determined to be T (unit: second), and the sleep time of the LPN in the initial state is 0.1 second, the sleep time of the LPN before the LPN performs one power recording operation is determined to be T (unit: second)
T=0.1×2N(s)。
4. The bluetooth Mesh low-power consumption node dynamic wake-up method according to claim 2, characterized in that: the system has the functions of sending, receiving and information processing, and the specific functions are as follows:
a: in the sending aspect, after the user sends the instruction, the user information is processed through a system background, and then the information is sent to the relay gateway node and the friend node, and finally reaches the low power consumption node (LPN);
b: in the aspect of receiving, the networking system mainly comprises a user, a system background, a relay gateway node, a friend node and a low power consumption node (LPN); when data is transmitted among all system members, after the lower-layer system member receives the data of the upper-layer system member, clock synchronization and awakening period updating are carried out by means of the data packet and the count value.
CN202010115344.2A 2020-02-25 2020-02-25 Bluetooth Mesh low-power-consumption node dynamic awakening method Active CN111328058B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010115344.2A CN111328058B (en) 2020-02-25 2020-02-25 Bluetooth Mesh low-power-consumption node dynamic awakening method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010115344.2A CN111328058B (en) 2020-02-25 2020-02-25 Bluetooth Mesh low-power-consumption node dynamic awakening method

Publications (2)

Publication Number Publication Date
CN111328058A true CN111328058A (en) 2020-06-23
CN111328058B CN111328058B (en) 2023-03-24

Family

ID=71168872

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010115344.2A Active CN111328058B (en) 2020-02-25 2020-02-25 Bluetooth Mesh low-power-consumption node dynamic awakening method

Country Status (1)

Country Link
CN (1) CN111328058B (en)

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112004184A (en) * 2020-07-23 2020-11-27 苏州博联科技有限公司 Automatic configuration method of Bluetooth mesh friendship function
CN112511992A (en) * 2020-12-14 2021-03-16 北京百瑞互联技术有限公司 Method, device and medium for data interaction after dormancy awakening of Bluetooth MESH low-power-consumption node
CN112633031A (en) * 2020-12-31 2021-04-09 努比亚技术有限公司 Electronic price tag awakening method, electronic price tag and computer readable storage medium
CN113038445A (en) * 2021-03-26 2021-06-25 上海磐启微电子有限公司 Calibration method of Bluetooth sleep clock
CN113115266A (en) * 2021-04-15 2021-07-13 中车青岛四方机车车辆股份有限公司 Method for improving real-time performance of rail transit signal system communication
CN113543090A (en) * 2021-05-14 2021-10-22 浙江大华技术股份有限公司 Method, device and storage medium for reducing power consumption of Bluetooth receiving device
CN113596803A (en) * 2021-09-30 2021-11-02 南京沁恒微电子股份有限公司 Data interaction method for Bluetooth mesh low-power-consumption node and partner node
CN113810985A (en) * 2021-11-17 2021-12-17 浙江柯瑞普科技有限公司 Networking data uploading method of low-power-consumption equipment and communication equipment
CN114615724A (en) * 2020-12-08 2022-06-10 瑞昱半导体股份有限公司 Bluetooth mesh network system with wake-up management mechanism and online method thereof
CN115473550A (en) * 2022-09-06 2022-12-13 深圳桐汭科技有限公司 Communication method of low-power-consumption Bluetooth and Bluetooth equipment thereof
CN116456440A (en) * 2023-06-14 2023-07-18 此芯科技(上海)有限公司 Wi-Fi hotspot management method and device, storage medium and electronic equipment

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106060871A (en) * 2016-08-04 2016-10-26 南京林洋电力科技有限公司 Wireless networking and data forwarding method based on low power consumption and micro power
CN106937368A (en) * 2015-12-31 2017-07-07 深圳友讯达科技股份有限公司 The secondary wake/sleep method of low power loss communication node, node and system
CN110475273A (en) * 2019-08-01 2019-11-19 北京搜狗科技发展有限公司 Mesh network-building method and device for Mesh networking
CN110830968A (en) * 2019-09-30 2020-02-21 珠海格力电器股份有限公司 Networking method and device, Bluetooth equipment and computer readable medium

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106937368A (en) * 2015-12-31 2017-07-07 深圳友讯达科技股份有限公司 The secondary wake/sleep method of low power loss communication node, node and system
CN106060871A (en) * 2016-08-04 2016-10-26 南京林洋电力科技有限公司 Wireless networking and data forwarding method based on low power consumption and micro power
CN110475273A (en) * 2019-08-01 2019-11-19 北京搜狗科技发展有限公司 Mesh network-building method and device for Mesh networking
CN110830968A (en) * 2019-09-30 2020-02-21 珠海格力电器股份有限公司 Networking method and device, Bluetooth equipment and computer readable medium

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
孙吉武,江凌云: "BLE Mesh网络中的机会路由协议优化", 《南京邮电大学学报( 自然科学版)》 *

Cited By (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112004184A (en) * 2020-07-23 2020-11-27 苏州博联科技有限公司 Automatic configuration method of Bluetooth mesh friendship function
CN114615724A (en) * 2020-12-08 2022-06-10 瑞昱半导体股份有限公司 Bluetooth mesh network system with wake-up management mechanism and online method thereof
CN112511992A (en) * 2020-12-14 2021-03-16 北京百瑞互联技术有限公司 Method, device and medium for data interaction after dormancy awakening of Bluetooth MESH low-power-consumption node
CN112633031A (en) * 2020-12-31 2021-04-09 努比亚技术有限公司 Electronic price tag awakening method, electronic price tag and computer readable storage medium
CN113038445A (en) * 2021-03-26 2021-06-25 上海磐启微电子有限公司 Calibration method of Bluetooth sleep clock
CN113115266A (en) * 2021-04-15 2021-07-13 中车青岛四方机车车辆股份有限公司 Method for improving real-time performance of rail transit signal system communication
CN113115266B (en) * 2021-04-15 2022-09-23 中车青岛四方机车车辆股份有限公司 A method for improving the real-time communication of rail transit signal system
CN113543090A (en) * 2021-05-14 2021-10-22 浙江大华技术股份有限公司 Method, device and storage medium for reducing power consumption of Bluetooth receiving device
CN113596803A (en) * 2021-09-30 2021-11-02 南京沁恒微电子股份有限公司 Data interaction method for Bluetooth mesh low-power-consumption node and partner node
CN113810985A (en) * 2021-11-17 2021-12-17 浙江柯瑞普科技有限公司 Networking data uploading method of low-power-consumption equipment and communication equipment
CN113810985B (en) * 2021-11-17 2022-05-10 浙江柯瑞普科技有限公司 Networking data uploading method for low-power-consumption equipment and communication equipment
CN115473550A (en) * 2022-09-06 2022-12-13 深圳桐汭科技有限公司 Communication method of low-power-consumption Bluetooth and Bluetooth equipment thereof
CN115473550B (en) * 2022-09-06 2024-01-23 深圳桐汭科技有限公司 Communication method of low-power consumption Bluetooth and Bluetooth equipment thereof
CN116456440A (en) * 2023-06-14 2023-07-18 此芯科技(上海)有限公司 Wi-Fi hotspot management method and device, storage medium and electronic equipment
CN116456440B (en) * 2023-06-14 2024-04-05 此芯科技(上海)有限公司 Wi-Fi hotspot management method, device, storage medium and electronic device

Also Published As

Publication number Publication date
CN111328058B (en) 2023-03-24

Similar Documents

Publication Publication Date Title
CN111328058B (en) Bluetooth Mesh low-power-consumption node dynamic awakening method
CN107211368B (en) Network of nodes, battery-powered node and method of managing a battery-powered node
KR101158567B1 (en) Deep sleep mode for mesh points
EP3024289B1 (en) Communication system, communication apparatus and communication method, and computer program
JP6593801B2 (en) Computer-implemented method for managing battery-powered nodes (BPN)
US8233420B2 (en) Method for wireless multi-hop network using synchronous MAC protocol
CN102946631B (en) A kind of based on beacon frame synchronously with the MAC node layer dispatching method of communicating by letter asynchronous
CN102740365B (en) Single-stream bulk data acquisition method suitable for wireless sensor network
JP2004336779A (en) Adaptive sleeping and wake-up protocol for high energy efficiency adhoc network
CN103052091B (en) A kind of method, Apparatus and system for adjusting the awake window time
EP2096893B1 (en) Intermittent operative communication apparatus adaptively controlling the timing of waiting data reception and a method therefor
KR100795564B1 (en) Sleep Cycle Management Method in Mobile Broadband Wireless Access Systems
CN105357744B (en) A kind of Stochastic accessing repeater, relay system and its trunking method
CN104302010A (en) A MAC protocol communication method and device for a synchronous wireless sensor network
PalChaudhuri et al. Power mode scheduling for ad hoc networks
CN114615724B (en) Bluetooth mesh network system with wake-up management mechanism and online method thereof
Annabel et al. An energy efficient wakeup schedule and power management algorithm for wireless sensor networks
CN112738877B (en) Wireless device synchronization method in connectionless state, wireless device, and storage medium
CN102917467A (en) Asynchronous reservation channel access method of wireless sensor network
KR100892321B1 (en) Communication method on sensor network using variable duty cycle
CN111405645A (en) Adjustable Downlink Discontinuous Reception Method Based on Service Delay and Hybrid Period
CN111194022A (en) Method for automatically waking up and turning off Bluetooth
CN114585042B (en) A fast networking method for MANET based on OLSR routing protocol
CN117241347A (en) Sleep scheduling method, device, node equipment and storage medium
Zhang et al. An adaptive energy-efficient medium access control protocol for wireless sensor networks

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
GR01 Patent grant
GR01 Patent grant