[go: up one dir, main page]

HK1247024B - Communication method within a dynamic-depth cluster of communicating electronic devices, communicating electronic device and system - Google Patents

Communication method within a dynamic-depth cluster of communicating electronic devices, communicating electronic device and system

Info

Publication number
HK1247024B
HK1247024B HK18106489.5A HK18106489A HK1247024B HK 1247024 B HK1247024 B HK 1247024B HK 18106489 A HK18106489 A HK 18106489A HK 1247024 B HK1247024 B HK 1247024B
Authority
HK
Hong Kong
Prior art keywords
communication device
message
data
electronic communication
value
Prior art date
Application number
HK18106489.5A
Other languages
Chinese (zh)
Other versions
HK1247024A1 (en
Inventor
Pascal DARAGON
Natale GUZZO
Arulnambi NANDAGOBAN
Nathalie MITTON
Original Assignee
Traxens
Institut National De Recherche En Informatique Et En Automatique
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Priority claimed from FR1552522A external-priority patent/FR3034280B1/en
Application filed by Traxens, Institut National De Recherche En Informatique Et En Automatique filed Critical Traxens
Publication of HK1247024A1 publication Critical patent/HK1247024A1/en
Publication of HK1247024B publication Critical patent/HK1247024B/en

Links

Description

用于电子通信设备的动态深度集群中的通信方法、电子通信 设备和系统Communication method in dynamic deep clustering for electronic communication devices, electronic communication devices, and systems

技术领域Technical Field

本发明涉及一种用于加入通信电子设备的集群的方法,所述方法由通过无线通信网成对通信的所述电子设备中之一的处理单元来实施。The present invention relates to a method for joining a cluster of communicating electronic devices, the method being implemented by a processing unit of one of the electronic devices communicating in pair via a wireless communication network.

本发明此外涉及包括实施这样的加入方法的多个电子通信设备的系统。The invention furthermore relates to a system comprising a plurality of electronic communication devices implementing such a joining method.

背景技术Background Art

作为优选但非限制性的应用示例,本发明是通过与物理量的收集相关的应用示例来描述的,所述物理量诸如例如温度、湿度率、光强度、振动频率、震动等等,与物资或货物的容器、或更一般地容器的内部和/或外部环境相关联。根据所述应用示例,所述容器被堆积和/或堆叠在存储场地上又或在运输平台上巡游,所述运输平台诸如集装箱船舶、货物火车或任何其它合适的运输平台。每个容器与所述电子通信设备之一协作。这些电子通信设备负责收集所述量并且将所述量通过服务消息而发送到目的地为作为“集群头(tête degrappe)”或根据英语术语的“头端(head)”起作用的成对设备。在下文中我们可以称为头端的、作为集群头起作用的电子通信设备的任务之一在于实施所确定的服务。这样的服务可以例如在于聚合通过通信设备所收集的数据并且通过卫星联接或无线电话联接类型的长距离或长程的联接而将所述数据在其聚合之后传输到远程实体。然而,本发明将不受限于该单一的应用示例。更一般地,头端负责实施与通过其配对收集和发送的数据相关联的给定服务,所述给定服务能够涉及监测或警报管理,其代替或补充与远程实体的通信。As a preferred but non-limiting example application, the present invention is described using an example application related to the collection of physical quantities, such as temperature, humidity, light intensity, vibration frequency, shock, etc., associated with containers of goods or cargo, or more generally, the internal and/or external environment of the container. According to this example application, the containers are stacked and/or piled on a storage site or traveling on a transport platform, such as a container ship, a freight train, or any other suitable transport platform. Each container collaborates with one of the electronic communication devices. These electronic communication devices are responsible for collecting the quantities and transmitting them via service messages to a pair of devices acting as a "cluster head," or, as the English terminology suggests, a "head end." One of the tasks of the electronic communication device acting as a cluster head, hereinafter referred to as a head end, is to implement a specified service. Such a service may, for example, involve aggregating the data collected by the communication devices and transmitting the aggregated data to a remote entity via a long-range or long-distance connection, such as a satellite connection or a wireless telephone connection. However, the present invention is not limited to this single example application. More generally, the headend is responsible for implementing a given service associated with the data collected and sent through its pairing, which can involve monitoring or alarm management, either instead of or in addition to communication with a remote entity.

存在通信对象的网络的众多类型或配置。图1因此示意性地呈现了无线通信网络N1。无论所操作的网络如何,每个电子通信设备(同样且一般地将其命名为所述网络的“节点”)实施一种通信方法,从而使得它能够与第三节点或成对节点交换数据和/或服务消息。因此,N1网络设置了(mettre en situation)四十个通信电子设备,在图1中分别标记为:a1至a8、b1至b8、c1至c8、d1至d8以及e1至e8。There are numerous types or configurations of networks of communicating objects. Figure 1 schematically illustrates a wireless communication network N1. Regardless of the network in which it operates, each electronic communication device (also and generally designated a "node" of the network) implements a communication method, enabling it to exchange data and/or service messages with a third node or paired nodes. Thus, network N1 comprises forty communicating electronic devices, labeled in Figure 1 as: a1 to a8, b1 to b8, c1 to c8, d1 to d8, and e1 to e8.

这样的网络一般被定性为多跳网络或者根据英语术语的“multi-hop network(多跳网络)”。根据该类型学,我们命名为“源”的第一节点制定服务消息,所述服务消息在图1中通过双箭头来表示、包括与(作为非限制性的示例)通过与所述第一节点协作的传感器所测量的量关联的数据、目的地为第二“收件方”节点。Such networks are generally characterized as multi-hop networks or, in English, as "multi-hop networks". According to this typology, a first node, which we will call "source", formulates a service message, represented in FIG1 by a double arrow, containing data associated with (as a non-limiting example) a quantity measured by a sensor cooperating with the first node, destined for a second "recipient" node.

与在单跳网络(或根据英语术语的“single-hop network(单跳网络)”)的两个节点之间的必须直接的通信相反,在诸如根据图1的网络N1的多跳网络的两个节点之间,第一和第二节点之间的通信可以是直接的或者间接的。因此,根据间接通信,从源节点寻址的消息可以通过一个或多个第三或中间节点被中继,所述“第三或中间”节点的相应作用在于中继发源于源节点的所述消息以便所述消息最后被发送向收件方节点并且被所述“收件方”节点接收。这样的节点构成集群(grappe)或根据英语术语的cluster(集群)。作为示例,通过图1的虚线加圆框表示了集群Cl1。发源于源节点的服务消息经由一个或多个中继器节点、目的地到收件方节点所遵循的行进一般被命名为“路由”。因此,根据图1,从节点a4发出的、目的地到节点d2的消息相继通过中间节点b4和c3而被中继。In contrast to the necessarily direct communication between two nodes in a single-hop network (or "single-hop network" in English), in a multi-hop network, such as network N1 in Figure 1 , communication between the first and second nodes can be direct or indirect. Thus, according to indirect communication, a message addressed to a source node can be relayed via one or more third or intermediate nodes, each of which functions to relay the message originating from the source node so that it is ultimately sent to and received by a recipient node. Such nodes form a cluster (or, in English, a cluster). As an example, cluster C1 is represented by a dashed line and a circle in Figure 1 . The path that a service message originating from a source node follows, via one or more relay nodes, from its destination to the recipient node, is generally referred to as a "route." Thus, according to Figure 1 , a message originating from node a4 and destined for node d2 is relayed successively via intermediate nodes b4 and c3.

在多跳通信网络中的通信一般通过无线电途径来被实现。通信一般是短程的,也就是说大约为几米到几十米,以使得逐渐地服务消息在不同的节点之间传输。当假定数据被发送到的目的地为服务器或更一般地远程实体的时候,第二通信模式例如通过GSM(根据英语术语的“Global System for Mobile Communications(全球移动通信系统)”)或GPRS(根据英语术语的“General Packet Radio Service(通用分组无线电服务)”)途径、甚至还通过卫星联接来被实施。Communication in multi-hop communication networks is typically carried out via radio. Communication is generally short-range, meaning on the order of a few to tens of meters, so that service messages are transmitted between different nodes. If the data is destined for a server or, more generally, a remote entity, a second communication mode is implemented, for example, via GSM (Global System for Mobile Communications) or GPRS (General Packet Radio Service), or even via satellite connections.

如图2作为优选示例所指示的,节点一般并且主要在于电子通信设备10,所述电子通信设备10包括处理单元11,所述处理单元11例如以微控制器的形式、与数据存储器12、可能是程序存储器14协作,所述存储器可能地是分离的。处理单元11经由内部通信总线(在图2中通过单线条的双箭头来表示)与所述存储器12和14协作。一般地,电子通信设备10包括用于测量与所述设备10的环境相关联的物理量的一个或多个传感器15。这样的传感器可以测量环境温度、湿度率或光的存在/不存在。设备10此外包括第一通信装置13,所述第一通信装置13与处理单元11协作并且确保与位于通信范围内的任何其它电子通信设备10i的无线邻近通信。它此外可以包括“长距离”类型的第二通信装置16,所述第二通信装置16同样与处理单元11协作。这些第二通信装置使得这样的设备10能够向远程实体、例如RS服务器、通过MC消息而传输数据,所述MC消息通过RR网络而分发,所述RR网络利用例如GSM、GPRS或卫星技术。为了运转,也就是说,为了使处理单元11实施从所述处理单元对记录在程序存储器14中的程序P的指令的执行或解译而得到的方法,设备10包括电能量源17,所述电能量源17例如以一个或多个电池的形式。节点能够通信或完全简单地能够运转的能力与所述节点的剩余且可用的能量容量直接关联。事实上,在节点之间的交换、通过所述这些节点利用所交换的数据而实施的处理或计算、以及在电子通信设备的集群或网络中所收集的数据的可能的和远程的行进同样是消耗电能量的动作。As indicated by way of example in FIG2 , a node typically and primarily consists of an electronic communication device 10 comprising a processing unit 11, for example in the form of a microcontroller, cooperating with a data memory 12 and possibly a program memory 14, which may be separate. The processing unit 11 interacts with these memories 12 and 14 via an internal communication bus (indicated in FIG2 by a single double arrow). Typically, the electronic communication device 10 includes one or more sensors 15 for measuring physical quantities associated with the environment of the device 10. Such sensors may measure ambient temperature, humidity, or the presence/absence of light. The device 10 also includes a first communication device 13 that cooperates with the processing unit 11 and ensures wireless proximity communication with any other electronic communication device 10i within communication range. It may also include a second communication device 16 of the "long-range" type, also cooperating with the processing unit 11. These second communication means enable such a device 10 to transmit data to a remote entity, such as an RS server, by means of MC messages, which are distributed via an RR network using, for example, GSM, GPRS or satellite technology. In order to operate, that is to say, in order for the processing unit 11 to implement the method resulting from the execution or interpretation by said processing unit of the instructions of the program P recorded in the program memory 14, the device 10 comprises an electrical energy source 17, for example in the form of one or more batteries. The ability of a node to communicate or simply to operate is directly related to the remaining and available energy capacity of said node. In fact, the exchanges between nodes, the processing or calculations carried out by said nodes using the data exchanged, and the possible and remote travel of the data collected in a cluster or network of electronic communication devices are also actions that consume electrical energy.

某些构造者或运营商已经寻求优化通过网络或集群中的节点所实施的网络或通信方法,以用于全局地保存网络或集群的电能量容量。总体地,第一途径在于将来自节点之间的交换的能量开销分布到网络或集群的所述节点的整体上。第二途径在于将来自在所收集的数据上实施的处理、例如长距离发射的能量消耗分布在大部分节点上,因此在多个节点上共同承担电消耗。因此,无论无接触的通信网络是通过单跳还是多跳的配置,节点可以任意地被指定或晋升作为“网络头”节点或至少作为集群头,即头端节点。与图1相关联地,作为头端起作用的设备通过组线条绘制的圆圈来表示。其涉及用于网络N1的节点d2。节点d2因此作为集群Cl1的头端而起作用。以此方式,所消耗的能量,尤其是用于远程传输在网络中所收集的数据而消耗的能量,是在多个节点上共同承担的。作为变型,头端可以被随机地指定,或者更准确地可以随机地分别将自身指定为头端,只要这些头端具备足够用于实施所确定的服务的软件和/或物质构件即可。Some constructors or operators have sought to optimize the network or communication methods implemented by the nodes in a network or cluster in order to globally preserve the electrical energy capacity of the network or cluster. Generally speaking, the first approach is to distribute the energy overhead from the exchanges between nodes to the entire network or cluster's nodes. The second approach is to distribute the energy consumption from the processing performed on the collected data, such as long-distance transmission, to a majority of the nodes, thereby sharing the electrical consumption across multiple nodes. Therefore, whether the contactless communication network is configured via a single hop or multi-hop, a node can be arbitrarily designated or promoted as a "network head" node or at least as a cluster head, i.e., a head-end node. In association with Figure 1, the device acting as the head-end is represented by a circle drawn with a group of lines. This relates to node d2 for network N1. Node d2 therefore acts as the head-end of cluster C11. In this way, the energy consumed, especially the energy consumed for the long-distance transmission of the data collected in the network, is shared across multiple nodes. As a variant, the headends may be designated randomly, or more precisely may each randomly designate itself as a headend, provided that these headends possess sufficient software and/or material components for implementing the determined service.

作为示例,“LEACH”方法,诸如尤其通过题为“An Application-SpecificProtocol Architecture for Wireless Microsensor Networks”(W. Heinzelman, A.Chandrakasan, H. Balakrishnan – IEEE TRANSACTIONS ON WIRELESS COMMUNICATIONS,VOL. 1, NO. 4, 2002年10月)的文献所描述的,使得能够在单跳网络中随机地指定节点使得其变成头端。属于所述头端的集群的其它节点、被我们相应地命名为“成员”或根据英语术语的“member(成员)”的节点,向集群头、因此向头端寻址其服务消息。与图1相关联地,每个成员节点通过细线条绘制的圆圈来表示。因此,在网络N1中,头端d2直接与节点c1至c4、d1、d3和d4以及与节点e1至e4通信。经由成员c1,头端d2与成员b1通信,所述成员b1可以进而将消息中继向成员a1或中继到目的地a1。头端d2收集从不同的成员节点发出的所述数据、处理所述数据、聚合甚至合并所述数据,并且触发例如长程发射到目的地远程实体,诸如与图2相关联地描述的服务器RS。根据该已知的技术,一旦节点已经担当了头端的角色,它就不能在确定的时段满期之前再次担当这样的角色。新的成员节点于是被随机指定为头端,因此确保了服务的连续性。为了使得我们将其命名为“自由的”或根据英语术语的“loose(无拘束)”的节点(其与图1相关联地通过双线条绘制的圆圈来表示)能够“加入”头端并且因此构成新的集群或再加入现存的集群,位于被晋升或指定为头端的节点的无线电范围中的这样的自由节点被布置用于接收招入消息MH,所述招入消息MH发源自所述头端、一般以招入消息MH的不经区分的发射(还以英语名称“broadcast(广播)”而已知)的形式被发到目的地为位于头端的无线电范围中的任何节点。图1通过网络N1使得能够描述从节点d2传输的消息MH的发射的结果,所述节点d2被指定用于作为头端而起作用,消息MH根据短程广播模式被传输到位于通信范围内的节点。在接收到这样的招入消息MH时,自由节点、例如节点e2更新其数据存储器,所述存储器与其处理单元协作以用于在其中存放头端的坐标或标识值,即,与图1相关联的节点d2的标识。先前自由的设备e2变成集群Cl1的成员。其因此在图1上显现为通过细线条的圆圈来表示。设备d2,其作为头端而起作用,变成任何服务消息MS的收件方,所述服务消息MS包括通过设备e2所收集的数据,所述设备e2新成为集群Cl1的成员,如同所述集群的其它成员设备。通过节点d2的消息MH的发射在范围上受限。而且,位于范围外的节点不将消息MH接收为可理解的消息,甚至完全接收不到。在d2的范围外的节点,诸如节点a5至a8又或节点b5至b8继续是自由节点,通过双线条绘制的圆圈表示。集群Cl1只包括作为头端起作用的节点d2以及成员节点,也就是说已经接受了头端d2的招入。As an example, the "LEACH" method, such as described in particular in the document "An Application-Specific Protocol Architecture for Wireless Microsensor Networks" (W. Heinzelman, A. Chandrakasan, H. Balakrishnan – IEEE TRANSACTIONS ON WIRELESS COMMUNICATIONS, VOL. 1, NO. 4, October 2002), allows for the random assignment of a node in a single-hop network to become the headend. The other nodes of the cluster belonging to the headend, which we will accordingly designate as "members" or, as the English terminology suggests, "members," address their service messages to the cluster head, and therefore to the headend. In connection with FIG. 1 , each member node is represented by a circle drawn with a thin line. Thus, in network N1, headend d2 communicates directly with nodes c1 to c4, d1, d3, and d4, as well as with nodes e1 to e4. Via member c1, headend d2 communicates with member b1, which can in turn relay messages to member a1 or to destination a1. Headend d2 collects the data emitted by the different member nodes, processes it, aggregates it, and even merges it, and triggers, for example, a long-range transmission to a remote destination entity, such as the server RS described in connection with FIG. According to this known technique, once a node has assumed the role of headend, it cannot assume this role again before a certain period of time has expired. A new member node is then randomly designated as headend, thereby ensuring continuity of service. In order to enable nodes, which we designate as "free" or, in English, "loose" (indicated in conjunction with FIG. 1 by a double-lined circle), to "join" a headend and thus form a new cluster or rejoin an existing cluster, such free nodes within the radio range of a node promoted or designated as headend are configured to receive a recruiting message MH originating from the headend, typically in the form of an indiscriminate transmission (also known by the English term "broadcast") of a recruiting message MH destined for any node within the radio range of the headend. FIG. 1 illustrates, via network N1, the results of a transmission of a message MH transmitted from node d2, designated to function as headend, according to a short-range broadcast mode to nodes within communication range. Upon receiving such a recruiting message MH, a free node, such as node e2, updates its data memory, which, in cooperation with its processing unit, stores therein the coordinates or identification value of the headend, i.e., the identification of node d2 in conjunction with FIG. 1 . The previously free device e2 becomes a member of cluster Cl 1. It is therefore represented in FIG1 by a circle drawn with a thin line. Device d2, which acts as a head end, becomes the recipient of any service message MS including the data collected by device e2, which has newly become a member of cluster Cl 1, like the other member devices of the cluster. The transmission of messages MH by node d2 is limited in range. Moreover, nodes located outside the range do not receive the message MH as an intelligible message or even receive it at all. Nodes outside the range of d2, such as nodes a5 to a8 or nodes b5 to b8, continue to be free nodes, represented by circles drawn with double lines. Cluster Cl 1 only includes node d2 acting as a head end and member nodes, that is, it has accepted the recruitment of head end d2.

LEACH教导在多跳网络、如与图1相关联地描述的网络N1的范围中的移植可以使得假设:变成包括作为头端而起作用的节点的集群的成员的节点在其相应的数据存储器中记录路由,即,作为头端起作用的节点的标识值以及至少已经中继了所述头端的招入消息的节点的标识值、甚至作为变型地将其与所述头端分离的中继器或中间节点的标识的相应值。因此,作为示例,节点c2记录头端d2的标识值,在已经直接接收了所述节点d2的招入消息MH的情况下。至于节点b2,其除了节点d2的标识值之外还记录节点c2的标识值,所述节点c2已经中继了d2的招入消息MH以用于节点b2。The LEACH teaching, when implemented within a multi-hop network, such as network N1 described in conjunction with FIG. 1 , allows for the assumption that a node becoming a member of a cluster including a node acting as a headend records in its respective data store the routing information, namely, the identification value of the node acting as the headend and at least the identification value of the node that relayed the headend's recruit message, or even, as a variant, the identification values of relays or intermediate nodes that are separate from the headend. Thus, as an example, node c2 records the identification value of headend d2, having directly received a recruit message MH from node d2. Node b2, in addition to the identification value of node d2, also records the identification value of node c2, having relayed d2's recruit message MH for node b2.

这样的途径在理论上或者至少根据完美的应用模式使得能够保存包括多个通信节点的通信网络的全局能量资源。在实践中或在现实中,并且尤其是根据与同电子通信设备协作的容器的运输相关联的这样的通信网络的利用或应用领域,这样的解决方案依然是非恰当的、至少不太有效。While such an approach theoretically, or at least according to a perfect application model, allows for the conservation of global energy resources of a communication network comprising a plurality of communication nodes, in practice or in reality, and particularly depending on the use or application area of such a communication network associated with the transport of containers cooperating with electronic communication devices, such a solution remains inappropriate, or at least less effective.

事实上,将以下取作优选且非限制性的应用示例:无线通信网络的利用,所述无线通信网络的节点存放、收集并且传输与多个容器相关联的度量,所述容器诸如物资或货物的容器。设想每个容器都相关联于实施诸如LEACH或多跳类型的等同物之类的通信方法的电子通信设备。根据该假设,与容器相关联的每个电子通信设备作为无线网络中的节点而起作用,所述无线网络诸如与图1相关联地描述的网络N1。设想在节点之间的通信模式通过无线电途径而进行。除了LEACH类型的通信方法意味着单跳途径、因此指定了每个节点可以能够直接与头端通信这一事实之外,容器的相对布置、例如在船舶上、在存储场地上或在任何道路或铁路运输平台上创建应用上下文,诸如被指定为头端的节点可能不能或不再能确保其任务,所述任务例如在于将聚合的数据传输到目的地远程单元,这例如仅仅是由于其定位在容器堆叠中。事实上,很多是由运输平台和/或存储空间构成的障碍,这由于容器的接纳结构又或容器本身互相产生的相互作用所施加的隔断或部分禁闭所致,所述容器本身的堆叠可能引起降级,甚至是能够以头端的名义通过长距离途径传输数据的能力的丢失。以下风险非常大:观察到数据丢失、所述数据发送缓慢,而且还有无用且非恰当的能量花费用于“活化”其头端将不能有效确保其功能或服务的集群。在其中相继头端的随机选定通过不太有成效的“选择”而体现的情况中,该风险更大。为了解决这样的不便,申请人设想了特别是创新且性能好的无线通信网络,其无论节点的相对布置如何且无论所述网络的利用或应用范围如何,无论所述网络是单跳还是多跳类型的。这样的网络使得能够优化网络确保根据不同节点所收集的数据而确定的服务的全局能力。其主要依靠一种根据头端承担这样的角色的能力而加入通信设备集群的方法,以作为非限制性的示例用于根据长距离通信模式而发射数据。实施这样的方法的每个节点可以决定作为头端而起作用,如果它能够那样做的话。相反地,任何自由节点可以根据头端的能力而决定加入或不加入集群,有利地自指定为集群头或头端。作为补充,申请人设想了一种特别创新且稳健的无线通信网络,其中包括当构成所述网络的节点相对于彼此是移动的时候或当所述网络的拓扑表现得特别波动的时候。根据该创新,任何自由节点可以在需要时向集群的成员请求加入进程。这样的加入进程可以得自诸如先前描述的并且与图1相关联地图示的网络之类的网络的适配。自由节点的加入请求通过双线条的箭头来被表示。其在这种情况下涉及自由节点a4,其先前是自由的,向头端为节点d2的集群Cl1的成员节点b4请求加入。节点a4变成加入到集群Cl1,其通过间断的圆圈来被表示。因此,虽然a4不处于接收发源自头端d2的招入消息MH的情形中,但是它可以在其请求时重加入集群Cl1。实施这样的加入进程的每个节点可以更一般地在其请求时并且独立于头端的招入策略而向集群的成员申请加入,并且因此经由尤其是已经接受了加入进程的成员节点而将服务消息传输到所述头端。因此可以在招入过程之后扩展所构成的集群,甚至还将单跳类型的网络变换成“伪多跳网络”或更确切地对单跳网络进行适配,所述单跳网络的集群变成多跳类型的结构,其中已经接受了加入请求的成员节点作为被准许加入的节点的中继器节点而运作以用于传输服务消息。In fact, the following is taken as a preferred and non-limiting application example: the utilization of a wireless communication network whose nodes store, collect, and transmit metrics associated with multiple containers, such as containers of supplies or cargo. It is assumed that each container is associated with an electronic communication device that implements a communication method such as LEACH or an equivalent multi-hop method. According to this assumption, each electronic communication device associated with a container functions as a node in a wireless network, such as the network N1 described in connection with FIG. It is assumed that the communication mode between the nodes is carried out via a radio path. Besides the fact that the LEACH-type communication method implies a single-hop path, thus specifying that each node can communicate directly with the headend, the relative arrangement of the containers, for example on a ship, at a storage facility, or on any road or rail transport platform, creates an application context in which a node designated as the headend may be unable or no longer able to fulfill its task, such as transmitting aggregated data to a destination remote unit, simply due to its location in a stack of containers. Indeed, many obstacles are posed by transport platforms and/or storage spaces, resulting from the compartmentalization or partial confinement imposed by the container's receiving structure or the interactions between the containers themselves. Stacking the containers themselves can lead to degradation or even loss of the ability to transmit data over long distances on behalf of the headend. The risk is significant: data loss, slow data transmission, and the wasteful and inappropriate expenditure of energy to "activate" a cluster whose headends are unable to effectively ensure their functionality or services. This risk is even greater in situations where the random selection of successive headends manifests itself as a less-than-productive "selection." To address these inconveniences, the applicant has devised a particularly innovative and high-performance wireless communication network that operates regardless of the relative arrangement of nodes, the network's utilization or scope of application, or whether it is a single-hop or multi-hop network. Such a network optimizes the network's overall ability to ensure services based on data collected by different nodes. It primarily relies on a method for joining a cluster of communication devices based on the headend's ability to assume this role, for example, for transmitting data in a long-distance communication mode, as a non-limiting example. Each node implementing such a method can decide to act as a headend if it is capable of doing so. Conversely, any free node can decide to join or not join a cluster, depending on the headend's capabilities, advantageously designating itself as a cluster head or headend. In addition, the applicant has devised a particularly innovative and robust wireless communication network, including when the nodes comprising the network are mobile relative to one another or when the network's topology exhibits particularly fluctuating behavior. According to this innovation, any free node can, when necessary, request a joining procedure from a member of a cluster. This joining procedure can be derived from an adaptation of a network such as the one previously described and illustrated in connection with FIG1 . A joining request by a free node is represented by a double-barred arrow. In this case, it involves free node a4, previously free, requesting to join node b4, a member of cluster C11 whose headend is node d2. Node a4's becoming a member of cluster C11 is represented by an interrupted circle. Thus, although a4 is not in a position to receive a recruitment message MH originating from headend d2, it can rejoin cluster C11 upon its request. Each node implementing such a joining process can, more generally, apply to join the members of the cluster at its request and independently of the recruitment policy of the headend, and thus transmit service messages to the headend via, in particular, the member nodes that have accepted the joining process. It is thus possible to expand the formed cluster after the recruitment process, and even transform a single-hop network into a "pseudo-multihop network," or more precisely, to adapt a single-hop network, wherein the cluster of the single-hop network becomes a multi-hop structure, in which the member nodes that have accepted the joining request act as relay nodes for the nodes admitted to the recruitment process, for transmitting service messages.

无论所操作的网络的类型如何,实施加入集群和/或准许加入集群方法的节点的相应能力随时间演进。Regardless of the type of network being operated, the respective capabilities of nodes implementing methods of joining a cluster and/or admitting membership in a cluster evolve over time.

虽然提供了显著的进步,但是这样的解决方案如同先前提及的竞争解决方案那样呈现某些限制或不便,尤其是当这样的通信网络在所述网络的拓扑特别多变的应用情境中被利用的时候。事实上,无论所选取的通信网络如何,所述网络的路由或拓扑,也就是说集群的构成或拆毁并不以足够的规律性或根据足以考虑所述网络的动态的频率被更新。借助于已知的解决方案,如果这样的更新按高频率被实现,则招入消息、集群拆毁消息、或服务消息的数目将倍增,使得目的在于保存网络节点的能耗的主要目的将不能被达成。While offering significant progress, this solution, like the aforementioned competing solutions, presents certain limitations or inconveniences, particularly when such a communication network is used in application scenarios where the network's topology is particularly variable. In fact, regardless of the chosen communication network, the network's routing or topology, that is, the formation or destruction of clusters, is not updated with sufficient regularity or frequency to account for the network's dynamics. With known solutions, if such updates were implemented at a high frequency, the number of recruitment messages, cluster destruction messages, or service messages would multiply, defeating the primary purpose of conserving energy consumption at network nodes.

此外,深度很大的集群的构成(也就是说根据所述构成,成员可以被定位在按跳数的大距离处)可以生成固有于例如通过中继器成员的招入消息MH或服务消息MS的中继的大消息流量。以高频率迭代的这样的中继,其还更多地通过众多的成员,可能使所述中继器成员能够收集数据、制作并且向头端发射其适当服务消息的能量容量不堪重负。对于单跳网络而言,深度固定为一跳。对于多跳网络而言,不存在已知方法使得能够恰如其分地限制集群的深度、甚至以均匀且受控的方式动态地调节集群的深度。Furthermore, the formation of clusters with significant depth (i.e., whereby members can be located at significant distances in terms of hop counts) can generate significant message traffic inherent in the relaying of, for example, recruitment messages MH or service messages MS through repeater members. Such relaying, which is repeated at high frequency, and increasingly through numerous members, can overwhelm the energy capacity of the repeater members required to collect data, formulate, and transmit the appropriate service messages to the headend. For single-hop networks, the depth is fixed at one hop. For multi-hop networks, there are no known methods for appropriately limiting the cluster depth or even dynamically adjusting it in a uniform and controlled manner.

发明内容Summary of the Invention

本发明使得能够回应由已知解决方案所提出的不便中的全部或部分。通过构成特别是创新且高性能的无线通信网络而无论节点的相对布置如何以及无论所述网络的利用或应用范围如何,本发明使得能够优化网络确保根据由不同节点收集的数据而确定的服务的全局能力。加入电子通信设备的集群的方法的主要独创性在于头端的选定模态,和/或在于被赋予任何节点以接受或调整其中继器成员的功能的能力。实施根据本发明的方法的每个节点可以通过明确其希望的集群的深度来决定作为头端而起作用。每个节点可以此外根据它将其资源的份额贡献于招入或服务消息的中继的能力而例如维持或限制该动作。这样的限制的作用在于缩减节点作为其成员的集群的深度或至少限制所述节点所属的下行路由。The present invention makes it possible to respond to all or part of the inconveniences proposed by the known solutions. By constituting a particularly innovative and high-performance wireless communication network, regardless of the relative arrangement of the nodes and regardless of the scope of utilization or application of said network, the invention makes it possible to optimize the global capacity of the network to ensure services determined on the basis of data collected by the different nodes. The main originality of the method for joining a cluster of electronic communication devices lies in the selected modality of the head end and/or in the ability given to any node to accept or adjust the functionality of its repeater members. Each node implementing the method according to the invention can decide to act as a head end by specifying the depth of the cluster it wishes to have. Each node can furthermore, for example, maintain or limit this action according to its ability to contribute its share of resources to the relaying of recruitment or service messages. The effect of such a limitation is to reduce the depth of the cluster of which the node is a member or at least to limit the downlink routes to which said node belongs.

在通过本发明所带来的众多优点之中,可以提及本发明使得能够:Among the numerous advantages brought about by the present invention, it may be mentioned that it enables:

-以恰当的方式调节在网络的节点上的能量花费,因此相对于现有技术尚无匹敌地延长所述网络呈递服务的能力;- regulating the energy expenditure at the nodes of the network in an appropriate manner, thereby extending the network's ability to render services unmatched by prior art;

-设想一种节点网络或至少节点结构,其例如在各自与根据本发明的电子设备相关联的容器的调度、存储或运输期间、根据节点之间的相对定位的改变或所述节点的利用条件的演进的要求而自动可适配和运转;- envisages a network of nodes or at least a node structure which is automatically adaptable and functional, for example during the dispatch, storage or transport of containers each associated with an electronic device according to the invention, as required by changes in the relative positioning of the nodes or by the evolution of the conditions of utilization of said nodes;

-给予服务、例如通过长距离途径的数据发射的鲁棒性以优先,这向根据本发明的每个节点赋予确定其在网络中的角色的机会。Prioritizing the robustness of services, such as data transmission over long distances, which gives each node according to the invention the opportunity to determine its role in the network.

为此,本发明首先涉及一种包括多个电子通信设备的网络中的通信方法,所述方法通过网络中的所述电子通信设备之中的第一电子通信设备的处理单元来实施,所述第一电子通信设备除了所述处理单元之外还包括数据存储器、第一通信装置,所述第一通信装置确保与位于通信范围中的网络的第三电子通信设备的无线邻近通信,所述数据存储器和所述第一通信装置与所述处理单元协作,数据存储器包括专用于所述第一电子通信设备的标识的值以及用于存储作为集群头起作用的第二电子通信设备的标识的当前值的记录。这样的方法包括:To this end, the present invention firstly relates to a method for communication in a network comprising a plurality of electronic communication devices, said method being implemented by a processing unit of a first electronic communication device among said electronic communication devices in the network, said first electronic communication device comprising, in addition to said processing unit, a data memory, a first communication device ensuring wireless proximity communication with a third electronic communication device of the network located within communication range, said data memory and said first communication device cooperating with said processing unit, said data memory comprising a value for an identification specific to said first electronic communication device and a record for storing the current value of an identification of a second electronic communication device acting as a cluster head. Such a method comprises:

-用于经由第一通信装置接收通过网络中的电子通信设备所制作和发射的招入消息的步骤,所述招入消息编码了作为集群头起作用的第二电子通信设备的标识;- a step for receiving, via the first communication means, an incoming message made and transmitted by an electronic communication device in the network, said incoming message encoding an identification of a second electronic communication device acting as cluster head;

-用于解码所述招入消息并且从中推断作为集群头起作用的第二电子通信设备的所述标识的值以及在适当情况中已经中继了所述招入消息的第三电子通信设备的标识的值的步骤;- a step for decoding the incoming message and deducing therefrom the value of the identification of the second electronic communication device acting as cluster head and, where appropriate, the value of the identification of the third electronic communication device which has relayed the incoming message;

-用于更新记录以使得所述记录将从经解码的招入消息中所推断的作为集群头起作用的第二设备的标识的所述值存储为作为集群头起作用的设备的标识的当前值、以及在适当情况中所述记录此外将第三电子通信设备的标识的值存储为朝向作为集群头起作用的所述第二电子通信设备的上行路由的步骤。- a step for updating the record so that the record stores the value of the identification of the second device acting as cluster head inferred from the decoded recruitment message as the current value of the identification of the device acting as cluster head and, where appropriate, the record further stores the value of the identification of the third electronic communication device as an uplink route towards the second electronic communication device acting as cluster head.

为了控制集群的深度,本发明预备:In order to control the depth of the cluster, the present invention provides:

-所述招入消息此外编码TTL数据,所述TTL数据体现接收所述招入消息的电子通信设备能够中继该招入消息的能力;- the incoming message further encodes TTL data, said TTL data reflecting the capability of the electronic communication device receiving the incoming message to relay the incoming message;

-用于解码所述招入消息、此外从中推断所述TTL数据的值的步骤;- a step for decoding the incoming message and, moreover, deducing therefrom the value of the TTL data;

-用于更新记录的步骤被适配使得所述记录存储预先被递减了一个单位的所述TTL数据的当前值。- The step for updating a record is adapted such that said record stores a current value of said TTL data previously decremented by one unit.

本发明此外预备根据本发明的通信方法包括:The present invention further provides that the communication method according to the present invention comprises:

-用于制作被中继的招入消息的步骤,所述消息包括:- a step for producing a relayed recruiting message, said message comprising:

·第一字段,其编码了记录中所记入的作为集群头起作用的设备的标识的当前值;A first field encoding the current value of the identity of the device acting as cluster head recorded in the record;

·第二字段,其表征了朝向作为集群头起作用的第二电子通信设备的上行路由,并且编码了第一电子通信设备的标识;a second field characterizing an upstream route towards a second electronic communication device acting as a cluster head and encoding an identification of the first electronic communication device;

·第三字段,其编码了记录中所记入的TTL数据的当前值;A third field encoding the current value of the TTL data entered in the record;

-用于如果在于比较记录中所记入的TTL数据的当前值与所确定的底值的预先步骤证明了TTL的所述当前值严格大于所述底数据则触发通过第一通信装置发射所述被中继消息的步骤。- a step for triggering the transmission of said relayed message by the first communication means if a previous step consisting in comparing the current value of the TTL data entered in the record with a determined bottom value proves that said current value of TTL is strictly greater than said bottom data.

为了有利地验证第二电子通信设备很好地能够作为集群头起作用:To advantageously verify that the second electronic communications device is well-capable of functioning as a cluster head:

-所接收的招入消息可以包括这样的数据:所述数据体现作为集群头起作用的第二电子通信设备能够确保给定服务的能力;- the received recruiting message may comprise data reflecting the capability of the second electronic communication device acting as cluster head to ensure a given service;

-用于解码所述招入消息的步骤可以此外从所述招入消息中推断体现所述能力的所述数据;- the step of decoding said recruiting message may furthermore deduce said data representing said capabilities from said recruiting message;

-用于更新记录的步骤可以此外在于在所述记录中记入对作为集群头起作用的设备的能力进行体现的所述数据的值。The step for updating the record may furthermore consist in entering in said record the value of said data reflecting the capability of the device to act as cluster head.

根据该有利的实施例,第一电子通信设备可以根据第二电子通信设备的某些能力而决定重加入所述第二电子通信设备的集群。为此,用于更新记录并且在其中记入作为集群头起作用的电子通信设备的标识的当前值的步骤可以仅仅在体现所述能力的数据大于或等于所确定的要求的最小阈值的情况下被有利地实现。According to this advantageous embodiment, a first electronic communication device can decide to rejoin the cluster of a second electronic communication device based on certain capabilities of the second electronic communication device. To this end, the step of updating the record and entering therein the current value of the identification of the electronic communication device acting as cluster head can be advantageously implemented only if the data reflecting the capabilities is greater than or equal to a determined required minimum threshold.

为了实现集群深度的缩减,本发明预备通信方法可以包括:In order to reduce the cluster depth, the communication preparation method of the present invention may include:

-用于接收由第三电子通信设备制定和发射的中继结束消息的步骤,所述中继结束消息包括所述第三电子通信设备的标识;- a step for receiving a relay end message formulated and transmitted by a third electronic communication device, said relay end message including an identification of said third electronic communication device;

-用于解码所述中继结束消息并且用于从中推断所述标识的值的步骤;- a step for decoding said relay end message and for deducing therefrom the value of said identification;

-用于对包括作为集群头起作用的设备的标识的当前值的记录进行更新以用于擦除所述当前值或者通过体现作为集群头起作用的设备的标识不存在的预定值来取代所述当前值的步骤,所述对记录的更新仅仅在从中继结束消息中推断的标识的值被包括在记录中作为朝向作为集群头起作用的所述设备的上行路由的情况下被实现。- a step for updating a record comprising a current value of the identification of the device acting as the cluster-head, for erasing said current value or replacing said current value by a predetermined value reflecting the absence of the identification of the device acting as the cluster-head, said updating of the record being performed only if the value of the identification inferred from the relay end message is included in the record as an upstream route towards said device acting as the cluster-head.

为了使得集群的成员可以自己中断其中继器成员的角色并且因此保存其制作服务消息并且将服务消息传输到作为集群头起作用的目的地设备的能力,在于比较记录中所记入的TTL数据的当前值与所确定的底值的步骤可以此外在于根据电子通信设备的功能参数来产生中继消息以有利于所述电子通信设备的能力,所述电子通信设备属于起自第一电子通信设备的下行路由,以及在于比较所述产生的能力与预定的最小功能阈值。仅仅在所述产生的能力严格大于所述预定最小功能阈值的情况下自此实施用于触发由第一通信装置发射所述被中继的消息的步骤。In order to allow a cluster member to terminate its role as a repeater and thus preserve its ability to generate and transmit service messages to a destination device acting as a cluster head, the step of comparing the current value of the TTL data entered in the record with a determined bottom value may further comprise generating a relay message based on functional parameters of an electronic communication device in favor of the capabilities of the electronic communication device in the downstream route from the first electronic communication device, and comparing the generated capabilities with a predetermined minimum functionality threshold. The step of triggering the transmission of the relayed message by the first communication device is then carried out only if the generated capabilities are strictly greater than the predetermined minimum functionality threshold.

为了调节通过对编码了小于先前的招入消息的TTL数据的TTL数据的招入消息的接收所引起的集群的深度,本发明预备了第一实施例,根据所述第一实施例,用于在招入消息的解码之后更新记录的步骤可以此外在于与记录的更新并发地触发用于测量持续时间的装置,所述通信方法包括如下的步骤:所述步骤用于比较所述持续时间与预定的最大等待时段并且用于更新所述记录并且擦除作为集群头起作用的电子通信设备的标识的当前值或者用一个预定值来取代它,所述预定值体现了不存在作为集群头而起作用的电子通信设备的标识。In order to adjust the depth of a cluster caused by the reception of an incoming message encoding TTL data that is less than the TTL data of a previous incoming message, the present invention provides a first embodiment according to which the step of updating the record after decoding the incoming message may further consist in triggering, concurrently with the updating of the record, means for measuring the duration, the communication method comprising the steps of comparing the duration with a predetermined maximum waiting period and updating the record and erasing the current value of the identification of the electronic communication device acting as a cluster head or replacing it with a predetermined value reflecting the absence of the identification of the electronic communication device acting as a cluster head.

根据第二实施例,招入消息可以包括编码了TTL-e数据的字段和编码了DST数据的字段,所述TTL-e数据表征由作为集群头起作用的第二电子通信设备所希望的集群的最大深度,所述DST数据表征将所述招入消息的发射器电子通信设备在下行路由上与作为集群头(d2)起作用的电子通信设备分隔开的距离。根据该第二实施例,用于解码所述招入消息的步骤可以从中推断所述TTL-e和DST数据的值。用于更新记录的步骤可以同样被适配使得所述记录存储TTL-e数据的值以及DST数据预先递增一个单位的值。本发明于是预备所述通信方法可以此外包括如下的步骤:所述步骤用于比较记录中所记入的TTL-e和DST的所述值并且用于更新所述记录并且擦除作为集群头起作用的电子通信设备的标识的当前值或者用预定的值来取代它,所述预定的值体现了不存在作为集群头起作用的设备的标识。According to a second embodiment, an incoming message may include a field encoding TTL-e data indicating the maximum depth of the cluster desired by the second electronic communication device acting as a cluster head, and a field encoding DST data indicating the distance separating the electronic communication device transmitting the incoming message from the electronic communication device acting as the cluster head (d2) on the downstream route. According to this second embodiment, the step of decoding the incoming message can infer the values of the TTL-e and DST data from the incoming message. The step of updating the record can also be adapted so that the record stores the value of the TTL-e data and the DST data pre-incremented by one unit. The present invention thus provides that the communication method may further include the steps of comparing the TTL-e and DST values entered in the record and updating the record by erasing the current value of the identifier of the electronic communication device acting as the cluster head or replacing it with a predetermined value reflecting the absence of the identifier of the device acting as the cluster head.

无论根据本发明的通信方法的实施例如何,第一电子通信设备可以动态地确定其中它希望作为集群头起作用的集群的相关深度。为此,根据本发明的通信方法可以有利地包括:Regardless of the embodiment of the communication method according to the invention, the first electronic communication device can dynamically determine the relevant depth of the cluster in which it wishes to act as a cluster head. To this end, the communication method according to the invention can advantageously include:

-用于根据第一电子通信设备的运转参数来确定其中所述第一电子通信设备希望作为集群头的集群的最大深度的步骤;- a step for determining, based on operational parameters of the first electronic communication device, the maximum depth of the cluster in which the first electronic communication device wishes to act as cluster head;

-用于编码招入消息并且触发由第一通信装置发射所述消息的步骤,所述消息包括第一字段和第二字段,所述第一字段编码了所述第一电子通信设备的标识,所述第二字段编码了TTL数据,所述TTL数据的值被初始化为所产生的集群的最大深度的值。- a step for encoding an incoming message and triggering the transmission of said message by the first communication means, said message comprising a first field encoding the identification of said first electronic communication device and a second field encoding TTL data, said TTL data being initialized to the value of the maximum depth of the generated cluster.

作为变型,这样的通信方法可以包括:As a variant, such communication methods may include:

-用于根据第一电子通信设备的运转参数来确定所述设备希望作为其集群头的集群的最大深度的步骤;- a step for determining, from operating parameters of the first electronic communications device, the maximum depth of the cluster of which said device wishes to act as cluster head;

-用于编码招入消息并且触发由第一通信装置来发射所述消息的步骤,所述消息包括分别编码了以下各项的字段:- a step for encoding an enrolment message and triggering the transmission of said message by the first communication device, said message comprising fields respectively encoding:

·所述设备的标识;the identification of the device;

·其值被记入在记录中的TTL数据;TTL data whose value is recorded in the record;

·其值被初始化为所确定的集群的最大深度的值的TTL-e数据;TTL-e data whose value is initialized to the value of the maximum depth of the determined cluster;

·其值被初始化为指示跳数为零的距离的值的DST数据。DST data whose value is initialized to a value indicating a distance where the number of hops is zero.

为了不触发招入消息的发射而第一电子通信设备可能不能完全确保集群头的角色,根据本发明的通信方法可以有利地包括用于评估第一电子通信设备承担所确定的服务的能力的步骤,所述步骤在于估计所述设备的运转参数并且在于产生数据,所述数据体现所述设备能够确保所述所确定的服务的能力,并且为此,用于编码招入消息的步骤在于在所述招入消息中预备如下字段:所述字段编码了对在触发由第一通信装置发射所述消息之前的所述能力进行体现的所述数据。In order not to trigger the transmission of a recruiting message when the first electronic communication device may not be able to fully ensure the role of cluster head, the communication method according to the invention can advantageously include a step for evaluating the ability of the first electronic communication device to assume the determined service, said step consisting in estimating the operating parameters of said device and in generating data reflecting the ability of said device to ensure said determined service, and for this purpose, the step for encoding the recruiting message consists in preparing in said recruiting message a field encoding said data reflecting said ability before triggering the transmission of said message by the first communication device.

这样的方法可以包括用于比较对所述能力进行体现的数据与要求的最小功能阈值的步骤,并且为此,仅仅在体现所述能力的数据大于或等于所述要求的最小功能阈值的情况下实施用于触发招入消息的发射的步骤。Such a method may comprise a step for comparing the data reflecting the capability with a required minimum functional threshold and, for this purpose, performing a step for triggering the transmission of an enlistment message only if the data reflecting the capability is greater than or equal to the required minimum functional threshold.

根据第二目标,本发明涉及一种包括程序指令的计算机程序产品,所述程序指令在其经历以下各项的时候促使实施根据本发明的通信方法:According to a second object, the present invention relates to a computer program product comprising program instructions causing the implementation of the communication method according to the invention when said program instructions:

-预先被记录在电子通信设备的程序存储器中,所述电子通信设备此外包括处理单元、确保与位于通信范围中的任何其它电子设备的无线邻近通信的第一通信装置、记录专用于所述设备的标识的值以及用于包括作为集群头起作用的设备的标识的当前值的记录的数据存储器,所述存储器以及所述第一通信装置与所述处理单元协作;- is previously recorded in a program memory of an electronic communication device, said electronic communication device further comprising a processing unit, first communication means ensuring wireless proximity communication with any other electronic device located within the communication range, a data memory for recording the value of an identification specific to said device and for recording the current value of the identification of the device acting as cluster head, said memory and said first communication means cooperating with said processing unit;

-被所述处理单元执行或解译。- is executed or interpreted by said processing unit.

根据第三目标,本发明涉及一种电子通信设备,所述电子通信设备包括处理单元、数据存储器、程序存储器、确保与位于通信范围中的任何其它电子通信设备的无线邻近通信的第一通信装置,所述存储器和所述第一通信装置与所述处理单元协作,所述数据存储器包括专用于所述电子通信设备的标识的值与用于包括作为集群头起作用的设备的标识的当前值的记录。这样的电子通信设备在程序存储器中包括诸如先前描述的并且根据本发明的计算机程序产品。According to a third aspect, the present invention relates to an electronic communication device comprising a processing unit, a data memory, a program memory, a first communication device for ensuring wireless proximity communication with any other electronic communication device located within the communication range, said memory and said first communication device cooperating with the processing unit, said data memory comprising a record of values for an identification specific to said electronic communication device and for a current value for an identification of a device acting as a cluster head. Such an electronic communication device comprises in its program memory a computer program product such as described above and according to the present invention.

根据第四目标,本发明涉及一种系统,所述系统包括多个同样根据本发明的电子通信设备。According to a fourth object, the invention relates to a system comprising a plurality of electronic communication devices also according to the invention.

根据优选应用模式,这样的系统可以有利地包括用于物资、固体、流体或液体货物的多个容器,所述容器相应地与电子通信设备协作,这些电子通信设备各自包括传感器,所述传感器与处理单元协作以用于测量和收集与所述容器的内部和/或外部环境相关联的量。According to a preferred mode of application, such a system can advantageously comprise a plurality of containers for materials, solid, fluid or liquid cargo, said containers correspondingly cooperating with electronic communication devices, each of which comprises a sensor cooperating with a processing unit for measuring and collecting quantities associated with the internal and/or external environment of said container.

附图说明BRIEF DESCRIPTION OF THE DRAWINGS

在阅读随后与作为指示性且非限制性所给出的实现示例有关的描述以及审阅随附各图的时候,其它的特征和优点将更清楚地显现,在所述各图中:Other characteristics and advantages will appear more clearly on reading the description that follows in relation to an example of implementation given as indicative and non-limiting, and on examining the accompanying figures, in which:

-先前描述的图1图示了无线通信网络的多跳配置示例;- FIG. 1 described previously illustrates an example of a multi-hop configuration of a wireless communication network;

-已经部分描述的图2呈现了当根据本发明的电子通信设备被适配用于实施用于加入经由无线通信网络成对通信的设备的集群的方法时所述根据本发明的电子通信设备与根据现有技术的电子通信设备的功能架构,所述方法根据本发明;- FIG. 2 , already partially described, presents the functional architecture of an electronic communication device according to the invention and an electronic communication device according to the prior art when the device is adapted for implementing a method for joining a cluster of devices communicating in pairs via a wireless communication network, said method according to the invention;

-图3和4分别描述了两种情形,根据所述情形,集群的深度可以根据本发明动态被调节;- Figures 3 and 4 respectively depict two scenarios according to which the depth of the cluster can be dynamically adjusted according to the invention;

-图5呈现了根据本发明的这样的加入方法的功能描述。- Figure 5 presents a functional description of such an joining method according to the invention.

具体实施方式DETAILED DESCRIPTION

根据本发明的电子通信设备类似于已知的设备10,诸如先前与图2相关联地描述的设备。The electronic communication device according to the present invention is similar to known devices 10 , such as the device previously described in association with FIG. 2 .

为此,根据本发明的电子通信设备包括处理单元11,其在于一个或多个微控制器,所述微控制器负责尤其在数据上实现处理。所述数据有利地全部或部分地记录在一个或多个数据存储器12上,所述数据存储器一般是电可擦除且可写的。数据存储器12可以有利地包括不可擦除的区段,所述区段在物理上隔离或简单地被布置使得通过写入或擦除的访问被禁止。这样的访问作为变型可能需要满足认证过程。其通过修改的访问被约束的数据存储器12的这样的有利区段使得能够在其中存放尤其是专用于电子通信设备的标识ID的值。有利地但是以非必须的方式,设备10可以此外包括一个或多个程序存储器14以用于记录一个或多个程序P,或更一般地一个或多个程序指令集,所述程序指令可被处理单元11理解。通过所述处理单元对所述指令的执行或解译引起设备10的运转或数据的处理方法的实施。该设备10还包括第一通信装置13,其确保与任何其它电子设备、诸如设备10i的无线邻近通信,只要该其它电子设备处于通信范围内即可。经由所述第一通信装置13,设备10、或更准确地其处理单元11可以向或自定位在通信范围中的第三设备发射和/或接收消息。这样的消息可以是任何性质的。在不同类型的消息之中我们可以以非穷举的方式提及与特定服务S相关联的数据消息MS、招入消息MH、拆毁集群的消息MR。To this end, the electronic communication device according to the present invention includes a processing unit 11, which comprises one or more microcontrollers, which are responsible for, inter alia, performing data processing. The data is advantageously stored, in whole or in part, in one or more data memories 12, which are generally electrically erasable and writable. The data memories 12 may advantageously include non-erasable sections that are physically isolated or simply arranged so that access by writing or erasing is prohibited. Such access may, as a variant, require compliance with an authentication procedure. Such advantageous sections of the data memory 12, to which access is restricted by modification, allow for the storage of identification values, inter alia, specific to the electronic communication device. Advantageously, but not necessarily, the device 10 may also include one or more program memories 14 for storing one or more programs P, or more generally, one or more sets of program instructions, which are understandable by the processing unit 11. The execution or interpretation of these instructions by the processing unit results in the operation of the device 10 or the implementation of the data processing method. The device 10 also includes first communication means 13 that ensure wireless proximity communication with any other electronic device, such as device 10i, as long as the other electronic device is within communication range. Via these first communication means 13, the device 10, or more precisely its processing unit 11, can transmit and/or receive messages to or from third devices located within the communication range. Such messages can be of any nature. Among the different types of messages, we can mention, in a non-exhaustive manner, data messages MS associated with a specific service S, recruitment messages MH, and group teardown messages MR.

某些通信设备可以得益于通过网络创建的电磁场,以用于从中吸取足以确保其运转的电能量,尽管仅仅持续短的时间段。然而,为了确保持续的运转和/或实施需要更多能量的处理,根据本发明的电子通信设备10可以有利地包括适当的电能量源17,其尤其为处理单元11、甚至构成所述设备的将有需要的任何其它元件供电。这样的源17一般在于一个电池或多个电池。根据尤其与容器的监测相关联的优选的应用上下文,虽然该特定上下文将不限制本发明的利用范围,电子通信设备10可以包括一个或多个传感器15,所述传感器15与处理单元11协作。这样的传感器可以测量与所述容器的内部和/或外部环境相关联的一个或多个量并且从中产生数据。作为示例,如通过图2所图示的,传感器15可以测量容器中占主导的温度和/或湿度、在壳体中证实容器的意外开口的暗度或暗度损失、甚至还有震动。如果必要,则所述一个或多个传感器可以经由导体层或探头来与设备的处理单元协作,尤其是在其中设备10靠着容器的外隔板安放而期望借助于所述设备10来监测所述容器的内部环境的情况中。这样的设备10可以此外包括时钟,从而使得其能够对所收集的度量进行定时,所述时钟在图2中没有被表示。Some communication devices can benefit from the electromagnetic field created by the network, drawing sufficient electrical energy from it to ensure their operation, albeit only for a short period of time. However, to ensure continuous operation and/or perform processes that require more energy, the electronic communication device 10 according to the present invention may advantageously include a suitable electrical energy source 17, which powers, in particular, the processing unit 11 and any other components of the device that may require it. Such a source 17 typically consists of one or more batteries. Depending on the preferred application context, particularly related to monitoring containers, although this specific context does not limit the scope of the present invention, the electronic communication device 10 may include one or more sensors 15 that cooperate with the processing unit 11. Such sensors can measure one or more quantities associated with the internal and/or external environment of the container and generate data therefrom. By way of example, as illustrated in FIG2 , the sensors 15 can measure the temperature and/or humidity prevailing in the container, the darkness or loss of darkness in the housing to indicate an unexpected opening of the container, or even vibrations. If necessary, the one or more sensors may cooperate with a processing unit of the device via a conductor layer or probes, in particular in the case where the device 10 is placed against the outer wall of a container and it is desired to monitor the internal environment of the container with the help of the device 10. Such a device 10 may also include a clock, which is not represented in FIG2 , so that it can time the collected measurements.

根据期望借助于按照本发明的电子通信设备而运作的所述一个或多个服务,这些电子通信设备可以包括附加的和可选的装置。作为优选且非限制性的示例,服务可以在于:Depending on the service or services that are desired to be operated with the aid of the electronic communication device according to the invention, these electronic communication devices may comprise additional and optional means. As a preferred and non-limiting example, the services may be:

-在根据本发明的电子通信设备的网络节点附近收集数据,例如与通过所述节点测量的量相关联;- collecting data in the vicinity of a network node of an electronic communication device according to the invention, for example related to quantities measured by said node;

-聚合在多个节点附近收集的所述数据,然而制作消息MC,所述消息MC对经合并的服务数据进行编码,目的地为远程实体,诸如服务器RS。- Aggregating said data collected in the vicinity of a plurality of nodes and then crafting a message MC encoding the merged service data destined for a remote entity such as a server RS.

为了发射这样的消息MC,设备10有利地包括第二长距离通信装置16,所述第二长距离通信装置16与处理单元11协作。这样的通信可以经由RR网络、通过GPRS或卫星途径、甚至通过任何其它合适的通信途径来被实现。电子设备的不同的内部组成部分与处理单元11协作,有利地通过有线总线或通过耦合。设备10可以包括保护所述组成部分的外壳,所述外壳有利地包括固定装置以用于将设备10安放在期望确保监测的支撑件上,在这种情况下为根据优选应用示例的容器。To transmit such messages MC, the device 10 advantageously includes a second long-distance communication device 16 that cooperates with the processing unit 11. Such communication can be achieved via the RR network, via GPRS or satellite, or even via any other suitable communication path. The various internal components of the electronic device cooperate with the processing unit 11, advantageously via a wired bus or by coupling. The device 10 may include a housing that protects the components, said housing advantageously including fixing means for placing the device 10 on a support for which monitoring is desired, in this case a container according to a preferred application example.

为了实施本发明,需要作用于处理单元的运转,更准确地作用于通过所述处理单元所实施的通信方法。这样的方法将稍后结合图5来被描述。优选的适配模式在于预备程序或更一般地程序指令,其被相互布置用于在通过处理单元对所述程序指令进行执行或解译时实施所述方法。有利地,所述程序P在所述设备的组装时被加载在程序存储器14中,或者在所述设备的所述组装阶段之后通过将所述程序下载到存储器14中。In order to implement the present invention, it is necessary to act on the operation of the processing unit, more precisely on the communication method implemented by the processing unit. Such a method will be described later in conjunction with Figure 5. The preferred adaptation mode is to prepare a program or more generally program instructions, which are arranged to implement the method when the program instructions are executed or interpreted by the processing unit. Advantageously, the program P is loaded into the program memory 14 during the assembly of the device, or after the assembly stage of the device by downloading the program into the memory 14.

本发明主要在于实施有利地多跳的网络,为此每个节点在于电子通信设备,诸如先前描述的设备10。The invention consists essentially in implementing an advantageously multi-hop network, for which each node consists in an electronic communication device, such as the device 10 previously described.

这样的网络的节点一般被适配或布置用于实施加入和/或准许加入设备集群的方法。数据存储器12除了专用于电子通信设备的标识ID的值之外包括记录RH,所述记录RH预备用于包括作为头端起作用的电子通信设备(诸如根据图1的节点d2)的标识IDH的当前IDHc值。The nodes of such a network are generally adapted or arranged to implement methods for joining and/or granting admission to a cluster of devices. The data memory 12 comprises, in addition to the values of the identification ID specific to the electronic communication device, a record RH provided for containing the current value of the identification IDHc of the electronic communication device acting as a headend, such as the node d2 according to FIG. 1 .

当设备选择加入其节点之一作为头端而起作用的集群时,该加入通常是排他的。换言之,对于相同的服务,一个节点不能是不同集群(即分别具有不同的头端节点)的成员。于是谈论没有被覆盖的集群。加入集群的节点选择针对所述服务的“最佳”头端。这样的选择可以例如根据确保所确定的服务的特定能力来被做出。When a device chooses to join a cluster where one of its nodes functions as a headend, this joining is typically exclusive. In other words, a node cannot be a member of different clusters (i.e., each with a different headend node) for the same service. This is why we talk about clusters without coverage. A node joining a cluster selects the "best" headend for the service in question. This selection can be made, for example, based on specific capabilities to ensure the service being determined.

然而,节点还可以被连接到多个头端,如果所述头端被指派为实施不同的服务的话,诸如例如用于长距离数据发射(服务Si)的第一头端以及用于在站点上实施警报管理服务(服务Sj)的第二头端。However, a node may also be connected to multiple headends if the headends are assigned to implement different services, such as for example a first headend for long distance data transmission (service Si) and a second headend for implementing alarm management services on site (service Sj).

为此,如同先前呈现的解决方案LEACH,电子通信设备的集群、诸如结合图1所描述的网络N1的集群Cl1包括作为头端而起作用的设备,诸如结合图1所描述的节点d2。其它设备作为所述集群的成员而起作用,以非穷举的方式诸如结合图1所描述的节点c2。成员的作用主要在于收集信息,诸如例如环境量的度量,将其转化成数据然后以服务消息MS的形式对所述数据进行编码,所述服务消息MS的目的地为能够确保所确定的服务的头端。该头端识别所述服务消息MS,然后实施所确定的服务S。例如,这样的服务可以在于对自多个成员、经由消息MS传输到头端的数据进行聚合、然后实施以消息MC的形式的所聚合甚至合并的所述数据向目的地远程实体RS的长距离传输。To this end, as in the previously presented solution LEACH, a cluster of electronic communication devices, such as cluster C11 of network N1 described in conjunction with FIG. 1 , includes a device acting as a headend, such as node d2 described in conjunction with FIG. Other devices act as members of the cluster, such as, in a non-exhaustive manner, node c2 described in conjunction with FIG. The role of the members is primarily to collect information, such as, for example, measurements of environmental quantities, convert them into data, and then encode these data in the form of service messages MS destined for a headend capable of providing a specific service. This headend recognizes these service messages MS and then implements the specified service S. For example, such a service could consist in aggregating data transmitted from multiple members to the headend via messages MS and then implementing the long-distance transmission of these aggregated, or even merged, data in the form of messages MC to a destination remote entity RS.

自集群成员向目的地头端寻址的服务消息MS被结构化使得包括:A service message MS addressed from a cluster member to the destination headend is structured so as to include:

-表征消息的类型的信息;- information characterizing the type of message;

-源节点(此外一般为成员节点)的标识的值;- the value of the source node's (generally a member node's) identifier;

