The present invention relates in general to the field of computer networks. More particularly, the present invention discloses methods and systems for transmitting data packets frown a first communications router to a second communications router through an aggregated connection comprising a plurality of tunnels.
A multi Wide Area Network (WAN) Site-to-Site VPN router is a router that supports aggregating the bandwidth of multiple interconnections, e.g., WAN connections for accessing one or more remote private networks. In some implementations each TCP/IP session is routed to only one WAN. In this configuration, a single TCP file transfer session can only utilize the bandwidth of one WAN connection on each end. For example, in a session based site-to-site virtual private network (VPN) connection. VPN traffic is routed to multiple WAN connections between two sites (e.g., sites A and B).
In one implementation, M.times.N tunnels are initially formed between the WAN connections where M and N are the number of WAN network connections of site A and site B, respectively. Application TCP/IP sessions are then routed over the different tunnels. It is notable, however, that while a session based site-to-site VPN is able to utilize different tunnels for different sessions, a single download session in this type of connection is only able to utilize one tunnel.
In wireless communications, quality of packet transmission may be unpredictable, and packet drop rate may change frequently. This may reduce the quality of the overall packet transmission. Even if the bandwidth limit of each tunnel is high, the packet drop rate may not improve. A solution is required for utilizing multiple tunnels for increasing the probability of successfully transmitting data, which may be achieved by transmitting data packets more than once and also by transmitting packets that can be used for retrieving the original data packets.
The present invention discloses methods and systems for managing an error correction mode at a first communications router. The first communication router transmits data packets to a second communications router. The first data packet may be received at the first communication router from a first host through a local area network (LAN) interface. The first data packet is destined to a second host, wherein the second host is reachable through lie second communications router. The first communications router stores the first data packet in a local storage medium. When a delay inquiry message is received from the second communications router, the first communications router activates the error correction mode. The delay inquiry message comprises a global sequence number of the first data packet and indicates that the first data packet has not been received by the second communications router successfully. When the error correction mode is activated, the first data packet is retransmitted to the second communications router and an error correction packet corresponding to the first data packet is also transmitted. When a back-to-normal message is received from the second communications router, the first communications router deactivates the error correction mode. The back-to-normal message indicates that the first communications router no longer needs to be in error-correction mode.
According to one of the embodiments, the error correction is a combination of a plurality of packets, including the first data packet. The error correction packet may also be a forward error correction (FEC) packet, automatic repeat request (ARQ) packet, or a parity packet. According to one of the embodiments, the delay inquiry message is an internet protocol (IP) packet, wherein the IP packet comprises a header, an other information field, and a payload. The global sequence number of the first data packet is in the payload and the other information field comprises information that the IP packet is a delay inquiry message, and session information of the first data packet. When a plurality of data packets have not been received by the second communications router, the delay inquiry message comprises global sequence numbers of the plurality of data packets.
According to one of the embodiments, the first data packet is transmitted through an aggregated connection established between the first communications router and the second communications router; wherein the aggregated connection comprises a plurality of end-to-end connections. The plurality of end-to-end connections comprises a first, second and third end-to-end connection. The first data packet is transmitted through the first end-to-end connection, the first data packet is retransmitted through the second end-to-end connection, and the error correction packet is transmitted through the third end-to-end connection.
According to one of the embodiments, the local non-transitory storage medium is a cache memory. The cache memory is capable of storing at least twenty seconds of data transmission.
The ensuing description provides preferred exemplary embodiments(s) only, and is not intended to limit the scope, applicability or configuration of the invention. Rather, the ensuing description of the preferred exemplary embodiment(s) will provide those skilled in the art with an enabling description for implementing a preferred exemplary embodiment of the invention. It being understood that various changes may be made in the function and arrangement of elements without departing from the spirit and scope of the invention as set forth in the appended claims.
Specific details are given in the following description to provide a thorough understanding of the embodiments. However, it will be understood by one of ordinary skill in the art that the embodiments may be practiced without these specific details. For example, circuits may be shown in block diagrams in order not to obscure the embodiments in unnecessary detail. In other instances, well-known circuits, processes, algorithms, structures, and techniques may be shown without unnecessary detail in order to avoid obscuring the embodiments.
Also, it is noted that the embodiments may be described as a process which is depicted as a flowchart, a flow diagram, a data flow diagram, a structure diagram, or a block diagram. Although a flowchart may describe the operations as a sequential process, many of the operations can be performed in parallel or concurrently. In addition, the order of the operations may be re-arranged. A process is terminated when its operations are completed, but could have additional steps not included in the figure. A process may correspond to a method, a function, a procedure, a subroutine, a subprogram, etc. When a process corresponds to a function, its termination corresponds to a return of the function to the calling function or the main function.
Embodiments, or portions thereof, may be embodied in program instructions operable upon a processing nun for performing functions and operations as described herein. The program instructions making up the various embodiments may be stored in a non-transitory storage medium.
The program instructions making up the various embodiments may be stored in a storage medium. Moreover, as disclosed herein, the term “non-transitory storage medium” may represent one or more devices for storing data, including read only memory (ROM), programmable read-only memory (PROM), erasable programmable read-only memory (EPROM), random access memory (RAM), magnetic RAM, core memory, floppy disk, flexible disk, hard disk, magnetic tape, CD-ROM, flash memory devices, a memory card and/or other machine readable mediums for storing information. The term “machine-readable medium” includes, but is not limited to portable or fixed storage devices, optical storage mediums, magnetic mediums, memory chips or cartridges, wireless channels and various other mediums capable of storing, containing or carrying instruction(s) and/or data. A machine-readable medium can be realized by virtualization, and can be a virtual machine readable medium including a virtual machine readable medium in a cloud-based instance.
The term computer-readable medium, main memory, or secondary storage, as used herein refers to any medium that participates in providing instructions to a processing unit for execution. The computer-readable medium is just one example of a machine-readable medium, which may carry instructions for implementing any of the methods and/or techniques described herein. Such a medium may take many forms, including but not limited to, non-volatile media, volatile media, and transmission media. Non-volatile media includes, for example, optical or magnetic disks. Volatile media includes dynamic memory. Transmission media includes coaxial cables, copper wire and fiber optics. Transmission media can also take the form of acoustic or light waves, such as those generated dining radio-wave and infra-red data communications.
A volatile storage may be used for storing temporary variables or other intermediate information during execution of instructions by a processing unit. A non-volatile storage or static storage may be used for storing static information and instructions for processor, as well as various system configuration parameters.
The storage medium may include a number of software modules that may be implemented as software code to be executed by the processing unit using any suitable computer instruction type. The software code may be stored as a series of instructions or commands, or as a program in the storage medium.
Various forms of computer readable media may be involved in carrying one or more sequences of one or more instructions to the processor for execution. For example, the instructions may initially be carried on a magnetic disk from a remote computer. Alternatively, a remote computer can load the instructions into its dynamic memory and send the instructions to the system that runs the one or more sequences of one or more instructions.
A processing unit may be a microprocessor, a microcontroller, a digital signal processor (DSP), any combination of those devices, or any other circuitry configured to process information.
A processing unit executes program instructions or code segments for implementing embodiments of the present invention. Furthermore, embodiments may be implemented by hardware, software, firmware, middleware, microcode, hardware description languages, or any combination thereof. When implemented in software, firmware, middleware or microcode, the program instructions to perform the necessary tasks may be stored in a computer readable storage medium. A processing unit(s) can be realized by virtualization, and can be a virtual processing unit(s) including a virtual processing unit in a cloud-based instance.
Embodiments of the present invention are related to the use of a computer system for implementing the techniques described herein. In an embodiment, the inventive processing units may reside on a machine such as a computer platform. According to one embodiment of the invention, the techniques described herein are performed by computer system in response to the processing unit executing one or more sequences of one or more instructions contained in the volatile memory. Such instructions may be read into the volatile memory from another computer-readable medium. Execution of the sequences of instructions contained in the volatile memory causes the processing unit to perform the process steps described herein. In alternative embodiments, hard-wired circuitry may be used in place of or in combination with software instructions to implement the invention. Thus, embodiments of the invention are not limited to any specific combination of hardware circuitry and software.
A code segment, such as program instructions, may represent a procedure, a function, a subprogram, a program, a routine, a subroutine, a module, a software package, a class, or any combination of instructions, data structures, or program statements. A code segment may be coupled to another code segment or a hardware circuit by passing and/or receiving information, data, arguments, parameters, or memory contents. Information, arguments, parameters, data, etc. may be passed, forwarded, or transmitted via any suitable means including memory sharing, message passing, token passing, network transmission, etc.
Alternatively, hardwired circuitry may be used in place of, or in combination with, software instructions to implement processes consistent with the principles of the invention. Thus, implementations consistent with principles of the invention are not limited to any specific combination of hardware circuitry and software.
A network interface that may be provided by a node is an Ethernet interface, a frame relay interface, a fibre optic interface, a cable interface, a DSL interface, a token ring interface, a serial bus interface, a universal serial bus (USB) interface, Firewire interface, Peripheral Component Interconnect (PCI) interface, etc.
A network interface may be implemented by a standalone electronic component or may be integrated with other electronic components. A network interface may have no network connection or at least one network connection depending on the configuration. A network interface may be an Ethernet interface, a frame relay interface, a fibre optic interface, a cable interface, a Digital Subscriber Line (DSL) interface, a token ring interface, a serial bus interface, a universal serial bus (USB) interface, Firewire interface, Peripheral Component Interconnect (PCI) interface, cellular network interface, etc.
A network interface may connect to a wired or wireless access network. An access network may carry one or more network protocol data. A wired access network may be implemented using Ethernet, fiber optic, cable, DSL, frame relay, token ring, serial bus, USB, Firewire, PCI, or any material that can pass information. An wireless access network may be implemented using infra-red, High-Speed Packet Access (HSPA), HSPA+, Long Term Evolution (LTE), WiMax, General, packet radio service (GPRS), Global System for Mobile Communications (GSM), Enhanced Data rates for GSM Evolution (EDGE), Code division multiple access (CDMA), WiFi, CDMA2000, Wideband CDMA (WCDMA), Time Division CDMA (TD-SCDMA), BLUETOOTH, WiBRO, Evolution-Data Optimized (EV-DO); Digital Enhanced. Cordless Telecommunications (DECT); Digital AMPS (IS-136/TDMA); Integrated Digital Enhanced (iDEN) or any other wireless technologies. For example, a network interface may be used as a local area network (LAN) interface or a wide area network (WAN) interface.
Embodiments, or portions thereof, may be embodied in a computer data signal, which may be in any suitable form for communication over a transmission medium such that it is readable for execution by a functional device (e.g., processing unit) for performing the operations described herein. The computer data signal may include any binary digital electronic signal that can propagate over a transmission medium such as electronic network channels, optical fibers, air, electromagnetic media, radio frequency (RF) links, and the like, and thus the data signal may be in the form of an electrical signal, optical signal, radio frequency or other wireless communication signal, etc. The code segments may, in certain embodiments, be downloaded via computer networks such as the Internet, an intranet, LAN, metropolitan area network (MAN), wide area network (WAN), the public switched telephone network (PSTN), a satellite communication system, a cable transmission system, and/or the like.
Site 102 and router 106 may comprise M connections 112, and site 104 and router 108 may comprise N connections 114. Connections 112 and 114 are data connections for communicating information within network 110 between sites 102 and 104. In the illustrated embodiment, M is equal to 3 and N is equal to 2; however, these values may vary according to desired routers and configurations. Connections 112 and 114 may have similar or differing bandwidth capabilities. Further, connections 112 and 114 may comprise different types of WAN connections, such as a WiFi, cable, DSL, T1, 3G, 4G, satellite connections, and the like. It is also noted that site 102 and site 104 may be thought of as both a sender or receiver, and discussions regarding the functionality of either site may be implemented on the other site. In other words, system 100 may be implemented as a symmetrical network.
Communications routers 106 and 108 may have a plurality of network interfaces according to one of the embodiments. Communications router 106 establishes tunnels 103A, 103B, and 103C via one or more of its plurality of network interfaces with one or more network interfaces of communications router 108.
Communication device 106 and 108 may work as a gateway, a router, a switch, an access point, a hub, a bridge, etc.
A plurality of established tunnels 116 may be aggregated, combined or bonded together to form one aggregated connection. Those skilled in the arts would appreciate that there are myriad ways to aggregate, combine, or bond a plurality of established tunnels to forum one aggregate tunnel. An aggregated connection is perceived as one tunnel by sessions or applications that are using it. An aggregated connection may be an end-to-end connection, a virtual private network connection or connectionless oriented connection. For example, an aggregated connection may be a TCP connection or UDP connection. In another example, aggregated connection is an aggregation of a plurality of tunnels, and each tunnel is linked between communications router 106 and communications router 108. In another example, an aggregated connection may be a VPN tunnel, comprising a plurality of established tunnels, and each established tunnel is linked between communications router 106 and communications router 108.
At block 201 of the illustrated embodiment when establishing a bonded connection between routers 102 and 104, such as by implementing a bonded site-to-site VPN connection, M.times.N virtual tunnels 116 may be created, as illustrated in
Virtual tunnels 116 correspond to a unique permutation of the network connections of site 102 and the network connections of site 104.
At block 202 of the illustrated embodiment, default weights for the tunnels are determined and/or assigned. To determine default weights embodiments exchange uplink and downlink bandwidth data of connections 112 and 114 between sites 102 and 104. Using this bandwidth data, a default weight may be calculated according to the following: suppose site 102's downlink bandwidths of connections 1 to m are d1 d2, . . . dm, and site 104's uplink bandwidths of connections 1 to n are ur, U2, . . . Un; the default weight for the tunnel between site 102's connection X and site 104's connection V may be defined as DW(x,y), where DW(x,y)=dx,dy. Using the above method to calculate default weight, if connections 112-1 through 1123 are WAN connections of a multi WAN router with respective uplink/downlink bandwidths of 10 M/6 M, 8 M/4 M, and 6 M/6 M, and connections 114-1 through 114-2 are WAN connections of a multi WAN router with respective uplink dot bandwidths of 7 M/5 M and 9 M/3 M, the respective default weights for each tunnel will be as follows:
It is noted that other ways to calculate default weight are contemplated, and the above is simply an example of the implementation of an embodiment of the present invention. It is noted that many different weighting schema may be used to define the initial bandwidth of a tunnel. For example, one may desire to only weight a tunnel in one direction using the downlink capacity of a receiving site and the uplink capacity of the sending site. Any weighting scheme used to characterize capacity of the tunnels at the establishment of the bonded connection may be used for the purposes of the present invention.
When packets are being routed from site 102 to site 104 according to embodiments, the packets will be distributed to the tunnels in a ratio according to an effective weight EW(x,y). Initially the effective weight of embodiments is set to be equal to the default weight, EW(x,y)=DW(x,y), and if the bandwidth of tunnels 116 remains unchanged from the initial setting, the effective weight is optimal for packet distribution. However, if a user is downloading a file over a bonded network connection in a TCP session with one or more tunnels having packet drops, the overall throughput of the session will drop dramatically. This is in part because the packet drops will keep causing TCP retransmissions and TCP's flow control will maintain a lower throughput even though tunnels without packet drops are not fully occupied.
One effective was to increase throughput would be to avoid such packet drops. To do so, embodiments of the present invention discern when tunnels are experiencing an increase or decrease in packet drop rates at block 203 of the illustrated embodiment. Embodiments further function to modify the effective weight of tunnels which are experiencing or have experienced changes in packet drop rates at block 204. The packet drop rate information may be monitored continuously or be monitored based on specific time periods. Once it is determined that a tunnel is experiencing an unacceptable rate of packet drops (block 204-1), the illustrated embodiment decreases the effective weight of the tunnel at block 204-2. In some embodiments, unacceptable may mean that the packet drop rate is a non-zero quantity, while other embodiments may determine that an unacceptable rate is any rate beyond a predefined threshold. Embodiments implement these decreases in stepwise fashion, in a continuous manner, in a reduction at one time in proportion to the increase in the packet drop rate, etc. When reductions are done in a gradual manner, embodiments, may continue to monitor the tunnel in order to optimize the amount of reduction which is implemented.
Tunnels 116 may be established or monitored by sending heartbeat packets through each tunnel from either router 106 or router 108. In some embodiments when the receive end fails to receive heartbeat packets from a tunnel for a period of time, it will treat that tunnel as down and the tunnel will not be used for routing traffic. If heartbeat packets again start being received, the tunnel may be re-established and be, weighted along with the other tunnels. As such, in the event that all packets are being dropped in a tunnel and the effective weight of that tunnel is reduced to zero, embodiments may utilize heartbeat packets to monitor and reestablish a connection.
Moreover, when tunnels recover all or part of their respective bandwidths, e.g. it is determined that the packet drop rate decreases (block 204-3), the illustrated embodiment functions to increase the effective weight of such tunnels (block 204-4) in order to fully, or more fully, utilize the bandwidth. Some embodiments increase the effective weight for a tunnel using predetermined step sizes until an accurate effective weight is regained. Other embodiments increase the effective weight proportionate to a newly measured bandwidth which may correspond to a newly measured packet drop rate. Moreover, embodiments may increase the effective weight for a tunnel based on a predetermined linear or exponential scale.
After the effective weight of the tunnels are adjusted, or it is determined that no adjustment is needed, the weighting scheme of the system is updated at block 205 of the illustrated embodiment. This update may comprise storing any processed, information, using such information in further processing, causing the system to take no action, etc. For example, processing performed with respect to block 205 may operate to average weighting schemes over a period of time, such as to mitigate error associated with highly transient anomalies. Further, the updated, information may be used on system 100 to modify the packet distribution of the data transfer session, as discussed with respect to
To monitor the bandwidth of the various tunnels 116, some embodiments of the present invention encapsulate each transmitted IP packet with various information.
The per tunnel sequence number discussed above may be used to monitor dropped packets in a tunnel. In one embodiment the router on the receiving end calculates the packet drop rate of each tunnel, DR(x,y), every f seconds by monitoring the per tunnel sequence number of the received packets. DR(x,y) may be characterized as the sequence numbers missed divided by a sequence number increase for a period f. The length of period f may vary, and in one embodiment f is equal to 5 seconds.
Other methods may also be used to monitor dropped packets, e.g.: the sender may periodically inform the receive end how many packets it has sent, the sender sends a heartbeat packet to the receive end every constant period of time and the receive end can estimate the overall drop rate by monitoring the heartbeat packets' drop rate, by acquiring drop rate figures from physical interface/device/layer, etc.
The receive end may feedback a particular tunnel's drop rate, effective weight, or other bandwidth indicators, to the sending router. When the sender receives information regarding packet drops, some embodiments lower the effective weight EW(x,y) of a tunnel by EW(x,y)DR(x,y). Other metrics may be used to modify the effective weight of a tunnel. In some embodiments, the sender may receive feedback and the effective weight may be reduced by number that is greater than or less than the packet drop rate. Such variances may be configured according to the particular needs of a communication system. The above example represents a metric that attempts to lower the effective weight of the tunnel to a weight which prevents further packet drops while maximizing the amount of usable bandwidth of the tunnel. Any metric which finds this balance may be preferred.
The information which is encapsulated in transmitted IP packets, such as shown in
It is noted that embodiments described herein are, at times, discussed in the context of a VPN connection. These discussions are presented in order to show an example embodiment of a bonded connection. The inventive concepts described in claimed herein are not limited to such connections. In fact, any connection where sufficient data may be obtained and exchanged in order to dynamically monitor the bandwidth of a plurality of communication paths which are being used in a data transfer session may be implemented with the embodiments of the present invention.
As discussed above, each packet may be assigned two different sequence numbers, a global sequence number (GSN) and a per tunnel sequence number (PTSN). These numbers may be used to assist in packet buffering and re-sequencing operations. After a packet is passed to an upper layer, the receive end may update a next expected per-tunnel sequence number (NE-PTSN) and a next expected global sequence number (NE-GSN).
The following will describe one method of how a packet may be buffered or forwarded to destination device after it is received and decrypted.
Therefore, the encapsulated packet information discussed in
System 500 also includes random access memory (RAM) 503, which may be SRAM, DRAM, SDRAM, or the like. RAM 503 may be a secondary storage which stores program instructions executable by CPU 501. System 500 includes read-only memory (ROM) 504 which may be PROM, EPROM, EEPROM, or the like. RAM 503 and ROM 504 hold user and system data and programs, as are well known in the art.
System 500 also includes input/output (I/O) adapter 505, communications adapter 511, user interface adapter 508, and display adapter 509. I/O adapter 505, user interface adapter 508, and/or communications adapter 511 may, in certain embodiments, enable a user to interact with system 500 in, order to input information.
I/O adapter 505 connects storage device(s) 506, such as one or more of hard drive, compact disc (CD) drive, floppy disk drive, tape drive, etc., to system 500. The storage devices are utilized in addition to RAM 503 for the memory requirements associated performing the operations discussed in the above embodiments. Communications adapter 511 is adapted to couple system 500 to network 512, which may enable information to be input to and/or output from system 500 via such network 512 (e.g., the Internet or other wide-area network, a local-area network, a public or private switched telephony network, a wireless network, any combination of the foregoing). Communications adapter 511 may be regarded as a network interface, and system 500 may comprise a plurality of communications adapters 511. User interface adapter 508 couples user input devices, such as keyboard 513, pointing device 507, and microphone 514 and/or output devices, such as speakers) 515 to system 500. Display adapter 509 is driven by CPU 501 to control the display on display device 510. Display adapter 509 transmits instructions for transforming or manipulating the state of the various numbers of pixels used by display device 510 to visually present the desired information to a user. Such instructions include instructions for changing state from on to off setting a particular color, intensity, duration, or the like. Each such instruction makes up the rendering instructions that control how and what is displayed on display device 510.
In some communication protocols, such as TCP, when a data transfer session ends, an end message may be sent from the sender to the receiver in order to indicate that the data transfer session has ended, i.e., no more data packets belonging to the data transfer session will be sent. Communications router 108 may determine that data, such as data-2, is delayed or lost, as it may not have received any end message after receiving data-1. Therefore, it sends the delay inquiry message in flow 709 in order to request communications router 106 to resend data-2.
When data is received at communications router 106 from host 103, communications router 106 may save the data in a local storage medium, such as a cache, such that it may send copies of the data when necessary without requiring host 103 to resend the data. In case the data is lost when being transmitted to communications router 108, communications router 106 can quickly resend the data. There is no need to wait for host 103 to resend the data or inform host 103 about the lost. Those who are skilled in the art would appreciate that in some communication protocols, when host 103 is aware the host that data is lost, host 103 may slow down the data transmission. Since the waiting time is reduced, communications router 108 is able to receive a retransmission of the data from communication router 106, instead of making a retransmission request to host 103.
In flow 721, communications router 106 sends out data-3-EC. For illustration purpose, coincidentally data-3-EC is sent before Ack-3 is received at communications router 106. In one variant, if Ack-3 had been received earlier at communications router 106, communications router 106 would not have transmitted data-3-EC.
Contents of data-2-1 may be the same as contents of data-2, as communications router 106 resends data-2 by sending data-2-1. Data-2-EC is encapsulated in error correction packets. In one variant, the data packet encapsulating data-2-1 is identical to the data packet encapsulating data-2 as the content of data-2-1 is the same as the content of data-2, source addresses of the data packets are the same and destination addresses of the data packets are the same.
Error correction packets may be packets that are transmitted by communications router 106 to correct or detect any errors in data packets that are transmitted from communications router 106 to communications router 108. Error correction packets include Forward error correction (FEC) packets or Automatic repeat request (ARQ) packets, Parity packets, or the like. In one variant, error correction packets may also be combinations of two or more packets. For example, if a first packet comprises data-2 and a second packet comprises data-2-EC, a third packet may comprise data content based on an exclusive OR (XOR) operation applied to the contents of first and second packets. Using data-2-EC, communications router 108 may be able to retrieve data-2, and sends data-2 to host 105.
In one variant, data-2 may be fragmented into two parts. A first part of data-2 is encapsulated in a first data packet and a second part of data-2 is encapsulated in a second data packet. For illustration purpose, when communications router 106 sends data-2 to communications router 108 in flow 708, communications router 108 receives the first data packet, but the second data packet is dropped or lost. Communications router 108 then sends the delay inquiry message in flow 709. Data-2-EC may comprise an error correction packet whose data content is based on an XOR operation applied to the contents of the first data packet and the second data packet, i.e., the XOR operation is applied to the first part of data-2 and the second part of data-2. When communications router 106 sends data-2-EC, communications router 108 can retrieve the second part of data-2 by using the first part of data-2 and data-2-EC. It would be known to those skilled in the art how the second part of data-2 can be retrieved using the first part of data-2 and data-2-EC, as data-2-EC is based on the first and second part of data-2.
In one variant, when communications router 106 receives the delay inquiry message and error correction mode is activated, communications router 106 may only send error correction packets, such as data-2-EC, and does not send data-2-1. In another variant, when communications router 106 receives the delay inquiry message, communications router 106 may only send data-2-1 and not send data-2-EC. The benefit of sending either only one of data-2-1 and data-2-EC is that fewer number of packets are transmitted, and hence lower bandwidth is consumed. This may help reduce traffic congestion. However, in some scenarios, data-2-EC alone may not help in retrieving data-2 if data-2-1 is not received. For example, when data-2-EC only contains a checksum or parity packets, it can only be used for error detection. In another example, when data-2-EC is created by applying XOR operation on two packets of data-2, data-2 can only be retrieved from data-2-EC if at least one of the two packets of data-2 had been received. Thus, sending data-2-1 may be helpful, such that data-2 may be retrieved using data-2-1 and data-2-EC. In one variant, as there may be some errors in data-2-1 received at communications router 108, data-2-EC may be used to correct the errors.
The waiting time period between communications router 106 sending data-1 and sending data-1-1 may be adjusted or adapted to different networking need. The purpose of transmitting data-1-1 is to reduce the probability of host 103 retransmitting data-1. Host 103 may retransmit data-1 for one or both of the following reasons: (i) when host 103 determines that data-1 is lost because an acknowledgement has not been received, and (ii) when host 105 sends a request to host 103 to resend data-1. Therefore, in one variant, the waiting time period is preferably smaller than both (i) a first time period between host 103 sending data-1 and host 103 deciding to retransmit data-1, and (ii) a second time period between host 103 transmitting data-1 and host 105 deciding to send a request to host 103 to resend data-1. The first time period and the second time period may be defined in the transmission protocol, such as TCP protocol. As a certain delay is caused for data to travel from communications router 106 to communications router 108, a third time period required for a data packet to be transmitted from communications router 106 to communications router 108 may also be taken into consideration for setting the waiting time period. The third time period may vary according to network conditions. The waiting time period may then be smaller than the first time period minus the third time period, and may also be smaller than the second time period minus the third time period. The benefit of reducing the probability of host 103 retransmitting data-1 is that host 103 does not slow down the data transmission because of the packet drop. In another variant the waiting time period is larger than a fourth time period, which is the time required, in general, for Ack-1 to be transmitted from communications router 108 to communications router 106. This may cause communications router 108 to wait for receiving Ack-1 for the time required, and if Ack-1 is not received within the fourth time period, data-1-1 and data-1-EC are transmitted. The benefit of the waiting time period being larger than the fourth time period is that less bandwidth may be consumed, as data-1-1 and data-1-EC is not transmitted if Ack-1 is received. However, the fourth time period may vary according to network conditions. The disadvantage of the waiting time period being larger than the fourth time period is that when the fourth time period has passed, host 103 may retransmit data-1, and may also slow down the data transmission. Therefore it is preferred to take into consideration the first, second, and third time periods as discussed above, and ignore the fourth time period. This ensures that data is transmitted successfully and data transmission is not slowed down, even though bandwidth consumption may be higher. In another variant, the waiting time period is adjustable by the administrator of communication routers 106 and 108.
The difference between the sequence diagrams in
In an example, when host 103 is transmitting data to host 105 through communications router 106 and 108 using TCP, and many packets are being dropped or lost, host 103 may reduce transmission rate in order to reduce packet loss and packet drop. This may make the overall transmission much slower, even if the increase in packet drop is temporary. Additionally, when host 103 determines that a packet has been dropped or lost, it will resend the packet. The overall transmission may be faster when communications router 106 resends packets, compared to when host 103 resends packets. In order to avoid host 103 reducing transmission rate and resending packets, communications router 106 sends more than one copy of the same packet, for example data-2 and data-2-1, and may also send error correction packets, for example data-2-EC. When communications router 106 sends more than one copy of the same packet, redundancy is higher and it is more likely that the packet will be received at host 105. Therefore, acknowledgement packets may be sent from host 105 and received at host 103 on time, and host 103 would not need to reduce the transmission rate or resend packets.
In a preferred embodiment, copies of the same packet are transmitted through different tunnels of an aggregated connection, if possible. For example, referring to
In one variant, if the error correction mode is already deactivated, 1003 is omitted. Communications router 108 determines whether the error correction mode is activated or not.
It is preferred that communications router 108 sends the request to reseed data in step 1001 before host 103 determines that the data has not been transmitted successfully. When communications router 100 receives the request to resend data, it resends a copy of the data to communications router 108. Communications router 106 may also send error correction data to communications router 108.
Communications routers 106 and 108 preferably have a large cache memory. According to the present invention, communications router 106 has to create and send error correction packets and copies of packets based on packets sent by host 103 and saved in the cache memory of communications router 106. Therefore communications router 106 may need to save many packets in its cache memory. Additionally, a plurality of management messages, such as back-to-normal message and delay inquiry message may need to be exchanged between communications routers 106 and 108. These management messages may also need to be saved in the cache memory of communications router 106 and 108.
It should be appreciated that communications router 108 is capable of performing the same processes as communications router 106 and vice versa. In the above description, communications router 106 has been described as the data sender and communications router 108 has been described as the data receiver for readability. It should be noted that the scope of the invention is not limited to only host 103 sending data to host 105, such that data transmission can also take place from host 105 to host 103. The data transmission can also be bidirectional, such that both host 103 and host 105 may send data to each other.
As communication routers need to store data for resending, storage medium is used for storing the data. The amount of storage required should be able to hold at least a few seconds of data being transmitted. Tt is preferred to store about twenty seconds of data transmission. For example, for an access connection that is capable of sending 100 Mbit per seconds, the amount of storage should be about twenty seconds times 100 Mbit per seconds and results in about 250 MBytes of storage. Those who are skilled in the art would appreciate that the larger the storage is, the more data can be retransmitted.
The present application is a non-provisional Continuation application which claims the benefits of and is based on U.S. application Ser. No. 16/284,315, titled “METHODS AND SYSTEMS FOR TRANSMITTING ERROR CORRECTION PACKETS”, filed on Feb. 25, 2019, which claims the benefits of and is based on U.S. application Ser. No. 15/295,550, now U.S. Pat. No. 10,218,467, titled “METHODS AND SYSTEMS FOR MANAGING ERROR CORRECTION MODE”, filed on Oct. 17, 2016, which is a non-provisional Continuation application which claims the benefits of and is based on U.S. application Ser. No. 14/582,642, now U.S. Pat. No. 9,473,274, titled “METHODS AND SYSTEMS FOR TRANSMITTING DATA THROUGH AN AGGREGATED CONNECTION”, filed on Dec. 24, 2014, which is a non-provisional Continuation-in-part application which claims the benefits of and is based on U.S. application Ser. No. 12/646,774, now U.S. Pat. No. 9,019,827, titled “THROUGHPUT OPTIMIZATION FOR BONDED VARIABLE BANDWIDTH CONNECTIONS”, filed on Dec. 23, 2009, the disclosures of which are hereby incorporated by specific reference thereto.
Number | Name | Date | Kind |
---|---|---|---|
5034826 | Bergen | Jul 1991 | A |
6205569 | Forehand | Mar 2001 | B1 |
6252878 | Locklear | Jun 2001 | B1 |
6470390 | Westfield | Oct 2002 | B1 |
6810377 | Ho | Oct 2004 | B1 |
7006500 | Pedersen et al. | Feb 2006 | B1 |
7249185 | Shaffer et al. | Jul 2007 | B1 |
7406082 | Nagarajan | Jul 2008 | B2 |
7586899 | Mohaban | Sep 2009 | B1 |
7590054 | Holness | Sep 2009 | B1 |
7685496 | Toyoda | Mar 2010 | B2 |
7760636 | Cheriton | Jul 2010 | B1 |
7787370 | Aweya et al. | Aug 2010 | B1 |
7796602 | Guo | Sep 2010 | B2 |
8165969 | Shah et al. | Apr 2012 | B2 |
8493867 | Cheriton | Jul 2013 | B1 |
8806030 | Zhu | Aug 2014 | B2 |
9019827 | Chan | Apr 2015 | B1 |
9473274 | Sung | Oct 2016 | B2 |
9531508 | Chan | Dec 2016 | B2 |
9787501 | Sung | Oct 2017 | B2 |
20020013924 | Yamamoto | Jan 2002 | A1 |
20020018447 | Yamada | Feb 2002 | A1 |
20020031089 | Elloumi | Mar 2002 | A1 |
20030011379 | Khoury | Jan 2003 | A1 |
20030048750 | Kobayashi | Mar 2003 | A1 |
20030072269 | Teruhi et al. | Apr 2003 | A1 |
20030108034 | Yu | Jun 2003 | A1 |
20030167342 | Munger | Sep 2003 | A1 |
20040004955 | Lewis | Jan 2004 | A1 |
20040078624 | Maxemchuk et al. | Apr 2004 | A1 |
20040136564 | Roeber | Jul 2004 | A1 |
20040236855 | Peles | Nov 2004 | A1 |
20040267959 | Cochran | Dec 2004 | A1 |
20050022097 | Cheng | Jan 2005 | A1 |
20050213593 | Anderson | Sep 2005 | A1 |
20060034184 | Karaoguz | Feb 2006 | A1 |
20060104366 | Huang | May 2006 | A1 |
20060190594 | Jorgenson | Aug 2006 | A1 |
20060200578 | Sherer | Sep 2006 | A1 |
20070055498 | Kapilow | Mar 2007 | A1 |
20070121615 | Weill | May 2007 | A1 |
20070255981 | Eto | Nov 2007 | A1 |
20080080533 | Yamane | Apr 2008 | A1 |
20080228435 | Lee | Sep 2008 | A1 |
20080310419 | Bansal | Dec 2008 | A1 |
20080320156 | Chen et al. | Dec 2008 | A1 |
20090240490 | Kim | Sep 2009 | A1 |
20090310485 | Averi | Dec 2009 | A1 |
20100027419 | Padhye et al. | Feb 2010 | A1 |
20100034115 | Busch | Feb 2010 | A1 |
20100039937 | Ramanujan | Feb 2010 | A1 |
20100097956 | Tauil | Apr 2010 | A1 |
20100098092 | Luo | Apr 2010 | A1 |
20100142539 | Gooch | Jun 2010 | A1 |
20110069715 | Luo | Mar 2011 | A1 |
20110096849 | Kubsch | Apr 2011 | A1 |
20110116483 | Lee et al. | May 2011 | A1 |
20110191111 | Chu | Aug 2011 | A1 |
20110194405 | Abbas | Aug 2011 | A1 |
20110222413 | Shukla | Sep 2011 | A1 |
20110276699 | Pedersen | Nov 2011 | A1 |
20120117273 | Averi | May 2012 | A1 |
20120127885 | Karaoguz | May 2012 | A1 |
20120140779 | Janneteau et al. | Jun 2012 | A1 |
20120163385 | Lee et al. | Jun 2012 | A1 |
20120314578 | Averi et al. | Dec 2012 | A1 |
20120324314 | Seshadri | Dec 2012 | A1 |
20130243442 | Noheji | Sep 2013 | A1 |
20130283037 | Katz | Oct 2013 | A1 |
20130311671 | Luo | Nov 2013 | A1 |
20140185445 | Averi | Jul 2014 | A1 |
20140258813 | Lusted | Sep 2014 | A1 |
20140286343 | Sung et al. | Sep 2014 | A1 |
20140376379 | Fredette | Dec 2014 | A1 |
20150113351 | Sung et al. | Apr 2015 | A1 |
20150288487 | Chan | Oct 2015 | A1 |
20160218947 | Hughes | Jul 2016 | A1 |
20170012738 | Mantiply | Jan 2017 | A1 |
20170126434 | Haney | May 2017 | A1 |
Number | Date | Country |
---|---|---|
1344087 | Apr 2002 | CN |
1756383 | Apr 2006 | CN |
1805445 | Jul 2006 | CN |
1968209 | May 2007 | CN |
101325557 | Dec 2008 | CN |
101562512 | Oct 2009 | CN |
101656597 | Feb 2010 | CN |
101729354 | Jun 2010 | CN |
101753279 | Jun 2010 | CN |
101902315 | Dec 2010 | CN |
101938421 | Jan 2011 | CN |
102045362 | May 2011 | CN |
102187692 | Sep 2011 | CN |
102257849 | Nov 2011 | CN |
102546382 | Jul 2012 | CN |
102986189 | Mar 2013 | CN |
103166846 | Jun 2013 | CN |
103477596 | Dec 2013 | CN |
103533450 | Jan 2014 | CN |
103546258 | Jan 2014 | CN |
103618678 | Mar 2014 | CN |
103647625 | Mar 2014 | CN |
1086452 | Sep 2005 | EP |
1995928 | Nov 2008 | EP |
2020129 | Feb 2009 | EP |
2008066421 | Jun 2008 | WO |
2008106773 | Sep 2008 | WO |
2011143094 | Nov 2011 | WO |
2011147381 | Dec 2011 | WO |
Entry |
---|
International Search Report in International Application No. PCT/IB2014/067315, dated Jul. 30, 2015. |
Written Opinion of the International Searching Authority in International Application No. PCT/IB2014/067315, dated Jul. 30, 2015. |
International Preliminary Report on Patentability Chapter I in International Application No. PCT/IB2014/067315, dated Jun. 27, 2017. |
International Search Report in International Application No. PCT/IB2013/055497, dated May 8, 2014. |
Written Opinion of the International Searching Authority in International Application No. PCT/IB2013/055497, dated May 8, 2014. |
International Preliminary Report on Patentability Chapter I in International Application No. PCT/IB2013/055497, dated Jan. 5, 2016. |
International Search Report in International Application No. PCT/IB2013/055499, dated Apr. 18, 2014. |
Written Opinion of the International Searching Authority in International Application No. PCT/IB2013/055499, dated Apr. 18, 2014. |
International Preliminary Report on Patentability Chapter I in International Application No. PCT/IB2013/055499, dated Jan. 5, 2016. |
International Search Report in International Application No. PCT/IB2014/063791, dated Apr. 29, 2015. |
Written Opinion of the International Searching Authority in International Application No. PCT/IB2014/063791, dated Apr. 29, 2015. |
International Preliminary Report on Patentability Chapter I in International Application No. PCT/IB2014/063791, dated Feb. 14, 2017. |
International Search Report in International Application No. PCT/IB2015/052998, dated Jan. 27, 2016. |
Written Opinion of the International Searching Authority in International Application No. PCT/IB2015/052998, dated Jan. 27, 2016. |
International Preliminary Report on Patentability Chapter I in International Application No. PCT/IB2015/052998, dated Oct. 24, 2017. |
First Office Action with Search Report in Chinese Application No. 201380077959.9, dated Dec. 5, 2017. |
Second Office Action with Search Report in Chinese Application No. 201380077959.9, dated Aug. 15, 2018. |
Third Office Action with Search Report in Chinese Application No. 201380077959.9, dated Jan. 17, 2019. |
First Office Action with Search Report in Chinese Application No. 201380077958.4, dated Mar. 12, 2018. |
Second Office Action with Search Report in Chinese Application No. 201380077958.4, dated Nov. 12, 2018. |
Third Office Action with Search Report in Chinese Application No. 201380077958.4, dated Mar. 22, 2019. |
First Office Action with Search Report in Chinese Application No. 201480081080.6, dated Apr. 3, 2019. |
First Office Action with Search Report in Chinese Application No. 201480082628.9, dated Jun. 28, 2019. |
First Office Action with Search Report in Chinese Application No. 201580055263.5, dated Nov. 18, 2019. |
Exam Report in UK Application No. GB1418211.7, dated May 26, 2020. |
Exam Report in UK Application No. GB1418129.1, dated Jun. 12, 2020. |
English Language Abstract of CN1756383A (Apr. 5, 2006). |
English Language Abstract of CN1805445A (Jul. 9, 2006). |
English Language Abstract of CN1968209A (May 23, 2007). |
English Language Abstract of CN1344087A (Apr. 10, 2002). |
English Language Abstract of CN101325557A (Dec. 17, 2008). |
English Language Abstract of CN101729354A (Jun. 9, 2010). |
English Language Abstract of CN101902315A (Dec. 1, 2010). |
English Language Abstract of CN101938421A (Jan. 5, 2011). |
English Language Abstract of CN102045362A (May 4, 2011). |
English Language Abstract of CN102187692A (Sep. 14, 2011). |
English Language Abstract of CN102257849A (Nov. 23, 2011). |
English Language Abstract of CN102546382A (Jul. 4, 2012). |
English Language Abstract of CN102986189A (Mar. 20, 2013). |
English Language Abstract of CN103166846A (Jun. 19, 2013). |
English Language Abstract of CN103477596A (Dec. 25, 2013). |
English Language Abstract of CN103533450A (Jan. 22, 2014). |
English Language Abstract of CN103546258A (Jan. 29, 2014). |
English Language Abstract of CN103618678A (Mar. 5, 2014). |
English Language Abstract of CN103647625A (Mar. 19, 2014). |
Office Action and Search Report in Chinese Application No. 202010104713.8, dated Jun. 30, 2021. |
English Language Abstract of CN 101753279 A (Jun. 23, 2010). |
English Language Abstract of CN 101562512 A (Oct. 21, 2009). |
English Language Abstract of CN 101656597 A (Feb. 24, 2010). |
Number | Date | Country | |
---|---|---|---|
20200322096 A1 | Oct 2020 | US |
Number | Date | Country | |
---|---|---|---|
Parent | 16284315 | Feb 2019 | US |
Child | 16908733 | US | |
Parent | 15295550 | Oct 2016 | US |
Child | 16284315 | US | |
Parent | 14582642 | Dec 2014 | US |
Child | 15295550 | US |
Number | Date | Country | |
---|---|---|---|
Parent | 12646774 | Dec 2009 | US |
Child | 14582642 | US |