Process of rotation of data received from um first network equipment em um second network equipment of uma dice network, device for rotation of dice received from um first network equipment em um second network equipment, residential gateway, and registration support dadosgateway residential, dados registration support
The method and device for routing data using link aggregation engines in network devices detect upstream aggregation to prevent loops, addressing the inefficiencies of existing protocols and enhancing network reliability and efficiency.
Patent Information
- Application Number
- BR112020007602
- Authority / Receiving Office
- BR · BR
- Patent Type
- Patents
- Current Assignee / Owner
- Publication Date
- 2026-11-17
AI Technical Summary
The creation of loops in network connections when both client and destination network devices implement link aggregation technologies, leading to latency, packet loss, and unnecessary Wi-Fi load, is not adequately addressed by existing protocols like STP, LACO, OSPF, IS-IS, BGP, EIGRP, DSDV, and Babel, particularly in the context of hybrid path selection.
A method and device for routing data between network devices that utilize link aggregation engines to detect if data has already undergone aggregation upstream, and select output links accordingly to prevent loop formation by using the same aggregation rules across devices, including methods for detecting markers such as TCP multipath TCP options, GRE protocol fields, or specific identifiers.
Significantly reduces the risk of loop formation and associated latency and overhead by ensuring devices with link aggregation use consistent aggregation rules, enhancing network efficiency and reliability.
Smart Images