-收件方节点(在该情况下为头端)的标识的值、甚至在多跳网络的情况中的中继器成员节点的标识;- the value of the identity of the recipient node (in this case the headend), or even the identity of a relay member node in case of a multi-hop network;

-数据,例如有关于通过设备传感器所测量的量;- data, e.g. about quantities measured by device sensors;

-可能地冗余码、甚至密码、或使得接收这样的服务消息MS的节点能够对其解码、利用它或中继它的任何其它控制信息。- Possibly a redundancy code, even a cipher, or any other control information enabling a node receiving such a service message MS to decode it, utilize it or relay it.

消息MS、如在网络中流通的任何其它消息可以触发接收确认消息MACK,其通过消息接收方传输到目的地源节点。在所确定的时段的停止时或根据英语术语的“超时”,如果没有接收到任何MACK消息,则触发新的消息MS发射,并且这用于有限数目的迭代,在此结束时,源节点认为与收件方节点的“路由”或通信不可用或不再可用。这样的源节点可以决定放弃集群并且复原自由节点状态、又或寻求加入另一集群。Messages MS, like any other message circulating in the network, can trigger a receipt confirmation message MACK, which is transmitted by the message recipient to the destination source node. If no MACK message is received at the end of a specified period, or "timeout" in English, a new message MS is triggered for transmission. This is repeated for a limited number of iterations, at which point the source node considers the "route" or communication with the recipient node unavailable or no longer possible. Such a source node may decide to abandon the cluster and return to free node status, or seek to join another cluster.

