Method and device for updating the topology of a mesh communication network for the execution of stateless function tasks
A two-layer consensus model optimizes task execution in mesh communication networks by classifying nodes and dynamically grouping IoT devices, addressing inefficiencies in current models and reducing resource requirements.
Patent Information
- Application Number
- FR2023002507
- Authority / Receiving Office
- FR · FR
- Patent Type
- Applications
- Current Assignee / Owner
- Filing Date
- 2023-03-17
- Publication Date
- 2024-09-20
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
Current consensus models are inadequate for managing the high heterogeneity, limited resources, intermittent availability, and dynamic nature of IoT nodes in mesh communication networks, leading to inefficiencies and increased energy consumption in executing stateless functions.
A two-layer consensus model that classifies nodes based on energy and calculation capacity, dynamically groups IoT nodes into subnetworks, and employs a resource manager gateway to optimize task execution, reducing message exchange and energy consumption.
The model enhances fault tolerance, synchronization, and coordination in mesh communication networks, reducing the need for on-board resources and enabling resilient Vehicle-to-Anything (V2X) applications.
Smart Images

Figure 00000000_0000
Abstract
Description
Description Title of the invention: Method and device for updating the topology of a mesh communication network for execution of tasks related to stateless functions technical field
[0001] — The present invention relates to the execution of tasks related to functions without state at the periphery of a mesh communication network comprising IoT nodes. In In particular, the present invention relates to updating a network topology mesh communication for executing tasks related to functions without state. Technological background
[0002] — With new forms of connected objects, smartphones and computers, the ap- The applications implemented on these connected objects have progressively increased their Demand for connectivity and computing power. This increased need for application resources have been accompanied by a steady increase in characteristics embedded technical specifications, energy consumption, and device price.
[0003] — In order to keep devices affordable for the public and to perform tasks relating, for example, to stateless functions in an optimal environment In terms of resources, "cloud computing" has extended its services by adding nodes to the edge of community networks Meshed nification: These are commonly called Fog (in English, "fog") in French) or Edge (in English, “border” in French).
[0004] — In "cloud computing", edge nodes support fewer resources computing power compared to other nodes in the "cloud". Their latency and network load are significantly lower. However, the lower temperatures are sufficient to meet the demands of the applications. current. Even if the addition of resources on the periphery of community networks Meshed communication solves current resource demand problems, the "Cloud computing" still relies on computing resources that will need to evolves over time. The development of "cloud computing" is therefore economically and ecologically fragile because it can be strongly impacted by future semiconductor shortages and / or resource crises.
[0005] To improve the capabilities of the edge layer of the "cloud" without deploying massive amounts of additional computing resources are needed. to take advantage of the resources that are already deployed.
[0006] — IoT devices (from the English "Internet of Things", in French "l'Internet des objects") are a major source of underutilized computing resources. The number of IoT nodes is increasing exponentially, allowing them to keep pace with the evolving needs of cloud computing. IoT nodes are generally characterized by their lack of onboard resources (computing, power, and storage), their intermittent availability, and their inherent flaws. These nodes typically experience network outages and unexpected crashes that render them unreachable for extended periods. IoT nodes can also encounter significant failures due to low-end specifications or malicious attacks. To use IoT nodes for "cloud computing", it is therefore necessary to implement a process of controlling the infrastructure of meshed communication networks to overcome the defects of IoT nodes and thus ensure the security and availability of task calculations at the edge of the "cloud". [Fig.1] schematically illustrates a mesh communication network 1, according to a particular and non-limiting embodiment of the present invention. The mesh communication network 1 corresponds advantageously to a cellular type network, for example a mobile phone cellular network. Such a cellular network is composed of a set of cells, each cell corresponding to a geographical coverage area of a communication antenna (also called a base station) enabling radio communications between users (also called customers or users, each user carrying a mobile communication device) and / or between the users and the mesh communication network 1. The size of a cell varies and is, for example, between 1 km and several tens of kilometers (for example 20 or 30 km). A user, for example, corresponds to a natural person carrying a mobile communication device such as a smartphone or tablet. According to another variant, a user corresponds to a vehicle carrying a communication device such as a computer, for example a telematic control unit, known as a TCU (Telematic Control Unit), or a mobile communication device such as a smartphone carried in the vehicle and connected to it via a wired connection (for example, USB (Universal Serial Bus)) or wireless connection (for example, Bluetooth® or Wifi®). The mesh communication network 1 implements, for example, communications using LTE (Long-Term Evolution), LTE-Avanced (Long-Term Evolution - Advanced), and C-V2X (Cellular - Vehicle to Everything) technologies, which rely on 4G and soon 5G, based on LTE. The mesh communication network 1 is intended to perform tasks related to stateless functions. These tasks are ordered by the user through requests issued via the mesh communication network 1. The user then receives responses to their requests via the mesh communication network 1. The topology of the mesh communication network 1 includes nodes called gateways to indicate that these nodes correspond to gateways (servers) of the mesh communication network 1, and IoT nodes to indicate that these nodes correspond to IoT devices. According to the example in [Fig. 1], the mesh communication network topology 1 has a fully connected backbone between six gateways P1 to P6 and a set of star subnetworks in which each gateway P1 to P6 can reach a group of IoT nodes (represented by unreferenced circles). Solid unreferenced circles represent IoT nodes that are either asleep or awake. Light gray circles represent failed IoT nodes or gateways. Dashed circles represent faulty IoT nodes or gateways. Solid lines represent viable connection links, while dashed lines represent faulty connection links. Gateways P1 through P6 manage a large set of IoT nodes. While considerably fewer in number than IoT nodes, they are more sophisticated and highly available, offering near-complete uptime. However, although much less frequent than with IoT nodes, gateways can experience network outages, unexpected crashes, or malicious attacks. These attacks have a greater impact on the mesh network 1, as they typically deny service to the gateway and IoT devices within its subnet. Thus, it is imperative to provide a control process for the mesh communication network 1 which manages the faults of the IOT nodes and gateways in order to ensure continuity of execution of tasks relating to stateless functions in the "cloud". Defining such a process involves defining a consensus model to control the mesh communication network 1. Such a consensus model must (i) guarantee system security in both Byzantine and non-Byzantine faults, which include network partitioning, delays, inability to reach a node, and packet loss, (ii) maintain service availability as soon as at least one gateway and three IoT nodes are available, (iii) not depend on timing to synchronize topology and task execution and implement an asynchronous intermediate communication mechanism, and (iv) be completed as soon as a majority is reached and be able to compensate for performance loss caused by slower nodes. Consensus models (consensus algorithms) arose from the need to provide non-trivial solutions for reaching agreement between multiple machines in the most efficient and reliable way possible, and to enhance the fault tolerance of systems. These algorithms, through the use of several processes and mechanisms, guarantee a single output value from among a set of possible values proposed by different machines (nodes) across a set of machines (a "cluster"). Paxos (A. Yousefpour. 2019. All one needs to know about fog computing and related edge computing paradigms: A complete survey. In J. of Syst. Architecture. Elsevier. D. Ongaro. 2014. In search of an understandable consensus algorithm. In 2014 USENIX Annual Technical Conference) is one such consensus model. Paxos works by allowing a group of nodes to reach an agreement on a value, synchronizing these values, and making them learnable by all nodes in a node group. To do this, Paxos classifies nodes into three roles (proposer, acceptor, and learner); it is possible for a node to play more than one role simultaneously.To simplify vote counting and avoid desynchronization between nodes when responding to different simultaneous requests, this model implements a two-phase process: (1) a promise phase and, once the majority of nodes have reached an agreement on a value, (2) a validation phase, during which the proposer determines the final response to a request and propagates the result to all nodes in the node group to ensure that the entire mesh communication network is synchronized. Paxos has been widely criticized for its complex applicability to real-world distributed systems due to system heterogeneity and group node constraints. Multiple proposals have attempted to improve its adaptability and reduce Paxos's complexity. However, these proposals remain too complex for systems using IoT nodes. With the goals of achieving high performance levels, facilitating the understanding and implementation of the consensus model, and ensuring adaptability to real-world distributed systems, Raft (L. Lamport, 2019. Time, clocks, and the ordering of events in a distributed system. In Concurrency: the Works of Leslie Lamport) emerged as an alternative to Paxos for managing logs replicated across all nodes in a node group. While Raft focuses on storing replicated data rather than executing tasks, the methods for reaching agreements on synchronization and data integrity are based on the same principles as Paxos. To simplify the distribution of tasks (i.e., system coordination or maintenance of the mesh communication network topology), Raft proposes three Exclusive and different roles of the nodes: (a) "leader", the node is then responsible for coordinating all actions and requests for system management and ensuring consistency and organization, (b) "follower", the node then listens passively and follows the orders of the leader, and (c) "candidate", the node then intervenes during a leader election process. In addition to this centralization of power by the leader, and the means of resolving inconsistencies in the synchronization of log tables, Raft is based on Lamport's logical clocks (L. Lamport. 2019. Time, clocks, and the ordering of events in a distributed system. In Concurrency: the Works of Leslie Lamport.) by adding a counting number (called a "term" in Raft) which allows the detection of obsolete information and the restoration of the log table of the nodes.However, despite the simplifications and optimizations brought about by Raft, the complexity and cost of the voting process on which this model is based make it difficult to apply to mesh communication networks including IoT nodes that are highly mobile and prone to failure. Pirogue (A. Munir et al. 2017. IFCIoT: Integrated Fog Cloud IoT: A novel architectural paradigm for the future Internet of Things. In IEEE Consumer Electronics Magazine) is presented as a variant of Raft. Pirogue focuses on significantly reducing its energy footprint while maintaining performance similar to that of Raft. In Pirogue, the classic static voting process is replaced by a dynamic linear voting process (S. Jajodia et al. 1990. Dynamic voting algorithms for maintaining the consistency of a replicated database. In ACM Transactions on Database Systems). This change replaces the classic static quorum majority with a dynamic quorum, requiring fewer nodes to achieve a majority in the event of a gateway (server) disconnection. Pirogue proposes a new role for nodes: witness. The node is then able to participate in the consensus quorum when needed.This role is implemented by low-power devices that do not have the capacity to store all the system data, thus reducing the energy footprint of the node group. These optimizations allow Pirogue to achieve performance, availability and fault tolerance close to those of a five-node group modeled by Raft with low energy footprint configurations such as four-node groups or three-node groups and a control. Current consensus models cannot function on mesh communication network topologies 1 comprising heterogeneous IoT nodes of the type described in relation to [Fig.1] given the high heterogeneity, limited resources of the IoT nodes, and intermittent availability of the IoT nodes. of the high dynamics of IoT nodes and the lack of direct connection between IoT nodes within the mesh communication network 1. Indeed, IoT nodes and gateways are very heterogeneous with each other in terms of resources which depend not only on their hardware characteristics which can be either high-end or low-end, but also on the duty cycle and software of these nodes and gateways, since the goal is to use the reserve resources of IoT nodes and gateways without interrupting their original functions. Furthermore, IoT nodes are severely resource-constrained. While gateways are far less resource-constrained, they still represent a small fraction of all nodes in the mesh communication network. Moreover, most IoT devices are characterized by limited hardware resources (computing and storage) and battery limitations, as they are typically battery-powered. Current consensus models are generally deployed on server nodes (gateways) capable of storing a complete copy of the logs from the communication network nodes, which is not the case for IoT nodes. Furthermore, IoT nodes have intermittent availability. Despite the high connectivity capabilities of gateways, IoT nodes often experience network outages and unexpected crashes. Their availability is therefore unreliable, unpredictable, and generally intermittent. Furthermore, consensus models rely on a large number of coordination and synchronization messages transmitted over a fully connected backbone. However, given the size of mesh network topologies including IoT nodes, multiple backbones are present, requiring messages to pass through several intermediate nodes before reaching their destination. Therefore, reducing the number of messages is necessary to improve the performance of a consensus model. Furthermore, IoT nodes are highly mobile, both physically and from a network perspective. This complicates maintaining complete synchronization of log tables as required by current consensus models. It is therefore necessary to define a consensus model that can be deployed on a mesh communication network 1 including gateways and IoT nodes that address the various limitations of current consensus models outlined above. Summary of the present invention One object of the present invention is to solve at least one of the problems of the technological background described previously. An object of the present invention is a collaborative IT service platform targeting the execution of stateless functions and using IoT nodes with low to medium availability of an already deployed communication network infrastructure. The present invention is based on an original consensus model that may be similar to prior art consensus models such as Raft or Pirogue. However, the consensus model of the present invention extends these classic consensus models by adding: Roles and node classification: The consensus model divides nodes into two layers based on their energy and computing capacities: a first layer, containing few gateways likely to manage the resources of the mesh communication network, and a second layer, containing many IoT nodes. Furthermore, IoT nodes are dynamically grouped into subnets, also called compute units (CUs), based on their availability and computing power, to optimize the execution of tasks related to user requests. Thus, PCM operates on a heterogeneous set of layers. control of the mesh communication network at two levels: at the level of a gateway which is a resource manager and is elected dynamically, and at the level of each subnetwork by electing a computing orchestrator node (OC) for each subnetwork. dynamic subnetwork update capabilities and OC node election to meet the demands of a highly dynamic mobile IoT environment that results in changes to each subnetwork. This consensus model aims to compensate for the limitations of IoT nodes (i.e., high heterogeneity, limited resources, intermittent availability, high dynamics and a lack of direct connection between nodes within the platform) to ensure fault tolerance, synchronization of information in the mesh communication network and coordination of task execution. The present invention enables the execution of tasks by an infrastructure of a loosely connected mesh communication network by optimizing the election of a resource management gateway which reduces the total number of messages exchanged. Two-level control and grouping of nodes based on their availability and computing capacity make it possible to compensate for their errors and improve the overall performance of task execution by the mesh communication network. The present invention limits energy consumption for the execution of tasks at the edge of the "cloud" because it uses the resources of IoT devices instead of classic nodes at the edge of the "cloud". The present invention centralizes the management of resources for a large number of IoT nodes without significantly increasing the number of messages exchanged or slowing down the performance of the mesh communication network. Since the present invention improves fault tolerance and task coordination, it helps to reduce the on-board resources required by vehicles, thereby reducing the cost of the on-board architectures of these vehicles. The present invention offers numerous possibilities for the development of future resilient Vehicle-to-Anything (V2X) applications that could be commercialized. According to a first aspect, the present invention relates to a method for updating the topology of a mesh communication network for the execution of tasks relating to stateless functions, said mesh communication network comprising nodes called gateways to indicate that these nodes correspond to gateways of the mesh communication network and nodes called IoT nodes to indicate that these nodes correspond to devices connected to the internet, the IoT nodes being grouped by subnet, each subnet being attached to a gateway, said method comprising the following steps: - a first table being attached to each subnet, each first table indicating the availability and characteristics of each node of a subnet, determination of the availability of each node of each subnet and updating of a first table stored by a gateway to which this subnet is attached; and - dissemination of a first updated table stored by a gateway to all gateways of the mesh communication network. According to a particular and non-limiting embodiment, each IoT node in each subnet periodically emits a message to indicate that it is available; if a gateway attached to a subnet does not receive said message or a message related to the execution of a task by an IoT node in said subnet for a given period, said gateway considers that the IoT node has disconnected and updates the first table corresponding to said subnet. According to a particular and non-limiting example of an embodiment, each gateway in the mesh communication network stores a second table formed from a union of first tables stored by gateways, and in which the dissemination of the first updated table stored by a gateway to all gateways in the mesh communication network comprises the following steps: - periodic dissemination of a message from a resource management gateway mesh communication network, said message including the second table of the resource management gateway of the mesh communication network; - if the information in a message received by a gateway is relevant, this gateway updates the second table it stores and the information it stores based on the relevant information carried by this received message; - sending a message carrying the first table stored by said gateway to the resource management gateway; - comparison, by the resource management gateway, of the content of the first table carried by the received message with the content of the second table stored by the management gateway; - if the content of the first table carried by the received message is identical to the content of the second table stored by the resource management gateway, the resource management gateway ignores the content of the received message; - if the content of the first table carried by the received message is different from the content of the second table stored by the resource management gateway, the resource management gateway merges the changes in the second table it stores; and - dissemination by the resource management gateway of the second table which it stores to all gateways of the mesh communication network. According to a particular and non-limiting example of an embodiment, an era being defined as an integer representing a period of time and table indexes being defined as integers used by a synchronization of the first and second tables, an era value corresponding to an election of a resource management gateway; a first index being associated with each first table and a second table index being associated with each second table, the updating of the mesh communication network topology is based on the comparison of era values and / or table indexes. According to a particular and non-limiting example of implementation, the resource management gateway compares pairs of values with each other, each pair of values being made up of an era value and a table index value. According to a second aspect, the present invention relates to a device for updating the topology of a mesh communication network for the execution of tasks relating to stateless functions, the device comprising a memory associated with a processor configured for the implementation of the steps of the process according to the first aspect of the present invention. According to a third aspect, the present invention relates to a vehicle comprising a device according to the second aspect. According to a fourth aspect, the present invention relates to a program computer which includes instructions adapted for the execution of the steps of the process according to the first aspect of the present invention, in particular when the computer program is executed by at least one processor. Such a computer program may use any programming language, and be in the form of source code, object code, or an intermediate form between source code and object code, such as in a partially compiled form, or in any other desirable form. According to a fifth aspect, the present invention relates to a computer-readable recording medium on which is recorded a computer program comprising instructions for carrying out the steps of the process according to the first aspect of the present invention. On the one hand, the recording medium can be any entity or device capable of storing the program. For example, the medium can include a storage means, such as a ROM, a CD-ROM or a microelectronic circuit-type ROM, or a magnetic recording means or a hard drive. On the other hand, this recording medium can also be a transmissible medium such as an electrical or optical signal, such a signal being able to be transmitted via an electrical or optical cable, by conventional or radio frequency, by self-directing laser beam, or by other means. The computer program according to the present invention can, in particular, be downloaded from an Internet-type network. Alternatively, the recording medium may be an integrated circuit in which the computer program is incorporated, the integrated circuit being adapted to execute or to be used in the execution of the process in question. Brief description of the figures Other features and advantages of the present invention will become apparent from the description of the specific and non-limiting embodiments of the present invention below, with reference to the attached Figures 1 to 8, in which: [Fig.1] schematically illustrates, according to a particular and non-limiting example of the present invention; [Fig.2] illustrates a flowchart of the different steps of the process 10 of electing a resource management gateway according to a particular and non-limiting example of the present invention; |Fig.3] illustrates an example of implementation of process 10 of [Fig.1]; [Fig. 4] illustrates a flowchart of the different steps of the process 40 for controlling the mesh communication network | for the execution of tasks related to stateless functions, according to a particular and non-limiting example of the present invention: [Fig.5] illustrates a flowchart of the different steps of the method 20 for updating the topology of the mesh communication network 1 for the execution of tasks relating to stateless functions, according to a particular and non-limiting embodiment of the present invention; [Fig.6] illustrates an example of the dissemination of an SFTT table in the mesh communication network 1 according to a particular and non-limiting example of the present invention; [Fig.7] illustrates a flowchart of the different stages of the process 30 of forming the calculation units, according to a particular and non-limiting example of the present invention; [Fig.8] schematically illustrates a control device for the mesh communication network 1 for the execution of tasks relating to stateless functions, according to a particular and non-limiting embodiment of the present invention. Description of examples of achievements Processes and devices will now be described in what follows with joint reference to figures 1 to 8. The same elements are identified with the same reference symbols throughout the description that follows. The present invention relates to a method 10 for controlling a mesh communication network 1 for the execution of tasks relating to stateless functions. The present invention also relates to a method 20 for updating the topology of the mesh communication network 1 to orchestrate fault-tolerant execution of tasks on often defective or unavailable IoT nodes of this mesh communication network 1. The present invention also relates to a method 30 for forming computing units by grouping IoT nodes. According to the present invention, each gateway of the mesh communication network 1 stores three tables up to date: a global topology table (GTT), a sub-network follower topology table (SFTT), and a task tracking table (TTT). The SFTT table represents the availability and characteristics of IoT nodes in a subnet of the mesh communication network 1, which includes several IoT nodes. This subnet is connected to a gateway. The SFTT table is stored by each gateway. A gateway's GTT table is formed by the union of SFTT tables from other gateways known to that gateway. A table index, gtt_index, is associated with each GTT table. This table index is used for synchronizing GTT tables, as will be explained later. The TTT table contains the tasks to be executed and their execution status. A table index, ttt_index, is associated with each TTT table. This table index is used for synchronizing the TTT tables, as will be seen later. An IoT node is either in a "follower" state or in a compute orchestrator (OC, "Calculus Orchestrator") state. A follower node is a passive IoT node, meaning it does not issue any requests itself. A follower node executes the task execution requests assigned to it and sends an intermediate response to an OC node in the computing unit to which that follower node belongs. A compute orchestrator node, or OC node, is an IoT node elected for each compute unit (CU). An OC node for a CU executes assigned task requests and receives an intermediate response after each task is completed. An OC node also collects intermediate responses from follower nodes of that CU after other follower nodes have executed the same task. The OC node then produces a final response based on a voting process that considers these intermediate responses, as will be explained later. A gateway can be either in a resource manager (RM) state, or in a dispatcher state, or in a candidate state. An RM gateway is suitable for implementing method 20 for controlling a mesh communication network to perform tasks related to stateless functions. Specifically, an RM gateway is suitable for handling all user requests (if a user sends a request to another gateway in the mesh communication network 1, this request is redirected to the RM gateway). It is also suitable for assigning a task to be executed by follower nodes of a computing unit (CU), for dynamically selecting OC nodes, and for retransmitting a final response to a user who issued a task execution request. An RM gateway is also suitable for implementing method 20 for updating the topology of the mesh communication network 1. In particular, an RM gateway is suitable for managing the dynamics of the IOT nodes and for disseminating a state of a mesh communication network 1 topology, as known to the RM gateway, to the other gateways of the mesh communication network 1. An RM gateway also synchronizes between them the GTT and TTT tables stored by the gateways of the mesh communication network 1. The RM gateway is also suitable for implementing a 30 process of training computing units (CU) by grouping IoT nodes. For example, the RM gateway can identify a group of IoT nodes and add them to New IoT nodes can be added to this group without consulting other gateways, and information about the addition only needs to be propagated once the decision has been made. In particular, an RM gateway is well-suited for optimally selecting an OC node for each compute unit (CU). Using a central RM gateway simplifies the management of highly dynamic GTT, SFIT, and TTT tables that are used for task execution. Although gateway failures are considerably less frequent than those of IoT nodes, an RM gateway can fail or disconnect from the mesh communication network 1, in which case a new RM gateway is elected. A dispatcher responds to requests from an RM gateway. According to the present invention, time is divided into periods of variable length called eras. The eras are numbered with a consecutive whole number. Different dispatchers can observe transitions between eras at different times, and they may not always be aware that one or more elections occurred while they were offline. Thus, eras act as logical clocks, allowing gateways to identify the most recent information. The eras and table indexes (gtt_index and ttt_index) are used for the synchronization of GTT and TTT tables as will be seen in detail later. A gateway in the candidate state, in short candidate gateway, is used to elect a new RM gateway. When converting a gateway to a candidate gateway, the gateway increments its era by one, initializes its GTT and TTT table indexes to 0, triggers the RM gateway election process, and resets an election timer (election delay). Given the intermittent availability and dynamics of IoT nodes, the nodes of the mesh communication network 1 communicate using asynchronous remote procedure calls (RPCs) via asynchronous messaging devices deployed on gateways. An asynchronous messaging device deployed on a gateway allows a message from the gateway to be transmitted to the IoT nodes in the subnet connected to that gateway. Messages are then delivered to the recipients a maximum of once to improve performance. However, a message destined for an IoT node is retransmitted by a gateway if an error occurred during the connection between the IoT node and the gateway. Messages are retained until they are consumed or deleted.Gateways can clean up message stacks from IoT nodes to remove old, unconsumed messages that arrived at the gateway when those recipient IoT nodes were unavailable. Different messages are defined. Each message includes a type and identifiers. of a sending node and a receiving node, an era of information carried by this message, a table index and a useful part (“payload” in English). According to a specific and non-limiting example, a message can be of one of the following four types: 1, 2, 3, or 4: configuration of a tracking IoT node intended to be known by a dispatcher; GTT table intended to be known by a recipient; SFTT table intended to be known by a recipient; and TTT table intended to be known by a recipient. The table index of a message can be equal to gtt_index for messages of type 1 to 3 and ttt_index for messages of type 4. The useful part of the message depends on the message type. If it is type 1, then the part includes a duty cycle. The duty cycle is defined in milliseconds by three values.<Actif, Occupé, Endormi> (with the sum of these three values less than 120s). If type 2, then the useful part includes a GTT table. If type 3, then the useful part includes the SFTT table. If type 4, then the useful part includes the TTT table. When a receiver receives a new message of type 1, 2, 3, or 4, if the information in the received message is relevant—that is, if the era of the message is greater than the receiver's current era—the receiver updates its era and its local information. The information in the received message can also be relevant if the era of the message is equal to the receiver's current era and if the index of the message is greater than a table index in the receiver (gtt_index or ttt_index). In this case, the receiver updates its local information; that is, it updates the relevant table index, which then becomes equal to the index of the received message, and updates the corresponding table based on the relevant portion of the received message.If the information in the received message is relevant, an update history log is updated by adding an entry for any new message information not already present in the log and removing log entries that do not correspond to the information contained in the received message. If an existing log entry conflicts with a new entry, the existing entry and everything following it are deleted. If the received message information is outdated, that is, if the era of this message is earlier than the current era of the receiver, or if the era of this message is equal to the current era of the receiver and the index of this message is lower than a table index from the receiver then the message is ignored and the receiver sends its GTT table (type 2 message) and its TTT table (type 4 message) to the sender of the received message. [Fig.2] illustrates a flowchart of the different stages of the process of controlling the mesh communication network 1 for the execution of tasks relating to stateless functions, according to a particular and non-limiting embodiment of the present invention. In step 110, compute units (CUs) are obtained, each compute unit (CU) comprising IoT nodes of the mesh communication network 1. Each compute unit (CU) is attached to a gateway of the mesh communication network 1 and forms a subnet of the mesh communication network. In a step 120, a gateway is elected RM gateway from among the gateways of the mesh communication network 1, said RM gateway minimizing a number of messages exchanged in the mesh communication network for the execution of tasks. In a step 130, an OC node is elected by the RM gateway for each compute unit CU, an OC node of a compute unit being elected from among the nodes of said compute unit based on performance and availability of the nodes of said compute unit. In step 140, the RM gateway accepts a task execution request issued by a user. Each request (called a "Function Execution Request" (FER) in English, "Requête d'Exécution de Fonction" in French) contains a stateless function to be executed by the loT nodes of a computing unit (CU). A FER request is composed of function scripts to be executed and libraries necessary for the execution of these scripts. In step 150, the RM gateway assigns the request to nodes of a compute unit CU for the execution of the tasks of that request by the nodes of that compute unit CU. In a step 160, the OC node of said computing unit CU collects at least one intermediate response, each intermediate response being either obtained by the OC node or emitted by a follower node of the computing unit to the OC node following the execution of the task by said follower node of the computing unit CU. In step 170, the OC node determines a final answer from a majority vote based on collected intermediate answers. In step 180, the OC node transmits the final response to the RM gateway. In step 190, the RM gateway transmits the final response to the user. According to one variant of the process, in step 135, the topology of the com- network mesh communications is updated and distributed to all gateways of the mesh communication network 1. According to one variant, if the RM gateway does not receive a final response to a request before a timeout has elapsed, the task is assigned to another computing unit (CU). According to one variant, in step 145, the RM gateway checks for the presence of each request received by the RM gateway in its local cache. If the request has already been made and corresponds to one of the requests stored in a cache, in step 146, the RM gateway sends the final stored response to the user and refreshes the cache. If no cache entry matches the query, the RM gateway adds the query to its gateway TTT table as a new entry, increments the TTT table index, and issues an asynchronous message carrying the query to the nodes of a compute unit assigned to execute the query. This variant prioritizes computing units formed from the least defective nodes at a given time. When the OC node of the selected computing unit CU responds with the final response to a request, the gateway RM stores the final response in the entry of its local TTT table relating to the request, sends the final response to the user and synchronizes its TTT table with that of the distributors of the mesh communication network 1. [Fig.3] illustrates an example of task execution according to a particular and non-limiting embodiment of the present invention. According to the example in [Fig.3], a CII user sends a request referenced f11 to an RM gateway. The RM gateway checks if f1 | corresponds to an entry in one of its cache memories. Suppose that f11 corresponds to a query referenced by f2 stored in the FIFO-referenced cache of the RM gateway. The RM gateway then sends user CI1 the final response Rf2 stored in the FIFO cache related to f2. The era and TTT table index of the RM gateway remain unchanged. On [Fig.3], the era is equal to 1 (e=1) and the index of the TTT table is equal to 1 (ttt_index=1). Let us now assume that f11 does not correspond to an entry in the FIFO cache memory. The RM gateway then records the new request (11) in the cache memory and increments the TTT table index ttt_index by one unit, which goes to 2. The RM gateway also selects a computing unit UC formed, according to the example in [Fig.3], of an OC node and two follower nodes F1 and F2 and emits f11 to the OC node and to the F1 and F2 nodes. The OC node executes the f11 request and obtains an intermediate response referenced a. Node F1 executes query f11 and provides an intermediate response € to node oc. Node F2 executes query f11 and provides an intermediate response a to node oc. The OC node thus obtains a majority of votes and considers the intermediate response a to be the final response (step 170). The OC node then sends the final response a to the RM gateway (step 180), which stores it in FIFO memory in relation to the new entry corresponding to the request f11. The RM gateway then sends the final response a to the user CL1 (step 190). It can be noted that the cache memory can follow the principle of a FIFO (First In First Out) stack. In this case, when the maximum number of cache entries is reached, any new entry implies the deletion of an entry stored in the cache. This is illustrated in [Fig. 3]: The saving of f11 implies the deletion of an entry corresponding to a request f1. According to a particular and non-limiting embodiment example, the contents of the RM gateway cache memory are synchronized with the contents of the cache memories of the other gateways in the same way as the GTT tables, that is to say that each time a new entry is added or removed from the cache memory of an RM gateway, the cache memory index is incremented by one unit and asynchronous messages are broadcast to synchronize the cache memories of the other distributors of the mesh communication network 1 with the cache memory of the RM gateway. According to a particular and non-limiting example of implementation, the triggering of an election of an RM gateway (step 120) is based on a pulse mechanism ("heartbeat" in English) defined as follows. When a gateway starts up, it enters the dispatcher state and broadcasts a type 2 message informing the other gateways in the mesh communication network 1 of the contents of its GTT table (the SFTT tables it knows). The gateway remains in this dispatcher state until it receives a message indicating that an RM gateway is valid or a message indicating that it should switch to a candidate state. According to a specific, non-limiting embodiment, an RM gateway periodically broadcasts a type 2 message containing its GTT table to the gateways of the mesh communication network 1 in order to maintain its authority and keep the tables of all gateways synchronized. However, if a dispatcher does not receive any message during a so-called election expiration time, that dispatcher assumes that no RM gateway or election process is in progress and triggers a new election to choose a new RM gateway (step 120). According to a particular and non-limiting embodiment, a new election is triggered as soon as a gateway disconnects from the mesh communication network 1. According to a specific, non-limiting example, a new election is triggered to verify whether a current RM gateway minimizes the number of messages exchanged in the mesh network for task execution. In this case, the RM gateway triggers a new election of an RM gateway (step 120) by considering itself as the dispatcher. If the RM gateway is no longer the candidate gateway resulting from an election, the RM gateway advances the era and determines its successor, propagating its choice to both the new candidate gateway and the remaining dispatchers in the mesh network. This succession mechanism accelerates the election of a new RM gateway (step 120) and ensures the optimality of the current RM gateway over time. It can also occur that a dispatcher receives a message from another gateway, RM, or dispatcher at any time with a higher era or table index than its own era (or with the same era or table index from a different RM gateway) while having already considered an active RM gateway. This case is likely due to malicious behavior or segmentation of the mesh communication network. In this case, according to a particular and non-limiting embodiment, the dispatcher alerts the active RM gateway, which merges its GTT table with the GTT table of the other RM gateway, triggers the election process again to lead to the election of a single RM gateway. According to a specific, non-limiting embodiment, if an RM gateway or candidate is "obsolete," that gateway is assumed to have temporarily lost its network connection. This gateway synchronizes with the era and table indexes of the RM gateway and triggers a new RM gateway election (step 120), reverting to the dispatcher state. This same mechanism operates in reverse upon receiving an old era number from another dispatcher. According to a particular and non-limiting embodiment example, if an RM gateway election timeout elapses without receiving any requests issued by the RM gateway, a dispatcher increments its era by one unit and initiates a new election of a new RM gateway. If a candidate gateway receives a message from a node claiming to be an RM gateway for the same era or a higher era, the candidate gateway switches to the dispatcher state. According to a particular and non-limiting example of implementation, if the election period expires without a majority of dispatchers, the candidate gateways merge their GTT tables, increase the era and trigger a new RM gateway election (step 120). According to a particular and non-limiting example of an embodiment, the election of an RM gateway is implemented by a deterministic method 40 for the election of an RM gateway based on a list of all the distributors of the mesh communication network 1 ([Fig.4]) In a step 410, a dispatcher increments its era by one unit. In step 420, a candidate gateway is determined from among the dispatchers in the dispatcher list. For this purpose, for example, the most recent GTT table in the mesh communication network 1 is considered. This GTT table contains a list of splitters, each with a list of connected nodes and their computing capacities. This list excludes the RM gateway. Initially, two variables optimalDispatcher and optimalNumberOfMsgs are initialized to the value NULL. For each dispLeadTmp dispatcher in the dispatcher list, steps 430, 440, and 450 are executed. In step 430, the total message count is initialized to 0. In step 440, for each dispatcher disp in the dispatcher list, the number of expected messages (expectMsgs) to be exchanged between the DispLeadTmp dispatcher and the disp dispatcher is determined, assuming that the DispLeadTmp dispatcher is elected as the RM gateway. The total number of messages (totalMsgs) is then updated by: totalMsgs + expectMsgs * distance(dispLeadTmp, disp) where distance(DispLeadTmp, disp) indicates a distance between the DispLeadTmp and disp splitters. In step 450, if the total number of messages (totalMsgs) is less than an optimal number of messages (optimalNumberOfMsgs), then the DispLeadTmp dispatcher is considered an RM gateway, and an optimalDispatcher variable is updated with the DispLeadTmp dispatcher identifier. The optimal number of messages (optimalNumberOfMsgs) is also equal to the total number of messages (totalMsgs). When each DispLeadTmp dispatcher from the GTT list has been considered, the optimalDispatcher variable indicates which dispatcher was elected candidate gateway and the optimalNumberOfMsgs variable indicates the total number of messages related to that dispatcher. During the execution of this election process 40, some dispatchers may not respond within a timeframe shorter than an election expiration time. Each of these dispatchers that has exceeded this election expiration time then executes the election process 40 in turn and informs the candidate gateway from the first election that, to the best of its knowledge, this candidate gateway is the most optimal RM gateway for this new era. If a dispatcher in the mesh communication network 1 receives When one of these messages is received, it attempts to reach that candidate gateway. If it succeeds, then that gateway is considered to have voted for that candidate gateway to be the new RM gateway. If the dispatcher is unable to reach that candidate gateway, it will trigger an election among the remaining dispatchers that have not already voted for that candidate gateway. That dispatcher then becomes the candidate gateway until one of the following three events occurs: (a) it wins the election, (b) another dispatcher wins the election or is already the RM gateway, or (c) an election period elapses without a winner. In event a) occurs, a candidate gateway wins an election only if a majority of the available dispatchers in the mesh communication network 1 vote that it is the most optimal RM gateway. Each dispatcher votes for exactly one candidate gateway in each election, which, given the deterministic behavior of the election process, must always be the same if these dispatchers are synchronized across the entire mesh communication network 1; this never leads to a split vote. However, to ensure the accuracy of the process, the majority rule guarantees that only one candidate gateway can win the election for a particular era. In event b), while awaiting votes, a candidate gateway may receive a message from another candidate gateway claiming to be the RM gateway. If the era of this RM gateway is at least as large as the current era of the candidate gateway, the candidate gateway recognizes it as a legitimate RM gateway and returns to the dispatcher state. However, if the era of this RM gateway is smaller than the current era, the message is rejected and the candidate gateway remains in the candidate state. In event c), at the end of an election period, none of the candidate gateways has enough votes to win or lose the election. This can occur if there are multiple breaks in the mesh communication network 1, preventing dispatchers from having an up-to-date GTT table. When this happens, each candidate gateway sends its GTT table to the other candidate gateways. This merges the GTT tables, and the election process is rerun, thus extending the era. This time, it is confirmed that all participating dispatchers share the same GTT table, and therefore the same candidate gateway. Once a candidate gateway wins the election, that gateway propagates the decision to the other dispatchers. According to a specific, but not limiting, implementation example, since the election of an RM gateway is calculated using a deterministic process, split votes are unusual. However, if this occurs, the split nodes merge their GTT tables and initiate a new RM gateway election. [Fig. 5] illustrates a flowchart of the different steps of process 20 for updating the topology of the mesh communication network 1 for task execution relating to stateless functions, according to a particular and non-limiting embodiment of the present invention. In step 210, the gateway to which a subnet is attached determines the availability of each node in that subnet and updates its SFTT table to indicate the availability and characteristics of each available node in the subnet. It is advantageous to delegate the maintenance of the availability of the nodes of a subnet to the gateway to which this subnet is attached because the congestion of the mesh communication network 1 and the overall number of messages exchanged on this network are reduced. Each gateway then flexibly tracks the faults of the IoT nodes since each IoT node has a different availability and periodicity. In one particular, non-limiting embodiment, each IoT node in each subnet periodically sends a message to indicate its availability. If a gateway attached to a subnet does not receive this message or any message related to the execution of a task by an IoT node in that subnet for a specified period, the gateway assumes that the IoT node has disconnected and removes it from its SFTT table. Similarly, if a gateway attached to a subnet receives a message for the first time related to the execution of a task by an IoT node in that subnet, the gateway assumes that the IoT node is connected and adds it to its SFTT table. In step 220, the SFTT tables of the gateways are broadcast to the gateways of the mesh communication network 1 so that the new topology of a subnetwork is known to all gateways of the mesh communication network 1. [Fig.6] illustrates an example of the dissemination of an SFTT table in the mesh communication network 1 according to a particular and non-limiting example of the present invention. Let us assume in this example that the mesh communication network 1 includes a gateway RM and four splitters D2 to D5. Let us also assume that the RM gateway includes a local GTT table formed by the union of its local SFTT table referenced SFTT1 and the SFTT tables of each of the D2 to DS splitters referenced respectively SFTT2, SFTT3, SFTT4 and SFTTS. The current era of the RM gateway is equal to 1 (e=1) and the GTT table index is equal to 1 (=1). In step 221, the RM gateway periodically broadcasts a type 2 message to distribute its GTT table to all other distributors in the mesh communication network 1. Once this message is received by a dispatcher, in step 222, if the information in the received message is relevant, this dispatcher updates its GTT table and the in- training they memorize based on the relevant information conveyed by the message received. For example, this dispatcher updates the era (e=1) and the GTT table index (i=1) as well as its GTT table based on the GTT table carried by the type 2 message. According to the example in [Fig. 6], the D2 distributor stores its local SFTT table referenced as SFTT2, and the GTT table referenced as GTT1 carried by the received message. Each of the other D3 to D5 distributors does the same. In step 223, each dispatcher sends a type 3 message carrying its SFTT table to the RM gateway. In step 224, the RM gateway compares the SFTT table of each received message with information it knows about the subnet corresponding to that SFTT table (local SFTT tables forming the local GTT table). If the RM gateway finds no change (case 1 in [Fig.6]), the RM gateway ignores the content of the received messages. If the RM gateway detects a change, in step 225, the RM gateway merges the changes in its local GTT table and increments the GTT table index. The index increments by only one unit per period, regardless of the number of changes detected. As shown in [Fig. 6], splitters D3 and D4 each have an SFTT table modified by the appearance or disappearance of at least one IoT node in their subnet. These modified SFTT tables are referenced as SFTT3° and SFTT4'. Splitters D3 and D4 then each send a type 3 message to the RM gateway, which detects a change in the SFTT tables of splitters D3 and D4. The RM gateway then merges the changes into its local GTT table (now referenced as GTT2) and increments the GTT table index (i=2) (case 2 in [Fig. 6]). The RM gateway's era remains equal to 1 (e=1). The GTT table index increments by only one unit each period, regardless of the number of changes detected. In step 226, the RM gateway distributes the new GTT table to all the distributors of the mesh communication network 1. According to the example in [Fig.6], the D2 to D5 distributors are then informed of the new GTT table (GTT2) of the RM gateway during a subsequent broadcast of the type 2 message (step 221). Since this process relies on comparing SFTT tables, it's advantageous to keep the comparison as lightweight as possible. However, the sizes of these tables differ. For example, an SFTT table has a list of a dozen nodes, while a GTT table has a list of dozens of SFTT tables. According to a variant of the mesh communication network 1 topology update process, the RM gateway compares the <era, table index> pair of message received to the one stored locally, which makes it possible to identify which is the most recent table among the SFTT tables and the local GTT table. The process then continues by comparing the SFTT tables with each other once the SFTT table contained in the received message is more recent than the local GTT table (has a higher era or the same era but a higher table index than the SFTT table of the GTT table). [Fig.7] illustrates a flowchart of the different stages of the process 30 of forming computing units by grouping IT nodes, according to a particular and non-limiting example of the present invention; The performance of each compute unit (CU) is highly dependent on the speed at which at least half of the votes from the nodes of the compute unit are received so that the OC node can determine a final response to a query. Consequently, the computing unit formation process (step 110) attempts to minimize the gap between node availability periods. In step 310, the RM gateway classifies IoT nodes according to their degree of availability and computing capabilities: an IoT node is said to be high-performing when its degree of availability and computing capabilities are high, and is said to be low-performing otherwise. Furthermore, given the limited capabilities of IoT devices, and in order to lose as little computing time as possible, the computing unit training process also examines the current distribution of computing units to assign nodes to a computing unit in a way that minimizes changes to this distribution. In step 320, a number of computing units N is calculated based on a number of nodes M per computing unit. According to a particular and non-limiting embodiment, N is equal to 5. This embodiment is advantageous because it allows for optimal computing performance according to tests carried out by the inventor. In a step 330, each computing unit CU is formed by grouping N IoT nodes of the mesh communication network 1, at least one of said nodes being high-performing and at least one of said nodes being low-performing. According to a particular and non-limiting embodiment, the N fastest nodes are for example distributed among the computing units CU. According to a particular and non-limiting embodiment, each computing unit comprises an OC node. According to a particular and non-limiting embodiment, when a computing unit comprises 5 nodes, one of the nodes of a computing unit is considered to be a computing orchestrator node, two other nodes are performance nodes, and two other nodes are inefficient nodes. In step 340, each computing unit (CU) forms a subnet of the mesh communication network 1, which is connected to a gateway of the mesh communication network 1. The gateway stores an SFTT table representing the availability and characteristics of the IoT nodes in the subnet. The IoT nodes of this computing unit (CU) are informed of their connection to this computing unit (CU). This process of forming computing units makes it possible to increase the number of computing periods and to homogenize the capacities of the infrastructure of the mesh communication network 1 while seeking to maintain a previous distribution of nodes. This computing unit formation process can consume significant resources and add an overhead to the mesh communication network control process 1. Thus, if the IoT nodes have a high intermittency of their availability, this computing unit formation process cannot be executed every time an IoT node disconnection occurs without severely penalizing the performance of the mesh communication network control process 1. According to a specific and non-limiting example, the process of forming a computing unit only occurs if one of the following conditions is met: a computing unit does not contain a high-performance OC node or IoT node; The number of IoT nodes in the mesh communication network 1 is less than 3N (c) when a predetermined period has elapsed to re-optimize the distribution of IoT nodes. The RM gateway monitors the loT nodes to ensure that these rules are followed. According to one variant, to keep the infrastructure performing as well as possible, by compensating for node losses, the RM gateway prioritizes task execution towards the CU computing units with their full quorum of active high-performance nodes. According to one variant, the RM gateway informs the OC node of a compute unit CU whenever a change occurs in that compute unit CU regarding the number of nodes in that compute unit. This variant optimizes the performance of the control process of the mesh communication network 1. According to one variant, when a disconnection of an OC node from a CU computing unit occurs, the RM gateway must choose another OC node for that CU computing unit from among the nodes of that CU computing unit so that that CU computing unit is operational until the computing unit training process is executed again. In this way, each computing unit can tolerate one node disconnection outside the quorum of performing nodes, and up to three disconnections if two of them are inefficient nodes. Once an IoT node on a compute unit (CU) receives a message containing a task execution request, that IoT node executes those tasks and sends its result back to the OC node of that compute unit. The OC node, which is aware of the state of the compute unit, then checks whether it can obtain a majority vote. According to a specific, non-limiting example, the voting process used by the OC node is a variant of the voting process known as DLV [S. Jajodia et al. 1990. Dynamic voting algorithms for maintaining the consistency of a replicated database. In ACM Transactions on Database Systems]. DLV dynamically defines a majority threshold based on the number of connected nodes, thereby improving the flexibility and performance of the voting process. In the event of a tie, the OC node prioritizes its intermediate response to a FER, or, if its intermediate response is not among the tied intermediate responses, the first intermediate response that reaches the tied quantity is retained as the final response. Using the DLV-based voting process requires at least n + 2 servers per CPU unit to tolerate n failures instead of the 2n + 1 required by Raft.This property allows CPU computing units to operate with fewer members with an acceptable level of fault tolerance, which is critical in a faulty and highly dynamic environment. [Fig.8] schematically illustrates a control device for the mesh communication network 1 for the execution of tasks relating to stateless functions, according to a particular and non-limiting embodiment of the present invention. Device 23 is, for example, configured to carry out at least one step of at least one process 10, 20, 30, or 40. The elements of device 23, individually or in combination, can be integrated into a single integrated circuit, into several integrated circuits, and / or into discrete components. Device 23 can be implemented as electronic circuits, software (or computer) modules, or a combination of electronic circuits and software modules. According to various particular embodiments, the device 23 is coupled in communication with other similar devices or systems, for example the computers 20, 21 and / or 22 and / or with communication devices, for example a TCU (from the English “Telematic Control Unit” or in French “Unité de Contrôle Té-lématique”), for example via a communication bus or through dedicated input / output ports. The device 23 comprises one (or more) processor(s) 230 configured to execute instructions for carrying out at least part of the steps of at least one process 10, 20, 30 or 40 and / or for executing the instructions of the The software embedded in the device 23. The processor 230 may include integrated memory, an input / output interface, and various circuits known to those skilled in the art. The device 23 further includes, or is associated with, at least one memory 231, corresponding, for example, to volatile and / or non-volatile memory, and / or includes a memory storage device that may include volatile and / or non-volatile memory, such as EEPROM, ROM, PROM, RAM, DRAM, SRAM, flash, magnetic disk, or optical disk. The computer code of the embedded software(s) including the instructions to be loaded and executed by the processor is, for example, stored on memory 231. According to a particular and non-limiting embodiment, the device 23 includes a block 232 of interface elements for communicating with external devices, for example, a remote computing device. The interface elements of the block 232 include one or more of the following interfaces: radio frequency interface RF, for example of type Bluetooth® or Wi-Fi®, LTE (from the English "Long-Term Evolution" or in French "Evolution à long terme"), LTE- Advanced (or in French LTE-avancé); USB interface (from the English "Universal Serial Bus" or "Bus Universel en Série" in French); HDMI interface (from the English "High Definition Multimedia Interface", or "High Definition Multimedia Interface" in French); LIN interface (from the English "Local Interconnect Network", or in French "Réseau interconnecté local"). According to another particular embodiment, the device 23 includes a communication interface 233 which enables communication with other devices, such as the vehicle's on-board computers 20, 21 and / or 22, via a communication channel 234. The communication interface 233 corresponds, for example, to a transmitter configured to transmit and receive information and / or data via the communication channel 234. The communication interface 233 corresponds, for example, to a wired network of the CAN (Controller Area Network), CAN FD (Controller Area Network Flexible Data-Rate), FlexRay (standardized by ISO 17458) or Ethernet (standardized by ISO / IEC 802-3) type. Of course, the present invention is not limited to the embodiments described above but extends to a method for updating the topology of a mesh communication network for the execution of tasks related to stateless functions, which would include secondary steps without departing from the scope of the present invention. The same would apply to a device configured for implementing such a method. process. The present invention also relates to a vehicle, for example an automobile or more generally an autonomous land-powered vehicle, comprising the device of [Fig.8].
Claims
Claims
1. Method for updating a topology of a communication network meshed for execution of tasks related to stateless functions, said mesh communication network comprising nodes called gateway to indicate that these nodes correspond to gateways of the mesh communication network and nodes called IoT nodes to indicate that these nodes correspond to devices connected to internet, with IoT nodes grouped by subnet, each sub- network being attached to a gateway, said method comprising the next steps: - a first table (SFTT) being attached to each subnetwork, each first table (SFTT) indicating availability and characteristics- characteristics of each node of a subnetwork, determination (210) of a availability of each node in each subnet and update of a first table (SFTT) stored by a gateway to which this subnet is attached; and - broadcasting (220) of a first updated table stored by a gateway to all gateways in the communication network mesh.
2. The method of claim |, wherein each IoT node of each subnet periodically issuing a message to indicate that it is available, if a gateway attached to a subnet does not does not receive the said message or a message relating to an execution of a task by an IoT node of said subnet during a period given, said gateway considers that the IoT node has disconnected and updates the first table (SFTT) corresponding to said subnet.
3. Method according to claim 1 or 2, in which each gateway of the mesh communication network stores a second table (GTT) formed from a union of first tables stored by gateways and in which the broadcast (220) of the first updated table stored by a gateway to all gateways in the network Mesh communication includes the following steps: - periodic broadcast (221) of a message from a management gateway of resources of the mesh communication network, said message including the second table (GTT) of the gateway manager mesh communication network resources; - if the information in a message received by a gateway is per- tinentes, this gateway updates (222) the second table (GTT) that she memorizes and the information that she memorizes according to the relevant information carried by this message received; - transmission (223) of a message carrying the first stored table by said gateway to the gateway managing the Your resources; - comparison (224), by the resource management gateway, of the contents of the first table (SFTT) carried by the message received with the contents of the second table (GTT) stored by the ges- gateway tionary; - if the contents of the first table (SFTT) carried by the received message is identical to the contents of the second table (GTT) stored by the resource management gateway, the resource management gateway resources ignore the contents of the received message; - if the contents of the first table (SFTT) carried by the received message is different from the contents of the second table (GTT) stored by the resource management gateway, the resource management gateway resources merges (225) changes in the second table {(GTT) that she memorizes; and - broadcast (226) by the resource management gateway of the second table that it stores for all network gateways mesh communication.
4. The method of claim 3, wherein an era being defined as being an integer representing a period of time and table indexes being defined as integers used by a synchronization of the first and second tables, a cor- era value responding to an election of a resource manager gateway; a first index being associated with each first table (SFTT) and a second table index being associated with every second table (GTT), updating the mesh communication network topology is based on the comparison of era values and / or table indexes.
5. The method of claim 4, wherein the management gateway resources compare pairs of values with each other, each pair of values being formed from an era value and an index value of table.
6. Device for updating a topology of a communication network mesh for execution of tasks related to stateless functions comprising a memory associated with at least one configured processor for implementing the steps of the method according to one of the res- indications 1 to 5.
7. A computer program which comprises instructions adapted for carrying out the steps of the method according to one of claims 1 to 5, when the computer program is executed by at least one processor.
8. A computer-readable recording medium on which is en- registered a computer program comprising instructions for carrying out the steps of the method according to one of claims 1 to 5.
9. Vehicle comprising a device of claim 6.
