Method and device for the dynamic management of a mesh communication network
A hybrid architecture with centralized power management and distributed routing in IoT mesh networks dynamically adjusts transmission power based on energy constraints and environmental changes, improving network flexibility and efficiency.
Patent Information
- Application Number
- FR2021013481
- Authority / Receiving Office
- FR · FR
- Patent Type
- Patents
- Current Assignee / Owner
- Filing Date
- 2021-12-14
- Publication Date
- 2024-10-18
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
Existing mesh networks in the Internet of Things (IoT) lack an optimized and dynamic control of transmission power in nodes, particularly in energy-limited environments, leading to inefficiencies and constraints in network topology and coverage.
A hybrid architecture is implemented, where a central entity dynamically determines transmission power for each node while distributing routing decisions, using a neural network to observe and manage energy constraints, and employing deep reinforcement learning for network health prediction.
This approach enhances network flexibility and energy efficiency by opportunistically adjusting transmission power based on environmental changes and energy limits, reducing maintenance needs and optimizing network performance.
Smart Images

Figure 00000033_0000 
Figure 00000034_0000 
Figure 00000035_0000
Abstract
Description
Title of the invention: Method and device for dynamic management of a mesh communication network Field of invention
[0001] The invention lies in the technical field of communication networks, and more particularly the field of the Internet of Things (IoT) (in English “Internet of Things” or loT) implementing mesh networks based on energy-limited nodes capable of transmitting at different power levels. State of the Art
[0002] In the field of the Internet of Things, mesh-type node networks are made up of sensors that provide both environmental measurement or control capabilities, as well as radio communication capabilities with neighboring nodes / sensors. This type of network typically allows measurements or commands to be routed from hop to hop in the mesh network, using some of the nodes considered as “router” nodes.
[0003] The nodes of these networks are generally "wireless" in the sense that communications with neighboring nodes are made by radio communication means, but also in the sense that they are not connected by wire to an energy distribution network.
[0004] So-called "gateway" nodes that ensure the interconnection of such mesh networks with the Internet are typically an exception to this rule, but the other nodes - sensors and / or actuators and / or routers - of the network are typically no exception.
[0005] This is made possible by the use of batteries in these nodes, which can be powered by an energy collection system such as “solar panels”, wind turbines, etc.
[0006] A simpler method also consists of implementing a maintenance process requiring the replacement of batteries at regular intervals, these intervals being able to be expressed in years in certain cases.
[0007] In all cases, the energy consumption in the nodes must be limited, so as not to risk an interruption of the service due to exhaustion of certain batteries.
[0008] Also, when designing radio communication systems, the choice of transmission power is critical. If it is too high, the power consumed in the node is also high, and if it is too low, the radio range is reduced, which leads either to multiplying the number of nodes to cover a given region, or to encounter reliability problems in communications.
[0009] In practice, the transmission power is fixed during the design of the radio module and it is not likely to be modified during the operating life of a network.
[0010] In addition, all nodes in a network are typically designed to provide the same transmission power. The network design and topological deployment of the nodes are then constrained by the radio range that this fixed transmission power allows.
[0011] It is nevertheless possible to design nodes for which the transmission power is variable. Continuous adjustment of the transmission power is conceivable. However, in order to provide optimal energy efficiency for various transmission powers, these solutions comprise, as output stage of the transmission chain, several modules each associated with a transmission power, it being understood that only one module is activated at a given time while the other modules are deactivated and not powered, so that only the selected module consumes energy during the transmission periods.
[0012] With such nodes, it is then possible to control the transmission power dynamically. For example, it is possible to decide on the transmission power before transmitting each data packet, depending on the context in a given node.
[0013] However, such an approach does not allow for optimized and dynamic control of the transmission power of each node, taking into account the energy constraints of each node.
[0014] In the more general context of radio communications, many solutions exist which aim to dynamically control the transmission power of transmitters. These are called "automatic power control" or "transmit power control" solutions.
[0015] These solutions nevertheless all assume a certain context:
[0016] - have a device for continuous control of the transmission power; and
[0017] - have a continuous flow of data between the transmitter and the receiver.
[0018] A transmitter power control loop is based on continuous feedback from the receiver which regularly commands an increase or decrease in the transmission power. There is then data communication in the data transmitter to data receiver direction, and command communication in the reverse direction. This is bidirectional communication.
[0019] To do this, a signal-to-noise ratio target can be set at the receiver. Either the measured signal-to-noise ratio is lower than this target and an increase in power is commanded, or it is higher and a decrease is commanded. This description is simplified and many variants and ref- finements exist and are presented in the literature.
[0020] Generally, the signal-to-noise ratio target is chosen to be high enough to ensure error-free transmission and low enough to not cause unnecessary power consumption or harmful interference to other radio communication links.
[0021] Such automatic control of transmission power is however not directly applicable to energy-limited mesh networks, for several reasons:
[0022] - Continuous transmission power control devices are typically not optimum in terms of energy efficiency. Energy efficiency, that is, the ratio between the power transmitted on the antenna and the power consumed by the transmitter, is optimized only for maximum power, and it is typically worse the lower the transmission power.
[0023] - The assumption of a continuous flow of data is not an admissible assumption in the context of energy-limited mesh networks. Indeed, in this context, nodes are forced to remain silent most of the time and sporadically transmit short data packets.
[0024] The following article presents a solution that transposes known systems for automatic control of transmitted power to the field of mesh sensor networks: “A Transmission Power Control Mechanism for 802.15.4+RPL-Operated Wirelesss Sensor Network”, Ali Qolami, Mohammad Nassiri and Hatam Abdoli, published by Betham Science, International Journal of Sensors, Wireless Communication and control, 2020, 10, pages 197_206, where the sensor networks considered correspond to the IEEE 802.15.4 standard with regard to the physical and MAC layers (using the “Beacon” mode of this standard) and to the IETF ôLowPAN and RPL standards with regard to the upper layers.
[0025] This solution is equivalent to the application of the classic mechanism of automatic control of transmitted power, but which is limited only to short data sequences which can be exchanged between a node and its "parent". The notion of target for the signal to noise ratio is here played by a target on the received power, identified by 'Pthr' on [Fig.3] of the article.
[0026] The approach proposed in this article has two limitations.
[0027] A first limitation concerns the absence of a continuous flow of data. In the presence of dynamic "fading" on the radio links (i.e. dynamic variations in the attenuation of the radio signal), the initial values given to the transmission power after long periods of inactivity between a node and its parent are arbitrary. If the data communication is of short duration (which is typically the case in sensor networks), the automatic control has very little time to converge.
[0028] A second limitation is that the link between the choice of emitted power and the energy limitations of the sensor platforms is not mentioned.
[0029] In an article by Sebastian Max and Tinghuai Wang, “Transmit Power Control in Wireless Mesh Networks Considered Harmful”, Advances in Mesh Networks, 2009, it is suggested that power control in a non-energy-limited mesh network does not provide added value, with the best performance being achieved in an “all-or-nothing” mode where nodes are either silent or transmit at maximum power and throughput.
[0030] Also, if we have a sensor network that is not limited in energy and not limited in transmission power, the best strategy is to force a star topology (with the gateway as the center of the star) in order to avoid any multi-hop communication. This involves choosing a transmission power that allows any node to communicate directly with the gateway.
[0031] This reasoning at the limits then illustrates the need not to separate the question of the dynamic selection of the transmission power from the question of the energy limits of the nodes.
[0032] But there is currently no solution that allows optimized and dynamic control of the transmission power of each node of a mesh network, taking into account the energy constraint of each node.
[0033] The present invention meets this need. Summary of the invention
[0034] An object of the present invention is to propose a device and an associated method, making it possible to dynamically define the transmission power to be applied to the nodes of a mesh network, and taking into account the energy limits experienced by the nodes of the network.
[0035] Advantageously, the functionality of dynamic adjustment of the transmission power of the nodes allows greater flexibility in the operation of mesh networks, for example by reducing the constraints on the topology of the network, and by modifying the transmission power of the nodes opportunistically to respond to variations in the environment.
[0036] Indeed, according to the prior art, mesh sensor-actuator networks always assume the deployment of nodes used at constant and homogeneous power. In certain cases, the use of non-homogeneous power can be observed, for example to address localized coverage problems. However, no dynamic use of the transmission power of each node is observed in this type of network known as non-homogeneous power (or heterogeneous power).
[0037] The technical difficulty to be overcome did not essentially concern the creation of a new type of nodes called "multi-power" nodes, even if such nodes did not exist, but mainly resided in the design of protocols and algorithms which make it possible to exploit this flexibility as best as possible, i.e. the opportunistic or dynamic modification of the transmission power of the nodes.
[0038] Thus, the present invention proposes a method which meets this need, in particular when the energy aspects are critical. This is the case for example when the nodes use energy collection systems of very modest dimensions.
[0039] Advantageously, the present invention implements a hybrid architecture in which the choice of transmission power is determined by a central entity, while a distributed routing solution gives the nodes autonomy in routing decisions.
[0040] Indeed, when it comes to defining a dynamic configuration system for a sensor network, an important question is to choose whether this dynamic configuration will be controlled according to a centralized or decentralized architecture.
[0041] In the first case of a centralized architecture, the intelligence is located at the level of a central entity and this entity must be provided with the means of observation allowing it to understand the detailed state of the entire network, and also the means of carrying the configuration orders to all the nodes of the network.
[0042] In the second case of a decentralized architecture, the network nodes are given the autonomy necessary for them to self-configure in collaboration with their neighbors, and a central entity is then no longer required.
[0043] To address the aforementioned need where the issue of selecting the transmission power and the issue of routing in the mesh network cannot be separated, it is clear that the determination of the hop-to-hop paths is fundamentally impacted by the range of the communications which is a function of the chosen transmission power.
[0044] Also, a centralized approach that would cover both the routing and transmission power selection aspects would not be suitable. The radio links of a mesh network are typically affected by dynamic variations in the attenuation of the radio signal (the "fading"). This fading can be fast or slow, and can be caused by variations in the environment (atmospheric conditions outdoors, mobility of people indoors, as well as movement of furniture, opening and closing of doors, etc.).
[0045] Furthermore, a routing solution in a mesh network that was not dynamic would be inefficient, unable to follow the variations in fading. If a central entity were in charge of routing, it would have to be given a capacity to observe the very dynamic network, as well as the capacity to send commands to the nodes that would also be very dynamic.
[0046] However, these capabilities would inevitably result in an increase in the bandwidth dedicated to the control plane on all the elementary radio links in the mesh network. This would be a paradox, insofar as one of the objectives addressed by the invention is compatibility with energy-limited nodes.
[0047] Also, the present invention proposes a hybrid architecture, where the determination of the transmission power of each node of the network is done centrally, while the routing decisions are distributed and entrusted to the nodes of the network.
[0048] The device of the present invention comprises in particular a central entity which is configured to observe the network and apply solutions to relieve the most critical nodes from the point of view of energy management.
[0049] The central observation entity, in its mission to maintain the service provided by the network, relies in one embodiment on a neural network in order to dynamically determine and select the transmission power of each node, from a list of transmission power values that the node supports.
[0050] When homogeneous sensors are available in terms of transmission power and coverage, the choice of this homogeneous transmission power is critical. Indeed, if the transmission power is too low, there arises a constraint of having to "grid" the coverage area by ensuring that all the nodes have in their immediate vicinity a sufficient number of neighbors to ensure end-to-end communication in a mesh network, which then leads to an inflation in the number of router nodes to be deployed.
[0051] On the other hand, if the transmission power is too high, nodes will emerge with high energy consumption, and which will then require either heavy energy collection devices (for example a large solar panel size), or lead to strong maintenance constraints (for example, the need to replace the battery of all the sensors with a battery charged off-site, and this every month for example).
[0052] The proposed solution is a solution with great flexibility of use, because the nodes can be used with various transmission powers depending on the context (for example: there may be obstacles, constraints to radio propagation), and their transmission power can be modified depending on changes in the environment (for example: a change in the quality of the radio signal, an addition or removal of network nodes, etc.).
[0053] The fields of industrial application of the invention are mainly those of the Internet of Things, to cite a few examples: “Smart Cities”, “Smart Buildings”, “Smart Industry” (or “Industry 4.0”) “Smart Farming”, etc.
[0054] To obtain the desired results, a method is proposed for dynamically managing a mesh communication network implemented in an environment of the Internet of Things, the network being composed of a plurality of energy-constrained communicating nodes configured to be able to transmit data at different power levels, the mesh network comprising at least one gateway node configured to transmit data packets from transmitting nodes to the Internet network via a central node. The method is implemented sequentially over periods of predefined duration by a processor of the central node and comprises steps consisting of:
[0055] - during the duration of an epoch i:
[0056] (al) receiving from said at least one gateway node, at least one data packet, said at least one data packet comprising measurement data from a transmitting node of the network and at least information relating to:
[0057] - to the node-by-node path followed by said at least one packet from the node transmitter; and
[0058] - to the residual energy 'currentEnergy' of each node of the path;
[0059] (a2) adding the received information to an observation database, the database of observation data being organized to store, for each node of the mesh network, the information received at each epoch, as well as a 'txPow' index representative of the transmission power and a 'rankingCost' value representative of a routing cost during the elapsed epoch i;
[0060] - at the beginning of the following epoch i+1:
[0061] (bl) calculating on the basis of the information stored in the observation database a new configuration for the mesh network, the calculation of the new configuration consisting of determining for at least one node of the mesh network, actions to be applied to the node with regard to its transmission power and its routing cost; and
[0062] (b2) broadcasting to each node of the network via said at least one gateway, the new calculated configuration.
[0063] The invention may be implemented according to alternative or combined embodiments, where: - Said at least one received data packet further comprises information relating to the signal-to-noise plus interference ratio 'SNIR' of each node of the path followed, and information relating to the number of repetitions 'ETX' for transmitting said at least one packet for each node of the path. - The step of calculating a new configuration includes steps consisting of: - determining for said at least one node, whether the residual energy is less than a threshold value 'Tenergy' and whether the energy consumed by the node is greater than the energy produced; and
[0064] - if yes, apply actions consisting of reducing the transmission power and increase the routing cost of the affected node; or
[0065] - if not, apply actions consisting of either increasing the transmission power of the node concerned, or to maintain the current power. - The method further comprises, during the duration of each period, steps consisting of: - assessing the health of the mesh network, the health of the network being assessed in relation to an estimate of the quality of data transmission between the nodes of the mesh network, and in relation to the number of nodes which are considered critical in terms of energy, i.e. the nodes for which the residual energy is below a threshold value;
[0066] - add a representative value of this to the observation database network health assessment;
[0067] - calculate an evolution of the health of the mesh network following applied actions to the nodes regarding transmission power and routing cost; and
[0068] - add a representative value of this to the observation database evolution of network health. - The step of calculating an evolution of the health of the mesh network, implements deep reinforcement learning algorithms, inspired by reinforcement learning combined with deep neural networks to generate a prediction of the evolution of the health of the mesh network. - The step of predicting the evolution of the health of the mesh network consists of iteratively operating a neural network with labeled data corresponding to the values of parameters recorded in the observation database for each node during an epoch, and to the actions which are applied to each node at the end of this epoch, in order to determine the evolution of the optimal health. - The method further comprises steps consisting of: - generate a new configuration for the mesh network corresponding to the optimal health evolution, and associate a new mesh network version number with it; and
[0069] - transmit the new configuration and the new version number to said au least one mesh network gateway, to broadcast it to each node in the network. - The step of broadcasting the new calculated configuration, to each node of the network via said at least one gateway, consists of: - for a node, to transmit to a receiving node a message which contains, in addition to the information relating to the rank of the nodes, the version number of the network;
[0070] - for a receiving node, to compare the version number received with the version number current version, and update the elements relating to the difference between the new received version and the current version.
[0071] The invention also relates to a device for dynamically managing a mesh communication network implemented in an Internet of Things environment, the network being composed of a plurality of energy-constrained communicating nodes configured to be able to transmit data according to different power levels, the mesh network comprising at least one gateway node configured to transmit data packets from transmitting nodes to the Internet network via a central node, the device comprising means for sequentially implementing, over periods of predefined duration, the steps of the method of the invention.
[0072] The invention also relates to a computer program product which comprises code instructions making it possible to carry out the steps of the method of the invention, when the program is executed on a computer. Description of figures
[0073] Other characteristics and advantages of the invention will appear with the aid of the following description and the figures of the appended drawings in which:
[0074] [Fig. 1] illustrates a mesh network environment for implementing the present invention;
[0075] [Fig.2] illustrates in a simplified manner the structure of a multi-power node according to an embodiment of the invention;
[0076] [Fig.3] illustrates different coverage areas as a function of the transmission power for a multi-power node according to [Fig.2];
[0077] [Fig.4] illustrates a temporal sequencing of epochs for a central entity according to an embodiment of the invention;
[0078] [Fig.5] illustrates a message flow diagram for broadcasting a new configuration according to one embodiment of the invention;
[0079] [Fig.6] illustrates a hop-by-hop header of a multi-power node according to an embodiment of the invention;
[0080] [Fig.7] symbolizes the vision that a central entity has for a node of the network at the end of an epoch;
[0081] [Fig.8a] illustrates the content of an observation database managed by the central entity according to an embodiment of the invention;
[0082] [Fig.8b] illustrates the contents of an observation database managed by the central entity according to another embodiment of the invention;
[0083] [Fig.9] illustrates the steps of the method of the invention making it possible to dynamically define the transmission power to be applied to the nodes of a mesh network, taking into account the energy limits experienced by the nodes, according to an embodiment of the invention;
[0084] [Fig. 10] illustrates a temporal sequencing of epochs in an embodiment of the invention with evaluation of the health of a network;
[0085] [Fig. 11] is a schematic representation of a neural network adapted to perform the prediction of the health of a network, according to an embodiment of the invention;
[0086] [Fig. 12] illustrates the steps of the method of the invention for dynamically defining the transmission power to be applied to the nodes of a mesh network, taking into account the energy limits experienced by the nodes, according to another embodiment of the invention. Detailed description of the invention
[0087] A context for an implementation of the invention is illustrated in a simplified manner in [Fig.l], comprising a mesh communication network 102 for the Internet of Things, deployed for a geographical area (illustrated in the example as a square) and composed of a plurality of fixed communicating nodes (represented by black dots in the square).
[0088] The communicating nodes denoted (104-1, ..., 104-i, ..., 104-n) can play different roles. A node can be configured to be a node: sensor; actuator; sensor & actuator; router; sensor & router; actuator & router; sensor & actuator & router; or gateway.
[0089] Thus, in the example of [Fig.l], which is not limiting in number of nodes, four nodes (106-1 to 106-4) are identified, each configured to act as a gateway node to interface, via a central node 108, the mesh network (i.e. all the communicating nodes of the mesh network) with the Internet network offering services for the Internet of Things 110 (IoT services; IoT applications) exploiting the network of communicating nodes 102, as well as terminals (112) which consume these services. The central node, also designated by central entity 108, is configured to behave both as a network controller (to manage the configuration and control of the mesh network) and as an IP router to connect the mesh network to the Internet network.
[0090] The connections between the gateways (106-i) and the central entity (108) are not radio connections but wired connections (107-1 to 107-4), without constraints of bandwidth.
[0091] Those skilled in the art will be able to extend the principles described to any variant of mesh network, whether in number of fixed nodes (104-i) or in number of gateway nodes (106-i) or in extent of the covered area.
[0092] The communicating nodes of the mesh network are generally battery powered, their energy is highly constrained and energy consumption must be minimized. They may use energy harvesting or require regular battery replacements.
[0093] In the context of the invention, the communicating nodes of the mesh network are so-called 'multi-power' nodes which are configured to be able to transmit data according to different power levels.
[0094] [Fig.2] illustrates the structure of a multi-power node 200 according to one embodiment of the invention. For reasons of simplification of the description, only the transmitter / receiver functionalities of the node are illustrated, and any other sensor / actuator functionalities of the loT node are not shown.
[0095] The multi-power node of the invention comprises a set of several transmitter modules (202-i) usable for the final amplification stage of the radio signal to be transmitted.
[0096] In another embodiment, the multi-power node of the invention can be realized from a variable output power amplifier.
[0097] In the example of [Fig.2], the multi-power node 200 comprises eight transmitter modules (202-1 to 202-8), each module being configured to enable transmission at a given transmission power. Thus, and by way of non-limiting example, the eight modules enable transmission respectively: module 202-1 at a power of ImW; module 202-2 at a power of 2mW; module 202-3 at a power of 5mW; module 202-4 at a power of 10mW; module 202-5 at a power of 20mW; module 202-6 at a power of 50mW; module 202-7 at a power of 100mW; and module 202-8 at a power of 200mW.
[0098] In one embodiment, the transmitter modules can be produced on a SoC (“System on Chip” type component).
[0099] In one embodiment, the transmitter modules may be classified in order of increasing transmission power, from 1 mW to 200 mW in the illustrated example.
[0100] The multi-power node 200 also includes a receiving module 204, as well as switches 206 which respectively activate and power each transmitter module and the receiver module.
[0101] In the transmission function, only one transmitter module is active at a time, the one whose transmission power has been selected. Thus, in the example of [Fig.2], assuming that the transmission power which has been determined for this node is 20 mW, the transmitter module 202-5 is active, the corresponding switch 206 being closed to allow the transmission of data at the selected power.
[0102] Advantageously, only the transmitter module which is active consumes energy, the other transmitter modules being deactivated, as well as the receiver module, do not consume energy.
[0103] Advantageously, since the transmitter modules are optimized for a single transmission power, they can all have an interesting energy efficiency (i.e. their ratio of transmitted power to consumed power).
[0104] [Fig. 3] provides an illustration of the coverage areas for a multi-power node having eight transmit powers according to the example of [Fig. 2]. Each coverage area for a given transmit power is represented by a disk centered on the transmitting node 302.
[0105] For each coverage area, there are a number of neighboring multi-power nodes that can successfully receive a message sent by the transmitting multi-power node 302.
[0106] [Fig. 3] gives non-limiting examples of a number of “neighboring” multi-power nodes that can be reached depending on the transmission power. Thus, if the multi-power node 302 transmits with a power of 1 mW, there exists in the example a potential of three neighboring receiver nodes; if the multi-power node 302 transmits with a power of 10 mW, there exists a potential of twenty neighboring receiver nodes; if the multi-power node 302 transmits with a power of 200 mW, there exists a potential of 130 neighboring receiver nodes.
[0107] Returning to [Fig.l], the device of the invention comprises a central entity 108, which in addition to being a gateway between the mesh network 102 and the Internet network 110, is also in charge of determining and selecting the transmission powers of each multi-power node of the network, from a list of transmission power values that the node supports.
[0108] Thus, advantageously, the control of the transmission power in the mesh network is done node by node in a centralized manner. It is interesting to entrust this role to a central entity, because the choices it will make are dependent on the configuration of the network in its entirety. For example, if we want to preserve certain critical nodes in terms of energy reserves, it is appropriate to have an overall vision of the network to treat the criticality in a relative manner.
[0109] The central entity 108 chooses a transmission power from a list of transmission power values that the node supports.
[0110] To describe the process of selecting the transmission power, an index 'txPow' is fixed which is an integer chosen to define the transmission power and which takes values ranging from '1 to txPowmax'XvPow e {1,2, ..., txPowmax}, where 'txPowmax' is the index relative to the maximum power.
[0111] The central entity is configured, i.e. comprises appropriate means, to observe the network, determine a new configuration for the transmission powers of the nodes, and broadcast the new configurations, on cycles or epochs. The duration of the epochs is determined according to a compromise, which allows the duration not to be too long so that the system lacks responsiveness and does not relieve the critical nodes from the battery point of view, and not to be too short so that there are not too frequent broadcasts which consume bandwidth and the broadcast time then becomes non-negligible compared to the cycle.
[0112] The network is observed in successive periods in each epoch. During an epoch, the central entity observes the network by receiving uplink packets from the network, i.e. data packets from sensor measurements sent back to the gateway nodes. Once the epoch has elapsed, i.e. at the start of a subsequent epoch, based on the observation made during the elapsed epoch, the central entity calculates a new configuration for the network. The new configuration is then notified individually to each relevant node of the network.
[0113] [Fig.4] illustrates a temporal sequencing of epochs with periods of observation of the network, the calculation of configurations (C) resulting from the observation period of the past epoch, and the diffusion (D) of new configurations.
[0114] The sequencing consists of successive epochs. During an epoch, the central entity observes the network via information sent by packets from transmitting nodes and relayed on a routing path by router nodes to a gateway node. At the end of the epoch, the central entity performs an audit on the network and identifies a certain number of nodes that require a modification of their configuration.
[0115] Thus, after an observation period over an epoch, epoch 1 for example, the central entity, based on the information contained in the upstream packets, recovered over this observation period, will calculate at the start of the following epoch, i.e. epoch 2, a new configuration C for the nodes of the network, and will broadcast it (D).
[0116] In one embodiment, the configuration of a node takes into account a transmitted power index 'txPow' as well as a value of a routing cost, designated by a parameter 'routingCost'.
[0117] According to other embodiments, other parameters may be added. In particular, a so-called 'underSampling' parameter may be taken into account in the calculation of a new configuration, this parameter being intended to resolve congestion situations by asking the nodes that can and that contribute to problems congestion to reduce the rate of their measurement.
[0118] In the context of the hybrid approach of the invention, the value of the additional amount of the routing cost is determined by the central entity 108 which is configured to assign a routing cost to each node. An arbitrary value can be considered as a default initialization value, then this value is regularly updated by the central entity. To minimize the use of bandwidth, the routing cost is represented by an integer. For example, a default value equal to 2 can be considered, giving the central entity the freedom to assign values in the set ranging from 1 to a maximum value:
[0119] routingCost e {1,2, ..., routingCost max ] •
[0120] A new configuration is then represented by a pair of integer values, relating to the transmission power 'txPow' and the routing cost 'routingCost', for a given node 'i' and a given epoch 'j', according to the following formula:
[0121] {routingCostwde.epoque, txPow^ie^epoque. j
[0122] Once a new configuration has been calculated, the central entity initiates a broadcast process so that all the nodes concerned are notified of this new configuration. The new configuration will be notified individually to each node, which can then reconfigure its transmission power if necessary according to the new configuration.
[0123] In one embodiment, the broadcast is initiated at the end of each epoch, i.e. the broadcast process is performed at the start of the next epoch, unless the central entity decides not to make any changes to the current configuration. In an alternative embodiment, the configuration calculation and / or broadcast process takes place between the observation phase and the end of the corresponding epoch.
[0124] At the end of the epoch, when the central entity has determined the powers to be applied, the central entity gives this new configuration a version number. A version number broadcast process is implemented in the network. The nodes can then be notified that their neighbors have a new version number. They then make a request to the node holding the new version, indicating the version number on which they synchronized in the past. The node receiving the request then provides the requesting node with a configuration differential that takes into account the obsolete version number provided by the requester. This mechanism makes it possible to reduce the bandwidth consumed in the operation of broadcasting the new configuration in the network. For example, if the new configuration only affects 2 or 3 nodes in the network, synchronizing the new configuration in the network will involve a very small number of bytes.
[0125] These statistics concern the traffic going back from the nodes to the gateways. The Packets are sent to preferred parent nodes and packets are received by child nodes. Since there may have been one or more preferred parent changes during the past epoch, these results may therefore concern multiple parent nodes.
[0126] Just as it is important to limit the traffic induced by the need for network observation by the central entity, it is also important to reduce the cost of transferring reconfiguration decisions from the central unit to the nodes.
[0127] Although a most immediate approach would be to send a downward unicast message to all nodes whose configuration is being changed, this approach is not recommended for at least the following reasons: - The "data" part of a unicast message containing the new configuration would consist of 2 or 3 bytes. The effect of mandatory headers on these messages in terms of bandwidth would then be critical (multiplication by a factor much higher than 1). - Changing the configuration of a cluster of nodes located remotely from a gateway would result in a set of downstream unicast messages that would follow the same path.
[0128] Conversely, the invention consists of synchronizing or updating all the nodes of the network so that each has a copy of the current configuration of the network, as calculated by the central entity. The synchronization of the nodes, which are known to be very energy-efficient, is done by a broadcast process.
[0129] In the context of the invention, the routing solution is distributed by giving each node autonomy in routing decisions. Thus the routing solution remains decentralized and reactive at the level of each node of the mesh network, but the central entity retains a means of centralized control of the routing by setting the value of the 'routingCost' parameter associated with each node.
[0130] In one embodiment, the dynamic routing solution on which the method of the invention is based is RPL routing (“Routing Protocol for Low-Power and Lossy Networks”) as defined in IETF RFC 6550. RPL is a routing protocol often proposed as a complement to the IEEE 802.15.4 MAC physical layers and as a complement to the IETF 6LowPAN protocol.
[0131] In one embodiment, the method for broadcasting a new configuration uses RPL (“Routing Protocol for Low-Power and Lossy Networks”) routing as defined in IETF RFC 6550, and in particular relies on “DIO” RPL messages in order to support this broadcast.
[0132] RPL routing can be classified as a distributed routing solution. Nodes are autonomous in the task of selecting "parent" nodes as well as a preferred parent node, which will be a necessary step for them to forward a data packet to a gateway. From hop to hop, following the parent of each node, a packet can be routed to a gateway.
[0133] Each node selects a neighboring node as its "preferred parent." Thus, with the exception of gateway nodes, all nodes in the network are assigned a preferred parent. Any packet that needs to be routed from hop to hop to a gateway must be forwarded from hop to hop via the preferred parents. Thus, from all nodes, it is possible to reach a gateway by following a hop-by-hop path, from preferred parent to preferred parent.
[0134] RPL assumes the occasional exchange of DIO ("DOD AG Information Object") type messages which allows a notion of rank to be assigned to each node. The rank of a node is indicated in the DIO, which allows neighboring nodes receiving the DIO to evaluate the hypothesis of the selection of the node sending the DIO as the preferred parent. In the simplest case, the rank is a measure of the number of hops necessary to reach a gateway starting from this node. But as a general rule it is a more complex quantity which evaluates the interest of adopting this node as a parent.
[0135] When neighbors receive this DIO message, they consider whether to adopt this node as a parent. If they already have a parent, they compare the sum of this neighbor's rank and some additional quantity - the "rankingCost" - with its own rank. If the sum is lower, the neighboring node that sent the DIO is adopted as a parent, and the rank becomes equal to this sum. Once the preferred parent is selected, the node in turn broadcasts a rank corresponding to the rank of the preferred parent, incremented by some quantity.
[0136] In the simplest case where the rank is a measure of the number of hops needed to reach a gateway from the node in question, the value of the rankingCost increment is equal to 1. When it is a more complex quantity that evaluates the interest of adopting this node as a parent, more elaborate "cost functions" can be used to determine the increment. Many more sophisticated solutions where the calculation of the rank is more complex exist, however RFC 6550 does not specify the solution that must be chosen.
[0137] In an advantageous embodiment, the central entity is responsible for setting the rankingCost value for each node, and can thus influence the routing. Indeed, by decreasing the rankingCost value of a node, it increases the attractiveness of this node with respect to its neighbors so that this node is used as a parent. Conversely, by increasing the rankingCost value of a node, it discourages neighboring nodes from adopting this node as a parent, which reduces the node's routing load.
[0138] Returning to the diffusion of a new configuration and with reference to [Fig.5] which illustrates on two nodes (A, B) the synchronization of the network configuration, with each new configuration calculated by the central entity at the end of an epoch, a version number 'networkVersion' is assigned. This is an integer incremented with each new version.
[0139] A node 'A' will broadcast a DIO 502 message which contains, in addition to information relating to the node rank, the version number (networkVersion=142). The DIOs sent by the gateways always contain the most recent version provided by the central entity.
[0140] When a node 'B' receives a DIO message from one of its neighbors, it compares the version number from the DIO with its own version number (networkVersion = 140).
[0141] If the version number included in the received DIO is higher, then the receiving node 'B' requests the sending node 'A' by providing its obsolete version number, by transmitting a VequeslConfiginetworkVersion 504 message which contains the obsolete version number. It then receives a 'configDelta' 506 message which contains the update elements relating to the difference between the new version 'networkVersion=142' of the network configuration and its current version 'networkVersion=140'.
[0142] Thus, assuming that the current network version 'networkVersion=140' is defined for a path passing through nodes (47, 103, 82, 212, 381, 14) according to the following table: NetworkVersion 140 Node txPow rankingCost UnderSampling Since version 47 1 2 1 132 103 3 1 1 121 82 1 2 3 138 212 2 2 1 140 381 4 1 1 82 14 3 2 1 82
[0143] If the new configuration brings a version 'networkVersion=142' as defined in the following table, where the differences concern the value of the parameter 'txPow' for node 82, the value of the parameter 'rankingCost' for node 381, with a value of the parameter 'UnderSampling' of '3' for node 82 and '1' for node 38182 and version 142 respectively: NetworkVersion 142 Node txPow rankingCost UnderSampling Since version 47 1 2 1 132 103 3 1 1 121 82 2 2 3 141 212 2 2 1 140 381 4 2 1 142 14 3 2 1 82 then the content of the 506 'configDelta' update broadcast message contains only the information for nodes 82 and 381 defined in the following table: Delta NetworkVersion 142 / 140 Node txPow rankingCost UnderSampling Since version 82 1 2 3 141 381 4 1 1 142
[0144] Returning to [Fig.4], a significant epoch duration is illustrated, this for reasons of bandwidth economy, because it is not intended to react to rapid variations in the network. However, it can nevertheless follow slower phenomena such as the residual energy of the batteries associated with each node. However, with a distributed RPL-type solution which is not constrained by these temporal orders of magnitude, the times for modifying the routing to cope with rapid variations in the environment remain low.
[0145] Also, during the duration of an epoch, the network is observed while minimizing the excess bandwidth. For this, a dedicated header is reserved in the packets from the sensor measurements going back to the gateways. The dedicated header is referred to in the invention as the "hop-by-hop header". This header is scalable and is enriched at each hop, with information relating to the node crossed. Thus the hop-by-hop header is extended over the entire path of the packet at each hop, for example by two bytes to indicate the identifier of the node crossed and observation information that will allow the central entity to calculate a new configuration. A data packet with the hop-by-hop header is communicated to the central entity each time a new sensor measurement is received by a gateway.
[0146] The information accumulated in the header hop by hop gives the central entity visibility on at least: - the path followed by the packet to reach the central entity; - the residual energy of all nodes on the packet path; - the signal-to-noise-plus-interference ratio (known by the acronym SNIR for “Signal-to-Noise-plus-Interference-Ratio”); - the number of repetitions, for links that gave rise to repetitions.
[0147] An example of a hop-by-hop header according to the invention is shown in [Fig.6], where a data packet 600 (containing a measurement report from its sensor) is sent from a node whose identifier is 132 to a destination gateway node whose identifier is 3, via a routing path passing through router nodes with respective identifiers 251, 87 and 502.
[0148] In an embodiment corresponding to the illustrated example, the hop-by-hop header is reserved in fields of a standardized header, but it is possible to use a hop-by-hop header in the “data” fields (i.e. “data payload” in English) if the fields of the standardized headers are not reservable.
[0149] Other packet header fields indicated as 'Other headers' are available but are not detailed. The general header of a packet also includes a 'Src' field which indicates the identifier of the source node, the one which produced the data packet 602, in the example node 132.
[0150] A first field 602 of the hop-by-hop header indicates the number of router nodes that have routed the packet. This number increases by 1 for each elementary routing. Thus, in the example, this field is one byte and is set to '0' for sending packet 500 from source node 132; then it successively takes the values '1, 2, 3' until arrival at gateway node 3.
[0151] A second field 604 is dedicated to each router node. This field is composed of a part 604-1 to provide the identifier of the current router through which the packet passes, and a part 604-2 to provide the number of repetitions that were necessary to transmit the packet and to provide the signal-to-noise ratio plus interference SNIR that was measured on the router when it received the packet, and to provide the current state of the battery of the current router.
[0152] The hop-by-hop header thus expands by a second field each time it passes through a router.
[0153] In one embodiment, field 604 is a 3-byte field comprising 12 bits for the router identifier; 4 bits to encode the number of repetitions that were necessary to transmit the packet; 4 bits to encode the signal-to-noise plus interference ratio that was measured on the router when it received the packet; and 4 bits to encode the current state of the battery.
[0154] With the scalable hop-by-hop header, the central entity that receives a packet of
[0155]
[0156]
[0157]
[0158]
[0159]
[0160]
[0161] data from a source sensor node then has the following information: - The path (router node by router node) that was followed to deliver the packet. - The “Signal to Noise Plus Interference” (SNIR) reports, which were observed by the routers when they received the packet. - The residual energy of all nodes on the path. Advantageously, adding a specific header hop by hop in the packets, rather than introducing packets dedicated to observation, makes it possible to give a central entity a sufficiently complete vision of the network (necessary and sufficient observation information) to perform dynamic configuration management, without generating too much traffic - apart from that of sensor measurements. [Fig.7] symbolizes the vision at the end of an epoch that a central entity has for a node 700 of the network, represented by a central ellipse. The neighbors of the node in the center, four in number (702-1, 702-2, 702-3, 702-4) in this example, are represented by ellipses (left, right, top, bottom) of reduced size. The observation data that the central unit was able to collect about this node 700 during a past epoch is at least the information that the node has for these neighbors. Thus, the node has information about the radio link with each neighbor, which indicates: - the number of packets exchanged with this neighbor during the past epoch, generally designated by 'nPackets' but which can be different for each neighbor; - the average number of packets sent to successfully transmit a packet to this neighbor, usually referred to as 'ETX' but which can be different for each neighbor. ETX is calculated for the past epoch, and when it is 1 it means that there are no retransmissions on this link (no repetition). Additionally, a node has a 'CurrentEnergy' quantity which gives the energy state of the node and indicates the residual energy available in the battery at the end of the elapsed epoch. Each node also keeps values for the 'txPow' (to define the transmit power) and 'routingCost' (routing cost parameter) indexes, which are the values that the central entity configured for this node at the end of the previous epoch. It should be noted that the application of these values at the start of the epoch is not immediate since it requires a diffusion process in the network. It is thus possible that the first packets processed by the node at the start of the epoch were affected by the previous values of txPow and routingCost.
[0162] Once an epoch has elapsed, the central entity calculates a new configuration for the network, based on the observation data recovered during the elapsed epoch.
[0163] [Fig.8a] illustrates the contents of an observation database managed by a central entity according to an embodiment of the invention for storing data relating to each node, over time, in order to enable the calculation of a new configuration.
[0164] In one embodiment, the database 800 contains one entry per epoch (epoch_1, epoch_2, ..., epoch_n). An entry is made up, for each node in the network, of the residual energy information at the end of epoch i (currentEnergy), the number of packets transmitted to the parent during epoch i (nPackets), the average number of packets transmitted for a packet acknowledged by the parent during epoch i (ETX), as well as the active transmitted power index during epoch i (txPow) and the active routing cost during epoch i (rankingCost) which were applied during the elapsed period.
[0165] The database also contains for each entry, action parameters 'Action txPow' and 'Action rankingCost' to define the actions to be applied to the node, and which are determined at the end of epoch i concerning the transmitted power and routing cost.
[0166] [Fig.9] illustrates an embodiment of a method for managing the configuration of nodes of a network, making it possible to dynamically define the transmission power to be applied to the nodes of a mesh network, taking into account the energy limits experienced by the nodes.
[0167] The method 900 begins when the end of an epoch is detected 902, and will iterate for all the nodes of the network managed by a central entity.
[0168] For each node 904, the method makes it possible to check 906 the residual energy of the node's battery, and the value of the energy consumed compared to the energy produced. Indeed, at the start of an epoch, a node has a certain residual energy. At the end of an epoch, it has a new residual energy which is equal to the original one less the energy consumed during the epoch, plus possibly the energy produced during the epoch (if there is energy production, for example for a solar panel).
[0169] If the value of the residual energy is lower than a threshold value 'Tenergy', and if the energy consumed is higher than the energy produced (yes branch), the method allows 908 to decrease the index of the transmitted power (txPow—) and to increase the routing cost (rankingCost++) for this node, and the values are updated in the database 800. The method allows 910 to determine if all the nodes have been analyzed, and if not, the method resumes the step 906 of analyzing the residual energy and of the energy consumed for the next node 912.
[0170] The value of the threshold 'Tenergy' set for the residual energy below which it is considered that a situation is critical and that this node must be relieved, is a compromise. A value that is too low leads to a risk of acting too late, while a value that is too high leads to a risk of acting on too many nodes and destabilizing the network.
[0171] An alternative to a fixed threshold is to set proportions of nodes rather than absolute thresholds. For example, we can say that we will relieve at most 5% of the most critical nodes in the network.
[0172] Returning to step 906, if the current residual energy of the analyzed node is greater than the threshold value 'Tenergy', or if the energy consumed is less than the energy produced (no branch), the method allows 914 to determine whether the ETX parameter (the average number of packets sent to successfully transmit a packet to a neighbor) is greater than a threshold value 'T'.
[0173] If the ETX value of the current node is less than the threshold value 'T' (branch no), the actions on this node consist of maintaining the current transmission power, and the method continues with step 910 to determine whether all the nodes have been analyzed (912, 906).
[0174] If the ETX value of the current node is greater than the threshold value 'T' (yes branch), the method allows 916 to increase the index of the transmitted power (txPow++), and continues with step 910 to determine if all the nodes have been analyzed (912, 906).
[0175] Thus, the method 900 pursues the aim of avoiding losses of information linked to the impossibility of routing a packet due to one of the following reasons: - insufficient power transmitted in certain nodes; - exhaustion of residual energy in certain nodes.
[0176] It is also understood that choosing a higher transmitted power always results in greater energy consumption for the transmission of a packet.
[0177] When the network starts, default values of the 'txPow' and 'routingCost' parameters are given to all nodes.
[0178] At the end of an epoch, the central entity considers actions for: - critical nodes that have a high ETX (greater than a given threshold 'T') on a link with a parent. This case can result in an action corresponding to an increase in the transmission power (TxPow++); - critical nodes that have pessimistic energy outlooks (CurrentEnergy < given 'Tenergy' threshold) and (energyConsumption > energy-Production). This case may result in an action corresponding to a decrease in the transmission power (TxPow—) and an increase in the routing cost index (routingCost++).
[0179] The proposed actions are justified by the fact: - that a high ETX is often an indication that the power used to communicate with the parent is insufficient; and - that a reduction in the transmitted power has a double advantage in terms of energy savings: the transmission of packets at lower power results in lower energy consumption and leads to less coverage and therefore a smaller number of neighboring nodes likely to choose the node concerned as parent.
[0180] Advantageously, the reduction in the transmitted power is combined with an increase in the routing cost (routingCost++) which has a similar effect, i.e. the increase in the routing cost discourages nodes likely to choose this node as a parent. This results in energy consumption savings due to the reduction in routing activities.
[0181] In one embodiment, the threshold values (ETX threshold, threshold on residual energy) may be replaced by maximum proportion objectives. For example, if the application of the ETX threshold results in too many nodes requiring an increment in the transmitted power, the calculation may be repeated with a higher ETX threshold, until the proportion of nodes requesting an increment in the transmitted power does not exceed a certain ratio. In this case, the configuration parameter that is important becomes the proportion in question rather than the threshold on the ETX.
[0182] In one embodiment, the method of the invention for managing the configuration of the nodes of a network takes into account the side effects that can result from the actions of adjusting the transmission power and routing cost.
[0183] Indeed, for example when an action tends to discourage other nodes from choosing a certain node as a parent (either by increasing the routing cost or by decreasing the transmitted power), a side effect may be to cause a switch of the child nodes in the neighborhood to other parent nodes. This could then result in a displacement of the criticality problem rather than in its resolution.
[0184] Similarly, an increase in the transmission power in a node due to a high ETX can have the side effect of generating an energy problem at the level of this same node.
[0185] A first option to absorb side effects is to never skip values when deciding on increases or decreases on the txPow or routingCost parameters. By making changes as small as possible, it is possible to observe the side effects related to an observation at an epoch 'i' during the following epoch 'i+1' and then correct them at the later epoch 'i+2'.
[0186] However, the variety of application contexts does not exclude unstable situations. where the edge effects would not be corrected.
[0187] Also to resolve these difficult cases, one embodiment of the invention consists of modeling and anticipating the edge effects in the same epoch, and implementing a continuous learning phase at the level of the central entity.
[0188] Indeed, the principle of learning makes it possible to circumvent the difficulty of modeling the environment. For example, dynamic attenuation of a channel (the "fading") is not predictable, and there is no optimal and unique solution which would consist of fixing once and for all the parameters (txPow, rankingCost), because the solution is dynamic and varies over time depending on the fading conditions.
[0189] To implement this learning, the inventors propose to carry out an evaluation of the health of the network at the end of each epoch and to assign a value to this evaluation. This value is a positive quantity, all the higher the more critical the network is. A value of zero indicates the absence of a problem.
[0190] By this evaluation, a network is considered healthy when no node is critical in terms of energy, particularly if they are routers with a significant routing load.
[0191] Additionally, for a network to be considered healthy, the average packet repetition rate in the network should be as low as possible, as repetitions are an indicator of packet loss and latency degradation.
[0192] The health assessment, denoted by the 'Health' parameter, is assigned to a network at the end of an epoch, and it can be calculated by the following formula: [01931 Health=a ■ + nPacketsSent nracltetsActowwleagea ' ^critïcalnoaes
[0194] The first term of the equation shows the total number of retransmitted packets 'nPacketsSent - nPacketsAcknowledged' divided by the number of packets that were acknowledged by the receiving node 'nPacketsAcknowledged'.
[0195] The second term of the equation is only calculated on the critical nodes 'criti-calnodes' in energy, that is to say those for which the residual energy is lower than a threshold 'Tenergy'.
[0196] The coefficients a, [3, and the threshold value 'Tenergy' are configuration parameters, which are predefined according to the initial architecture of the mesh network.
[0197] In the embodiment with network health evaluation, the observation database 800 further comprises information on the network health evaluation 'Health' calculated for each epoch according to the formula presented above, and contains information on the evolution of the health 'Health Evol'.
[0198] When at the end of an epoch i+1, the health assessment is available, the method makes it possible to calculate the evolution of the health of the network which is consecutive to the modi fication of the values of 'txPow' and 'rankingCost' at the end of epoch i. The health evolution value is included in the entry attached to epoch i. [Fig.8b] illustrates the observation database 800 with the data relating to the health of the network and its evolution.
[0199] Calculating the evolution of the health of the mesh network implements mechanisms inspired by reinforcement learning (RL) combined with deep neural networks, also known as deep reinforcement learning (DRL). Reinforcement learning consists, for an artificial intelligence, in making decisions, based on feedback, in order to optimize a reward value over time. Deep reinforcement learning integrates deep learning into the resolution, allowing the artificial intelligence to make decisions from input data that it reorganizes itself to achieve its objective. Deep reinforcement learning algorithms are capable of taking into account very large quantities of data.
[0200] [Fig. 10] illustrates a time sequence for the embodiment of the invention with network health assessment. At startup of the general system, the network enters a training mode, then it moves into an operating phase or nominal mode.
[0201] The training mode is a preliminary phase that lasts over several epochs (epoch_l to epoch_n-l), and during which a labeled database is built.
[0202] The mesh network is operational during the preliminary phase, the central entity of the network which is configured to implement the method of the invention begins to feed the observation database with the observation data received from the nodes of the network, and with the data on the evaluation of the health of the network, according to the principle described with reference to [Fig.9]. At the end of each epoch, actions are determined by the central entity to select a configuration of the nodes, actions which are based on the method described with reference to [Fig.9].
[0203] In an embodiment with implementation of neural networks, after a certain number of epochs, when the observation database contains sufficient data, the method makes it possible to start training a neural network on this database, by considering each health evaluation data (“Predicted Health” in English) of the network as a label.
[0204] During the training phase, the mesh network is also operational and the neural network begins to be trained and operated. The ability of the neural network to predict the evolution of the mesh network health based on the decided actions improves after each new epoch, and this is due to the process additional training of the network which is renewed at each epoch by the data which are recorded in the observation database.
[0205] [Fig. 11] illustrates an example of a possible implementation of a neural network allowing to predict the evolution of the health of a mesh network, on the basis of the quantities observed for each node during an epoch, i.e. the values of the parameters 'currentEnergy, nPackets, ETX, txPow, rankingCost', and taking into account the actions 'ActionTxPow, ActionRankingCost' which are applied to each node at the end of this epoch.
[0206] To simplify the illustration, [Fig.l 1] represents a neural network with only 8 nodes. Each node of the network is interfaced with 7 neurons of the input layer, each neuron being associated with one of the quantities mentioned above. [Fig.l 1] illustrates a multi-layer network comprising an input layer, three intermediate layers and an output layer.
[0207] In this figure, the white circles on the left each represent a node of the mesh network. At the end of an epoch, each node delivers 5 quantities observed or configured during this epoch (txPow, rankingCost, currentEnergy, nPackets and ETX), which can be completed with hypotheses concerning the actions applied to the node concerned, namely the action 'ActionTxPow' and the action 'ActionRankingCost'.
[0208] It should be noted that the precise choice of the configuration of the neural network as well as the number of possible layers, for cases of neural networks of the deep neural network type (“Deep Neural Network” in English), is left to the discretion of the person implementing the solution.
[0209] Returning to [Fig. 10], once the neural network is trained, it is used in the exploitation phase (epoch n) to have a prediction of the evolution of the health of the network, which would be consecutive to all the actions on the parameters 'txPow' and 'routingCost'.
[0210] [Fig. 12] illustrates the steps of the method for managing the configuration of nodes of a mesh network according to an embodiment of the invention with evaluation of the health of the network by a neural network.
[0211] The method 1200 begins after the detection of the end of an epoch 'i' 1202, to calculate 1204 the health of the network over the past epoch 'i' and the observed evolution of the health with reference to the epoch 'i-1'. The data is stored in the observation database 800. Then the method enters an iteration loop 1206 to operate the trained neural network. The iterations are continued 1218 until the last iteration is reached 1216.
[0212] During each iteration, the method allows (sequence of steps 1208, 1210, 1212, 1214) for each possible action on the entire network, called composite action, to predict the health of the mesh network and determine whether the health evolution is optimal. Repeated use of the neural network makes it possible to predict the most promising composite action on the nodes' parameters {txPow, routingCost}, and to proceed with the choice of the "best" composite action.
[0213] A naive approach would be to predict the network health for all possible composite actions (using the neural network) and retain the one that results in the best network health.
[0214] Now, the possible actions on the 'txPow' and 'routingCost' parameters that the central entity can decide for a node of the mesh network are the nine actions listed in the following table: Possible action / node Do not modify txPow Do not modify routingCost Increment txPow Do not modify routingCost Decrement txPow Do not modify routingCost Do not modify txPow Increment routingCost Increment txPow Increment routingCost Decrement txPow Increment routingCost Do not modify txPow Decrement routingCost Increment txPow Decrement routingCost Decrement txPow Decrement routingCost
[0215] Also, the number of possible composite actions applied to a network is equal to 9n, if n is the number of nodes in the mesh network.
[0216] For a medium or large network, it is not possible to request a neural network to obtain an evaluation of the evolution of the health of the network for all these composite actions, and this for reasons of limitation on the computing power available in the central entity, and taking into account the need to quickly choose the action to be applied.
[0217] Also, to circumvent this difficulty, in an advantageous embodiment, it is possible to only be interested in composite actions which modify the configuration of a subset of 'k' nodes in the network.
[0218] There are then: groups of k nodes in the network. The number of actions (n-ky. composites applicable to a group of k nodes is then equal to: L—. ' (nk )\
[0219] If k is taken with a low value (for example if k is equal to 2 or 3), it is possible to evaluate all these composite actions and retain the best one in terms of network health prediction.
[0220] It should be noted that among the 9 possible actions that can be applied on a node, the "null" action (do not modify txPow and do not modify routingCost) is a possible action. The number of composite actions therefore also includes actions that modify fewer than k nodes.
[0221] It is possible to repeat the prediction process. The first iteration already presented is called iteration number 0.
[0222] In iteration number 1, the optimal composite action produced by iteration 0 is considered in which at most k nodes have been modified. The new iteration considers the new composite actions in which at most k other nodes are modified. The expression "other nodes" must be considered in the weak sense because it is not forbidden to choose among these k other nodes a node that has already been modified during iteration 0. However, the constraint must be set that the resulting action on a node never results in a double incrementation or a double decrementation of the parameters 'txPow' and 'rankingCost'. Also, the method is limited to searching for composite actions that result in a single incrementation at most or a single decrementation at most (for the parameters 'txPow' or 'rankingCost'), taking into account the state of the nodes before iteration 0.
[0223] At the end of iteration 1, a set of pre is generated again dictions, among which the one for which the prediction of health evolution is the best is retained.
[0224] The iterations can be repeated a certain number of times, the only limit being that the time taken to determine the optimal composite action must remain low compared to the duration of an epoch.
[0225] When the last iteration is reached (yes branch of 1216), the method allows 1220: - to determine a new version number for the mesh network taking into account taking into account the optimal action that has been chosen; to transmit the new version number and the new configuration to the gateways which will initiate the dissemination of the new configuration in the network (according to the diffusion mode described with reference to [Fig.5]); to add in the database the network health improvement label for entry i -1, and to add entry i in the database (without its label which is not yet recalculated).
[0226] The systematic addition after each iteration of the labeled data in the database assumes an indefinite increase of the database. In one embodiment, when the size of the database has reached a problematic value, it is possible to remove the oldest entry at the same time as adding the most recent entry.
[0227] In a complementary step 1222, the neural network can be trained taking into account the new labeled input (for input i -1). Thus, the training of the neural network can be improved after each epoch since each new epoch makes it possible to assign a label to the input associated with the previous epoch.
[0228] The additional training of the network can be carried out in parallel with the broadcasts of the new configuration in the network, or it can also be carried out in parallel with the observation period, the only constraint being that it is completed before the end of epoch i+1.
[0229] The process loops back to the beginning 1202 waiting for the determination of the end of epoch i to repeat.
[0230] The description has been made for a system based on a central entity which observes the network and which controls the nodes of this network from the point of view of the two parameters 'txPow' and 'rankingCost'. It is possible to consider other parameters in addition to or in substitution of these. In particular it is possible to consider the coding scheme used, typically composed of the indication of a modulation (2PSK, 4PSK, 4QAM, 16QAM, etc.) and the specification of an error correcting code (for example conventional code 1 / 4, 1 / 2, 3 / 4 etc.).
Claims
Claims
1. Method for dynamically managing a mesh communication network implemented in an Internet of Things environment, the network being composed of a plurality of energy-constrained communicating nodes configured to be able to transmit data according to different power levels, the mesh network comprising at least one gateway node configured to transmit data packets from transmitting nodes to the Internet network via a central node, the method being implemented sequentially over periods of predefined duration by a processor of the central node and comprising steps consisting of: - during the duration of an epoch i: (al) receiving from said at least one gateway node, at least one data packet (600), said at least one data packet comprising measurement data from a transmitting node of the network and at least information (602, 604) relating to: - to the node-by-node path followed by said at least one packet from the transmitting node; and - to a residual energy for each node of the path; (a2) adding the received information to an observation database (800), the observation database being organized to store, for each node of the mesh network, the information received at each epoch, as well as an index representative of the transmission power and a value representative of a routing cost during the elapsed epoch i; - at the start (902) of the following epoch i+1: (bl) calculating, on the basis of the information stored in the observation database, a new configuration for the mesh network, the calculation of the new configuration consisting of determining, for at least one node of the mesh network (904), actions to be applied to the node with regard to its transmission power and its routing cost (908, 916); and (b2) broadcasting (502) to each node of the network via said at least one gateway, the new calculated configuration.
2. The method of claim 1 wherein said at least one received data packet further comprises information relating to the signal-to-noise plus interference ratio of each node of the path followed, and information relating to the number of repetitions for transmitting said at least one received data packet. least one packet for each node in the path.
3. The method according to claim 1 or 2 wherein the step of calculating a new configuration comprises steps consisting of: - determining for said at least one node, whether the residual energy is less than a threshold value and whether a value of energy consumed by the node is greater than a value of energy produced; and - if yes, applying actions consisting of decreasing the transmission power and increasing the routing cost of the node concerned; or - if no, applying actions consisting either of increasing the transmission power of the node concerned, or of maintaining the current power.
4. The method according to any one of claims 1 to 3 further comprising during the duration of each epoch, steps consisting in: - evaluating a health parameter of the mesh network, the health of the network being evaluated with respect to an estimate of the quality of data transmission between the nodes of the mesh network, and with respect to the number of nodes which are considered critical in terms of energy, i.e. the nodes for which the residual energy is lower than a threshold value; - adding to the observation database a value representative of this evaluation of the health of the network; - calculating an evolution of the health of the mesh network following actions applied to the nodes with regard to the transmission power and the routing cost; and - adding to the observation database a value representative of this evolution of the health of the network.
5. The method of claim 4 wherein the step of calculating an evolution of the health of the mesh network implements deep reinforcement learning algorithms, combining reinforcement learning with deep neural networks to generate a prediction of the evolution of the health of the mesh network.
6. The method according to claim 5 wherein the step of predicting the evolution of the health of the mesh network consists of iteratively operating a neural network with labeled data corresponding to the values of parameters recorded in the observation database for each node during an epoch, and to the actions which are applied to each node at the end of this epoch, in order to determine the evolution of the optimal health.
7. The method of claim 6 further comprising steps consisting of: - generating a new configuration for the mesh network corresponding to the optimal health evolution, and associating with it a new version number of the mesh network; and - transmitting the new configuration and the new version number to said at least one gateway of the mesh network, to broadcast it to each node of the network.
8. The method according to any one of claims 1 to 7 wherein the step of broadcasting the new calculated configuration, to each node of the network via said at least one gateway, consists of: - for a node, transmitting to a receiving node a message which contains, in addition to the information relating to the rank of the nodes, the version number of the network; - for the receiving node, comparing the version number received with the current version number, and updating the elements relating to the difference between the new version received and the current version.
9. A computer program product, said computer program comprising code instructions for carrying out the steps of the method according to any one of claims 1 to 8, when said program is executed on a computer.
10. A device for dynamically managing a mesh communication network implemented in an Internet of Things environment, the network being composed of a plurality of energy-constrained communicating nodes configured to be able to transmit data according to different power levels, the mesh network comprising at least one gateway node configured to transmit data packets from transmitting nodes to the Internet network via a central node, the device comprising a central node processor and means for sequentially implementing over periods of predefined duration, the steps of the method according to any one of claims 1 to 8.