自由节点向作为头端起作用的节点的加入接近于根据LEACH解决方案所实施的加入。然而,头端的选定模态以及自由节点用于变成集群成员的加入模态可以是非常不同的,如例如申请人共同提出的变型所预见的那样。根据该变型,仅仅是确实能够确保所确定的服务的节点能自指定为头端。在其侧,其它节点自由仲裁头端的竞争并且选择看来是用于实施它们所贡献于的服务的最佳候选的头端。The joining of a free node to a node acting as a headend is similar to the joining implemented according to the LEACH solution. However, the selection modalities of the headend and the joining modalities of the free node for becoming a cluster member can be very different, as foreseen, for example, in the variant jointly proposed by the applicants. According to this variant, only nodes that can reliably guarantee the specified service can self-designate as headends. On their side, the other nodes are free to arbitrate the competition for headends and select the headend that appears to be the best candidate for implementing the service to which they contribute.

无论头端的选定模式如何,通信设备的第一概念模式可以在于持续地维持这些通信设备侦听无线电通信频率以用于测试发源自成对设备的消息的存在。这样的途径可能引起重大的能量耗费并且使得整个网络的自主性负重。第二途径、以英语术语已知为“WakeOn Radio(WOR)(无线电唤醒)”在于使节点在其相应运转的大部分时间期间浸入相对睡眠中。无线电通信尤其被解激活,因为它特别消耗电能量。然而,这样的节点可以继续不太耗能的内部处理的实施。以循环的方式,这样的节点被唤醒以用于侦听来自配对的可能的消息或用于进而尤其发射招入消息、服务消息等等。Regardless of the selected mode of the headend, a first conceptual mode of communication devices can consist in continuously maintaining them listening to radio communication frequencies to test for the presence of messages originating from the paired device. This approach can result in significant energy consumption and burden the autonomy of the entire network. A second approach, known in English as "Wake-On-Radio (WOR)", consists in putting the nodes into relative sleep for most of their respective operating time. Radio communication is particularly deactivated, as it consumes a lot of electrical energy. However, such nodes can continue to perform less energy-intensive internal processing. In a cyclical manner, such nodes are awakened to listen for possible messages from the paired device or to transmit, in particular, recruitment messages, service messages, and the like.

