Login| Sign Up| Help| Contact|

Patent Searching and Data


Title:
METHOD AND SYSTEM FOR THE SCHEDULING OF PACKETS IN A BUNDLING SCENARIO BASED ON TCP TUNNELS AND NATIVE TCP INFORMATION
Document Type and Number:
WIPO Patent Application WO/2016/162501
Kind Code:
A1
Abstract:
The invention provides a method and system for resource bundling using packet-based scheduling for Transmission Control Protocol (TCP) sessions or User Datagram Protocol (UDP) sessions, wherein the system comprises a user device configured to send and receive data and a server configured to send and receive data. The system further comprises a first and a second bonding module being configured to schedule and distribute data packets via TCP tunnels and at least one transport network.

Inventors:
BAYER NICO (DE)
GHAZZAWI AMMAR (DE)
Application Number:
PCT/EP2016/057795
Publication Date:
October 13, 2016
Filing Date:
April 08, 2016
Export Citation:
Click for automatic bibliography generation   Help
Assignee:
DEUTSCHE TELEKOM AG (DE)
International Classes:
H04L47/41
Domestic Patent References:
WO2009019258A12009-02-12
Foreign References:
US8699490B22014-04-15
US20110296006A12011-12-01
US20120039173A12012-02-16
US20020010866A12002-01-24
Other References:
A. FORD; C. RAICIU; M. HANDLEY; O. BONAVENTURE: "Tcp extensions for multipath operation with multiple addresses", RFC, NO. 6824, January 2013 (2013-01-01)
R. STEWART ET AL.: "Stream Control Transmission Protocol", RFC 2960 (PROPOSED STANDARD, October 2000 (2000-10-01)
E. G. LLAIRO; D. GIUSTINIANO: "Smartap: Practical wlan backhaul aggregation", WIRELESS DAYS. IEEE, 2013, pages 1 - 7
D. GIUSTINIANO; E. GOMA; A. LOPEZ TOLEDO; 1. DANGERFIELD; J. MORILLO; P. RODRIGUEZ: "Proceedings of the Sixteenth Annual International Conference on Mobile Computing and Networking", 2010, ACM, article "Fair wlan backhaul aggregation", pages: 269 - 280
D. KASPAR: "Multipath aggregation of heterogeneous access networks", SIGMULTIMEDIA REC., vol. 4, no. 1, March 2012 (2012-03-01), pages 27 - 28
Attorney, Agent or Firm:
VOSSIUS & PARTNER (Siebertstraße 3, München, DE)
Download PDF:
Claims:
CLAIMS

1. System for packet-based scheduling for Transmission Control Protocol, TCP, sessions or

User Datagram Protocol, UDP, sessions, wherein the system comprises:

a first bonding module comprising a first scheduling module and at least two access interfaces connected to at least one transport network, wherein the first bonding module can be connected to a user device, wherein a TCP tunnel is configured via each of the access interfaces which terminates at a second bonding module, and wherein the first scheduling module is configured to schedule and distribute data packets via the TCP tunnels towards the second bonding module, preferably over the internet; and/or the second bonding module comprising a second scheduling module and at least one access interface connected to each of the at least one transport network, wherein the second bonding module can be connected to a server, and wherein the second scheduling module is configured to schedule and distribute data packets via the TCP tunnels towards the first bonding module.

2. The system of claiml, further comprising a first router connected to the first bonding module through a wired or wireless connection, wherein preferably the first router is configured to receive and send data from/to the user device.

3. The system of claim 1 or 2, further comprising a second router connected to the second bonding module through a wired or wireless connection, wherein preferably the second router comprises a Network Address Translation module that is preferably configured to receive and send data from/to the server.

4. The system of any of claims 1 to 3, wherein the first and/or second scheduling module is configured to obtain the capacity of the TCP tunnels between the first router and the second router based on native information from the TCP tunnels.

5. The system of claim 4, wherein the native information of the TCP tunnels comprises at least one of the size of the Congestion Window Ccwnd, a TCP slowstart threshold Sthresh, a smoothed Round Trip Time TRTT, number of packets that have been send out Pout, a number of packets that have been acknowledged Psacked, a number of packets that have been re-transmitted Pretrans5 and a number of packets considered to be lost Plost-

6. The system of claim 5, wherein the first and/or second scheduling module is configured to obtain a number of packets currently travelling from the first router to the second router as Pfly = Pout - Psacked + Pretrans " Plost-

7. The system of claim 6, wherein the first and/or second scheduling module is configured to obtain a leftover capacity as Qeft = CCWnd - Pfiy

8. The system of claim 7, wherein the first and/or second scheduling module is configured to obtain changes of the leftover capacity A eft within a defined interval.

9. The system of any one of claims 1 to 8, wherein the first and/or second scheduling

module is configured to use a scheduling algorithm to obtain scheduling weights for the TCP tunnels between the first router and the second router.

10. The system of claim 9, wherein the scheduling weights comprises of the ratio of the amount of packets sent via each of the tunnels and/or the amount of packets sent over each of the tunnels in a row.

11. The system of claim 10, wherein the first and/or second scheduling module is configured to adapt scheduling weights continuously or in timeslots, wherein preferably the first and/or second scheduling module is configured to adapt scheduling weights of a subsequent timeslot based on parameters collected during a previous timeslot.

12. A method for packet-based scheduling for Transmission Control Protocol sessions,

preferably using a system of any of claims 1 to 11 , wherein the method comprises the steps of:

(a) connecting a first bonding module comprising a first scheduling module and at least two access interfaces connected to at least one transport network, wherein the first bonding module can be connected to a user device;configuring a TCP tunnel via each of the access interfaces which terminates at a second bonding module; (c) scheduling and distributing data packets via the TCP tunnels and the at least one transport network from the first bonding module towards the second bonding module; and/or

(d) connecting the second bonding module comprising a second scheduling module and at least one access interface to each of the at least one transport network, wherein the second bonding module can be connected to a server; and

(e) scheduling and distributing data packets via the TCP tunnels from the

second bonding module towards the first bonding module.

13. The method of claim 12, wherein the method comprises a step of connecting a first router to the first bonding module through a wired or wireless connection, wherein preferably the first router is configured to receive and send data from/to the user device.

14. The method of claim 12 or 13, wherein the method comprises a step of connecting a

second router to the second bonding module through a wired or wireless connection, wherein preferably the second router comprises a Network Address Translation module that is preferably configured to receive and send data from/to the server.

15. The method of any of claims 12 to 14, wherein the method comprises a step of obtaining capacities of each of the at least two TCP tunnels between the first router and the second router based on native information from the TCP tunnels.

16. The method of any of claims 12 to 15, wherein scheduling and distributing data packets is based on a scheduling algorithm to obtain scheduling weights for the TCP tunnels between the first router and the second router.

17. The method of claim 16, wherein the scheduling weights comprises of the ratio of

packets sent via each of the tunnels and/or the amount of packets sent over each of the tunnels in a row.

18. The method of claim 17, wherein the scheduling weights are adapted continuously or in timeslots, wherein preferably the scheduling weights of a subsequent timeslot is based on parameters collected during a previous timeslot.

Description:
METHOD AND SYSTEM FOR THE SCHEDULING OF PACKETS IN A BUNDLING SCENARIO BASED ON TCP TUNNELS AND NATIVE TCP INFORMATION

BACKGROUND

The present invention relates to a method and a system for resource bundling using packet-based scheduling for Transmission Control Protocol (TCP) sessions or User Datagram Protocol (UDP) sessions.

In the past much effort has been put in approaches for resource bundling which can be roughly grouped into: session/application-, transport-, network- and link-layer approaches. In the following the most important examples for each of these groups will be briefly discussed.

The HTTP range request is a session/application-layer feature which can also be used to perform resource bundling. This feature divides the content to download into slices which are then downloaded in separate TCP sessions over different interfaces. This feature is implemented within the Samsung Galaxy S5 and called "Network Booster" (S. E. Corporation, "Network booster - for enhanced data performance," Techpaper).

The most prominent example of a transport-layer solution is Multipath TCP (MPTCP) specified by the Internet Engineering Task Force (IETF) in Request for Comment (RFC) 6824 (A. Ford, C. Raiciu, M. Handley, and O. Bonaventure, "Tcp extensions for multipath operation with multiple addresses," RFC, no. 6824, January 2013). MPTCP can be seen as an extension of TCP which allows the simultaneous usage of multiple paths between peers transparent for the application. MPTCP is already used in commercial products like the iPhone. The Siri service for instance uses MPTCP to increase reliability. In case the iPhone has a cellular and a Wi-Fi connection Siri initiates two sessions one over Wi-Fi and one over the cellular network. If one of the connections becomes unavailable or unreliable, the backup connection is immediately available.

Another transport-layer example is Stream Control Transmission Protocol (SCTP) (R. Stewart et al., "Stream Control Transmission Protocol," RFC 2960 (Proposed Standard), Internet Engineering Task Force, October 2000, obsoleted by RFC 4960, updated by RFC 3309). One of the advantages of SCTP is its multi-homing feature which in principle also enables the bundling of links. In principle it can be stated that the session/application layer approaches as well as the transport layer approaches are suited for end-to-end (E2E) scenarios as the bundling is performed by the end-devices without any special involvement of the network. The drawback of E2E approaches is the effort of introducing the technology as it must be supported by the user devices as well as the Internet servers.

Network-layer approaches are the preferred solution for network operators as they can easily be implemented without the need to change the end-devices. Instead proxy servers are used, which are under the control of the operator and which perform the bundling transparent to the end devices.

Link-layer bundling refers to the bundling of multiple channels of equal technology. Examples are the bundling of Ethernet links defined in IEEE 802.3ad (WO 2009/019258 Al) and the bundling of Wi-Fi channels for instance implemented in the Atheros SuperG mode. The SmartAP solution proposed in (E. G. Llairo and D. Giustiniano, "Smartap: Practical wlan backhaul aggregation." in Wireless Days. IEEE, 2013, pp. 1-7) deals with the aggregation of Wireless Local Area Network (WLAN) backhaul using single-radio multi-channel visualisation. This allows connections with multiple neighbouring Access Points (APs) even if different channels are used. D. Giustiniano, E. Goma, A. Lopez Toledo, I. Dangerfield, J. Morillo, and P. Rodriguez, "Fair wlan backhaul aggregation," in Proceedings of the Sixteenth Annual International Conference on Mobile Computing and Networking, ser. MobiCom '10. New York, NY, USA: ACM, 2010, pp. 269-280 investigates fairness in the described system.

SUMMARY

The object of the present invention is to provide a method and a system for packet-based scheduling for Transmission Control Protocol (TCP) sessions or User Datagram Protocol (UDP) sessions having an improved performance. The object is achieved with the features of the independent claims. The dependent claims relate to further aspects of the invention.

The present invention proposes a generic bundling architecture preferably suited for network operators. However, the present invention is also suited for Over-the-top (OTT) content scenarios. In contrast to other approaches the presented approach uses TCP tunnels to reduce the complexity of the system and to provide high bundling gains. Path monitors as like in traditional bundling solutions are not required. Instead native information coming from the TCP tunnels is used as input for packet schedulers in order to decide about the most efficient packet scheduling. That is, an innovative solution is described, which is able to determine the weights for the scheduling approach in order to maximize bundling gain. In other words the TCP tunnels and in particular the native information from the TCP tunnels may be used to estimate the bandwidth available via each tunnel. This information is used for an efficient mapping of data packets to the available tunnels. According to the present invention different tunnels might go over different network interfaces, e.g. WiFi and 3GPP, wherein the available bandwidth via each tunnel might be significantly different. The present invention provides an efficient bandwidth aggregation by considering the available bandwidth via each of the tunnels.

According to a first aspect of the present invention a system for packet-based scheduling for Transmission Control Protocol, TCP, sessions or User Datagram Protocol, UDP, sessions is provided. The system comprises a first bonding module comprising a first scheduling module and at least two access interfaces connected to at least one transport network, wherein the first bonding module can be connected to a user device, wherein a TCP tunnel is configured via each of the access interfaces which terminates at a second bonding module, and wherein the first scheduling module is configured to schedule and distribute data packets via the TCP tunnels towards the second bonding module, preferably over the internet. The system might further comprise, alone or in combination, the second bonding module comprising a second scheduling module and at least one access interface connected to each of the at least one transport network, wherein the second bonding module can be connected to a server, and wherein the second scheduling module is configured to schedule and distribute data packets via the TCP tunnels towards the first bonding module.

It is preferred that the data packets are distributed on the network-layer (layer 3). This allows to make use of standard TCP protocols. Accordingly, no new TCP protocol may be required.

The system might further comprise a first router connected to the first bonding module through a wired or wireless connection, wherein preferably the first router is configured to receive and send data from/to the user device.

The system might also comprise a second router connected to the second bonding module through a wired or wireless connection, wherein preferably the second router comprises a Network Address Translation module that is preferably configured to receive and send data from/to the server. The first router might be multihomed, meaning that the first router is connected to the internet via at least two interfaces. Both routers (first and second router) might belong to different networks and are connected to each other via the TCP tunnels. The number of TCP tunnels between both routers is based on the number of interfaces with which the first router is connected to the internet. Via each of these interfaces one tunnel is used.

It is recognized that the term "connected" can also mean that a certain module is a part of the respective module it is connected to, i.e. the modules can be connected internally. For example, the first and/or second bonding module might be an integral part of the user device and/or the server, respectively. As another example, the first and/or second bonding module might be an integral part of the first and/or second router, respectively.

Preferably, the first and/or second scheduling module is configured to obtain the capacity of the TCP tunnels between the first router and the second router based on native information from the TCP tunnels. This information is used to decide about the scheduling weight for each of the TCP tunnels.

Moreover, the native information of the TCP tunnels might comprise at least one of the following: size of the Congestion Window Ccwnd, a TCP slowstart threshold Sthresh, a smoothed Round Trip Time TRTT, a number of packets that have been send out Pout, a number of packets that have been acknowledged Psacked, a number of packets that have been re-transmitted Pretrans, and a number of packets considered to be lost Plost. Alternatively or additionally a sender queue size of the TCP tunnel interfaces can be taken into account as a further parameter.

According to a further aspect of the present invention, the first and/or second scheduling module is configured to obtain for each tunnel a number of packets currently travelling from the first router to the second router as Pfi y = P ou t - Psacked + Pretrans - Plost-

More preferably, the first and/or second scheduling module is configured to obtain a leftover capacity as Ciett = C CW nd - Pfiy

Even more preferably, the first and/or second scheduling module is configured to obtain changes of the leftover capacity AQeft within a defined interval.

However, it is to be understood that the above list of parameters is not exhaustive in that other parameters can be obtained and used for realizing the same effects of the present invention, which will be understood by a person skilled in the art. According to a further aspect of the present invention, the first and/or second scheduling module is configured to use a scheduling algorithm to calculate scheduling weights for the TCP tunnels between the first router and the second router.

Preferably, the scheduling weights comprises of the ratio of packets sent over each of the tunnels and/or the amount of packets sent over each one of the tunnels in a row.

In addition, the first and/or second scheduling module might be configured to adapt scheduling weights continuously and/or in timeslots.

Preferably, the first and/or second scheduling module might be configured to adapt scheduling weights of a subsequent timeslot based on parameters collected during a previous timeslot.

According to a second aspect of the present invention a method for packet-based scheduling for Transmission Control Protocol sessions, preferably using a system as described above is provided. The method comprises the steps of: (a) connecting a first bonding module comprising a first scheduling module and at least two access interfaces connected to at least one transport network, wherein the first bonding module can be connected to a user device; (b) configuring a TCP tunnel via each of the access interfaces which terminates at a second bonding module; (c) scheduling and distributing data packets via the TCP tunnels and the at least one transport network from the first bonding module towards the second bonding module; and/or (d) connecting the second bonding module comprising a second scheduling module and at least one access interface to each of the at least one transport network, wherein the second bonding module can be connected to a server; and (e) scheduling and distributing data packets via the TCP tunnels from the second bonding module towards the first bonding module.

The method might further comprise a step of connecting a first router to the first bonding module through a wired or wireless connection, wherein preferably the first router is configured to receive and send data from/to the user device.

The method might also comprise a step of connecting a second router to the second bonding module through a wired or wireless connection, wherein preferably the second router comprises a Network Address Translation module that is preferably configured to receive and send data from/to the server. Again it is clear that connecting can mean connecting two separate devices/modules or it can mean connecting a first device/module to a second device/module internally, i.e. the second device/module might be integrated into the first device/module.

Preferably, the method comprises a step of obtaining capacities of each of the at least two TCP tunnels between the first router and the second router based on native information from the TCP tunnels.

In addition, scheduling and distributing data packets might be based on a scheduling algorithm to obtain scheduling weights for the TCP tunnels between the first router and the second router.

The scheduling weights might comprise of the ratio of packets sent over each of the tunnels and/or the amount of packets sent over each of the tunnels in a row.

Preferably, the scheduling weights are adapted continuously and/or in timeslots.

Even more preferably, the scheduling weights of a subsequent timeslot might be based on parameters collected during a previous timeslot.

What is common to all of the present solutions is the challenge of scheduling packets over the available links. Bundling the resources of different access networks is a measure to improve throughput and resilience to network failure. However, bundling of access network resources is a challenging task, especially in case of TCP traffic. In particular, challenges when doing access resource bundling are:

• The first challenge comes from the fact that the most popular transport protocols used in today's networks are Transmission Control Protocol (TCP) and User Datagram Protocol (UDP) and that these protocols have not been designed to work over multiple links. These protocols assume that packets belonging to the same session are received from only one Internet Protocol (IP) address. However, if multiple access links are used each interface will get a different IP address. To overcome this problem an additional box has been introduced which is performing Network Address Translation (NAT) on behalf of all access links used by the terminal.

• The second challenge is related to the scheduling of the packets over the available links. First of all it can be distinguished between two basic types of scheduling approaches: session-based and packet-based. When session-based scheduling is performed packets of a specific session will always be sent over the same link while the sessions are distributed of the available links. For instance packets of session A are sent on Link Li while the packets of session B are sent over link L 2 . The session-based approach has several drawbacks. For instance a single session cannot profit from multiple available links. Even in case of multiple sessions to/from the same terminal a bundling gain cannot be guaranteed if the performance of the different links is significantly different. The focus of this invention is on the packet-based scheduling approach in which packets of a single session are distributed over the available links. As the different links might have different characteristics in terms of available bandwidth (B), delay (D), delay jitter (J) and packet loss (L) it may not be sufficient to perform round-robin scheduling in which packets are distributed equally over the available links. Instead, a weighted scheduling is preferred. Especially for TCP sessions theses weights have a significant influence on the end-to-end performance and therefore these weights are preferably determined carefully.

• Finally, the challenge of re-ordering packets comes into play when packet-based scheduling is applied. Due to the different characteristics of the different links and due to the fact that packets might travel via completely different routes through the Internet, packets might arrive at the destination in wrong order. Depending on the application this might cause decreased service quality.

Some preferred embodiments are now described with reference to the drawings. For explanation purpose, various specific details are set forth, without departing from the scope of the present invention as claimed.

BRIEF INTRODUCTION OF THE DRAWINGS

FIG. 1 illustrates an example of a multi-homed terminal according to the prior art.

FIG. 2(a)-(d) illustrates four preferred embodiments of the present invention.

FIG. 3 illustrates adaption of scheduling weight in slots according to one embodiment of the present invention.

FIG. 4 illustrates one example scheduling algorithm according to one embodiment of the present invention.

DETAILED DESCRIPTION OF PREFERRED EMBODIMENTS In principle resource bundling for so called multi-homed terminals 10 which are terminals 10 that are connected to a server 12 in the Internet 11 is made using at least two separate or different links (Li, L 2 ,...,L n ). An example is shown in Fig. 1.

The terminal 10 is connected to the Internet 11 with multiple lines (Lj, L 2 ,...,L n ). Today's terminals 10 normally only use one of the lines for the communication with a server 12 in the Internet 11. Usually the selection of interfaces to be used is based on a hierarchical policy. Smartphones for example may prefer the Wi-Fi interface over the 3 GPP interface while laptops may prefer the Ethernet interface over the Wi-Fi interface. As a result the maximum bandwidth perceived by the terminal is limited to the bandwidth available by the selected network interface even if other links towards the Internet 11 exist. Assuming the possibility of simultaneous usage of all available interfaces (N) the perceived bandwidth per terminal 10 will increase significantly. In an ideal case the overall bandwidth per terminal 10 (BWideai) is simply the sum of the bandwidth provided by each interface (BWj). However, in real implementations it is a bit more difficult and a bundling efficiency (E) of 100% is almost impossible to achieve. Hence, the bandwidth perceived by a terminal 10 (BW) can be expressed as follows:

In the following, an architecture for access resource bundling is presented which provides a solution to one or more of the above mentioned challenges. In addition, an innovative solution is presented able to determine the weights for the scheduling approach in order to maximize the bundling gain. First, the proposed overarching architecture is described followed by details of the main challenge the weighted scheduling of packets based on native TCP information.

An overview of a solution according to a preferred embodiment of the present invention is illustrated in Fig. 2(a). The node on the left (C) represents the user device 100, e.g. smartphone or laptop, while the device on the right (S) is a server 108 in the Internet (I) 107, e.g. an application server. The user device 100 and the server 108 are standard devices. The bonding intelligence is implemented transparent to them in a first router (R 101 and a second router (R 2 ) 104. The first router 101 is the gateway towards the Internet 107 for the user device 100 (e.g. DSL router) and has several access interfaces (here for illustration purpose illustrated with two access interfaces Li and L 2 ). The second router 104 represents a router within one or more transport networks 103 of the network operator. Both routers 101, 104 connect to each other via the transport network (TR) 103 of the network operator. Via each of the access interfaces L 1} L 2 used by the first router 101, it configures a respective TCP tunnel (tunj and tun 2 ) towards the second router 104 for each of the access interfaces L l5 L 2 .

The purpose of these tunnels tun 1; tun 2 is to transport the data packets between the user device 100 and the server 108. Each of the routers 101, 104 also has a respective scheduling module (SC) 102, 105 implemented. It is to be noted that each of the scheduling modules 102,

105 might be integrated (internally connected) into the respective router 101, 104 to get access to all relevant information in real-time. However, the scheduling module might also be constructed as an external module being simply attached (externally connected) to the router via a wired or wireless connection. In the following the term "connected" is being used for both internally connected (or integrated) and/or externally connected (or attached to). In other words, although Fig. 2(a) shows that the scheduling modules 102, 105 are being integrated into the first and second router 101, 104 respectively, it is also possible to provide these modules 102, 105 as separate devices (not shown). The scheduling modules 102, 105 are responsible for the scheduling and distribution of packets via the different tunnel interfaces tuni, tun 2 . Finally, the second router 104 is using a NAT-module 106 on the interface towards the Internet 107. The combination of each of the scheduling modules 102, 105 and the corresponding interfaces might be called a respective bonding module.

Figs. 2(b) to (d) illustrate further alternative solutions in accordance with the present invention. The components are labeled with corresponding reference signs in accordance with those of Fig. 2(a).

Here, Fig. 2(b) shows an alternative embodiment, wherein the first and second routers 101, 104 are omitted. That is, the scheduling modules 102, 105 are integrated into (connected to) the user device 100 and the server 108 respectively. In this configuration the first bundling is no longer executed at the first router 101 but executed directly at the user device 100 of the user, which comprises of several paths to the internet. Furthermore, the second bundling is no longer executed at the second router 104 but executed directly at the server 108 in the internet.

Figs. 2(c) and (d) show further variations of the embodiments illustrated by Figs. 2(a) and (b). In particular, in Fig. 2(c) only the second router 104 is omitted and in Fig. 2(d) only the first router 101 is omitted as compared to the embodiment of Fig. 2(a). It has to be understood that the first and second scheduling modules 102, 105 might be integrated into the user device 100 and the server 108, respectively or provided as separate external devices (not shown). Compared with known approaches as for instance presented in D. Kaspar, "Multipath aggregation of heterogeneous access networks," SIGMultimedia Rec, vol. 4, no. 1, pp. 27- 28, Mar. 2012 the present invention according to the embodiment of Fig. 1 has two significant simplifications. First a de-jitter buffer is not used which is responsible for the reordering of packets. Instead the re-ordering of packets is left to the native re-ordering algorithm of TCP. That is, the re-ordering is done by the user device 100 or the Internet server 108. Thus, the system profits from the re-ordering done by the user device 100 or the Internet server 108, as it does not require an additional re-ordering module. This simplifies the system compared to other solutions. Second, the path monitor module which is responsible for the determination of link capabilities is not required due to the fact that TCP tunnels turn, tun 2 are used between the first router 101 and the second router 104. Based on information from these tunnels tun l5 tun 2 the capacity of the links L l5 L 2 can be estimated.

Thus, the present invention is able to provide a solution to one or more of the challenges mentioned above. NAT is performed at the second router 104, which ensures together with the usage of the tunnels tun l5 tun 2 that the server 108 always sees the same IP address of the client independent from the path via which the packet has been transmitted. The IP address of the user device 100 seen by the server 108 is the public IP address of the second router 104. Hence, packets from the server 108 to the user device 100 will always be destined to the second router 104. The usage of TCP tunnels tun l5 tun 2 avoids the requirements of a path monitor module and at the same time provides required information for the scheduling process. The fact that TCP always tries to maximise the bandwidth usage on every tunnel tuni, tun 2 based on the adaptation of the Congestion Window (C cwnd ) is leveraged here. Examples of information available from the TCP tunnels tun l5 tun 2 are:

• The capacity of the link in terms of the size of the C cwn d.

• The TCP slowstart threshold (Sthresh)

• Smoothed Round Trip Time (T RTT ) which is the RTT determined/calculated by TCP.

Pout which is the number of packets that have been send out.

Psacked which is the number of packets that have been acknowledged.

Pretrans which is the number of packets that have been re-transmitted.

• Piost which is the number of packets considered to be lost.

Based on these basic parameters additional parameters can be derived, for example: • Packets on the fly (P f i y ) which are the packets send by the sender but which have not yet been acknowledged. So these are the packets currently travelling from the sender to the receiver:

' Leftover capacity (Q ef t) which is simply C cw d - Pn y and expresses the number of packets which can be send on the link without waiting for another acknowledgement until its capacity is reached.

• Changes of the leftover capacity (Acieft) within a defined interval.

Scheduling weights (SW) are generally expressed in relations, e.g. (A:B:C:D). In the following example with four available links, the first link has a weight of A meaning that A packets are send over this link before sending packets of the next link, B packets are send over the second link, C packets are send over the third link and finally D packets are send over the fourth link. After that the first link is scheduled again and so on. The scheduling weights (SW) have two characteristics.

• The weight ratio (WR) which expresses the ratio of packets sent between the links. For instance, in the case of two links a ratio of 2 means that two times more packets are send over link 1 compared to link 2.

• The weight height (WH) which expresses the amount of packets sent over one link in a row. A height of 10 means that 10 packets in a row are sent over link 1.

Example: W R =2, W H =10 -> SW=(10:5).

Due to performance reasons, adaptations of the scheduling weights might not be done continuously but in timeslots (e.g. Slot n, Slot n+1, Slot n+2), as shown in Fig. 3. The duration of these timeslots is a parameter (DT). The set of parameters collected during a time slot (X n ) are used as input for the scheduling algorithm (SW n+1 =f(X„)) for the next time slot X n+ i. That is, based on these parameters (parameters collected during a time slot) as well as optional input or configuration parameters the scheduling algorithm computes the scheduling weights for the next slot and so on.

An example scheduling algorithm according to the present invention is shown in Fig. 4. In which for illustration purpose two tunnels (tunnel a and tunnel b) are available. The scheduling algorithm starts at step S10 with sleep DT, i.e. waiting for the slot time DT. If a packet is to be send the scheduling algorithm checks at step S 11 if the leftover capacity of tunnel a Ci ef t >a is equal to or larger than a predetermined threshold value (THR). If the leftover capacity of tunnel a Ci ef t ,a is equal to or larger than the predetermined threshold value the scheduling algorithm will send the packet through tunnel a at step S I 2, which in this example has a scheduling weight of SW(1 :0), and return to the starting point (step S 10) and the procedure is repeated for another slot. Here SW(1 :0) means that one packet is send via tunnel a and no packet is send via tunnel b. That is, only packets via tunnel a are send and for this example WR is infinite and WH is 1. If however, the leftover capacity of tunnel a Ci ef t, a is not equal to or larger than the predetermined threshold value the scheduling algorithm will determine if the leftover capacity of tunnel b Q ef t ,b is not equal to or larger than the predetermined threshold value (THR) in step S I 3. It should be appreciated that the threshold values for tunnel a and tunnel b do not necessarily need to be equal but can also be different threshold values.

If the leftover capacity of tunnel b Ci ef ,b is equal to or larger than the predetermined threshold value the scheduling algorithm will send the packet through tunnel b at step S I 4, which in this example has a scheduling weight of SW(0: 1 ), and return to the starting point (step S 10) and the procedure is repeated for another slot. If however, the leftover capacity of tunnel b Ci^ b is not equal to or larger than the predetermined threshold value the scheduling algorithm will determine that none of the tunnels have leftover capacity the scheduling algorithm will send the packet at step 15, which in this example has a scheduling weight of SW(1 : 1 ), and return to the starting point at step S 10 and the procedure is repeated for another slot.

In other words, tunnel a is the priority tunnel and in case that it has free capacity, packets are send over this tunnel a only. In case tunnel a has no free capacity, packets are send over tunnel b in case tunnel b has free capacity. In case both links do not have free capacity a round robin scheduling is performed.

Even if described within the context of network-layer approach, the person skilled in the art will appreciate that the present invention might also be applied in other bundling approaches, e.g. MPTCP. However, by using the described network-layer approach (layer 3) no new TCP protocol may be required. Thus, standard TCP protocols may be used.

As the present invention may be embodied in several forms without departing from the scope or essential characteristics thereof, it should be understood that the above-described embodiments are not limited by any of the details of the foregoing descriptions, unless otherwise specified, but rather should be construed broadly within the scope as defined in the appended claims, and therefore all changes and modifications that fall within the present invention are therefore intended to be embraced by the appended claims.

Furthermore, in the claims the word "comprising" does not exclude other elements or steps, and the indefinite article "a" or "an" does not exclude a plurality. A single unit may fulfil the functions of several features recited in the claims. The terms "essentially", "about", "approximately" and the like in connection with an attribute or a value particularly also define exactly the attribute or exactly the value, respectively. Any reference signs in the claims should not be construed as limiting the scope.