This invention relates to a method and apparatus of performing multi-channel data transmission, and more particularly to optimizing connection channel use when performing multi-channel data transmission functionality.
Communication sessions may be established between two or more devices operating in a data networking environment. In certain instances those communication sessions may be setup between third party network elements which perform relay functions for the corresponding network devices. Multi-channel data transmission functions are based on more than one type of channel. For example, a control channel and a data channel may be used concurrently to perform a relay function. Current data transmission performed in data networks may be susceptible to connection loss, such as unexpected connection drops and lost communication sessions. This invention presents a method that uses multi-channel data transmission to provide fault tolerance in case of a connection failure.
An example embodiment of the present invention may include a method of performing a data channel change-over procedure. The method may include detecting an abnormality in an active data communication channel established between at least two endpoint devices. The method may also include selecting a next available data communication channel based on at least one data channel metric, transmitting at least one change-over message via an active control channel established between the at least two endpoints, and transmitting subsequent data messages over the next available data communication channel.
Another example embodiment of the present invention may include an apparatus configured to perform a data channel change-over procedure. The apparatus may include a processor configured to detect an abnormality in an active data communication channel established between at least two endpoint devices, and select a next available data communication channel based on at least one data channel metric. The apparatus may also include a transmitter configured to transmit at least one change-over message via an active control channel established between the at least two endpoints, and transmit subsequent data messages over the next available data communication channel.
It will be readily understood that the components of the present invention, as generally described and illustrated in the figures herein, may be arranged and designed in a wide variety of different configurations. Thus, the following detailed description of the embodiments of a method, apparatus, and system, as represented in the attached figures, is not intended to limit the scope of the invention as claimed, but is merely representative of selected embodiments of the invention.
The features, structures, or characteristics of the invention described throughout this specification may be combined in any suitable manner in one or more embodiments. For example, the usage of the phrases “example embodiments”, “some embodiments”, or other similar language, throughout this specification refers to the fact that a particular feature, structure, or characteristic described in connection with the embodiment may be included in at least one embodiment of the present invention. Thus, appearances of the phrases “example embodiments”, “in some embodiments”, “in other embodiments”, or other similar language, throughout this specification do not necessarily all refer to the same group of embodiments, and the described features, structures, or characteristics may be combined in any suitable manner in one or more embodiments.
In addition, while the term “message” has been used in the description of embodiments of the present invention, the invention may be applied to many types of network data, such as, packet, frame, datagram, etc. For purposes of this invention, the term “message” also includes packet, frame, datagram, and any equivalents thereof. Furthermore, while certain types of messages and signaling are depicted in exemplary embodiments of the invention, the invention is not limited to a certain type of message, and the invention is not limited to a certain type of signaling.
The term ‘admin’ may refer to a client side of the communication process. ‘Agent’ may refer to a server side of the communication process. A ‘control channel’ is a channel through which connection initiations, terminations, and change-overs are performed. A ‘data channel’ is a channel through which the actual client side data flows. A ‘peer-to-peer communication session’ is a direct connection between two endpoints without an intermediate relay server. TCP is a transmission control protocol used to establish a communication session. Change-over is a procedure used to change-over from one data stream to another data stream and/or one connection to another connection for sending/receiving data.
Example embodiments of the present invention may provide optimized stability of a data communication channel setup and corresponding procedure. Multi-channel relay generally uses two or more channels. In a two-channel approach, the first channel may be a control channel, and the second channel may be a data channel. The application data would be transferred from one network device to another network device through a separate data channel based on the availability of such a channel. A control channel may be used to setup and maintain connection initiations, terminations, changeovers, etc.
Relay connections 252 and 254 may require maintenance messaging, ongoing communication messaging, checkup procedures, etc., in order to maintain and establish an active communication sessions. A robust relay system would be tolerant to abnormal activity, such as connection failures, increases and/or decreases in latency, error messages, etc. During abnormal data channel failures, a data channel change-over mechanism may be performed through the active control channel 244 to initiate and/or execute a change-over procedure to another data channel (i.e., new data channel, alternate data channel, concurrent data channel, etc.). A client side (admin) may be used to decide the next best available data channel based on throughput and latency measurements and auditing procedures. The client side may initiate a change-over process by transferring messages through the active control channel 244.
Channels may cache the last few messages in a queue whenever the connection drops, the new data channel would start from where the previous data channel stopped before the failure. At the start of a session, the connection between the ADMIN and the AGENT sides are made through the relay servers 220 and 222. This connection would be used as both control and data channels. Multiple connections may be obtained through other relay servers, parallel TCP based peer-to-peer connections, and UDP hole punching based peer-to-peer connections.
The best data channel having a highest throughput and low latency should be selected based on one or more bandwidth tests performed over the channel. A change-over process would be initiated through the control channel to change-over to the best available data channel. After a successful negotiation, the data is transferred through the best available data channel. Each channel would cache the last few messages that it sent on a particular queue. By caching the last few messages whenever the active or current data channel fails, the change-over data channel could resume service from where the previous data channel stopped.
A change-over message may contain a sequence number of the last received message from either of the two endpoints 102 and 104, the new data channel would begin sending messages from the sequence number that it received through the change-over message. In case of a failure of the control channel 112, the next available relay connection is selected as the control channel. If no relay connection is available, a non-active data channel would be selected as the next control channel. If no non-active data channel is available, the active data channel would be designated as both the control and data channels. Thereafter, the next available channel would become the next control channel. A data channel may be selected on the basis of one or more channel metrics (e.g., channel bandwidth capacity, channel data throughput (Mbps), channel latency (delays), channel availability (downtime vs. uptime)).
The current session may refresh and/or be restarted in the case of no more connections being available to change-over after a failure. The control channel 112 may be setup first. A relay connection may be used for a control channel due to its stability and security. The control messages may be relatively short as compared to data messages. Fixing the control channel provides the flexibility to select the best data channel for subsequent data transfers. If the best channel is selected as both a control and data channel, then a change-over mechanism may not be performed during a connection failure. The granularity of a message queue mechanism for resending data would be performed at application level messages and not at the TCP packets. It would complicate the system to implement a retransmission protocol at the TCP packets level. After a changeover, the failed data channel can attempt to reconnect in the background. The multi-channel communication session would work with little delay (due to the change-over) as compared to a reconnect-based solution which might or might not succeed in reconnecting at all. Obviously, reconnection based solutions would incur a large delay once a failure takes place. As a result, the reconnection-based solution creates a lot of overhead.
According to one example, the active control channel may be the same as the active data channel, or instead the active control channel may be different from the active data channel. The active control channel and the active data communication channel are relay connections that connect to a relay server located between the at least two endpoint devices. The relay system 300 may establish an initial connection between the two endpoint devices, the initial connection may be used to communicate control messages and data messages prior to establishing the initial data communication channel and the active control channel. The relay system 300 may cache a number of recently transmitted messages transmitted through the initial data communication channel and/or the active control channel in a message cache database 340. In the event that the new channel is selected, the data retrieval engine 310 may retrieve the recently transmitted messages from the cache prior to transmitting subsequent data messages over the next available data communication channel to determine a point where the previously active data communication channel stopped transmitting data messages.
The operations of a method or algorithm described in connection with the embodiments disclosed herein may be embodied directly in hardware, in a computer program executed by a processor, or in a combination of the two. A computer program may be embodied on a computer readable medium, such as a storage medium. For example, a computer program may reside in random access memory (“RAM”), flash memory, read-only memory (“ROM”), erasable programmable read-only memory (“EPROM”), electrically erasable programmable read-only memory (“EEPROM”), registers, hard disk, a removable disk, a compact disk read-only memory (“CD-ROM”), or any other form of storage medium known in the art.
An exemplary storage medium may be coupled to the processor such that the processor may read information from, and write information to, the storage medium. In the alternative, the storage medium may be integral to the processor. The processor and the storage medium may reside in an application specific integrated circuit (“ASIC”). In the alternative, the processor and the storage medium may reside as discrete components. For example
As illustrated in
It is to be understood that the above description is intended to be illustrative, and not restrictive. Many other embodiments will be apparent to those of skill in the art upon reading and understanding the above description. Although the present invention has been described with reference to specific exemplary embodiments, it will be recognized that the invention is not limited to the embodiments described, but can be practiced with modification and alteration within the spirit and scope of the appended claims. Accordingly, the specification and drawings are to be regarded in an illustrative sense rather than a restrictive sense. The scope of the invention should, therefore, be determined with reference to the appended claims, along with the full scope of equivalents to which such claims are entitled.
Number | Name | Date | Kind |
---|---|---|---|
7822889 | Arimilli et al. | Oct 2010 | B2 |
20060094371 | Nguyen | May 2006 | A1 |
20100150157 | Wang et al. | Jun 2010 | A1 |
20110087775 | Lee et al. | Apr 2011 | A1 |
20110206041 | Schindler et al. | Aug 2011 | A1 |
20120033632 | Kawamura et al. | Feb 2012 | A1 |
20120039200 | Lee et al. | Feb 2012 | A1 |
Number | Date | Country | |
---|---|---|---|
20130142035 A1 | Jun 2013 | US |