图5图示了通过根据本发明的设备所实施的通信方法P100,所述设备作为示例诸如结合图2所描述的设备10。FIG. 5 illustrates a communication method P100 implemented by a device according to the invention, such as, by way of example, the device 10 described in conjunction with FIG. 2 .

这样的通信方法产生自响应于招入消息MH的接收而由设备10的处理单元11实施第一处理100。Such a communication method results from the implementation of a first process 100 by the processing unit 11 of the device 10 in response to the reception of an incoming message MH.

如图5所指示的,招入消息MH包括第一字段MH-1,所述第一字段MH-1编码了被选定用于作为头端起作用的设备的标识IDH。这样的招入消息还可以包括字段MH-3,所述字段MH-3编码了CH数据,所述CH数据体现所述头端能够确保所确定的服务S的能力。所述消息可以此外包括字段MH-7,所述字段MH-7编码了多种属性或附加数据AD,其中作为非限制性且可选的示例,数据表征了服务S,向所述服务关联了可能的CH数据。As indicated in Figure 5, the recruiting message MH includes a first field MH-1 encoding the identification IDH of the device selected to function as the headend. Such a recruiting message may also include a field MH-3 encoding CH data reflecting the headend's ability to ensure the determined service S. The message may also include a field MH-7 encoding various attributes or additional data AD, where, as a non-limiting and optional example, the data characterizes the service S to which possible CH data is associated.

在多跳网络、结构或集群的范围中,招入消息可以由成员中继。当这样的招入消息已经自此被成员传播的时候(稍后尤其与步骤106相关联地研究这样的消息的中继),这意味着新的招入消息已经被中继器成员制定然后发射。将被中继的招入消息标记为MH’以用于与头端发射的原始招入消息MH进行区分。这样的消息MH’可以包括字段MH-2,所述字段MH-2编码了对上行路由进行表征的数据Ru,也就是说至少所述消息MH’的发射器和中继器成员的标识ID’。所述路由Ru可以作为变型在上游包括不同中继器成员的标识,所述中继器成员相继地分离消息MH’的接收器节点与处于原始招入消息MH的起源的头端节点。In the context of a multi-hop network, structure or cluster, an incoming message can be relayed by a member. When such an incoming message has since been propagated by a member (the relaying of such a message will be studied later, in particular in connection with step 106), this means that a new incoming message has been formulated and then transmitted by a repeater member. The incoming message to be relayed is marked MH' in order to distinguish it from the original incoming message MH transmitted by the head end. Such a message MH' can include a field MH-2, which encodes data Ru characterizing the upstream route, that is to say at least the identifier ID' of the transmitter of the message MH' and the repeater member. As a variant, the route Ru can include the identifiers of different repeater members upstream, which successively separate the receiver node of the message MH' from the head end node at the origin of the original incoming message MH.

为了控制头端希望构成的集群的深度,本发明预备这样的消息MH或MH’包括字段MH-4,所述MH-4编码了TTL数据,所述TTL数据表征所述消息MH或MH’的接收器成员能够中继该消息并且因此在网络中传播招入消息的能力(按跳数)。稍后将与方法P100的处理110相关联地研究由被指定为头端的设备、诸如根据本发明按照图2的设备10对招入消息MH的制定。消息MH或MH’的TTL数据可以有利地在于整数值。因此,当头端传输编码了等于一的TTL值的消息MH时,这意味着所期望的最大深度具有最大的一次跳。等于三的TTL值意味着在下行路由上的两个不同的成员可以相继地在网络里中继所述招入消息。根据本发明的处理100因此包括第一步骤101,其用于接收由电子通信设备、诸如与图1相关联地描述的节点d2又或节点c3所制定和发射的招入消息MH或MH’。处理100此外包括步骤102,其用于解码所述招入消息MH或MH’并且从中推断头端的标识IDH甚至中继器成员(Ru)的标识ID’。步骤102此外在于推断TTL数据并且将其递减一个单位。如果这样解码的消息MH或MH’包括CH数据(所述CH数据体现头端能够确保给定服务S的能力),则用于解码所述招入消息MH或MH’的步骤102从中推断所述CH数据、甚至在所述消息中所编码的有益的任何其它数据。To control the depth of the cluster the head end wishes to form, the present invention provides for a message MH or MH' to include a field MH-4 encoding TTL data indicating the ability (in terms of hops) of the recipient member of the message MH or MH' to relay the message and thus propagate the incoming message within the network. The formulation of an incoming message MH by a device designated as the head end, such as device 10 according to the present invention in accordance with FIG. 2 , will be discussed later in connection with process 110 of method P100. The TTL data of the message MH or MH' can advantageously be an integer value. Thus, when the head end transmits a message MH encoding a TTL value equal to one, this means that the desired maximum depth is a maximum of one hop. A TTL value equal to three means that two different members on the downstream route can successively relay the incoming message within the network. Process 100 according to the present invention thus comprises a first step 101 of receiving an incoming message MH or MH' formulated and transmitted by an electronic communications device, such as node d2 or node c3 described in connection with FIG. 1 . Process 100 further includes a step 102 for decoding the incoming message MH or MH' and deducing from it the headend identifier IDH and possibly the member repeater identifier ID'. Step 102 further involves deducing the TTL data and decrementing it by one unit. If the decoded message MH or MH' includes CH data (which indicates the headend's ability to provide a given service S), step 102 for decoding the incoming message MH or MH' deduces from it the CH data and possibly any other useful data encoded in the message.

处理100此外包括步骤103,其用于更新记录RH,所述记录RH被布置在设备、诸如与图2相关联地描述的设备10的数据存储器12中。所述记录RH被预备用于存放标识IDH的值,作为被选定用于作为头端起作用的设备、例如图1所图示的设备d2的标识的当前IDHc值。当招入消息MH’包括字段MH-2时,包括已经作为中继器成员起作用的设备的标识ID’的上行路由Ru被记入在记录RH中。在所述记录RH的更新103期间,对发射器设备确保所述服务S的能力进行体现的CH数据的值同样可以被记入在所述记录RH中。所记录的值被标记为CHc,用于体现头端确保服务的当前能力。在网络、诸如与图1相关联地描述的网络N1中,刚实施了这样的方法P100的设备10变成其中消息MH的发射器作为头端起作用的集群的成员。这例如是作为与图1相关联地描述的集群Cl1的成员节点c1至c3、d1、d3以及e1至e3而起作用的设备的情况。在记录RH中可能地存储所述头端的能力使得能够在接收到由另一发射器设备发出的新消息MH或MH’的时候在需要时比较当前头端的能力与新的候选的能力。稍后将研究头端之间的竞争、通过自由或成员节点仲裁的竞争的情况。The process 100 further comprises a step 103 for updating a record RH arranged in the data memory 12 of a device, such as the device 10 described in connection with FIG. 2 . The record RH is prepared for storing the value of the identifier IDH, which is the current value IDHc of the identifier of the device selected to function as a headend, such as the device d2 illustrated in FIG. 1 . When the incoming message MH′ comprises the field MH-2, the uplink route Ru including the identifier ID′ of the device already functioning as a repeater member is entered in the record RH. During the updating 103 of the record RH, the value of the CH data reflecting the ability of the transmitter device to ensure the service S can also be entered in the record RH. The recorded value is marked CHc and is used to reflect the current ability of the headend to ensure the service. In a network, such as the network N1 described in connection with FIG. 1 , the device 10 that has just implemented such a method P100 becomes a member of the cluster in which the transmitter of the message MH functions as a headend. This is the case, for example, for devices acting as member nodes c1 to c3, d1, d3, and e1 to e3 of cluster C11 described in connection with FIG1 . Possibly storing the head end's capabilities in the record RH enables, when necessary, a comparison of the current head end's capabilities with those of new candidates upon receipt of a new message MH or MH' from another transmitter device. The case of contention between head ends, either free or arbitrated by the member nodes, will be considered later.

本发明此外预备自此为集群成员和/或自由的节点可以加入到已经发射了消息MH的节点是其成员的集群。因此,根据优选的变型,预备用于更新记录RH的通信方法P100的处理100的步骤103仅仅在体现希望作为头端起作用的节点的能力的CH数据大于或等于所确定的要求的最小阈值的情况下可以被实现。所述处理100因此包括步骤104,其用于比较对消息RH的通过102推断的能力进行体现的数据与所述最小要求阈值。因此,候选加入集群的节点10可以比头端的最小选定准则更加高要求或有选择性。所述最小要求阈值有利地被记录在数据存储器12中,甚至构成在程序存储器14中预定义且固定的常量。它可以有利地对于所有节点而言是等同的。The invention further provides that nodes which are henceforth members of the cluster and/or free can join a cluster of which the node which has transmitted the message MH is a member. Therefore, according to a preferred variant, step 103 of the process 100 of the communication method P100 provided for updating the record RH can only be implemented if the CH data reflecting the capabilities of the node which wishes to act as the head end are greater than or equal to a determined required minimum threshold. The process 100 therefore comprises a step 104 for comparing the data reflecting the capabilities inferred by 102 of the message RH with the minimum required threshold. Thus, the nodes 10 which are candidates for joining the cluster can be more demanding or selective than the minimum selection criterion of the head end. The minimum required threshold is advantageously recorded in the data memory 12 or even constitutes a predefined and fixed constant in the program memory 14. It can advantageously be identical for all nodes.

如先前所提及的,招入消息MH可以规律地通过位于无线电通信范围内的一个或多个通信设备、诸如与图2相关联地描述的设备10i而被发射。作为集群的成员起作用的设备10因此可以处于接收并且解码招入消息MH或MH’的情形中,而所述设备10自此是由头端所发起的集群的成员。As mentioned previously, recruiting messages MH may be regularly transmitted by one or more communication devices located within radio communication range, such as the device 10i described in connection with Figure 2. A device 10 acting as a member of a cluster may therefore be in a position to receive and decode a recruiting message MH or MH', which device 10 is then a member of the cluster initiated by the head end.

于是呈现两种情况。根据第一情形,设备10已自此利用了从作为头端起作用的相同设备发源的招入消息MH或MH’。该头端的标识IDH的值因此等于记录RH中所存储的IDHc值,所述记录被布置在设备10的数据存储器12中。根据第二情形,从消息MH或MH’推断的标识IDH的值不同于IDHc值。成员设备在该情况中处于仲裁在能承担相同服务的两个第三设备之间的竞争的情形中。Two situations thus arise. According to the first scenario, the device 10 has already used a recruitment message MH or MH' originating from the same device acting as a headend. The value of the identifier IDH of this headend is therefore equal to the value IDHc stored in the record RH stored in the data memory 12 of the device 10. According to the second scenario, the value of the identifier IDH derived from the message MH or MH' is different from the value IDHc. In this case, the member device is in a situation of arbitration between two third devices that can undertake the same service.

在其中根据本发明的网络预备在消息MH或MH’中产生头端有效把控其角色的能力的情况中,方法P100有利地在用于解码招入消息MH的步骤102之后并且在用于更新包括有作为集群头起作用的设备的标识的当前的IDHc值的记录RH的步骤103之前包括步骤105。该步骤105可以有利地在于通过1051而在所述记录RH中读取所述当前的IDHc值。然后步骤105可以在于通过1052而比较所述当前的IDHc值与通过102解码的招入消息MH的发射器设备的标识的IDH值。在以上提及的第一情形的情况中,所述IDHc值和IDH值是相同的(图5中通过连接1052-y所符号表示的情形)。记录RH因此可以在步骤103处被更新。该动作尤其使得能够更新记录RH中的CH数据。事实上,根据头端的运转的情境的演进,该头端确保服务的能力可能已经演进。它可能被降级,这例如由于较少的能量储备。它可能被改善,这由于处罚通过GPRS途径的信号发射功率的障碍的消失。In the case where the network provision according to the present invention indicates the head end's ability to effectively assume its role in a message MH or MH', method P100 advantageously includes step 105 after step 102 of decoding the incoming message MH and before step 103 of updating the record RH containing the current IDHc value of the device identifying the cluster head. Step 105 may advantageously consist of reading the current IDHc value from the record RH at step 1051. Step 105 may then consist of comparing the current IDHc value with the IDH value of the device identifying the transmitter of the incoming message MH decoded at step 102 at step 1052. In the first scenario mentioned above, the IDHc value and the IDH value are identical (symbolized by the connection 1052-y in FIG5 ). The record RH can therefore be updated at step 103. This action, in particular, enables the updating of the CH data in the record RH. Indeed, depending on the evolving operational context of the head end, its ability to provide services may evolve. It may be degraded, for example due to reduced energy reserves. It may be improved due to the removal of the barrier that penalizes signal transmission power via the GPRS path.

相反,在其中IDH值和IDHc值不同的情况中(由图5所描述的连接1052-n符号表示的情形),能够作为头端起作用的设备进入与作为在成员的眼中实际上是作为集群头起作用的设备的设备的竞争。本发明预备步骤105能够包括步骤1053,用于比较对招入消息MH的发射器设备的能力进行体现的CH数据与被存储在记录RH中并且对实际上作为头端起作用的设备承担该相同服务S的能力进行体现的CHc数据。根据有利的实施例,如果从新的招入消息中推断的CH数据的值大于CHc值(通过连接1053-y符号表示的情形),那么步骤103被实现以用于更新记录RH。IDHc值取招入消息的发射器的标识的值。设备10因此离开先前的集群以用于加入到如下的集群:对该集群而言消息MH的发射器设备作为头端起作用。由设备10制作的服务消息现在将被寻址到新的头端。在相反的情形中,如果从新的招入消息中推断的CH数据的值小于或等于CHc值(通过连接1053-n符号表示的情形),那么步骤103不被实现,因为招入消息的发射器与实际的集群头相比性能不太好。Conversely, in the case where the IDH and IDHc values differ (as indicated by the symbol 1052-n in FIG. 5 ), the device capable of functioning as a headend enters into contention with the device that, in the eyes of the members, is effectively functioning as the cluster head. Preliminary step 105 of the present invention can include step 1053 for comparing the CH data reflecting the capabilities of the device transmitting the incoming message MH with the CHc data stored in the record RH and reflecting the capabilities of the device effectively functioning as the headend to undertake the same service S. According to an advantageous embodiment, if the value of the CH data derived from the new incoming message is greater than the CHc value (as indicated by the symbol 1053-y), step 103 is implemented to update the record RH. The IDHc value assumes the value of the identifier of the transmitter of the incoming message. Device 10 thus leaves the previous cluster in order to join a cluster for which the device transmitting the message MH functions as the headend. Service messages crafted by device 10 will now be addressed to the new headend. In the opposite case, if the value of the CH data inferred from the new recruiting message is less than or equal to the CHc value (the case symbolized by connection 1053-n), then step 103 is not implemented because the transmitter of the recruiting message is not as good as the actual cluster head.