Figure 00000035_0000 
Figure 00000035_0001 
Figure 00000036_0000
Abstract
Description
1 / 28 The process of routing data received from a first network device to a second network device in a data network; a device for routing data received from a first network device to a second network device; a residential gateway; and data logging support. Technical Field
[001] The present invention relates generally to data routing in a residential gateway that uses link aggregation, to establish a single multi-way connection between two computer equipment or computer network equipment.
[002] The invention relates more particularly to a method of routing data, as well as to a device and an associated computer program product, for use in the residential gateway using link aggregation.
[003] The invention finds applications, in particular, in residential equipment that connects computer networks to the Internet. Background of the invention
[004] Link aggregation (also called bonding) is a technique used in computer networks, such as Ethernet networks, for routing IPv4 (Internet Protocol version 4) or IPv6 (Internet Protocol version 6) packets, for example. It can be defined as the aggregation of multiple network interfaces into a single logical output interface to increase bandwidth and provide redundancy for a connection between two specific devices. For example, it can be used to increase the throughput of a TCP (Transmission Control Protocol) connection in a wide area network (WAN), as opposed to a local area network (LAN). Petition 870260068900, dated 07 / 13 / 2026, page 8 / 84 2 / 28
[005] In IP (Internet Protocol) networks, it is frequently created between Ethernet switch ports on the Internet network, or between Ethernet cards of computers running Linux, Unix, or Windows. In this context, it allows the regrouping of several network ports and their use as if they were a single port. It addresses two problems in networks, namely: the bandwidth limitation between two devices, on the one hand, and the lack of link redundancy, on the other. Link aggregation allows, in fact, increasing the throughput beyond the limits of a single link, and eventually allowing other ports to receive retransmission if one link fails. However, aggregation is a general concept that can be implemented in each of the three lower layers of the OSI (Open Systems Interconnection) model.
[006] In the context of the present invention, the aggregation of different links allows increasing the throughput of a residential gateway by simultaneously utilizing the capabilities of a plurality of DSL (Digital Subscriber Line) links, respectively associated with a plurality of residential equipment and via which each residential gateway can communicate with the Internet. The aggregation utilizes other links established between the residential equipment. Typically, the DSL links to the Internet are established through an Ethernet interface of the residential gateway, and a link with another residential gateway is established, for example, by a WiFi interface (IEEE 802.11 or ISO / IEC 8802-11 standards, although these examples are not exclusive).
[007] A residential gateway or CPE (Customer Premises Equipment) is a terminal physical equipment located at a customer's (individual or business) premises, connected on one side to a local LAN loop and on the other side to an Internet access provider's (IAP) infrastructure. Petition 870260068900, dated 07 / 13 / 2026, p. 9 / 84 3 / 28 A point of presence or POP (from the English Point of Presence). It is the client-side terminal equipment used to connect to the Internet network. This equipment is also commonly called a box. State of the art
[008] Link aggregation is, in itself, a known and widely used technique. Numerous technologies allow its implementation, such as the set of extensions to the TCP specification known as Multipath TCP or MPTCP, or generic routing encapsulation or GRE (General Routing Encapsulation). The underlying idea of link aggregation as it is implemented, for example, in the MPTCP protocol defined in the IETF RFC 6824 standard, is to establish a link between a source host and a destination host, and no longer between two interfaces as is the case in the standard TCP transmission control protocol.
[009] The MPTCP is a known effort of the working group of The IETF (Internet Engineering Task Force) aims to allow TCP to utilize multiple access paths to maximize resource utilization and increase redundancy, while remaining compatible with current Internet equipment (firewall, NAT, etc.). A client can rely on this protocol to connect to the same destination host via multiple connections on different network adapters, thus creating reliable and efficient data connections between the source host and the destination host, interacting with existing network infrastructures. MPTCP therefore allows establishing and using a single TCP connection across multiple network interfaces. A typical use case is downloading 4G (or LTE, Long Term Evolution, the global standard for fourth-generation wireless services) networks via Wi-Fi, allowing the use of a public Wi-Fi hotspot when the terminal is within range. Petition 870260068900, dated 07 / 13 / 2026, page 10 / 84 4 / 28 of that terminal's radio bandwidth, and to transparently forward it exclusively to the 4G network as soon as the terminal is out of range. Another application is the transparent porting of multiple links (for example, two Ethernet cables) to a server.
[0010] The interest of MPTCP is, in fact, to be completely transparent to applications. Unlike Ethernet channel bonding that uses link aggregation according to the IEEE 802.3ad LACP (Link Aggregation Control Protocol), for example, Multipath TCP can balance a single TCP connection across multiple interfaces. It is not enough to have one implementation at a time on the client and server sides for this to be possible. In January 2013, the IETF published the Multipath TCP specifications as an experimental standard in RFC 6824.
[0011] Regarding GRE, it is an Internet tunneling protocol that allows encapsulating any network layer packet. The source packet is the useful information (payload) of the final packet. For example, tunnel servers that encrypt data can use GRE across the Internet to secure virtual private networks. The GRE protocol corresponds to code 47 in the protocol field in the IP header block of an IPv4 packet, or the next header field in the last header block of an IPv6 packet.
[0012] All these technologies require an aggregation point located in the center of the network in order to reconstruct the data flow on the network from the sub-flows received respectively from each of the aggregated links.
[0013] A new application of the link aggregation concept, currently under study, would consist of using the public Wi-Fi hotspot of another CPE from the same access provider, which is within radio range, to add a supplementary WAN link readable to the aggregation on a given CPE. In order to increase its throughput, Petition 870260068900, dated 07 / 13 / 2026, page 11 / 84 5 / 28 This CPE could transfer its Wi-Fi upstream from the station, connect to the public Wi-Fi of another CPE within range, and thus take advantage of the latter's bandwidth. And this while continuing to broadcast its own access point to the public Wi-Fi.
[0014] However, a problem may arise, which is the creation of a loop if both CPEs implement this technology.
[0015] For example, in order to benefit from the advantages of link aggregation, a first CPE sends a packet to a second CPE via public Wi-Fi. The second CPE is considered the router for the WAN. However, if it also implements link aggregation techniques, and with the application of the link selection algorithm among those devices it runs, it can choose the public Wi-Fi that goes to the first CPE. In this case, the first CPE receives its own packet. This creates a loop, which presents two drawbacks. First, the loop can continue an X number of times, depending on the link selection algorithm executed in each of the CPEs, which introduces latency or even packet loss, as well as unnecessary Wi-Fi load. Second, current MPTCP and GRE technologies attach a header block to each packet to perform bonding, which results in a reduction in MTU (Maximum Transmission Unit) and causes IP fragmentation.Adding unnecessary encapsulation amplifies this problem.
[0016] There are different protocols that allow preventing loops in a network, such as STP (Spanning Tree Protocol) and LACO (Linc Aggregation Control Protocol) at layer 2, or OSPF (Open Shortest Path First), IS-IS (Intermediate System to Intermediate System), BGP (Border Gateway Protocol), EIGRP (Enhanced Interior Gateway Routing Protocol), DSDV (Destination Sequence Distance Vector), and Babel at layer 3. In addition, there are also techniques that allow preventing loops in a network. For example, a bridge never Petition 870260068900, dated 07 / 13 / 2026, page 12 / 84 6 / 28 will retransmit a packet on the interface through which it received it. However, these protocols and techniques do not address the loop establishment problem within the context of hybrid path selection. Summary of the invention
[0017] The invention makes it possible to solve a problem presented by link aggregation or bonding, which is the creation of a loop if both CPEs, client and destination, implement this technology.
[0018] The invention aims to eliminate, or at least mitigate, all or part of the drawbacks of the prior art mentioned above.
[0019] To this end, a first aspect of the invention proposes a method for routing data received from a first network device to a second network device, each of said first and second network devices comprising a link aggregation engine that implements a link aggregation technique and uses the same aggregation rules to select one of at least one first and one second output links that participates in the link aggregation in said network device with: - an outgoing link to the other network equipment; and - at least one additional outgoing link capable of reaching a specific aggregation point in the data network, the procedure comprising the following steps, performed on the second network device: i. reception of data arriving from the first network device; ii. detection of whether the data has already undergone a link aggregation operation on the first network device or upstream, based on markers present in the data; then, iii. selection of an output link from among all the output links of the second network device that participate in the aggregation of Petition 870260068900, dated 07 / 13 / 2026, page 13 / 84 7 / 28 links on said second network equipment if the data has not yet undergone link aggregation, or selection of the output link from among all the output links of the second network equipment that participate in the link aggregation on said second network equipment except the output link to the first network equipment if the data has already undergone link aggregation; and iv. transmission of the data on the selected output link.
[0020] Advantageously, the method according to the invention allows overcoming the problems of the prior art mentioned above.
[0021] Embodiments include using an aggregation engine on the second network device to select the output link of said second network device if said second network device comprises more than one output link other than the output link to the first network device.
[0022] It can also be foreseen, in certain embodiments, that if the second network equipment only comprises a single output link different from the output link to the first network equipment, then the data transmission step comprises transmitting the data directly on said single output link different from the output link to the first network equipment, without using the aggregation engine of the second network equipment.
[0023] When the first network device and the second network device use the MPTCP protocol for link aggregation, detecting whether or not the data has already undergone a link aggregation operation on the first network device or upstream may involve, for example, testing for the presence of the TCP 30 multipath TCP option in the data received on the second network device.
[0024] In compensation, when the first network equipment Petition 870260068900, dated 07 / 13 / 2026, page 14 / 84 8 / 28 and the second network equipment use GRE channels for link aggregation; detecting whether the data has already undergone a link aggregation operation in the first network equipment or upstream involves testing whether the protocol field in the IP header block of an IPv4 data packet or the next header field in the last header block of an IP6 data packet, included in the data received from the first network equipment, is equal to 47.
[0025] In the case of the two embodiments above, detecting whether or not the data has already undergone a link aggregation operation in the first network equipment or upstream may also include a check of the interface through which the data is inserted into the second network equipment to overcome limitations related to the fact that MPTCP or GRE, respectively, may have been used in the first network equipment or upstream in a context other than link aggregation.
[0026] In other embodiments, detecting whether or not the data has already undergone a link aggregation operation at the first network device or upstream may involve comparing the destination IP address of a data packet included in the data received from the first network device with IP addresses contained in a list of respective IP addresses from a plurality of aggregation points or data network.
[0027] In other examples still, detecting whether or not the data has already undergone a link aggregation operation at the first network device or upstream may also involve testing an identifier, known by the second network device, of the first network device and / or of another device upstream of said first network device through which the data passed before reaching the second network device.
[0028] For example, the identifier of the first piece of equipment Petition 870260068900, dated 07 / 13 / 2026, page 15 / 84 9 / 28 network comprises a physical address on the network that is actually on the said first network equipment, and is known to the second network equipment, either statically or because it is communicated to said network equipment by a network management protocol, and the identifier test may then comprise comparison with a range of known physical addresses of the second network equipment.
[0029] In other embodiments, in which data is received from the first network device via an IEEE 802.11 Wi-Fi interface of the second network device, detecting whether or not the data has already undergone a link aggregation operation in the first network device or upstream may also involve testing a specific value in attribute number 26 of a probe request frame.
[0030] Finally, when the second network device acts as a DHCP server in relation to the first network device and the data is received by said second network device via a public Wi-Fi network, detecting whether or not the data has already undergone a link aggregation operation on the first network device may involve testing a DHCP option with a known predefined value from both the first and second network devices, which is entered by the first network device when the data is subject to link aggregation on the first network device.
[0031] In the second aspect, the invention relates to a device for routing data received from a first network equipment to a second network equipment, each of said first and second network equipment comprising a link aggregation engine that performs a link aggregation technique using the same aggregation rules to select one from among the Petition 870260068900, dated 07 / 13 / 2026, page 16 / 84 10 / 28 at least one first and one second outgoing links that participate in link aggregation on said network equipment with: - an outgoing link to the other network equipment; and - at least one more outgoing link capable of reaching a specific aggregation point in the data network, the device comprising, in the second network equipment i. means for receiving data arriving from the first network equipment; ii. means for detecting whether or not the data has already undergone a link aggregation operation at the first network equipment or upstream, based on markers present in the data; iii. means for selecting an output link from among all the output links of the second network equipment that participate in link aggregation on said second network equipment if the data has not yet undergone link aggregation, or selecting the output link from among all the output links of the second network equipment that participate in link aggregation on said second network equipment except the output link to the first network equipment if the data has already undergone link aggregation; and iv. means for transmitting the data over the selected output link.
[0032] In a third aspect, the invention also relates to a residential gateway comprising a device according to the second aspect.
[0033] In a fourth aspect, the invention further relates to a computer program product that can be loaded directly into a computer's internal memory, comprising portions of software code which, when said program is executed by a computer, cause the computer to perform all the steps of the method in accordance with the Petition 870260068900, dated 07 / 13 / 2026, page 17 / 84 11 / 28 first aspect above. More particularly, the computer program product comprises one or more sequences of instructions stored in a memory carrier readable by a machine comprising a processor, said instruction sequences being adapted to perform all the steps of the method according to the first aspect of the invention when the program is read from the memory carrier and executed by the processor.
[0034] A fifth aspect of the invention finally relates to a machine-readable data recording medium comprising a processor (i.e., a computer), comprising the program according to the fourth aspect. Such recording medium may be an optical recording medium such as a CD-ROM or a DVD-ROM, a magnetic recording medium such as a computer hard disk, an electrically readable electronic memory such as an EPROM, an EEPROM, a DRAM memory, a Flash memory, etc. Brief description of the drawings
[0035] Other features and advantages of the invention also result from reading the following description. This is purely illustrative and should be read with reference to the accompanying drawings, in which: Figure 1 is a functional diagram showing an example of a residential gateway implementing the aggregation of two links for communication between a home network and the Internet, for example; Figures 2A-2C illustrate the different paths that data can take between the residential gateway in Figure 1 and the Internet when another residential gateway, also performing link aggregation, can be reached by the data within the scope of link aggregation; Figures 3A-3D are diagrams that illustrate different configurations that could lead to the formation of loops between them. Petition 870260068900, dated 07 / 13 / 2026, page 18 / 84 12 / 28 two or more residential devices, such as the residential gateway in Figure 1; - 4 is a simplified diagram of another example of a residential gateway with more than two links eligible for link aggregation; and Figure 5 is a step diagram illustrating the ways to implement the routing method. Detailed description of the implementation methods.
[0036] In the description of the following embodiments and in the figures of the attached drawings, the same elements or similar elements are given the same reference numbers as in the drawings.
[0037] As proposed in the introduction, different technologies utilize the concept of link aggregation between network equipment (e.g., switches or routers), or between a device (e.g., a computer) and a network, in order to notably increase throughput beyond the limits achieved with a single link. These existing techniques can be implemented in each of the three inner layers of the OSI model.
[0038] For example, there is the aggregation of physical Ethernet links via channel bonding between two routers on a network, which the OSI network layer only sees as a single logical communication channel. Another example is the porting of multiple links (e.g., two Ethernet cables) to connect a computer to a server transparently. In a wireless network, according to another example, a device can combine several frequency bands into a single, more extensive one. Thus, for example, in IEEE 802.11n, an operating mode is defined with a frequency band that extends over 40 MHz. This single channel uses two adjacent 20 MHz bands (i.e., two carriers). The term carrier aggregation is also used. Another example is the aggregation of a Petition 870260068900, dated 07 / 13 / 2026, p. 19 / 84 13 / 28 4G link and a Wi-Fi link within a mobile terminal (mobile phone or tablet, for example). Similarly, within residual equipment (set-top box), the aggregation of a DSL link as an Ethernet link and a radio link as a 3G / 4G link from the subscriber's mobile terminal of these two services is known.
[0039] The aggregation of two DSL links from two residential devices belonging to two subscribers of the same Internet access provider via a Wi-Fi connection established between these two devices, when they are within radio range of each other, can be considered a new connection from the examples above. One use case considered is the situation where two such boxes, respectively installed in two neighboring buildings, for example, two houses, and each having an Ethernet link allowing connection to Internet network servers, are within radio range of each other, so that they can communicate via Wi-Fi. The Ethernet link of one of the subscribers can then be aggregated with that of the neighbor, via the Wi-Fi connection between the two boxes.
[0040] However, in such a context, eventually extended to more than two residential devices within reach of each other, a risk of loop creation was identified if no precautions are taken, as explained in the introduction to this description. Embodiments of the invention provide a solution to eliminate or at least significantly reduce this risk.
[0041] By way of non-limiting example, the following description will be given with reference to a network device that is a residential gateway (i.e., a set-top box). Residential devices today play an important role in connecting home networks to the Internet. The set-top boxes considered here have a corresponding interface for connecting to the corresponding user's home network, namely: a local area network (LAN). They also have a corresponding Petition 870260068900, dated 07 / 13 / 2026, page 20 / 84 14 / 28 or several other interfaces, of which at least one interface is for communication with another similar box, and at least one other interface is for communication with the Internet or any other wide area network (WAN).
[0042] Each interface of the box is bidirectional: it has an input link and an output link. The terms input and output are used here with reference to data exchange from the box's point of view. In the upward data direction (for data transport from LAN to WAN), the input link of the LAN interface and the output link of the WAN interface are used. For downward data transport (from WAN to LAN), it is the reverse: the input link of the WAN interface and the output link of the LAN interface are used.
[0043] In a non-limiting example, an interface has at least one link (an input link or an output link, or both) that is open, that is, freely accessible by third parties. It is through the input and output links of this interface that the box can communicate with a similar box.
[0044] This could notably be a link to a public network, for example, a link to a wireless network.
[0045] Examples of wireless networks include, notably: - public or professional mobile phone networks, such as the public GSM 3G / 4G (LTE) network; - Wireless local area networks (WLANs) such as Wi-Fi (802.11) or hyperLAN 2 (High Performance Radio LAN 2.0); or even: - Wireless personal area networks, also called wireless individual networks or wireless home automation networks, and connected to WPAN (Wireless Personal Area Network), with a short range on the order of a few tens of meters, such as ZigBee (also known as IEEE 802.15.4) or Bluetooth (also known as Bluetooth). Petition 870260068900, dated 07 / 13 / 2026, p. 21 / 84 15 / 28 as IEEE 802.15.1); - etc.
[0046] But it can also be a physical link (branch, for example) freely accessible by third-party equipment, such as a PCL (Courants Porteurs en Ligne = online carrier currents) link in the power supply network of a residence, a building, or even a neighborhood, or other (see, for example, IEEE 1901).
[0047] Similarly, the link between the two boxes is not necessarily a publicly available link in the broad sense. It may be a Wi-Fi link established between two subscribers who decide to share their resources for accessing a network such as the Internet, for example, two neighbors who live on the same street or in the same neighborhood of a city or village, and who exchange access codes for this purpose. Likewise, the link between the two network devices, via Wi-Fi or other means, may be defined by default between two residential devices provided by the same Internet access provider (IAP), which sees this as an opportunity to extend the quality of service (QoS) transparently to each subscriber.
[0048] Preferably, at least one input link and one output link are open links. It is understood that the invention is not limited, however, to these examples and may apply to any other type of equipment with different combinations of interfaces in a number equal to or greater than two, including Ethernet, CPL, WFi, 3G / 4G, etc., provided that they offer respective links to the Internet capable of being aggregated via a link between two devices, to increase the throughput of each device (or of one or at least such devices) when connecting to the Internet or another wide area network (WAN), for example.
[0049] With reference to the diagram in Figure 1, an example of such a residential gateway 10 (CPE) may comprise a first inter Petition 870260068900, dated 07 / 13 / 2026, p. 22 / 84 16 / 28 face Ethernet 11 to communicate with an unrepresented local area network (LAN), a second Ethernet interface 12 to communicate with a wide area network (WAN) such as the Internet 20, and a Wi-Fi interface 13 to communicate wirelessly with other similar equipment. In embodiments, these other Wi-Fi-enabled devices are able to connect to gateway 10 when they are within radio range.
[0050] Gateway 10 uses link aggregation to communicate with a host on network 20, via an aggregation point 21 somewhere on said network. More specifically, link aggregation is used here between the respective Ethernet links 12 of two identical or similar devices using the Wi-Fi link between those two devices. More specifically, box 10 comprises an aggregation engine 15 that receives them. Note that the aggregation point is not systematically the same for the mounting of devices that are likely to participate in the formation of loops.
[0051] In the context of carrying out the data routing method according to the embodiments of the invention, equipment such as gateway 10 shown in Figure 1 can communicate with a host on network 10 directly via the Ethernet interface 12, but also indirectly via an Ethernet interface of another identical or similar network equipment with which it communicates via Wi-Fi.
[0052] The emergence of technologies such as Wi-Fi offers internet users the possibility of transforming their private access point into a public hotspot, or at least sharing it. In fact, each internet user can offer other internet users the possibility of using all or part of the bandwidth to communicate with the Internet via their Wi-Fi network. A private residential gateway can become a Wi-Fi hotspot open to all users present in the radio coverage area. This possibility is currently encouraged. Petition 870260068900, dated 07 / 13 / 2026, page 23 / 84 17 / 28 of this by certain Internet access providers (IAPs) within their customer / subscriber community. They see this as a way to increase the bandwidth available to each of their subscribers by sharing access points among several of them. Residential equipment requires capacities that inexorably swell with the increase in multimedia data traffic, the multiplication of cloud applications, and the increase in access speeds (at times, beyond 100 Mbit / s). This increased complexity translates into a greater occurrence of technical problems, which generates an increase in costs for service providers, particularly with home interventions.
[0053] In this context, the invention proposes a solution to the problem of the risk of loop formation when the aggregated links are links from two network equipment devices (CPEs) that both use link aggregation, with a maximum of two links: - an outgoing link to the other network equipment, such as the L1 outgoing link of interface 13 (Wi-Fi interface) of gateway 10 in Figure 1; and - at least one more outbound link such as the L2 outbound link of interface 12 (WAN interface) of gateway 10 in Figure 1, which is capable of reaching an aggregation point such as aggregation point 21 in Figure 1, in network 20.
[0054] Figures 2A-2C illustrate the different paths that data can follow between a first residential gateway CPE1 and a second residential gateway CPE2 like the one in Figure 1, with both using link aggregation where each has one outgoing link directly to the Internet and another outgoing link to reach the Internet via the other device. For example, this could be the case if the client is on the public Wi-Fi of a residential gateway located in the neighborhood. Petition 870260068900, dated 07 / 13 / 2026, page 24 / 84 18 / 28
[0055] It is this last link that may be at the origin of loops, as will be present now. In fact, if an outgoing link from a device that uses link aggregation is destined for a device that can also aggregate links with a direct link to the Internet and another link that only reaches the Internet indirectly through the source device, then that outgoing link may be at the origin of the creation of loops.
[0056] In figures 2A-2C, the path taken by the data to reach the aggregation point on the Internet is represented by a thick line.
[0057] With reference to the diagram in Figure 2A, the aggregation engine of the CPE1 equipment can decide to use not only the L2 output link, i.e., the output link of the Ethernet WAN interface, to directly reach aggregation point 21 on the Internet 20. In such a case, there is no risk of loop formation.
[0058] In the case of Figure 2B, the aggregation engine of the residential gateway CPE1 decides to use not only the L2 output link, that is, the output link of the Ethernet WAN interface, but also the L1 output link, that is, the link that allows it to directly reach aggregation point 21 on the Internet 20, namely: via the Ethernet link of the other equipment CPE2. In other words, the L1 and L2 output links of the CPE1 equipment are aggregated. In such a case, there is a risk of loop formation. In fact, everything depends on the decision then taken, this time, by the link aggregation engine of the CPE2 equipment. In the example shown, only the L2 output link, that is, the output link of the Ethernet WAN interface, of the CPE2 equipment is used to directly reach aggregation point 21 on the Internet 20 from the CPE2 equipment. In this case, there is no loop formation. The aggregation of these L2 outgoing links from each of the residential CPE1 and CPE2 devices, respectively, works well. Petition 870260068900, dated 07 / 13 / 2026, p. 25 / 84 19 / 28
[0059] But in the case represented by Figure 2C, on the other hand, a loop is formed. In this example, in fact, the aggregation decision taken by the aggregation engine of the CPE1 equipment is the same as in the case presented in Figure 2B and described above. However, the aggregation engine of the CPE2 equipment decides, this time, to use not only the L2 output link, that is, the output link of the Ethernet WAN interface, but also the L1 output link, that is, the link that allows it to indirectly reach the aggregation point 21 on the Internet 20, namely: via the Ethernet link of the CPE1 equipment. Therefore, a loop is formed, since the CPE1 equipment sees the data it sent to the CPE2 equipment returned. The inconveniences associated with this loop exist, regardless of the aggregation decisions taken by the aggregation engines of the CPE1 and CPE2 boxes subsequently.In the worst case, if the same decisions are made N times successively, then the data loops N times between box CPE1 and box CPE2. This results in increased latency and overhead for the transmission of the IP data payload. This overhead can be significant due to the lengthening of the TCP data packet headers (in the case of MPTCP), or due to encapsulation (in the case of GRE).
[0060] The proposed implementation methods make it possible to avoid such a situation from occurring, or at least to substantially limit the risk.
[0061] According to these embodiments, the different network equipment (CEP) implement link aggregation following the same aggregation rules. More particularly, their respective aggregation engines use the same aggregation rules. This is typically the case if the two CPE1 and CPE2 devices are the same product made available to their subscribers by the Internet access provider (IAP) in question.
[0062] When a piece of equipment (CPE) has several other Petition 870260068900, dated 07 / 13 / 2026, p. 26 / 84 20 / 28 similar devices to which it can connect, the CPE can choose one device (or several devices, if possible) to connect to. It would be beyond the scope of this description to explain the criteria used for this purpose. However, a person skilled in the art will know that it is preferable to prioritize the device (or devices) that allows for maximizing bandwidth. The implementation methods apply regardless of the choice made by the aggregation engines.
[0063] Figures 3A-3D are diagrams that illustrate different configurations that may give rise to the formation of loops between two or more residential devices, such as the residential gateway in Figure 1.
[0064] The case in figure 3A corresponds to what was described above in reference to figures 2A-2C. It uses two boxes CPE1 and CPE2.
[0065] In the cases of Figure 3B and Figure 3C, a third box CPE3 is involved. A loop can then be formed between only two boxes, namely: boxes CPE1 and CPE2 as shown in Figure 3B. But a loop can also be formed that includes three boxes CPE1, CPE2, and CPE3, as represented in Figure 3C.
[0066] Finally, in the case of the 3D figure, a loop is formed that includes four boxes, CPE1, CPE2, CPE3 and CPE4. Obviously, other more complex loop formation configurations may exist, depending on the decisions made by the respective aggregation engines of each of these four boxes. The same applies when more boxes are involved.
[0067] The invention as implemented in each of the boxes involved addresses the technical problem associated with the set of configurations mentioned above. For this purpose, the role of CPE1 and CPE2 is assumed alternately by the different network equipment.
[0068] Furthermore, a technician in the subject will know that, if we Petition 870260068900, dated 07 / 13 / 2026, page 27 / 84 21 / 28 examples presented so far in relation to figures 2A-C and 3A-D show that for each CPE 1 and CPE2 box there are two eligible outgoing links for aggregation, that is a minimum. In fact, there may be more eligible outgoing links for aggregation; there is no limitation at this level. These may be other links susceptible to creating loops (multiple links like Link L1) and / or links that are directly connected to the Internet (like the L2 links) or to equipment that does not perform link aggregation.
[0069] Figure 4 is a simplified diagram of another example of a residential gateway 10, with more than two output links eligible for link aggregation. In the example shown, there are, for instance, n output links Li, where i is an index between 1 and n. These links L1 to Ln allow the box 10 to be connected to the Internet, directly or indirectly via other boxes or other equipment. In the example shown, link L0 is the input link through which the box 10 is connected to the subscriber's home network (LAN).
[0070] With reference to the step diagram in Figure 5, the information routing procedure according to the embodiments comprises the following steps, which are performed on the second CPE2 network equipment in Figures 2A-2C, and, for example, more particularly on the aggregation engine 15 of that equipment.
[0071] In step 51, box CPE2 receives data from box CPE1. In the examples, applications of this data comprise UDP data packets. However, in other applications they may comprise a connection, or a data flow. The data is received via a determined interface range i0, in the set of interfaces n corresponding to the n output links Li (with i between 1 and n) of the generic box 10 represented in figure 4.
[0072] In step 52, it is detected whether or not the data received in the step has already undergone a link aggregation operation in the box. Petition 870260068900, dated 07 / 13 / 2026, page 28 / 84 22 / 28 CPE1 or upstream, based on markers present in the data.
[0073] The term upstream here refers to the path of the data from the source host that first emitted the data, and may have transmitted it directly or indirectly (i.e., via other network equipment) to the CPE1 box within the scope of one (or several) previous routing operations (-res). In fact, the CPE1 box is not necessarily the host at the origin of the data transmission, and may only be a transmission node between the source host and the destination host on the network 20.
[0074] The term markers here refers to information present in the data that marks the fact, that is, that indicates that the data has undergone a link aggregation upstream of the CPE2 box in the transmission chain, whether within the CPE1 box where the data arrives directly, or even upstream of the CPE1 box. This generic notion of markers refers to various realities according to the realizations involved.
[0075] Notably, if the MPTCP protocol was used for link aggregation as in the example shown in Figure 5, then the TCP option field 30, reserved for this purpose by the Internet Assigned Numbers Authority (IANA), is present in the data received by the CPE2 box. Step 52 then involves testing for the presence of this option field in the received data. If the GRE protocol was used, then the marker to search for in the received data corresponds to code 47, in the protocol field of the IP header block of an IPv4 data packet, or in the next header field of the last header block of an IPv6 data packet. Other examples will be given later.
[0076] In all realizations there are therefore two cases for the selection of the LOUT output link by the aggregation engine 15 of the CPE2 box, depending on the result of the test in step 52. Petition 870260068900, dated 07 / 13 / 2026, page 29 / 84 23 / 28
[0077] If the data has not undergone link aggregation, then in step 53 engine 15 selects the output link Lout from all the output links of the CPE 2 box that participates in the link aggregation in that equipment. In the example shown in Figure 5 for a CPE2 box according to that in Figure 4, this refers to all n of the output links Li, where i assumes all index values between 1 and n. In other words, the output link LOUT is selected from all the output links L1 to Ln of the CPE2 box that participate in the integration, including the Li0 link of the interface via which the data was received by the CPE2 box.
[0078] Otherwise, that is, if the data has already undergone link aggregation, then in step 54 the LOUT output link is selected from all the output links of the CPE2 box that participate in the link aggregation on that network equipment, except for the output link Li0 to the CPE1 box from which the data originates. This significantly reduces the risk of a loop forming due to the link aggregation performed on those two CPE1 and CPE2 boxes. This is particularly effective if only the Li0 link to the CPE1 box is an open link, for example, a radio link, such as a public Wi-Fi interface link, then all other output links L1,... Li0-1,... Ln are links that allow direct access to the aggregation point 21 on the network 20. This is the case in the embodiments mainly considered here, as described above in relation to the schemes in Figures 1 and 2A-2C.In these examples, in fact, the Li0-1 link from box CPE2 to box CPE1 is the Wi-Fi link noted L1, and the output link that is selected in case of previous link aggregation detected in step 52 is the WAN link noted L2 which allows reaching aggregation point 21 directly on the Internet 20.
[0079] Data routing ends, in step 55, by transmitting the data on the LOUT outbound link selected in step 53 or in Petition 870260068900, dated 07 / 13 / 2026, page 30 / 84 24 / 28 step 54, depending on the case.
[0080] In most embodiments, notably if the CPE2 box comprises more than one L1,... , Li0-1, ... Ln output link other than the Li0 output link to the CPE1 box (therefore, with n greater than or equal to 3), the aggregation engine 15 of the CPE2 box is used to select the output link from that network equipment.
[0081] However, when n equals 2, so that the CPE2 box only comprises a single L2 output link other than the L1 output link to the CPE1 box from which the data received in step 51 originates (that is, the Li0 link of the interface through which the data was received is the L1 link in this example), then the data transmission step 65 comprises the transmission of the data directly on said single L2 output link other than the L1 output link to the CPE1 box, without using the aggregation engine 15 of the CPE2 box. In fact, it is then known that, to avoid loop formation, the data can only be transmitted on this other single L2 link.
[0082] As mentioned earlier, when the box CPE1 and box CPE2 use the MPTCP protocol for link aggregation; the detection of whether or not the data has already undergone a link aggregation operation in box CPE1 or upstream involves testing for the presence of the TCP multipath TCP option in the data received by box CPE2.
[0083] In the variant already mentioned, when the CPE1 box and the CPE2 box use GRE tunnels for link aggregation, the detection 52 of whether the data has already undergone a link aggregation operation in the CPE1 box or upstream comprises testing the protocol field in a header block of an IP4 data packet (or, as the case may be, the next header field of the last header block of an IPv6 packet) included in the data received from the CPE1 box. More specifically, it tests whether this field is equal to Petition 870260068900, dated 07 / 13 / 2026, page 31 / 84 25 / 28 47.
[0084] As a variant or complement to the two cases above, test step 52 may involve testing other markers in the data that indicate that this data has undergone link aggregation upstream of the CPE2 box.
[0085] For example, detection 52 of whether or not the data has already undergone a link aggregation operation in the CPE1 box or upstream may also include a check of the interface through which the data is inserted into the CPE2 box. This allows overcoming the limitations linked to the fact that MPTCP or GRE, respectively, may have been used in the CPE1 box or upstream in a context other than link aggregation.
[0086] In another example, detection 52 of whether or not the data has already undergone a link aggregation operation at box CPE1 or upstream comprises comparing the destination IP address of a data packet included in the data received from box CPE1 with the IP addresses contained in a list of IP addresses from the aggregation point 21, provided that such addresses are known to box CPE2.
[0087] In another example, the detection 52 of whether the data has already undergone a link aggregation operation in the CPE1 box or upstream also includes testing (that is, in addition to testing for the presence of TCP 30 multipath TCP for MPTCP, or testing whether the protocol field in the IP header block of an IPv4 data packet or the next header field of the last header block of an IPv6 packet included in the data received from the CPE1 box is equal to 47 for GRE), of an identifier, known by the CPE2 box, of the CPE1 box and / or other equipment upstream of that CPE1 box through which the data transited before reaching the CPE2 box.
[0088] The CPE1 box identifier may include an address Petition 870260068900, dated 07 / 13 / 2026, p. 32 / 84 26 / 28 Physical value on the network that is specific to said first network equipment, for example, its MAC (Media Access Control) address, and is known to the CPE2 box. It can be known either statically or because it is communicated to the CPE2 box by a network management protocol such as the TR-069 protocol or the SNMP (Simple Network Management Protocol), which is a communication protocol that allows network administrators to manage network equipment, monitor and diagnose network and hardware problems remotely.
[0089] In one example, test 52 can then be based on a range of known MAC addresses, for example, based on the first three octets of the MAC address that designate the constructor, that is, the Organizationally Unique Identifier (OUI) generated by the IEEE to ensure the uniqueness of MAC address numbers.
[0090] A subject matter expert will know that the examples cited above can be combined with each other in order to give a more reliable detection of whether the data has experienced prior link aggregation.
[0091] Now we will describe a way to perform detection step 62 that can be used on a link between CPE1 and CPE2 devices, which is a public Wi-Fi link.
[0092] The 802.11 series protocols operate at the OSI model layer level and provide for the transmission of three types of wireless frames: - Control frames, which help deliver damage reports; - Management frames, which are used to establish and maintain Wi-Fi communications; and Petition 870260068900, dated 07 / 13 / 2026, p. 33 / 84 27 / 28 - Data frames, which ensure the actual transport of useful data.
[0093] Wi-Fi clients send probe request subtype management frames to determine which access points or APs (Access Points) are reachable. And the APs respond to the clients with information about their capabilities such as network name (SSID), sustained throughput, AP names and constructor, etc.
[0094] This is why, in an embodiment where data is received by the CPE2 device via the public Wi-Fi interface, it can be predicted that the CPE1 device, when using link aggregation, adds a unique identifier to the data. This unique identifier can be, for example, a vendor-specific tag in the 802.11 probe requests, with a value known simultaneously by the CPE1 and CPE2 devices. When the CPE3 device receives a probe request from CPE1 with the known vendor-specific tag value, it associates the fact that it receives data from the CPE1 device (e.g., based on its MAC address) with the fact that all data from that device has already been aggregated.
[0095] One final embodiment applies to the case where the CPE2 device acts as a DHCP (Dynamic Host Configuration Protocol) server in relation to the CPE1 device within the context of public Wi-Fi. Remember that DHCP, Dynamic Host Configuration Protocol, is a network protocol whose role is to ensure the automatic configuration of the IP parameters of a station or machine, notably by automatically assigning it an IP address and a subnet mask.
[0096] That is why, if the CPE2 device plays the role of DHCP server in relation to the CPE1 device within the public Wi-Fi network, then the CPE1 device can indicate, via an option Petition 870260068900, dated 07 / 13 / 2026, p. 34 / 84 28 / 28 DHCP (for example, option 60 vendor class identifier with a predefined and known value from CPE1 and CPE2) indicates that aggregation has already been performed. Thus, the CPE2 device can associate all data originating from CPE1 with the fact that it has already been aggregated.
[0097] The present invention has been described and illustrated in the present detailed description and in the figures of the accompanying drawings, in possible embodiments. The present invention is not, however, limited to the embodiments presented. Other variants and embodiments may be deduced and put into practice by a person skilled in the art who reads the present description and the accompanying drawings.
[0098] In the claims, the term "comprise" or "include" does not exclude other elements or steps. A single processor or several other units may be used to carry out the invention. The different features presented and / or claimed may be advantageously combined. Their presence in the description or in the different dependent claims does not exclude this possibility. Reference numbers should not be understood as limiting the scope of the invention. Petition 870260068900, dated 07 / 13 / 2026, page 35 / 84
Claims
1 / 6 CLAIMS 1. A process for routing data received from a first network equipment (CPE1) to a second network equipment (CPE2) of a data network (2), characterized in that each of said first and second network equipment comprises a link aggregation engine (15) that uses a link aggregation technique using the same aggregation rules to select one from at least one first and one second output links (L1, L2) that participate in the link aggregation in said network equipment with: - an output link (L1) to the other network equipment; and - at least one more output link (L2) that is capable of reaching a given aggregation point (21) in the data network (20), the procedure comprising the following steps, performed in the second network equipment (CPE2): i. receiving (51) the data arriving from the first network equipment (CPE1); ii.detect (52) whether the data has already undergone a link aggregation operation on the first network equipment (CPE1) or upstream, based on markers present in the data; then, iii. select (53) an output link (Lout) from among all the output links of the second network equipment (CPE2) that participate in link aggregation on said second network equipment if the data has not yet undergone link aggregation, or selection (54) of the output link (Lout) from among all the output links of the second network equipment (CPE2) that participate in link aggregation on said second network equipment except the output link (L1) to the first network equipment (CPE1) if the data has already undergone link aggregation; and Petition 870260068900, dated 13 / 07 / 2026, page 36 / 84 2 / 6 iv. transmit (55) the data on the selected output link (Lout).
2. Process according to claim 1, characterized in that it comprises using an aggregation engine (15) of the second network equipment (CPE2) to select the output link of said second network equipment if said second network equipment comprises more than one output link (L1,..., Li1, Li+1, .. Ln) different from the output link Li) to the first network equipment (CPE1).
3. Process according to claim 1, characterized in that, if the second network equipment (CPE2) only comprises a single output link (L2) different from the output link (L1) to the first network equipment (CPE1), the data transmission step (55) comprises transmitting the data directly on said single output link (L2) different from the output link L1) to the first network equipment, using the aggregation engine (15) or the second network equipment (CPE2).
4. Process according to any one of claims 1 to 3, characterized in that the first network equipment (CPE1) and the second network equipment (CPE2) using the MPTCP protocol for link aggregation, the detection (52) of whether or not the data has already undergone a link aggregation operation in the first network equipment (CPE1) or upstream comprises testing for the presence of the TCP 30 multipath TCP option in the data received in the second network equipment (CPE2).
5. Process according to any one of claims 1 to 3, characterized in that the first network equipment (CPE1) and the second network equipment (CPE2) using GRE tunnels for link aggregation, the detection of whether or not the data has already undergone a link aggregation operation in the first network equipment (CPE1) or upstream comprises testing whether the protocol field in the IP header block of an IPv4 data packet, or the next header field in the second header block of an IPv6 data packet, comprised in the data received from the first network equipment, is equal to 47.
6. Process according to claim 4 or 5, characterized in that the detection of whether or not the data has already undergone a link aggregation operation in the first network equipment (CPE1) or upstream further includes a verification of the interface through which the data is inserted into the second network equipment (CPE2) to eliminate limitations related to the fact that MPTCP or GRE, respectively, may have been used in the first network equipment (CPE1) or upstream in a context other than link aggregation.
7. Process according to any of the preceding claims, characterized in that the detection (52) of whether or not the data has already undergone a link aggregation operation at the first network equipment (CPE1) or upstream comprises comparing the destination IP address of a data packet included in the data received from the first network equipment (CPE1) with IP addresses contained in a list of respective IP addresses of a plurality of data network aggregation points (20).
8. Process according to any of the preceding claims, characterized in that the detection (52) of whether or not the data has already undergone a link aggregation operation in the first network equipment (CPE1) or upstream further comprises testing an identifier, known by the second network equipment (CPE2), of the first network equipment (CP1) and / or of other equipment upstream of said first network equipment Petition 870260068900, dated 13 / 07 / 2026, p. 38 / 84 4 / 6 (CPE1) through which the data transited before reaching the second network equipment (CPE2).
9. Process according to claim 8, characterized in that the identifier of the first network equipment (CPE1) comprises a physical address on the network that is clear on said first network equipment and is known to the second network equipment (CPE2), either statically or because it is communicated to the second network equipment by a network management protocol, and in which the identification test comprises comparison with a range of known physical addresses of the second network equipment.
10. Process according to any of the preceding claims, characterized in that the data that is received from the first network equipment via an IEEE 802.11 Wi-Fi interface of the second network equipment, the detection (52) of whether or not the data has already undergone a link aggregation operation in the first network equipment (CPE1) or upstream further comprises testing a specific value in attribute number 26 of a probe request type frame.
11. Process according to any of the preceding claims, characterized in that the second network equipment (CPE2) which plays a DHCP server role in relation to the first network equipment (CPE1) and the data received by said second network equipment via a public Wi-Fi network, the detection (52) of whether or not the data has already undergone a link aggregation operation in the first network equipment (CPE1) comprises testing a DHCP option with a known predefined value of the first network equipment and the second network equipment, entered by the first network equipment (CPE1) when the data is subject to a link aggregation in said first network equipment.
12. Data routing device received from a first network equipment (CPE1) to a second network equipment (CPE2), characterized in that each of said first and second network equipment comprises a link aggregation engine (15) that uses a link aggregation technique using the same aggregation rules to select one from at least one first and one second outgoing links (L1, L2) that participates in the aggregation of a link in said network equipment with: - an outgoing link (L1) to the other network equipment; and - at least one more outgoing link (L2) that is capable of reaching an aggregation point (21) in the network (20), said device comprising, in the second network equipment (CPE2): i. means for receiving (51) data arriving from the first network equipment (CPE1); ii.means for detecting (52) whether the data has already undergone a link aggregation operation on the first network equipment (CPE1) or upstream, based on markers present in the data; iii. means for selecting (53) an output link (Lout) from among all the output links of the second network equipment (CPE2) that participate in link aggregation on said second network equipment if the data has not yet undergone link aggregation, or selecting (64) the output link (Lout) from among all the output links of the second network equipment (CPE2) that participate in link aggregation on said second network equipment except the output link (Li) to the first network equipment (CPE1) if the data has already undergone link aggregation; and iv. means for transmitting (55) the data over the selected output link (Lout). Petition 870260068900, dated 13 / 07 / 2026, p. 40 / 84 6 / 6.
13. Residential gateway (CPE2), characterized in that it comprises a device as defined in claim 12.
14. Machine-readable data record medium comprising a processor, the data record medium being characterized in that it comprises instructions which, when executed by a computer, cause the computer to perform all the steps of the process as defined in any one of claims 1 to 11. Petition 870260068900, dated July 13, 2026, pp. 41-84
