Abstract:
The present invention is a system of reception or transmission of media data, such as for audio or video streams, so that data communications alternate transmission or reception routes between available communications networks, choosing among parallel or single communications paths a most efficient and/or most reliable path for transmission of media packets.

Description:
This application claims benefit and priority of Provisional Application Ser. No. 60/860,627 filed Nov. 20, 2006. 
    
    
     FIELD OF THE INVENTION 
     The present invention relates to packet communication networks in transmission of media or real time streams of data. 
     BACKGROUND OF THE INVENTION 
     Mobile wireless telephones and the wireless communication systems that support their communications have dramatically expanded their role from simple node to node voice communications between two persons. Currently, mobile wireless communication devices and systems supporting their communications have the ability to transmit and receive data with many other devices. One of the most popular data streams which is desired by a user are media transmissions from a media source including audio and/or video for real time play through a user&#39;s mobile device. A popular source of media transmissions are by way of Internet access to a media server. Media servers include programs which establish media files and provide access control, typically requiring some form of payment prior to media transmission of desirable content such as musical performance or movies. Alternately, a more limited computer network may provide a critical portion of a communication link between a user&#39;s device and a media server. A limited but growing application of data transfer from a telephone enabled mobile device are VoIP phones are can transform voice into packets transmittable by Internet Protocol, i.e., VoIP. It is well known that portions of a communications session between a VoIP phone and a recipient device may include transmission of data signals through cellular, PSTN and/or other communications networks as links in the overall communications path. 
     Current mobile devices capable of telephone communications with other device have also increased the number of communications networks to which they can establish communication sessions by addition of communications modules linked to a microprocessor that operates a control program for the mobile device. Mobile cellular telephones enabled for communication by a cellular network (with various protocols such as GSM, CDMA, or W-CDMA) providing antennas for reception in a cellular territory may also have the ability to establish communications with a Wi-Fi network whose broadcast range has been detected by the cellular telephone. Wi-Fi networks are well known to operate under the IEEE 802.11 protocols for initiation, establishing and controlling communications between a base station and wireless access points. A base station typically provides access to communications by way Internet and/or local computer networks. 
     Some cellular mobile devices are enabled to communicate by way of DECT (Digital Enhanced Cordless Telecommunications) radio established for cordless telephones with a limited broadcast range. These radio devices typically communicate wirelessly with a broadcasting base station which is connected by wired connection with the PSTN system. DECT radio base stations have very limited broadcast ranges as compared with cellular networks, typically in range of 100 yards maximum. Data transfer to and from a mobile device by way of a DECT radio connection is somewhat more difficult than by way of a cellular or Wi-Fi network but can be accomplished by providing the base station with a modem which is enabled for connection with the Internet (and through an ISP). 
     Another communications network available to many mobile devices is a peer to peer network, which is wirelessly established ad hoc between two or more peer wireless communications devices. Establishing a wireless peer to peer network and exchanges of data which are allowed are performed under well known peer to peer architecture. Peer to peer networks can be structured or unstructured. It is well known that such peer to peer wireless networks are effective for transfer of media data such as audio and/or video files. 
     The above communications networks each have highly variable latency, bandwidth and packet loss characteristics relating to transmission of media data to a mobile device and each also is, at a specific period of time, is significantly different as between such networks. This variability is affected by inevitable swings in packet traffic, connection hand-offs or losses among broadcast ranges of nearby antennas, inherent limits on data transfers, and many other factors. In the end, a user of a mobile device is not concerned about the communications path actually traversed by a packetized media data stream as long as it plays well through the playout means of the mobile device. Such playout means may include a liquid crystal display screen for viewing video content and a speaker for playing audio content. 
     There is a need for a system which improves real time delivery of packetized media data streams from a media source to a mobile user. 
     SUMMARY OF THE INVENTION 
     The present invention is a system of reception or transmission of media data, such as for audio or video streams, so that data communications alternate transmission or reception routes between available communications networks, choosing among parallel or single communications paths a most efficient and/or fastest path for transmission of media packets. 
     A parallel form of the invention requires simultaneous transmission of a media data stream over two or more different communications networks. For instance, a cellular phone enabled with Wi-Fi network connection ability will transmit a data stream simultaneously and continuously to the cellular network and through the Wi-Fi network, where both networks have communications links with the same computer network providing packet transmission directly or indirectly to a recipient device. A microprocessor or the recipient device receives and saves a first arriving of two identical packets, reserving a decision to delete a second arriving packet based upon requirement for immediate playout and/or damage or loss detected in the second arriving packet. 
     In a parallel to single channel form of the invention, a mobile device transmits a media stream to two or more communications networks simultaneously and continuously at a first phase. A recipient device (or intermediate server in the computer network) receives duplicate packets and compares timestamps contained in each of two (or more) identical packets. No switching to a single channel (single communication network) occurs until the recipient device determines that duplicate, arrived data packets have identical timestamps. One benefit of this comparison prior to channel shutdown to a single channel is for source assurance. The recipient device also compares transmission times and viability of arrived data packets to arrive at a determination of a most reliable and/or fastest communications path for the stream of data packets from the user&#39;s device. The data required for the determination of best or fastest communication path or the final determination are transmitted to the user&#39;s device. The user&#39;s device will compare the received data and/or determination of best or fastest path and determine whether one or more or the communications sessions with the communications networks should be terminated. Consideration by the user&#39;s mobile device will include relative signal strengths of the wireless communications links with those networks, giving more weight to maintaining communications via a network with a better signal strength or better inherent data transfer rate. 
     Alternately, the user&#39;s mobile device can select a primary transmission to a communications network, preferably one with the highest inherent data transfer rate, and transmit a continuous stream of media data via that network to a recipient device. Concurrently, test transmissions are sent via other communications networks for the purpose of determining whether the alternate networks represent the best or fastest communication path to the recipient device. 
     In a preferred form, switching from transmission of a media data stream to a recipient device from one communication network to another will only take place when compression and framing of packets are matched and data rates are determined to be the same or better for the hand-off network. 
    
    
     
       BRIEF DESCRIPTION OF THE DRAWINGS 
         FIG. 1  is a block diagram of the invention system for improving media data transmission from a mobile device to a recipient device. 
         FIG. 2  is a high level flow diagram of the invention system. 
     
    
    
     DETAILED DESCRIPTION OF THE INVENTION 
     The invention is now discussed with reference to the figures. 
       FIG. 1  is a block diagram of the invention system  100  for improving media data transmission from a mobile device  101  to a recipient device  107 . It is intended that two or more communications networks in wireless communications interface  102  will establish communications sessions with mobile device  101  for the purpose of forming, at least initially, parallel, continuous and simultaneous data packet streams that are transmitted to recipient device  107 . Mobile device  101  is a wireless communication device capable of establishing and maintaining the parallel transmission paths just described and is also capable of establishing wireless telephone communications with recipient device  107 . 
     Communication network  103  comprises a cellular communication system including its antenna communications devices and its extensive system of communication connection assurance. Communication network  105  comprises a Wi-Fi network comprising a base station and wireless access points establishing a local broadcasting range. Communication network  104  comprises a DECT radio system equipped with means for establishing data communications with recipient device  107 . Peer to peer network  106  (shown in broken lines) comprises a direct wireless data packet communication session between mobile device  101  and recipient device  107 . 
     Networks  103 ,  104  and  105  are adapted to connect to a packet computer network  109  (such as an Internet Protocol network) whereby the packetized media data stream formed at mobile device  101  is transmitted to a recipient interface  108 , which may or may not include intervening communications networks such as those found in interface  102 . Wi-Fi network  105  may bypass network  109  by using a local protocol for transmitting packetized data between local users of a Wi-Fi network similar to such transmissions in peer to peer network  106 . 
       FIG. 2  is a high level flow diagram of the invention system. Step  120  causes a mobile device as described above to establish parallel and simultaneous communications sessions with one or more of the wireless communications networks described above and to transmit a packetized media data stream to a recipient device, duplicating the transmitted packets along parallel communication paths. 
     Step  122  causes a recipient device, comprising a microprocessor and control program, to execute a coordination function to evaluate arrived packets. The coordination function in one form compares timestamps of duplicate packets to assure that such packets are in fact duplicates. The coordination function further compares transmission times from sampled sets of duplicate arrived packets and determines by averaging which of the communications networks has transmitted the media data stream at the fastest overall rate and which of the communications networks has transmitted data at the slowest overall rate. The recipient device in step  124  transmits to the mobile device either or both of said transmission times and the determination of the fastest and/or slowest communications network. 
     In step  126 , the mobile device acts to terminate communication sessions with a slowest rate communication network and determines if sessions with all but one of the communications networks have been terminated. If all but one have not been terminated, step  126  returns the system to step  122 . If all but one communications sessions have been terminated, the mobile device completes transmission of the media data stream to the recipient device in step  128 . 
     In a preferred embodiment of the invention, a determination is made by the invention system that transmission of data packets in a first communications network are more reliable than transmission of data packets by way of other communications networks, all of which a plurality of communications networks current maintain communications sessions with the mobile device described above. In making that determination, the mobile device stores reliability information received from the recipient device concerning previously transmitted data packets. In a first specific example, the recipient device determines packet loss for a predetermined number of packets as indicated by expected packet sequence numbers for each data packet stream received from each communications networks from and with which the mobile device has established communications and which communication networks the recipient device has also established communications. The recipient device operates to determine which communications network&#39;s transmission of data packets has resulted in the lowest number of lost data packets and this result is transmitted to the mobile device, whereupon the mobile device identifies said lowest loss communication network as the most reliable media data stream and acts to terminate communications with other communications networks. 
     In a second specific example, the recipient device determines the strongest signal strength of wireless communications links between the recipient device and each of said communications networks for a predetermined time or over the course of receiving a predetermined number of data packets from the mobile device in parallel over multiple communications networks. Said determination of a strongest signal for a communication network is transmitted to the mobile device, whereupon the mobile device identifies said strongest signal strength for a communication network connected with the recipient device as the most reliable media data stream and acts to terminate communications with other communications networks. 
     In a third specific example, the mobile device determines the strongest signal strength of wireless communications links between the mobile device and each of said communications networks for a predetermined time or over the course of transmitting a predetermined number of data packets to the recipient device in parallel over multiple communications networks. Said determination of a strongest signal for a communication network is acted upon by the mobile device, whereby the mobile device identifies said strongest signal strength for a communication network connected with the mobile device as the most reliable media data stream and acts to terminate communications with other communications networks. 
     In a fourth specific example, the mobile device obtains the recipient device determination of strongest signal communication network as in the second specific example and also determines the strongest signal strength of wireless communications links between the mobile device as in the third specific example. If the recipient device has determined that a first communications network is the strongest signal network and the mobile device has determined that a second communications network is the strongest signal network for the mobile device, the mobile device identifies said strongest signal strength for a communication network connected with the mobile device as the most reliable media data stream and acts to terminate communications with other communications networks. Alternately, the mobile device identifies said strongest signal strength for a communication network connected with the reliable device as the most reliable media data stream and acts to terminate communications with other communications networks. The above design options will sometimes present the skilled designer with considerable and wide ranges from which to choose appropriate apparatus and method modifications for the above examples. However, the objects of the present invention will still be obtained by that skilled designer applying such design options in an appropriate manner.