为了限制向不同竞争头端加入的频率并且因此保存网络的全局能量容量,尤其是在对承担相同服务的相应能力进行体现的CH数据和CHc数据非常靠近的情况下,本发明预备优选某种“忠诚度”,虽然是非常相对的,但有利于实际作为头端起作用的设备,即使该后一设备显示为与进入竞争的设备相比性能不太好。因此,如果标识IDH的值和IDHc值不同(通过连接1052-n符号表示的情形),那么用于更新记录RH的步骤103仅仅在(图5中通过连接1053-y符号表示的情形)等于非零预定常量的显著偏差存在而有利于招入消息的发射器设备的情况下被实现。步骤1053因此可以被适配以便记录RH的更新103仅仅在对招入消息MH的发射器设备的能力进行体现的CH数据大于或等于被存储在记录RH中的数据加上所述偏差的情况下被实现。In order to limit the frequency of joining different competing head-ends and thus preserve the global energy capacity of the network, especially when the CH data and CHc data reflecting the respective capabilities of undertaking the same service are very close, the present invention provides for a certain "loyalty," albeit a very relative one, that favors the device actually acting as the head-end, even if this latter device exhibits inferior performance compared to the device entering the competition. Therefore, if the values of the identifiers IDH and IDHc differ (as indicated by the symbolic connection 1052-n), step 103 of updating the record RH is only performed if there is a significant deviation (as indicated by the symbolic connection 1053-y in FIG5 ) equal to a non-zero predetermined constant in favor of the device transmitting the incoming message. Step 1053 can thus be adapted so that the record RH is updated 103 only if the CH data reflecting the capabilities of the device transmitting the incoming message MH is greater than or equal to the data stored in the record RH plus the said deviation.

为了能够超越被指定为头端的设备的发射范围而中继招入消息MH,本发明因此预备加入方法P100可以包括步骤106,其在用于更新实施所述方法P100的设备的记录RH的步骤103之后。该附加步骤106在于编码招入消息MH’并且经由通信装置13而发射它,所述招入消息MH’在字段MH-1中包括其IDHc值被记入在记录RH中的设备的标识IDH。有利地,如果对所述设备能够确保所确定的服务S的能力进行体现的CHc数据被记入在RH中,那么这样的消息此外在字段MH-3中编码对所述能力CH进行体现的数据。通过106产生的消息MH’此外(字段MH-2,Ru)对以下进行编码:实施方法P100、作为发源自作为头端起作用的设备的招入消息MH的中继器集群的成员而起作用的设备的标识ID。在这样的步骤106的可能的实施之前,处理100包括步骤109,所述步骤109目的在于验证实施方法P100的设备能够中继预先通过102解码的消息MH或MH’。To enable relaying of recruiting messages MH beyond the transmission range of the device designated as headend, the present invention's provisioning method P100 may include a step 106, following step 103 for updating the record RH of the device implementing method P100. This additional step 106 consists in encoding a recruiting message MH', which includes, in field MH-1, the identification IDH of the device whose IDHc value is entered in the record RH, and transmitting it via communication means 13. Advantageously, if CHc data indicating the device's ability to provide a specified service S are entered in RH, such a message also encodes data indicating this capability CH in field MH-3. The message MH' generated by 106 also encodes (field MH-2, Ru) the identification ID of the device implementing method P100 and acting as a member of the repeater cluster originating from the recruiting message MH from the device acting as headend. Before the possible implementation of such a step 106 , the process 100 comprises a step 109 aimed at verifying that the device implementing the method P100 is capable of relaying the message MH or MH′ previously decoded by 102 .

这样的步骤109在于比较TTL数据的当前值与所确定的底值,例如零值。TTL的所述当前值对应于预先有利地在步骤102处解码并且被递减的消息MH或MH’的字段MH-4。如果TTL的当前值严格大于所述底值(图5中通过连接109y所表示的情形),则招入消息可以被中继。先前描述的步骤106于是可以被实施。在相反情况中(图5中通过连接109n所表示的情形),步骤106不被实施并且所述招入消息因此不被设备中继。Such a step 109 involves comparing the current value of the TTL data with a determined bottom value, such as zero. The current value of the TTL corresponds to the MH-4 field of the message MH or MH', advantageously decoded and decremented in advance at step 102. If the current value of the TTL is strictly greater than the bottom value (the situation represented by connection 109y in FIG. 5 ), the incoming message can be relayed. The previously described step 106 can then be implemented. In the opposite case (the situation represented by connection 109n in FIG. 5 ), step 106 is not implemented, and the incoming message is therefore not relayed by the device.

为了调节由对小于先前的招入消息的TTL数据的TTL数据进行编码的消息MH或MH’的接收所引发的集群的深度,本发明预备了多个实施例。In order to adjust the depth of the cluster caused by the reception of a message MH or MH' encoding TTL data that is smaller than the TTL data of the previous incoming message, the present invention provides for a number of embodiments.

第一实施例在于与通过109实施的处理共同地比较其起始点与步骤103处的记录RH的更新重合的持续时间与在其期间没有接收到任何其它招入消息的预定的最大等待时段。这样的持续时间可以是例如通过如下来测量的:触发计时器或初始化计数器,所述计数器在每个预定的单位时间处递增。如果所述持续时间大于或等于所述预定的最大等待时段,则本发明预备所述设备不再处于向当前头端传输服务消息的情形,这鉴于它的静默。所述设备于是实施步骤107,所述步骤107在于恢复自由节点状态。这样的步骤尤其在于在记录RH中擦除与当前旧的头端相关联的数据。A first embodiment consists in comparing, together with the processing implemented by 109, the duration of which the starting point coincides with the updating of the record RH at step 103 with a predetermined maximum waiting period during which no other recruitment message is received. Such a duration can be measured, for example, by triggering a timer or initializing a counter that is incremented at each predetermined unit of time. If the duration is greater than or equal to the predetermined maximum waiting period, the invention prepares the device for a situation in which it is no longer in a position to transmit service messages to the current head-end, given its silence. The device then implements step 107, which consists in restoring the free node state. Such a step consists in, in particular, erasing the data associated with the current old head-end in the record RH.

图1和图4使得能够图示该第一实施例。与图1相关联地,从节点d2发射的第一招入消息MH包括等于三的初始TTL值。所述原始消息MH因此被通过距离头端d2最多两跳的成员节点以消息MH’的形式中继。距离头端d2三跳的节点a1至a4在分别为b1至b4的中继器成员的动作下已经能够加入集群Cl1。图4图示了在图1图示的情形之后的相同网络N1的情形。这样的情形源自通过目前编码了等于二的TTL值的节点d2对消息MH的新的发射。根据按照本发明的第一实施例,所述招入消息MH仅仅可以通过距离头端d2最多一跳的节点以消息MH’的形式来中继。先前是集群Cl1的成员的节点a1至a4,其在预定的最大等待时段期间不再接收来自节点b1至b4的招入消息MH’,恢复自由节点状态。其中节点d2作为头端起作用的新的集群Cl3取代集群Cl1而被创建。Figures 1 and 4 illustrate this first embodiment. In conjunction with Figure 1 , the first recruiting message MH transmitted from node d2 includes an initial TTL value of three. This original message MH is therefore relayed in the form of a message MH' by member nodes at most two hops away from headend d2. Nodes a1 to a4, located three hops away from headend d2, have been able to join cluster Cl1 thanks to the actions of relay members b1 to b4, respectively. Figure 4 illustrates the situation in the same network N1 after the situation illustrated in Figure 1 . This situation results from the new transmission of the message MH by node d2, which now encodes a TTL value of two. According to the first embodiment of the present invention, the recruiting message MH can only be relayed in the form of a message MH' by nodes at most one hop away from headend d2. Nodes a1 to a4, previously members of cluster Cl1, which no longer receive recruiting messages MH' from nodes b1 to b4 during a predetermined maximum waiting period, resume free node status. A new cluster Cl3, in which node d2 acts as the headend, is created, replacing cluster Cl1.

作为变型或作为补充,本发明预备第二实施例,其在于编码消息中继结束的消息MF,然后将它发射到目的地为位于无线电通信范围内的设备。这样的消息MF用于属于下行路由的节点。稍后与图3和图5相关联地研究根据本发明的方法P100的处理130,据此,成员利用这样的中继结束消息MF以用于恢复自由节点状态。这样的消息MF包括所述发射器设备的标识(标记为IDF)以及对作为中继结束消息的消息MF进行表征的信息。处理100因此包括步骤107,其用于编码以及触发所述消息MF的发射,这有利地按照广播类型的模式通过设备的通信装置13在实施方法P100的处理单元11的激励下进行。这样的消息MF在图3上通过双线条的箭头被表示。根据该示例,成员c3因此向位于通信范围内的节点、尤其是相应地属于c3的下行路由的目的地节点b3和b4发射。因此取代图1所图示的集群Cl1而创建新的集群C12。As a variant or supplement, the present invention provides a second embodiment, which encodes a message MF indicating the end of message relaying and then transmits it to a device within radio communication range. This message MF is intended for nodes belonging to a downstream route. Process 130 of method P100 according to the present invention will be discussed later in conjunction with Figures 3 and 5 . According to this process, a member utilizes this message MF to restore free node status. This message MF includes the identifier of the transmitter device (denoted by IDF) and information identifying the message MF as a relay end message. Process 100 thus includes step 107 for encoding and triggering the transmission of this message MF, advantageously in a broadcast-type mode via the device's communication device 13, under the control of processing unit 11 implementing method P100. This message MF is represented in Figure 3 by a double-bar arrow. In this example, member c3 transmits this message to nodes within communication range, particularly to nodes b3 and b4, which are destinations of c3's downstream route. Cluster C11, illustrated in Figure 1, is thus created, replacing cluster C12.

因此,根据先前描述的第一和第二实施例,本发明提供第一模态,用于通过调节这样的招入消息的传播来限制集群的深度。此外可以观察到该调节是完全动态的。事实上,如已经与图3和图4相关联地提及的,头端可以发射包括较小的TTL数据的新招入消息,如果它希望缩减其中它是集群头的集群的深度的话。相反,它可以发射具有增大的TTL数据的新招入消息以便增加所述深度。稍后与根据本发明的通信方法P100的处理110相关联地研究该模态。Thus, in accordance with the first and second embodiments described previously, the present invention provides a first mode for limiting the depth of a cluster by regulating the propagation of such recruit messages. Furthermore, it can be observed that this regulation is fully dynamic. Indeed, as already mentioned in connection with Figures 3 and 4 , the head end can transmit a new recruit message with a smaller TTL data if it wishes to reduce the depth of the cluster of which it is the cluster head. Conversely, it can transmit a new recruit message with an increased TTL data in order to increase the depth. This mode will be discussed later in connection with process 110 of communication method P100 according to the present invention.

本发明预备目的在于调节集群深度的第二模态。根据所述第二模态,实施根据本发明的方法P100的节点不实施先前在步骤109处预备的、相对于最大等待持续时间的时间性比较。为了摆脱招入消息的发射的重复管理并且因此保存固有于通过网络对这样的消息MH或MH’的利用的能量消耗,本发明预备招入消息MH或MH’包括第一补充字段MH-5,所述第一补充字段MH-5编码了TTL-e数据,所述TTL-e数据显式表征发射器头端所希望的最大深度。这样的数据有利地在于整数值。因此,等于“一”的TTL-e值意味着头端不希望招入消息的传播(或中继)。TTL-e因此通过跳数而描述最大距离以便节点可以意图成为集群的成员。换言之,被递增一单位的TTL-e值描述由一个或多个中继器成员在相同的下行路由上所准许的最大中继数。本发明预备作为字段MH-5的补充,原始招入消息MH和/或被中继的招入消息MH’包括第二附加字段MH-6。这样的字段编码DST数据,所述DST数据表征将招入消息MH或MH’的发射器在下行路由上与已经制定了原始招入消息MH的头端分隔开的按跳数的距离。因此根据该变型,如果消息MH被中继一次,则被中继的消息MH’中的信息DST值为“1”。如果所述招入消息被中继三次,则由最远的成员中继的招入消息中的信息DST取值“3”。为此,根据本发明的通信方法P100的处理100可以有利地被适配用于先前描述的步骤102,在于从所述经解码的消息MH或MH’中推断TTL-e数据和DST的值。同样在先前被描述的、使得能够更新与当前头端相关联并且被布置在已经接收了招入消息MH或MH’的设备的数据存储器12中的记录RH的步骤103可以有利地在于此外在所述记录RH中记入预先递增了一个单位的DST数据以及TTL-e数据的值。因此,凭借记录RH的内容,网络的每个设备知道在给定上行路由Ru上将其与头端分隔开的按跳数的距离。The present invention provides for a second mode aimed at regulating cluster depth. According to this second mode, a node implementing method P100 according to the present invention does not perform the temporal comparison with respect to the maximum waiting duration previously provided in step 109. To avoid the repeated management of the transmission of recruiting messages and thus conserve the energy consumption inherent in the utilization of such messages MH or MH' by the network, the present invention provides for recruiting messages MH or MH' to include a first supplementary field MH-5 encoding TTL-e data that explicitly indicates the maximum depth desired by the transmitter head-end. This data advantageously contains an integer value. Thus, a TTL-e value equal to one means that the head-end does not wish to propagate (or relay) the recruiting message. TTL-e therefore describes the maximum distance, in terms of hops, for a node to attempt to become a member of a cluster. In other words, a TTL-e value incremented by one unit describes the maximum number of relays permitted by one or more member repeaters on the same downstream route. The present invention provides for the inclusion of a second additional field MH-6 in the original incoming message MH and/or the relayed incoming message MH', as a supplement to field MH-5. This field encodes DST data representing the distance, in number of hops, separating the transmitter of the incoming message MH or MH' from the headend that issued the original incoming message MH on the downstream route. Thus, according to this variant, if the message MH is relayed once, the DST value of the information in the relayed message MH' is "1." If the incoming message is relayed three times, the DST value of the information in the incoming message relayed by the most distant member is "3." For this purpose, the process 100 of the communication method P100 according to the present invention can advantageously be adapted to the previously described step 102, consisting in deducing the TTL-e data and the DST value from the decoded message MH or MH'. Likewise, the previously described step 103 of updating the record RH associated with the current headend and located in the data memory 12 of the device that has received the incoming message MH or MH′ can advantageously include in addition the entry in said record RH of the values of the DST data and the TTL-e data, pre-incremented by one unit. Thus, thanks to the contents of the record RH, each device of the network knows the distance in hops that separates it from the headend on a given upstream route Ru.

为了调节由头端发起的集群的深度,根据本发明的通信方法P100的处理100的步骤109如同先前的模态那样在于比较TTL数据的当前值与预定的底值,例如零值。所述的TTL的当前值对应于预先有利地在步骤102处解码并且被递减的消息MH或MH’的字段MH-4。如果TTL的当前值严格大于所述底值(图5中通过连接109y所表示的情形),则招入消息可以被中继。先前描述的步骤106可以被实施。在相反情况中(图5中通过连接109n所表示的情形),步骤106不被实施并且所述招入消息不被所述设备中继。步骤109目前在于比较记录RH中所记入的TTL-e数据和DST数据的相应值。如果DST数据的值大于TTL-e数据的值,则这意味着所述设备不再处于向当前头端传输服务消息的情形,因为相对于该设备所期望的最大深度,该设备在跳数上太远离所述头端。该情况对应于由当前头端所发起的集群的深度的缩减。处理100此外在于触发先前描述的步骤107,所述步骤107在于恢复自由节点状态。记录RH中与旧的当前头端相关联的数据因此被擦除。所述步骤107可以此外在于编码消息MF然后触发它的发射,这有利地按照广播类型的模式通过设备的通信装置13在实施方法P100的处理单元11的激励下进行。这样的情形同样通过图3被描述,其中根据图3,节点c3发射中继结束消息MF。现在描述由根据本发明的、被自指定为集群头端的电子通信设备所进行的动作。为此,根据所述发明的通信方法P100包括处理110。该处理110可以有利地但是非必须地包括针对于设备10确保所确定的服务S以用于在必要时被自指定或自推选为集群头或头端的能力的第一评估步骤111。这样的步骤111首先可以在于在1111处估计设备10的一个或多个运转参数以用于测试所述设备10的恰当地确保所述服务的能力。作为优选示例,假设所述服务在于对从服务消息MS收集并且推断的数据进行聚合、对所述数据进行合并、编码消息MC以及通过长距离通信装置16将该消息MC发射到目的地远程服务器,所述远程服务器的任务在于追踪与通信设备协作的容器。为了能够确保该服务,所述设备显然应当包括经适配的通信装置,诸如装置16。此外,这样的例如类型为GPRS的通信调动大量的电能量,哪怕仅仅用于发起联接。因此强制使作为头端起作用的设备具备足以支持这样的载荷的能量储备。此外,还优选的是通过GPRS途径的信号发射功率是更优的。事实上,弱的发射功率将造成缓慢,因此导致增加的发射持续时间并且特别消耗电能量、甚至在失败情况下的相继的新发射尝试又或是单纯且简单的消息MC丢失。To adjust the depth of the cluster initiated by the headend, step 109 of process 100 of communication method P100 according to the present invention, as in the previous mode, involves comparing the current value of the TTL data with a predetermined bottom value, such as zero. The current value of the TTL corresponds to field MH-4 of message MH or MH', which was advantageously previously decoded and decremented in step 102. If the current value of the TTL is strictly greater than the bottom value (as indicated by connection 109y in FIG5 ), the incoming message can be relayed. Step 106, previously described, can be performed. In the opposite case (as indicated by connection 109n in FIG5 ), step 106 is not performed, and the incoming message is not relayed by the device. Step 109 now involves comparing the corresponding values of the TTL-e data and the DST data recorded in record RH. If the value of the DST data is greater than the value of the TTL-e data, this means that the device is no longer in a position to transmit service messages to the current headend because it is too far away from the headend in terms of hops relative to its desired maximum depth. This situation corresponds to a reduction in the depth of the cluster initiated by the current head end. Process 100 also consists in triggering the previously described step 107, which consists in restoring the free node state. The data associated with the old current head end in the record RH are thus erased. Step 107 can also consist in encoding a message MF and then triggering its transmission, which is advantageously carried out in a broadcast-type mode by the communication means 13 of the device under the stimulation of the processing unit 11 implementing the method P100. Such a situation is also described by Figure 3, according to which the node c3 transmits a relay end message MF. The actions performed by the electronic communication device according to the invention, which is self-designated as a cluster head end, will now be described. To this end, the communication method P100 according to the invention includes a process 110. This process 110 can advantageously, but not necessarily, include a first evaluation step 111 for the device 10 to ensure the ability of the determined service S to be self-designated or self-elected as a cluster head or head end when necessary. Such a step 111 may first involve evaluating one or more operating parameters of the device 10 at 1111 to test its ability to properly provide the service. As a preferred example, assume that the service involves aggregating data collected and inferred from service messages MS, combining this data, encoding a message MC, and transmitting this message MC via long-distance communication device 16 to a destination remote server, whose task is to track containers cooperating with the communication device. To be able to provide this service, the device must obviously include an adapted communication device, such as device 16. Furthermore, such communications, for example of the GPRS type, utilize a significant amount of electrical energy, even simply to initiate a connection. Therefore, it is essential that the device acting as the headend possess sufficient energy reserves to support such a load. Furthermore, it is also preferred that the signal transmission power via the GPRS channel be optimal. In fact, weak transmission power results in slowness, thus increasing transmission duration and significantly consuming electrical energy, or even in the event of failure, requiring subsequent new transmission attempts, or simply losing the message MC.

步骤1111还可以在于设备的自测试或自评估步骤,例如对于电池17的水平、甚至通过GPRS途径的信号发射功率。所述步骤1111可以还使得能够评估设备的其它功能参数,如作为示例,消息MC的发射数目。为此,消息MC的发送计数器可以通过处理单元11来实施,计数器的值可以被记录在数据存储器12中。对作为头端的设备10的载荷的估计因此可以在于从数据存储器12中对所述计数器的读取。Step 1111 may also consist of a self-test or self-assessment step for the device, for example, regarding the level of battery 17 or even the power of signal transmission via GPRS. Step 1111 may also allow for the evaluation of other functional parameters of the device, such as, for example, the number of transmitted MC messages. To this end, a transmission counter for MC messages may be implemented by processing unit 11, and the value of the counter may be recorded in data memory 12. Estimation of the load of device 10 acting as headend may thus consist of reading this counter from data memory 12.

处理110有利地包括步骤1112以用于产生CH数据,其体现所述设备10能够确保所确定的服务S的能力。作为示例,通过处理单元产生这样的CH数据可以在于对预定义的方程或函数进行求值,所述预定义的方程或函数产生如下的度量:其整合了所述估计的参数,所述参数在必要时相应地被加权以用于给予参数相对于彼此的优先。例如,对GPRS发射功率的估计可以在于计算与测试信号的估计的发射功率除以对典型的(也就是说在发射的最优条件期间)最大功率进行描述的常量相对应的比率。Process 110 advantageously includes a step 1112 for generating CH data reflecting the ability of the device 10 to ensure the determined service S. For example, the generation of such CH data by the processing unit may consist in evaluating a predefined equation or function that generates a metric that integrates the estimated parameters, which are weighted accordingly, if necessary, to prioritize the parameters relative to one another. For example, the estimation of the GPRS transmission power may consist in calculating the ratio corresponding to the estimated transmission power of the test signal divided by a constant describing the typical maximum power (that is, during optimal transmission conditions).

与电池水平或更一般地与设备的能量源17相关联地,步骤1112可以强制处理单元计算与所估计的可用能量相对于满负载的能量对应的比率。In association with the battery level or more generally with the energy source 17 of the device, step 1112 may force the processing unit to calculate a ratio corresponding to the estimated available energy relative to the energy of the full load.

更一般地,对设备作为集群头起作用的能力进行表征的这样的度量CH可以以非限制性的方式通过诸如以下的等式的求值来计算:More generally, such a metric CH characterizing the ability of a device to function as a cluster head may be calculated in a non-limiting manner by evaluating an equation such as:

对其而言,i是大于或等于1的整数,K1、K2、…、Ki构成权重,必要时不同,是可能不同的计算函数,例如是比率的演变,并且是设备的功能参数,其作为非限制性示例是源17的电能量水平、长距离发射功率、可用于记录数据的存储器的大小、计算能力等等。For it, i is an integer greater than or equal to 1, K1, K2, ..., Ki constitute weights, different if necessary, are calculation functions that may be different, for example the evolution of the ratio, and are functional parameters of the device, which as non-limiting examples are the electrical energy level of the source 17, the long-distance transmission power, the size of the memory available for recording data, computing power, etc.

CH数据因此可以类似于实值。其还可以是复合的,也就是说,是结构化的数据,包括设备的每个功能参数,或者代替于所述功能参数之一而包括对所述功能参数之一的所确定的函数。The CH data can thus be similar to real values. They can also be complex, that is to say structured data, comprising every functional parameter of the device or, instead of one of the functional parameters, a determined function of one of the functional parameters.

在1112处可能产生了CH数据,根据本发明的方法包括步骤112以用于比较所述CH数据与要求的最小功能阈值。在其中CH数据是结构化的情况中,其对于所述阈值而言是同样的。比较112于是可以同样在于功能参数与特定的要求的最小功能阈值的独立比较,对其将应用组合逻辑(与、或等等类型的)。At 1112, CH data may be generated. The method according to the present invention includes step 112 for comparing the CH data with a required minimum functional threshold value. In the case where the CH data is structured, this is also true for the threshold value. Comparison 112 can then also consist of an independent comparison of the functional parameter with a specific required minimum functional threshold value, to which combinational logic (of the AND, OR, etc. type) is applied.

如果步骤112证实了CH数据大于或等于所述要求的最小功能阈值(在图3中标记为112-y的连接),则方法P100有利地包括步骤113以用于编码并且发射招入消息MH。在这样的发射之前,本发明在于预备所述步骤112用于确定其中所述设备希望作为其头端的集群的最大深度。该确定可以如同通过1112产生的能力CH那样得自考虑了设备的一个或多个功能参数的关系,诸如,对其而言,i是大于或等于1的整数,Q1、Q2、…、Qi构成权重,必要时不同,是可能不同的计算函数,例如比率的演变,并且是设备的功能参数。作为变型,所述深度Dp的值还可以被预确定并且存储在装置12中或者产生自参数化。如同LEACH类型的网络的节点那样,实施根据本发明的通信方法P100的设备却可以违反步骤111和112并且独立于其有效确保该角色的能力地自指定、甚至自动或任意地被指定为头端。然而,与现有技术相反,根据本发明的头端经由数据Dp而控制其发起的集群的深度。If step 112 confirms that the CH data is greater than or equal to the required minimum functional threshold (connection labeled 112-y in FIG. 3 ), method P100 advantageously includes step 113 for encoding and transmitting a recruiting message MH. Prior to such transmission, the present invention provides for step 112 for determining the maximum depth of the cluster for which the device wishes to act as headend. This determination, like the capability CH generated in step 1112, can be derived from a relationship that takes into account one or more functional parameters of the device, such as, for example, i is an integer greater than or equal to 1, Q1, Q2, ..., Qi, which may be different if necessary, and may be different calculation functions, such as the evolution of a ratio, and are functional parameters of the device. Alternatively, the value of the depth Dp can be predetermined and stored in device 12 or generated from a parameterization. However, as with nodes in a LEACH-type network, a device implementing communication method P100 according to the present invention can, in violation of steps 111 and 112, self-designate, even automatically or arbitrarily, as a headend independently of its ability to effectively secure this role. However, in contrast to the prior art, the head-end according to the invention controls the depth of the clusters it initiates via data Dp.

如先前与图5中所图示的非限制性示例以及处理100相关联地研究的那样,通过113编码的招入消息MH包括第一字段MH-1,所述第一字段MH-1编码了设备的标识,其被我们标记为IDH,作为被推选用于作为头端起作用的设备的标识。它还可以包括字段MH-3,所述字段MH-3编码了CH数据,所述CH数据体现所述设备能够确保所确定的服务S的能力,如果所述能力已经通过1112被产生了的话。消息MH可以此外包括字段MH-7,所述字段MH-7编码了多种属性或附加数据AD,其中作为非限制性且可选的示例有表征向其关联了可能的CH数据的服务S的数据。As previously discussed in connection with the non-limiting example illustrated in FIG5 and process 100, the recruitment message MH encoded via 113 includes a first field MH-1 encoding the identification of the device, which we will label IDH, as the identification of the device selected to function as the headend. It may also include a field MH-3 encoding CH data reflecting the device's ability to ensure the determined service S, if such capability has been generated via 1112. The message MH may also include a field MH-7 encoding various attributes or additional data AD, including, as a non-limiting and optional example, data characterizing the service S to which the possible CH data is associated.

为了控制头端希望构成的集群的深度Dp,这样的消息MH通过字段MH-4而包括TTL数据,所述TTL数据表征所述招入消息的接收器成员能够中继该招入消息并且因此在所述招入消息的网络中传播的按跳数的能力。如与通过图5作为非限制性示例所描述的处理100相关联地在先前提及的那样,这样的TTL数据可以有利地在于整数值。因此,当头端传输编码了等于一的TTL值的消息MH时,这意味着所期望的最大深度具有最大的一次跳。等于三的TTL值意味着在下行路由上的两个不同的成员可以相继中继所述招入消息。To control the depth Dp of the cluster the head end wishes to form, such a message MH includes, via field MH-4, TTL data indicating the ability of the recipient member of the incoming message to relay the incoming message and, therefore, to propagate the incoming message in the network in terms of hops. As previously mentioned in connection with process 100 described as a non-limiting example in FIG5 , such TTL data can advantageously be an integer value. Thus, when the head end transmits a message MH encoding a TTL value equal to one, this means that the desired maximum depth is a maximum of one hop. A TTL value of three means that two different members on the downstream route can successively relay the incoming message.

根据与所述处理100相关联地描述的第一模态,被通过113编码在字段MH-4中的TTL值被初始化为值Dp。通过113所产生的原始消息MH在实施所述方法P100的处理单元11的作用下被所述设备的第一通信装置13扩散、例如“广播”。位于通信范围内的任何通信设备、诸如图2中描述的设备10i可以接收所述消息MH。According to the first mode described in connection with process 100, the TTL value encoded in field MH-4 at step 113 is initialized to the value Dp. The original message MH generated at step 113 is disseminated, for example, "broadcasted," by the first communication means 13 of the device under the action of the processing unit 11 implementing method P100. Any communication device within communication range, such as device 10i depicted in FIG. 2 , can receive the message MH.

为了遵守通过109测试的预定的最大等待时段,根据比所述预定的最大等待时段更小的周期性来迭代地实施处理110。当处理100有利地包括用于估计确保给定服务S的能力的步骤111的时候,所述能力CH可以被修正、编码然后通过113发射。它可以被增加以用于体现更好的能力或在相反的情况中被降低。如果比较112在112处证明了设备的功能参数不满足于功能最小值,则没有招入消息MH的发射。因此,不能确保给定的服务、即使它理论上具备用于对此实现的物质或逻辑构件的任何电子设备可以不被指定为头端或构成低幅度或深度的通信设备的集群。对于可以被修正、如先前提及的那样被提高或降低的集群深度Dp而言事实上是相同的。在通过113传输的每个原始消息MH的字段MH-4中所编码的TTL数据因此可以被从处理110的一次到另一次的迭代而初始化为不同的值。如先前与处理100相关联地提及的,不同消息MH的信息TTL如集群的最大深度的调节器那样并且通过由所述网络中所交换的消息的处理所引发的网络的能量耗费的后果来进行干预。To comply with the predetermined maximum waiting period tested by 109, process 110 is iteratively implemented with a periodicity less than the predetermined maximum waiting period. When process 100 advantageously includes step 111 for estimating the capability to ensure a given service S, the capability CH can be modified, encoded, and then transmitted by 113. It can be increased to reflect a better capability or reduced in the opposite case. If comparison 112 proves at 112 that the functional parameters of the device do not meet the functional minimum, no recruitment message MH is transmitted. Therefore, any electronic device that cannot ensure a given service, even if it theoretically possesses the material or logical means for achieving this, cannot be designated as a headend or form a cluster of low-amplitude or low-depth communication devices. The cluster depth Dp, which can be modified, increased or decreased as previously mentioned, is virtually the same. The TTL data encoded in field MH-4 of each original message MH transmitted by 113 can therefore be initialized to different values from one iteration of process 110 to another. As mentioned above in connection with process 100 , the information TTL of the various messages MH acts as a regulator for the maximum depth of the cluster and intervenes by virtue of the consequences of the energy consumption of the network caused by the processing of messages exchanged in the network.

处理110可以包括步骤114,必要时接合到步骤112,以用于比较通过1112产生的CH数据与功能最小值,其证明不足以能够确保服务的能力。这样的最小阈值可以被预定并且记录(如同在步骤112处所利用的阈值)在数据存储器12中。该步骤114并且更不必说必要时从中引出的步骤115可以有利地跟在招入消息MH的发射113之后。如果比较114确认了(在图5中连接114-y)设备不再能确保服务S,则根据本发明的通信方法P100的处理110可以有利地包括步骤115,以用于编码并且发射拆毁集群的消息MR,其有利地被广播。消息MR的该发射可以通过设备的通信装置13在实施通信方法P100的处理单元11的推动下实现。如同招入消息MH,拆毁集群的消息MR,其被从先前作为头端起作用但是不再处于有效确保所确定的服务S的情形的设备发射,包括所述设备的标识,标记为IDR。其还可以包括CH数据,所述CH数据表征确保服务的能力,或在该情况中表征不能确保服务。作为变型,这样的消息MR可以简单地相关联于发射器设备的标识,其为对作为拆毁集群的消息的消息MR进行表征的信息。这样的消息MR还可以在于包括等于零的TTL数据的招入消息MH。该步骤115可以有利地仅仅在发射器设备先前作为头端起作用的情况下被触发,以便不会无用地发出不恰当的拆毁集群的消息并且还防止通过接收节点对这样的消息的任何不合理利用。为了使得根据本发明的设备能够检测到它先前处于确保头端角色的情形,所述设备的处理单元11可以例如在数据存储器12中记入在通过113传输的最后的消息MH的字段MH-4(TTL数据)中所体现的值Dp。所述记入与所述消息MH的发射的触发共同地实现。通过数据存储器12所记入的所述值Dp的非零值指示了在处理110的在前迭代期间所述设备作为头端起作用。在通过115的拆毁集群的消息的编码和发射期间,这样的值有利地被重初始化为零值,或作为变型被初始化为表征零集群深度的任何预定的其它值。所述处理单元11可以作为变型或作为补充而利用消息MC的发射的计数器,其诸如先前提及的那样,被记录在数据存储器12中。在比较114期间,所述计数器的大于其初始值的值指示了所述设备曾作为头端起作用。在消息MR的发射结束时,所述计数器可以被重置到初始值。然而,任何其它动作将可以通过处理单元11来实施,以用于验证步骤115的实施,这代替于消息MC的发射计数器的利用。作为非限制性的示例,这样的动作可以从由作为头端起作用的设备对发源于第三设备的招入消息的接收中引出,第三设备其本身也作为头端起作用并且其中体现其确保相同服务的能力的数据大于所述设备本身的。在该情况中,实施方法P100的设备的处理单元11触发步骤115,因此在与它相比更好的面前被撤除。根据该后一种变型,本发明预备限制拆毁集群的消息MR的发射数目,这是对于节点作为头端起作用的能力的特别动态且振荡的演进(其导致在众多头端之间的非常持久的竞争)的直接后果。这样的情形可能例如在多个容器的铁路运输期间遇到,所述容器各自与根据本发明的通信设备协作并且对其而言,所确定的服务在于规律地通过GPRS途径发射与容器的内容相关联的信息。头端通过长距离途径发射的能力可能是非常多变的。为了回应该困难,本发明预备在步骤114的实施中集成“竞争因子”,例如是大于“1”的正实数,其值可以被记录在不同节点的存储器12中。因此,接收到发源于第三节点的招入消息MH的头端在步骤114处不严格比较体现确保相同服务的相应能力的CH数据。步骤114在于比较从招入消息MH中推断出的、被乘以竞争因子的CH数据。因此,如果所述因子大于“1”,例如“1.25”,那么实施步骤114的节点通过所述因子的利用而相对于竞争者被惩罚。因此,尽管所述节点的CH数据体现了与已经发出了消息MH的头端的能力相比更好的能力,但是竞争因子的应用潜在地改进了竞争者的能力。在该情况中,节点实施步骤115、传输拆毁集群的消息MR并且作为成员再加入竞争者的集群。这样的解决方案使得能够限制过于众多的、使网络的能量容量负重的集群的创建和/或拆毁。其此外使得能够限制能同时作为头端起作用的节点的数目。事实上,根据所设想的服务S(其例如包括长距离发射),协同作为头端起作用的过于大量的节点例如在网络的能量储备中吸取过多。竞争因子因此可以被视为对头端数目以及网络对其环境的适应性的动态的调节参数。Process 110 may include step 114, optionally coupled to step 112, for comparing the CH data generated in step 1112 with a functional minimum value, which indicates insufficient capability to ensure the service. Such a minimum threshold value may be predetermined and recorded (as with the threshold value used in step 112) in data memory 12. Step 114, and, if necessary, the resulting step 115, may advantageously follow the transmission 113 of the recruitment message MH. If comparison 114 confirms (connection 114-y in FIG. 5 ) that the device can no longer ensure the service S, process 110 of communication method P100 according to the present invention may advantageously include step 115 for encoding and transmitting a cluster removal message MR, which is advantageously broadcast. This transmission of message MR may be accomplished by the device's communication device 13 under the control of processing unit 11 implementing communication method P100. Like recruitment message MH, the cluster removal message MR, transmitted by a device that previously functioned as a headend but is no longer in a position to effectively ensure the determined service S, includes the device's identification, designated as an IDR. It may also include CH data indicating the ability to guarantee service, or in this case, the inability to guarantee service. Alternatively, such a message MR may simply be associated with the transmitter device's identification, which identifies the message MR as a cluster teardown message. Such a message MR may also consist of a recruitment message MH including a TTL data equal to zero. This step 115 can advantageously be triggered only if the transmitter device previously functioned as a headend, so as to prevent the unnecessary issuance of inappropriate cluster teardown messages and prevent any unauthorized use of such messages by receiving nodes. To enable the device according to the present invention to detect that it previously served as a headend, the device's processing unit 11 may, for example, record in the data memory 12 the value Dp reflected in the MH-4 (TTL data) field of the last message MH transmitted via 113. This recording occurs concurrently with the triggering of the transmission of the message MH. The non-zero value of the value Dp recorded in the data memory 12 indicates that the device functioned as a headend during the previous iteration of process 110. During the encoding and transmission of the cluster teardown message at step 115, such a value is advantageously reinitialized to zero, or alternatively to any other predetermined value representing a zero cluster depth. Alternatively or additionally, processing unit 11 may utilize a counter for the transmission of messages MC, which, as previously mentioned, is recorded in data memory 12. During comparison 114, a value of the counter greater than its initial value indicates that the device was functioning as a headend. Upon completion of the transmission of message MR, the counter may be reset to its initial value. However, any other action may be performed by processing unit 11 to verify the implementation of step 115, instead of utilizing the transmission counter of message MC. As a non-limiting example, such an action may result from the reception by a device functioning as a headend of an incoming message originating from a third device, which itself also functions as a headend and for which the data reflecting its ability to provide the same service is greater than that of the device itself. In this case, processing unit 11 of the device implementing method P100 triggers step 115, thereby being withdrawn in the face of a superior comparison. According to this latter variant, the present invention provides for limiting the number of messages MR that are transmitted to break up a cluster. This is a direct consequence of the particularly dynamic and oscillatory evolution of a node's ability to function as a headend, which leads to very persistent competition among numerous headends. Such a situation might be encountered, for example, during rail transport of multiple containers, each of which is associated with a communication device according to the present invention and for which the service determined consists of regularly transmitting information associated with the container's contents via GPRS. The ability of a headend to transmit over long distances can be highly variable. To address this difficulty, the present invention provides for integrating a "contention factor" into the implementation of step 114, e.g., a positive real number greater than 1, whose value can be recorded in the memory 12 of the various nodes. Consequently, a headend receiving a recruiting message MH originating from a third node does not strictly compare, at step 114, the CH data reflecting the respective capabilities to ensure the same service. Step 114 involves comparing the CH data derived from the recruiting message MH, multiplied by the competition factor. Therefore, if the factor is greater than 1, e.g., 1.25, the node implementing step 114 is penalized relative to its competitors by utilizing the factor. Thus, even though the CH data of the node in question represent better capabilities than those of the headend that has issued the message MH, the application of the contention factor potentially improves the capabilities of the competitor. In this case, the node implements step 115, transmits a message MR to dismantle the cluster, and rejoins the competitor's cluster as a member. Such a solution makes it possible to limit the creation and/or dismantling of clusters that are too numerous and burden the network's energy capacity. It also makes it possible to limit the number of nodes that can act as headends simultaneously. In fact, depending on the envisaged service S (which, for example, includes long-distance transmission), an excessive number of nodes acting in concert as headends could, for example, draw too much from the network's energy reserves. The contention factor can therefore be considered a dynamic adjustment parameter for the number of headends and the adaptability of the network to its environment.

为了实施先前与结合图5所述的处理100相关联地提及的第二调节模态,通过113编码的消息包括第一补充字段MH-5,所述第一补充字段MH-5编码了TTL-e数据,所述TTL-e数据显式地表征招入消息的发射器头端所希望的集群的最大深度。这样的TTL-e数据有利地在于整数值。因此,等于“一”的TTL-e值意味着头端不希望招入消息的传播(或中继)。严格大于“一”的值通过增大一个单位的跳数而描述在相同的下行路由上由一个或多个中继器成员所准许的中继数目。本发明预备作为字段MH-5的补充,原始招入消息MH包括第二附加字段MH-6。这样的字段编码DST数据,所述DST数据表征将招入消息MH或MH’的发射器在从已经制定了原始招入消息MH的头端起的下行路由上与所述头端分隔开的按跳数的距离。因此根据该变型,如果消息MH被中继一次,则被中继的消息MH’中的信息DST值为“1”。如果所述招入消息被中继三次,则由最远的成员中继的招入消息中的信息DST取等于“3”的值。为了实施该第二模态,步骤113在于将字段MH-5中编码的TTL-e值初始化为通过112产生的值Dp。利用数据存储器12中所记入的值来初始化TTL数据。它对应于在处理110的在前迭代期间触发的招入消息的发射之前所产生的集群的最大深度。TTL值因此被编码在准备好由设备发射的消息MH的字段MH-4中。至于所述消息MH的字段MH-6中所编码的DST数据,其被初始化为零值或指示零距离的任何预定的其它值。事实上,头端按跳数零距离而远离其自身。在消息MH的发射的触发结束时,Dp的当前值在数据存储器12中被更新。如先前已经与图5所述的处理100相关联地提及的那样,在消息MH中字段MH-4、MH-5和MH-6的共存使得它能够在集群中借助于被中继的消息MH’而传播所述招入消息。因此,接收这样的消息MH或MH’的成员可以验证它们能够中继尤其是服务消息或者恢复自由节点状态。本发明因此使得能够在其头端的激励下容易地调节集群的深度。因此有可能通过TTL数据、TTL-e和DST的组合而维持、增大或缩减所述深度。To implement the second mode of regulation previously mentioned in connection with process 100 described in conjunction with FIG. 5 , the message encoded via 113 includes a first supplemental field MH-5 encoding TTL-e data that explicitly indicates the maximum cluster depth desired by the headend transmitting the incoming message. Such TTL-e data advantageously represents an integer value. Thus, a TTL-e value equal to one means that the headend does not wish to propagate (or relay) the incoming message. Values strictly greater than one describe the number of relays permitted by one or more repeater members on the same downstream route, by increasing the number of hops by one. The present invention provides for the inclusion of a second additional field MH-6 in the original incoming message MH as a supplement to field MH-5. This field encodes DST data indicating the distance, in hops, separating the transmitter of the incoming message MH or MH′ from the headend on the downstream route from the headend that issued the original incoming message MH. Therefore, according to this variant, if message MH is relayed once, the DST value of the information in the relayed message MH' is "1." If the recruiting message is relayed three times, the DST value in the recruiting message relayed by the farthest member takes on the value "3." To implement this second mode, step 113 initializes the TTL-e value encoded in field MH-5 to the value Dp generated by 112. The TTL data is initialized using the value entered in data memory 12. It corresponds to the maximum depth of the cluster generated before the transmission of the recruiting message triggered during the previous iteration of process 110. The TTL value is thus encoded in field MH-4 of the message MH to be transmitted by the device. As for the DST data encoded in field MH-6 of the message MH, it is initialized to zero or any other predetermined value indicating zero distance. In effect, the headend is zero hops away from itself. At the conclusion of the triggering of the transmission of message MH, the current value of Dp is updated in data memory 12. As previously mentioned in connection with process 100 described in FIG5 , the coexistence of fields MH-4, MH-5, and MH-6 in message MH makes it possible to propagate the recruitment message within the cluster by means of the relayed message MH′. Thus, members receiving such a message MH or MH′ can verify that they are capable of relaying, in particular, service messages or of recovering free node status. The present invention thus makes it possible to easily adjust the depth of a cluster under the instigation of its headend. It is thus possible to maintain, increase, or reduce the depth through a combination of TTL data, TTL-e, and DST.

本发明还使得集群的成员能够根据其适当的能量或通信容量而调节其作为中继器成员的可能的功能。完全遵守头端的规则,通过根据第一或第二模态的处理100和110的实施,成员关于其中继功能可以是受限的,有利于属于下行路由的其它成员节点或被准许加入的节点。为此,本发明预备步骤109可以如同用于分别产生自指定为头端的能力CH和集群深度Dp的可能的步骤111和步骤112那样产生中继服务消息或其它以有益于属于下行路由的第三设备的能力CR。这样的能力CR可以有利地被计算,诸如,对其而言,i是大于或等于1的整数,R1、R2、…、Ri构成权重,必要时不同,是可能不同的计算函数,例如比率的演变,并且是成员设备的功能参数。根据CR的内容,并且通过与预定的并且例如记录在数据存储器12中的一个或多个最小功能阈值的比较,步骤106或107被实施。因此,中继器成员在接收到源自它所属的集群的头端的消息MH或MH’时,鉴于CR可以不自动传播所述招入消息,而被通过102解码的元素(TTL、甚至TTL-e和DST)将会指示它传播所述招入消息。优选先前提及的第一模态或第二模态,本发明确保不等服务的连续性,这通过自动影响与电子通信设备的网络的不同节点相关的角色来进行。根据本发明的这样的网络的稳健性由此倍增。The present invention also enables cluster members to adjust their possible functionality as repeaters based on their energy or communication capacity. Fully adhering to the headend's rules, by implementing processes 100 and 110 according to the first or second modalities, a member's relay functionality can be limited to benefit other member nodes belonging to the downstream route or nodes permitted to join. To this end, the present invention's preliminary step 109 can generate a relay service message or other capability CR for benefiting third devices belonging to the downstream route, similar to the possible steps 111 and 112 for generating the capability CH and cluster depth Dp, respectively, from the designated headend. Such a capability CR can advantageously be calculated, for example, where i is an integer greater than or equal to 1, R1, R2, ..., Ri constitute weights, which may be different, and are possibly different calculation functions, such as the evolution of ratios, and are functional parameters of the member devices. Based on the contents of the CR and by comparison with one or more predetermined minimum functionality thresholds, for example, recorded in data storage 12, steps 106 or 107 are implemented. Thus, upon receiving a message MH or MH' from the headend of the cluster to which it belongs, a repeater member, while not automatically propagating the incoming message, will be instructed by the elements decoded by 102 (TTL, even TTL-e and DST). Preference is given to the previously mentioned first or second modalities, and the present invention ensures continuity of unequal services by automatically influencing the roles associated with different nodes of a network of electronic communication devices. The robustness of such a network according to the present invention is thereby multiplied.

为了发送源自成员节点或被准许加入的节点的服务消息,方法P100此外包括处理120,所述处理120作为非限制性的示例在接收到第三设备发射的服务消息的时候或响应于所述设备采取环境测量而被触发。在被记录在数据存储器12中的记录RH中,集群头(头端)和集群成员设备的标识对构成对于将服务消息MS中继到目的地的所述头端而言必要的路由信息。事实上,这样的处理120包括步骤123,其用于将服务消息MS发射到针对所确定的服务S作为头端起作用的目的地设备。这样的步骤123在预先的步骤之后被实施,所述预先的步骤用于例如从传感器15收集度量,所述度量相关联于容器中占主导的温度,对着所述容器安放了实施通信方法P100的设备10。很显然,这样的步骤123还取决于记录RH的存在(图5的步骤122),所述记录RH包括作为头端起作用的节点或设备的标识的IDHc值(图3中通过连接122-y符号表示的情形)。根据所述记录RH包括直接上行路由Ru、即在记录RH中仅仅存在头端的标识值,或者包括间接上行路由、即所述记录RH此外包括中继器成员的标识的值,消息MS被直接传输到所述头端或所述中继器成员。To transmit service messages originating from member nodes or nodes admitted to membership, method P100 further includes a process 120, which is triggered, as non-limiting examples, upon receipt of a service message transmitted by a third device or in response to environmental measurements taken by the device. In the record RH recorded in data storage 12, the identification pair of the cluster head (headend) and a cluster member device constitutes the routing information necessary for the headend to relay the service message MS to its destination. In practice, such process 120 includes a step 123 for transmitting the service message MS to the destination device acting as the headend for the determined service S. Such a step 123 is performed after a prior step, for example, for collecting measurements from sensors 15 related to the temperature prevailing in the container against which the device 10 implementing communication method P100 is positioned. Obviously, such a step 123 also depends on the presence of a record RH (step 122 in FIG. 5 ), which includes the IDHc value of the identification of the node or device acting as the headend (a situation indicated in FIG. 3 by the symbol 122-y). Depending on whether the record RH includes a direct upstream route Ru, ie only the identification value of the head end is present in the record RH, or an indirect upstream route, ie the record RH also includes the identification value of a repeater member, the message MS is transmitted directly to the head end or the repeater member.

如先前提及的,服务消息MS的这样的发射123还可以通过对发源于相同集群的成员并且被寻址到设备10的服务消息MS的接收121从而被触发,所述设备10实施所述加入方法P100并且作为中继器成员起作用。在发源于相同集群的成员的这样的服务消息的接收之后,步骤121可以因此包括一个步骤,其用于接收并且解码这样的消息MS、甚至用于在数据存储器12中暂时记录在经解码的所述服务消息MS中所包含的数据。所述消息MS的中继可以因此通过不同的时间上的重发射来体现。As previously mentioned, such transmission 123 of a service message MS can also be triggered by the reception 121 of a service message MS originating from a member of the same cluster and addressed to a device 10 implementing the joining method P100 and acting as a repeater member. Following the reception of such a service message MS originating from a member of the same cluster, step 121 can thus include a step for receiving and decoding such a message MS, and even for temporarily recording the data contained in the decoded service message MS in the data memory 12. The relaying of the message MS can thus be represented by retransmission at different times.

根据本发明的通信方法P100此外包括处理130,所述处理130用于利用诸如先前提及的、发射自头端的拆毁集群的消息MR,和/或用于解释从通过适当能力CR或通过源自已经发射了根据本发明的招入消息MH的头端的集群深度缩减要求的严格应用而不再处于确保其中继功能的情形的成员所发射的中继结束消息MF。根据本发明的通信方法P100的这样的处理130包括第一步骤131,用于接收由第三电子通信设备、例如设备10i制作并且发射的拆毁集群的消息MR或中继结束消息MF,所述第三电子通信设备先前已经具备作为头端或中继器成员起作用的资格。The communication method P100 according to the invention further comprises a process 130 for utilizing a cluster teardown message MR, such as the one previously mentioned, transmitted from the headend, and/or for interpreting a relay end message MF transmitted from a member that is no longer in a situation where its relay functionality is guaranteed due to appropriate capabilities CR or due to strict application of the cluster depth reduction requirements originating from the headend that has transmitted the recruitment message MH according to the invention. Such a process 130 of the communication method P100 according to the invention comprises a first step 131 for receiving a cluster teardown message MR or a relay end message MF formulated and transmitted by a third electronic communication device, for example the device 10i, which has previously qualified itself to function as a headend or a repeater member.

如先前与步骤114和115相关联地研究的那样,拆毁集群的消息MR包括已经发射了所述拆毁集群的消息MR的设备的标识IDR。处理130于是包括步骤132,用于解码所述拆毁集群的消息MR并且从中推断拆毁集群的消息的发射器设备的所述标识IDR的值。由作为所述拆毁消息所涉及的集群的成员起作用的设备对这样的消息MR的接收意味着放弃集群的严格命令,所述成员复原自由节点的状态。为此,根据本发明的方法P100的处理130有利地包括步骤133,用于更新记录RH,所述记录RH包括作为头端起作用的设备的标识的当前的IDHc值,以便擦除所述当前值或者用对作为头端起作用的设备的标识不存在进行体现的预定值来取代所述当前值。很显然,所述对记录RH的更新133仅仅在(与图5相关联地通过连接134-y符号表示的情形)从拆毁集群的消息MR中推断的标识IDR的值等同于在所述记录RH中所写入的当前的IDHc值的情况下被实现。处理130因此包括步骤134,其在步骤133之前,用于实施标识IDR的值与IDHc的所述比较。As previously discussed in connection with steps 114 and 115, the cluster teardown message MR includes the identifier IDR of the device that transmitted it. Process 130 then includes a step 132 for decoding the cluster teardown message MR and deducing from it the value of the identifier IDR of the device that transmitted it. Receipt of such a message MR by a device that is a member of the cluster to which the teardown message relates signifies the abandonment of the strict mandate of the cluster, with the member reverting to the status of a free node. To this end, process 130 of method P100 according to the present invention advantageously includes a step 133 for updating the record RH containing the current value IDHc of the identifier of the device that is acting as the headend, erasing it or replacing it with a predetermined value that reflects the absence of the identifier of the device that is acting as the headend. Obviously, this updating 133 of the record RH is only performed if (as indicated by the connection 134-y in connection with FIG. 5 ) the value of the identifier IDR deduced from the cluster teardown message MR is equal to the current value IDHc written in the record RH. The process 130 therefore comprises a step 134 , prior to step 133 , for carrying out said comparison of the value of the identifier IDR with IDHc.

在多跳网络的利用的范围中,如同招入消息MH那样,拆毁集群的消息MR可以有利地由通过步骤133的实施而变得自由的成员中继,同时触发因此在拆毁进行中被中继到集群的可能的其它成员目的地的这样的消息MR的发射。Within the scope of the utilization of multi-hop networks, the message MR for tearing down the cluster can advantageously be relayed by the member made free by the implementation of step 133, just like the recruitment message MH, while triggering the transmission of such a message MR which is thus relayed to possible other member destinations of the cluster during the tearing down process.

关于中继结束消息MF,步骤131在于推断所述发射器设备的标识(标记为IDF)并且检测对作为中继结束消息的消息MF进行表征的信息。由作为相同集群的成员而起作用并且属于自消息MF的发射器设备起的下行路由的设备对这样的消息MF的接收体现放弃集群的严格命令,所述成员恢复自由节点状态。步骤133于是在于更新数据存储器12中的记录RH,以用于尤其是擦除当前的IDHc值或通过对作为头端起作用的设备的标识不存在进行体现的预定值来取代所述当前值。很显然,记录RH的所述更新133仅仅在(与图5相关联的通过连接134-y所符号表示的情形)从中继结束消息MF推断的标识IDF的值被包括在所述记录RH中所记入的上行路由Ru的情况中被实现(步骤134)。Regarding the relay end message MF, step 131 involves deducing the identity of the transmitter device (denoted by IDF) and detecting information that characterizes the message MF as a relay end message. Receipt of such a message MF by a device that is a member of the same cluster and that is part of a downstream route from the transmitter device of the message MF represents a strict order to abandon the cluster, resuming free node status. Step 133 then involves updating the record RH in the data memory 12, specifically erasing the current value of IDHc or replacing it with a predetermined value that reflects the absence of the identity of the device acting as the headend. Obviously, this updating 133 of the record RH is only performed (as symbolized by connection 134-y in connection with FIG. 5 ) if the value of the identity IDF deduced from the relay end message MF is included in the upstream route Ru entered in the record RH (step 134).

无论根据本发明的通信方法P100的配置如何,电子通信设备、诸如与图2相关联地描述的实施这样的方法P100的设备10的优选适配模式在于通过程序存储器14记录或下载计算机程序P,所述计算机程序P包括多个程序指令,所述程序指令在它被所述设备10的处理单元11执行或解译的时候引起所述通信方法P100的实施。Regardless of the configuration of the communication method P100 according to the present invention, the preferred adaptation mode of an electronic communication device, such as the device 10 for implementing such a method P100 described in association with Figure 2, consists in recording or downloading a computer program P through a program memory 14, said computer program P comprising a plurality of program instructions which, when executed or interpreted by the processing unit 11 of said device 10, cause the implementation of said communication method P100.

已经通过与物资、固体、流体或液体货物的容器的监测相关联的优选应用示例而描述了本发明,所述容器相应地与电子通信设备协作,所述电子通信设备诸如根据图2的设备10和10i,其实施通信方法,诸如通过图5图示的方法P100,所述设备各自包括传感器15,所述传感器15与处理单元11协作以用于测量和收集与所述容器的内部和/或外部环境相关联的量。The invention has been described by means of a preferred application example associated with the monitoring of containers of goods, solid, fluid or liquid, said containers correspondingly cooperating with electronic communication devices, such as the devices 10 and 10i according to FIG. 2 , which implement a communication method, such as the method P100 illustrated by FIG. 5 , said devices each comprising a sensor 15 cooperating with a processing unit 11 for measuring and collecting quantities associated with the internal and/or external environment of said container.

这样的设备可以被用于与目标在于沿着长距离链路发射所收集的数据的应用不同的任何其它应用。它们还可以作为变型或作为补充确保一个或多个其它服务。为此,如我们先前已经提及的,每个设备10、10i的数据存储器12可以包括不仅是专用于所确定的服务S的单个记录RH,而且还包括多个记录RHn,其形成例如表,分别专用于特定服务Sn。招入消息MH或MH'、服务消息MS、甚至拆毁集群的消息MR或中继结束消息MF根据该变型将包括使得能够标识通过所述消息中的每一个所确定和涉及的服务Sn的信息。Such devices can be used for any other application than that aimed at transmitting the collected data along long-distance links. As a variant or in addition, they can also ensure one or more other services. To this end, as we have already mentioned, the data memory 12 of each device 10, 10i can include not only a single record RH dedicated to the determined service S, but also a plurality of records RHn, forming, for example, a table, each dedicated to a specific service Sn. According to this variant, the recruitment message MH or MH', the service message MS, and even the message MR for tearing down the cluster or the relay end message MF will include information making it possible to identify the service Sn determined and involved by each of the said messages.

此外,本发明因此涉及包括根据本发明的多个电子通信设备的任何系统。更特别地,本发明涉及用于存储场地或运输平台上的容器的可追踪性的任何系统,所述系统此外包括远程实体,用于收集和利用当所述设备作为头端起作用时从所述设备中的一个或多个发射的消息MC。这样的系统呈现在以下方面的性能:能量自主、鲁棒性以及对于不均等且相对于通过已知解决方案、作为示例诸如LEACH方法所给予的条件没有可能相比的利用条件的可适应性。事实上,凭借本发明,头端的利用、从其选定直到所确定的服务所涉及的一个或多个动作的实现是最优的,防止了在网络中或向第三实体目的地的多余或无效的任何通信。Furthermore, the present invention relates to any system comprising a plurality of electronic communication devices according to the present invention. More particularly, the present invention relates to any system for the traceability of containers on storage sites or transport platforms, said system also comprising a remote entity for collecting and utilizing messages MC transmitted from one or more of said devices when said devices function as headends. Such a system exhibits performance characteristics in terms of energy autonomy, robustness, and adaptability to utilization conditions that are unequal and incomparable to those imposed by known solutions, such as the LEACH method, for example. Indeed, thanks to the present invention, the utilization of the headend, from its selection to the implementation of one or more actions involved in the determined service, is optimized, preventing any unnecessary or ineffective communications within the network or to third-party destinations.

Claims (15)

1.一种包括多个电子通信设备(10、10i、a1、…、a8、b1、…、b8、…、e1、…、e8)的网络(N1)中的通信方法(P100),所述方法(P100)通过网络(N1)中的所述电子通信设备之中的第一电子通信设备(10)的处理单元(11)来实施,所述第一电子通信设备除了所述处理单元(11)之外还包括数据存储器(12)、第一通信装置(13),所述第一通信装置(13)确保与位于通信范围中的网络(N1)的第三电子通信设备(10i)的无线邻近通信,所述数据存储器(12)和所述第一通信装置(13)与所述处理单元(11)协作,数据存储器(12)包括专用于所述第一电子通信设备(10)的标识的值以及用于存储作为集群头起作用的第二电子通信设备(d2)的标识的当前值IDHc的记录,所述方法(P100)包括:1. A communication method (P100) in a network (N1) comprising multiple electronic communication devices (10, 10i, a1, ..., a8, b1, ..., b8, ..., e1, ..., e8), the method (P100) being implemented by a processing unit (11) of a first electronic communication device (10) in the network (N1), the first electronic communication device including, in addition to the processing unit (11), a data storage (12) and a first communication device (13), the first communication device (13) ensuring wireless proximity communication with a third electronic communication device (10i) of the network (N1) located within the communication range, the data storage (12) and the first communication device (13) cooperating with the processing unit (11), the data storage (12) including a value dedicated to the identifier of the first electronic communication device (10) and a record for storing the current value IDHc of the identifier of a second electronic communication device (d2) acting as a cluster head, the method (P100) comprising: -步骤(101),用于经由第一通信装置(13)接收由网络(N1)中的第三电子通信设备(10i)制作和发射的招入消息,所述招入消息编码了作为集群头起作用的第二电子通信设备(d2)的标识;- Step (101) is used to receive, via a first communication device (13) an invitation message created and transmitted by a third electronic communication device (10i) in the network (N1), the invitation message encoding an identifier of a second electronic communication device (d2) acting as a cluster head; -步骤(102),用于解码所述招入消息并且从中推断作为集群头起作用的第二电子通信设备(d2)的所述标识的值以及在适当情况中已经中继了所述招入消息的第三电子通信设备(10i)的标识的值;- Step (102) is used to decode the recruitment message and infer from it the value of the identifier of the second electronic communication device (d2) acting as the cluster head and the value of the identifier of the third electronic communication device (10i) that has relayed the recruitment message in the appropriate case; -步骤(103),用于更新记录以使得所述记录把从经解码的招入消息中推断的作为集群头起作用的第二电子通信设备的标识的所述值存储为作为集群头起作用的设备的标识的当前值IDHc、以及在适当情况中所述记录此外把第三电子通信设备(10i)的标识的值存储为朝向作为集群头起作用的所述第二电子通信设备(d2)的上行路由Ru;- Step (103) is used to update the record such that the record stores the value of the identifier of the second electronic communication device acting as the cluster head, inferred from the decoded inbound message, as the current value IDHc of the identifier of the device acting as the cluster head, and, where appropriate, the record further stores the value of the identifier of the third electronic communication device (10i) as the uplink route Ru toward the second electronic communication device (d2) acting as the cluster head; 所述方法(P100)的特征在于:The method (P100) is characterized by: -所述招入消息此外编码TTL数据,所述TTL数据体现接收所述招入消息的电子通信设备能够中继该招入消息的能力;- The recruitment message is further encoded with TTL data, which reflects the ability of the electronic communication device receiving the recruitment message to relay the recruitment message; -用于解码所述招入消息、此外从中推断所述TTL数据的值的步骤(102);- Step (102) for decoding the recruitment message and further inferring the value of the TTL data therefrom; -用于更新记录的所述步骤(103)被适配为所述记录存储被预先递减少了一个单位的所述TTL数据的当前值;- The step (103) for updating the record is adapted to store the current value of the TTL data that has been pre-decreased by one unit; 并且特征在于所述方法(P100)包括:And the method (P100) is characterized in that it includes: -用于制作被中继的招入消息的步骤,所述消息包括:- A step for creating a relayed recruitment message, the message including: ·第一字段MH-1,其编码了记录中所记入的作为集群头起作用的第二电子通信设备(d2)的标识的当前值IDHc;• The first field MH-1 encodes the current value IDHc of the identifier of the second electronic communication device (d2) that acts as the cluster header recorded in the record; ·第二字段MH-2,其表征了朝向作为集群头起作用的第二电子通信设备的上行路由Ru,并且编码了第一电子通信设备(10)的标识;• The second field MH-2 represents the uplink route Ru toward the second electronic communication device that acts as the cluster head, and encodes the identifier of the first electronic communication device (10); ·第三字段MH-4,其编码了记录中所记入的TTL数据的当前值;• The third field, MH-4, encodes the current value of the TTL data recorded in the record; -步骤(106),用于如果在于比较记录中所记入的TTL数据的当前值与所确定的底值的预先步骤(109)证明了所述的TTL的当前值严格大于所述底值则触发通过第一通信装置(13)发射所述被中继消息。- Step (106) is used to trigger the transmission of the relayed message through the first communication device (13) if the current value of the TTL data recorded in the comparison record is proved by the preliminary step (109) of the determined base value to be strictly greater than the base value. 2.根据权利要求1所述的通信方法(P100),对其而言:2. The communication method (P100) according to claim 1, wherein: -所接收的招入消息包括如下的数据CH:所述数据CH体现作为集群头起作用的第二电子通信设备能够确保给定服务的能力;- The received recruitment message includes the following data CH: the data CH reflects the ability of the second electronic communication device, which acts as the cluster head, to ensure a given service; -用于解码所述招入消息的所述步骤(102)此外从所述招入消息中推断体现所述能力的所述数据CH;- The step (102) for decoding the recruitment message further infers the data CH embodying the capability from the recruitment message; -用于更新记录的所述步骤(103)此外在于在所述记录中记入对作为集群头起作用的第二电子通信设备(d2)的能力进行体现的所述数据CH的值CHc。- The step (103) for updating the record further includes recording in the record the value CHc of the data CH, which embodies the capability of the second electronic communication device (d2) acting as the cluster head. 3.根据权利要求2所述的通信方法(P100),对其而言,用于更新记录并且在其中记入作为集群头起作用的电子通信设备的标识的当前值IDHc的所述步骤(103)仅仅在体现所述能力的数据CH大于或等于所确定的要求的最小阈值的情况下被实现。3. The communication method (P100) according to claim 2, wherein step (103) for updating the record and recording therein the current value IDHc of the identifier of the electronic communication device acting as the cluster head is implemented only if the data CH embodying the capability is greater than or equal to the determined minimum threshold requirement. 4.根据权利要求1至3中任一项所述的通信方法(P100),包括:4. The communication method (P100) according to any one of claims 1 to 3, comprising: -步骤(131),用于接收由第三电子通信设备(10i)制定和发射的中继结束消息MF,所述中继结束消息MF包括所述第三电子通信设备(10i)的标识;- Step (131) is used to receive a relay termination message MF formulated and transmitted by a third electronic communication device (10i), the relay termination message MF including the identifier of the third electronic communication device (10i); -用于解码所述中继结束消息MF并且用于从中推断所述标识的值的步骤;- Steps for decoding the relay termination message MF and for inferring the value of the identifier from it; -步骤(133),用于对包括作为集群头起作用的设备的标识的当前值IDHc的记录进行更新以用于擦除所述当前值IDHc或者通过体现作为集群头起作用的设备的标识不存在的预定值来取代所述当前值,所述对记录的更新仅仅在从中继结束消息MF中推断的标识的值被包括在记录中作为朝向作为集群头起作用的所述第二电子通信设备(d2)的上行路由Ru的情况下被实现。- Step (133) is used to update the record containing the current value IDHc of the identifier of the device acting as the cluster head, either to erase the current value IDHc or to replace the current value by a predetermined value reflecting the absence of the identifier of the device acting as the cluster head. The update of the record is only performed if the value of the identifier inferred from the relay end message MF is included in the record as an uplink route Ru toward the second electronic communication device (d2) acting as the cluster head. 5.根据权利要求1至3中任一项所述的通信方法(P100),对其而言:5. The communication method (P100) according to any one of claims 1 to 3, wherein: -在于比较记录中所记入的TTL数据的当前值与所确定的底值的所述预先步骤(109)此外在于根据所述设备的功能参数而产生对电子通信设备有益而中继消息的能力CR,所述电子通信设备属于自第一电子通信设备(10)起的下行路由,并且在于比较所产生的所述能力CR与预定的最小功能阈值;-The preliminary step (109) involves comparing the current value of the TTL data recorded in the record with the determined base value. In addition, it involves generating a relay capability CR that is beneficial to the electronic communication device based on the functional parameters of the device, the electronic communication device belonging to the downlink route from the first electronic communication device (10), and comparing the generated capability CR with a predetermined minimum functional threshold. -用于触发通过第一通信装置(13)对所述被中继的消息的发射的步骤(106)仅仅在所产生的所述能力CR严格大于所述预定的最小功能阈值的情况下被实施。- The step (106) for triggering the transmission of the relayed message via the first communication device (13) is performed only if the generated capability CR is strictly greater than the predetermined minimum functional threshold. 6.根据权利要求1至3中任一项所述的通信方法(P100),对其而言,用于在招入消息的解码之后更新记录的步骤(103)此外在于与记录的更新并发地触发用于测量持续时间的装置,所述通信方法(P100)包括如下的步骤(107):所述步骤用于比较所述持续时间与预定的最大等待时段并且用于更新所述记录并且擦除作为集群头起作用的电子通信设备的标识的当前值IDHc或者用一个预定值来取代它,所述预定值体现了不存在作为集群头而起作用的电子通信设备的标识。6. The communication method (P100) according to any one of claims 1 to 3, wherein the step (103) for updating the record after the decoding of the incoming message further comprises, concurrently with the update of the record, triggering a means for measuring the duration, the communication method (P100) comprising the step (107) of comparing the duration with a predetermined maximum waiting period and for updating the record and erasing the current value IDHc of the identifier of the electronic communication device acting as a cluster head or replacing it with a predetermined value, the predetermined value reflecting the absence of an identifier of the electronic communication device acting as a cluster head. 7.根据权利要求1所述的通信方法(P100),对其而言:7. The communication method (P100) according to claim 1, wherein: -招入消息包括编码了TTL-e数据的字段MH-5和编码了DST数据的字段MH-6,所述TTL-e数据表征由作为集群头起作用的第二电子通信设备(d2)所希望的集群的最大深度,所述DST数据表征将所述招入消息的发射器电子通信设备在下行路由上与作为集群头起作用的第二电子通信设备(d2)分隔开的距离;- The recruitment message includes a field MH-5 encoding TTL-e data and a field MH-6 encoding DST data, wherein the TTL-e data represents the maximum depth of the cluster desired by the second electronic communication device (d2) acting as the cluster head, and the DST data represents the distance that separates the transmitter electronic communication device of the recruitment message from the second electronic communication device (d2) acting as the cluster head in the downlink route. -用于解码所述招入消息的所述步骤(102)从中推断所述TTL-e和DST数据的值;- Step (102) used to decode the recruitment message infers the values of the TTL-e and DST data from it; -用于更新记录的所述步骤(103)被适配为所述记录存储TTL-e数据的值以及被预先递增一个单位的DST数据的值;- The step (103) for updating the record is adapted to store the value of TTL-e data and the value of DST data that is pre-incremented by one unit; 所述方法(P100)此外包括如下的步骤(107):所述步骤用于比较记录中所记入的所述的TTL-e和DST的值并且用于更新所述记录并且擦除作为集群头起作用的电子通信设备的标识的当前值IDHc或者用预定的值来取代它,所述预定的值体现了不存在作为集群头起作用的设备的标识。The method (P100) further includes the following step (107): the step is used to compare the values of TTL-e and DST recorded in the record and to update the record and erase the current value IDHc of the identifier of the electronic communication device that acts as the cluster head or replace it with a predetermined value, the predetermined value reflecting the absence of an identifier of a device that acts as the cluster head. 8.根据权利要求1所述的通信方法(P100),包括:8. The communication method (P100) according to claim 1, comprising: -用于根据第一电子通信设备(10)的运转参数来确定其中所述第一电子通信设备(10)希望作为集群头的集群的最大深度Dp的步骤;-A step for determining the maximum depth Dp of the cluster that the first electronic communication device (10) wishes to serve as the cluster head, based on the operating parameters of the first electronic communication device (10); -用于编码招入消息并且触发由第一通信装置(13)发射所述消息的步骤(113),所述消息包括第一字段MH-1和第二字段MH-2,所述第一字段MH-1编码了所述第一电子通信设备的标识,所述第二字段MH-2编码了TTL数据,所述TTL数据的值被初始化为所产生的集群的最大深度的值。- Step (113) for encoding an admission message and triggering the transmission of the message by the first communication device (13), the message including a first field MH-1 and a second field MH-2, the first field MH-1 encoding the identifier of the first electronic communication device, the second field MH-2 encoding TTL data, the value of the TTL data being initialized to the maximum depth of the generated cluster. 9.根据权利要求7所述的通信方法(P100),包括:9. The communication method (P100) according to claim 7, comprising: -用于根据第一电子通信设备(10)的运转参数来确定其中所述第一电子通信设备(10)希望作为集群头的集群的最大深度Dp的步骤;-A step for determining the maximum depth Dp of the cluster that the first electronic communication device (10) wishes to serve as the cluster head, based on the operating parameters of the first electronic communication device (10); -用于编码招入消息并且触发由第一通信装置(13)来发射所述消息的步骤(113),所述消息包括分别编码了以下各项的字段MH-1、MH-4、MH-5、MH-6:- Step (113) for encoding an admission message and triggering the transmission of the message by the first communication device (13), the message including fields MH-1, MH-4, MH-5, MH-6 respectively encoded as follows: a.所述设备的标识;a. The identification of the device; b.其值被记入在记录中的TTL数据;b. Its value is recorded as TTL data in the record; c.其值被初始化为所确定的集群的最大深度Dp的值的TTL-e数据;c. Its value is initialized to the TTL-e data of the maximum depth Dp of the determined cluster; d.其值被初始化为指示跳数为零的距离的值的DST数据。d. Its value is initialized to the DST data indicating the distance with zero hop count. 10.根据权利要求8或9所述的通信方法(P100),包括用于评估第一电子通信设备(10)承担所确定的服务的能力的步骤(111),所述步骤(111)在于估计(1111)所述设备(10)的运转参数并且在于产生(1112)数据CH,所述数据CH体现所述设备(10)能够确保所述所确定的服务的能力,并且对其而言,用于编码招入消息的步骤在于在所述招入消息中预备如下的字段MH-3:所述字段MH-3编码了对在触发由第一通信装置(13)发射(113)所述消息之前的所述能力进行体现的所述数据CH。10. The communication method (P100) according to claim 8 or 9, comprising a step (111) for evaluating the capability of a first electronic communication device (10) to undertake a determined service, the step (111) being to estimate (1111) the operating parameters of the device (10) and to generate (1112) data CH, the data CH reflecting the capability of the device (10) to ensure the determined service, and for this purpose, the step for encoding an invitation message is to prepare a field MH-3 in the invitation message that encodes the data CH reflecting the capability prior to triggering the transmission (113) of the message by the first communication device (13). 11.根据权利要求10所述的通信方法(P100),包括用于比较对所述能力进行体现的数据CH与要求的最小功能阈值的步骤(112),并且对其而言,仅仅在体现所述能力的数据大于或等于所述要求的最小功能阈值的情况下实施用于触发招入消息的发射的步骤(113)。11. The communication method according to claim 10 (P100) includes a step (112) for comparing data CH representing the capability with a required minimum functional threshold, and wherein the step (113) for triggering the transmission of an admission message is performed only if the data representing the capability is greater than or equal to the required minimum functional threshold. 12.一种用于包括程序指令的计算机程序的存储介质,所述程序指令在其经历以下各项的时候促使实施根据权利要求1至11中任一项所述的通信方法(P100):12. A storage medium for a computer program including program instructions, said program instructions causing execution of the communication method (P100) according to any one of claims 1 to 11 upon experiencing any of the following: -被预先记录在电子通信设备的程序存储器(14)中,所述电子通信设备此外包括处理单元(11)、确保与位于通信范围中的任何其它电子设备的无线邻近通信的第一通信装置(13)、记录专用于所述设备的标识的值以及用于包括作为集群头起作用的设备的标识的当前值的记录的数据存储器(12),所述存储器(12、14)以及所述第一通信装置(13)与所述处理单元(11)协作;- Pre-recorded in the program memory (14) of the electronic communication device, which further includes a processing unit (11), a first communication device (13) for ensuring wireless proximity communication with any other electronic device within the communication range, and a data memory (12) for recording values dedicated to the identifier of the device and records including the current value of the identifier of the device acting as a cluster head, the memory (12, 14) and the first communication device (13) cooperating with the processing unit (11); -被所述处理单元(11)执行或解译。-Executed or interpreted by the processing unit (11). 13.一种电子通信设备,其包括处理单元(11)、数据存储器(12)、程序存储器(14)、确保与位于通信范围中的任何其它电子通信设备的无线邻近通信的第一通信装置(13),所述存储器(12、14)和所述第一通信装置(13)与所述处理单元(11)协作,所述数据存储器(12)包括专用于电子通信设备的标识的值以及用于包括作为集群头起作用的设备的标识的当前值的记录,所述电子通信设备的特征在于它在程序存储器(14)中包括根据权利要求12所述的用于计算机程序的存储介质的指令。13. An electronic communication device comprising a processing unit (11), a data memory (12), a program memory (14), and a first communication device (13) for ensuring wireless proximity communication with any other electronic communication device within communication range, the memory (12, 14) and the first communication device (13) cooperating with the processing unit (11), the data memory (12) including values dedicated to the identification of the electronic communication device and records for including current values of the identification of the device acting as a cluster head, the electronic communication device being characterized in that it includes instructions for a storage medium for a computer program according to claim 12 in the program memory (14). 14.一种系统,其包括多个根据权利要求13所述的电子通信设备。14. A system comprising a plurality of electronic communication devices according to claim 13. 15.根据权利要求14所述的系统,其包括用于物资、固体、流体或液体货物的多个容器,所述容器相应地与电子通信设备协作,这些电子通信设备各自包括传感器(15),所述传感器(15)与处理单元(11)协作以用于测量和收集与所述容器的内部和/或外部环境相关联的量。15. The system of claim 14, comprising a plurality of containers for materials, solid, fluid or liquid cargo, the containers correspondingly cooperating with electronic communication devices, each of which includes a sensor (15) cooperating with a processing unit (11) for measuring and collecting quantities associated with the internal and/or external environment of the containers.
HK18106489.5A 2015-03-25 2016-03-24 Communication method within a dynamic-depth cluster of communicating electronic devices, communicating electronic device and system HK1247024B (en)

Applications Claiming Priority (3)

Application Number Priority Date Filing Date Title
FR1552522 2015-03-25
FR1552522A FR3034280B1 (en) 2015-03-25 2015-03-25 METHOD FOR COMMUNICATING IN A DYNAMIC DEPTH CLUSTER OF COMMUNICATING ELECTRONIC DEVICES, ELECTRONIC DEVICE USING SAID METHOD AND SYSTEM THEREOF
PCT/FR2016/050670 WO2016151259A1 (en) 2015-03-25 2016-03-24 Communication method within a dynamic-depth cluster of communicating electronic devices, communicating electronic device implementing said method and associated system

Publications (2)

Publication Number Publication Date
HK1247024A1 HK1247024A1 (en) 2018-09-14
HK1247024B true HK1247024B (en) 2022-04-01

Family

ID=

Similar Documents

Publication Publication Date Title
CN107005785B (en) Method for joining a cluster of electronic devices communicating via a wireless network, electronic devices implementing the method, and associated systems
KR101976533B1 (en) Method for affiliating a cluster of electronic devices communicating via a wireless network, associated electronic device implementing said method and system
Malandrino et al. Content download in vehicular networks in presence of noisy mobility prediction
US9621411B2 (en) Relaying information for an unreliably heard utility node
US10313956B2 (en) Communication method within a dynamic-depth cluster of communicating electronic devices, communicating electronic device implementing said method and associated system
Chatterjee et al. STACRP: a secure trusted auction oriented clustering based routing protocol for MANET
Raju et al. DMITS: Dependency and mobility-aware intelligent task scheduling in socially-enabled VFC based on federated DRL approach
Pandey et al. Energy conservation and efficient data collection in WSN-ME: a survey
HK1247024B (en) Communication method within a dynamic-depth cluster of communicating electronic devices, communicating electronic device and system
JP6626606B2 (en) Communication device, communication method, and communication program
Sahana et al. Certificate revocation schemes for providing secure QoS in MANETs
Kaushik et al. Modspirite: a credit based solution to enforce node cooperation in an ad-hoc network
HK1238850B (en) Method for joining a cluster of electronic devices communicating via a wireless network, associated electronic device implementing said method and system
Deva Priya et al. Enhanced spectrum aggregation based frequency‐band selection routing protocol for cognitive radio ad‐hoc networks
HK1238467B (en) Method for affiliating a cluster of electronic devices communicating via a wireless network, associated electronic device implementing said method and system
Alhosainy et al. Robustness, stability, and gains of utility maximization algorithms for mobile ad hoc networks
Radhika et al. Improved data dissemination using intelligent stimulus mechanisms in IoT network
Gómez-delaHiz et al. Low latency and energy efficient algorithm for the deployment of IoT applications in rural areas making use of UAV networks
Zheng et al. Data Dissemination and Remote Control in Wireless Sensor Networks
HK1238467A1 (en) Method for affiliating a cluster of electronic devices communicating via a wireless network, associated electronic device implementing said method and system
HK1238850A1 (en) Method for joining a cluster of electronic devices communicating via a wireless network, associated electronic device implementing said method and system
Al-Turjman Cognitive Routing Protocol for Disaster-Inspired WSNs in the Internet of Things 1
Alrashedi et al. Optimizing Network Performance in Mobile Data Offloading Using Cooperative IEEE 802.11 MAC Protocol and Deep Reinforcement Learning