Source: http://www.google.com/patents/US20090144424?dq=6,304,975
Timestamp: 2017-03-30 01:24:41
Document Index: 500362239

Matched Legal Cases: ['application No. 60', 'application No. 60', 'application No. 12', 'application No. 12', 'Application No. 60', 'Application No. 60', 'Application No. 60']

Patent US20090144424 - Network bandwidth detection and distribution - Google PatentsSearch Images Maps Play YouTube News Gmail Drive More »Sign inPatentsIn a node configured to communicate with one or more other nodes over a network, available bandwidth for network traffic may be distributed among two or more distinct channels of communication within a single application running on the node. An available bandwidth may be detected for communication between...http://www.google.com/patents/US20090144424?utm_source=gb-gplus-sharePatent US20090144424 - Network bandwidth detection and distributionAdvanced Patent SearchTry the new Google Patents, with machine-classified Google Scholar results, and Japanese and South Korean patents.Publication numberUS20090144424 A1Publication typeApplicationApplication numberUS 12/267,254Publication dateJun 4, 2009Filing dateNov 7, 2008Priority dateDec 4, 2007Also published asUS7856501, US7908393, US8005957, US8171123, US8943206, US20090144423, US20090144425, US20110099278, US20120213077, WO2009073312A2, WO2009073312A3Publication number12267254, 267254, US 2009/0144424 A1, US 2009/144424 A1, US 20090144424 A1, US 20090144424A1, US 2009144424 A1, US 2009144424A1, US-A1-20090144424, US-A1-2009144424, US2009/0144424A1, US2009/144424A1, US20090144424 A1, US20090144424A1, US2009144424 A1, US2009144424A1InventorsYutaka Takeda, James E. Marr, Stephen C. Detwiler, Attila Vass, Payton R. WhiteOriginal AssigneeSony Computer Entertainment Inc.Export CitationBiBTeX, EndNote, RefManPatent Citations (99), Referenced by (19), Classifications (10), Legal Events (5) External Links: USPTO, USPTO Assignment, EspacenetNetwork bandwidth detection and distribution
US 20090144424 A1Abstract
a) detecting an available bandwidth for communication between the first node and a second node; b) determining a distribution for the available bandwidth among the two or more communication channels; and c) adjusting a sending rate for data sent from the first node to the second node over one or more of the two or more communication channels in response to a detected change in the available bandwidth. 2. The method of claim 1, further comprising:
d) determining a maximum transmission unit (MTU) size in a network path between the first and second nodes. 3. The method of claim 2, wherein d) includes:
i) sending a plurality of test packets of varying transmission unit (TU) size from the first host to the second host, wherein a “do not fragment” (DF) flag for the test packets is not set; ii) determining whether one or more of the test packets were received by the second host; iii) calculating an estimated path MTU size for a network path between the first and second hosts based on one or more patterns of receipt of the test packets by the second host; and iv) sending one or more message packets of a size less than or equal to the estimated path MTU size over the network path. 4. The method of claim 1 wherein a) includes:
sending one or more message packets from the first node to the second node; receiving a sending rate from the second node in response to the one or more message packets; and sending data from the first node to the second node at the sending rate. 5. The method of claim 1 wherein a) includes
detecting a traffic status with the second node in response to one or more message packets received from the first node; sending a request from the first node to the second node, wherein the request includes a sending rate for the first node to send message packets to the second node, wherein the sending rate is determined from the traffic status. 6. The method of claim 1 wherein a) includes detecting saturation of the available bandwidth.
7. The method of claim 1, further comprising padding the available bandwidth during communication between the first node and the second node.
8. The method of claim 1, wherein c) includes dynamically adjusting the sending rate for data sent from the first node to the second node.
9. The method of claim 8, wherein dynamically adjusting the sending rate includes:
i) determining an initial bandwidth for communication between the first and second nodes; ii) sending one or more message packets from the first node to the second node at a constant sending rate less than or equal to the initial bandwidth, wherein the one or more message packets include data and padding; and iii) increasing the constant bandwidth, if packet loss or growth of delay is not detected for the one or more message packets. 10. The method of claim 9, further comprising decreasing the constant bandwidth, if packet loss or growth of delay is detected for the one or more message packets.
11. The method of claim 1, wherein c) includes determining one or more correlativity indexes between one or more sessions involving communication between the first and second nodes and adjusting the sending rate based on the one or more correlativity indexes.
12. The method of claim 8 wherein determining one or more correlativity indexes involves a computation of the type:
correlativity index=affected_count/probe_failure_count. 13. The method of claim 8 wherein adjusting the sending rate based on the one or more correlativity indexes includes reducing a sending rate for a first session by an amount ΔBWA and adjusting a sending rate for a second session by an amount ΔBWB, where:
ΔBWA=ΔBWB(CRIAB)/(1+CRIAB), wherein CRIAB is a correlativity index between the first session and the second session. 14. A node configured to communicate with one or more other nodes over a network and distribute available bandwidth for network traffic among two or more distinct channels of communication within a single application running on the node, the node comprising:
a) means for detecting an available bandwidth for communication between the first node and a second node; b) means for determining a distribution for the available among the two or more communication channels; and c) means for adjusting a sending rate for data sent from the first node to the second node over one or more of the two or more communication channels in response to a detected change in the available bandwidth. 15. A node configured to communicate with one or more other nodes over a network and distribute available bandwidth for network traffic among two or more distinct channels of communication within a single application running on the node, the node comprising:
a) a processor; and b) a set of computer executable instructions operably to implement a bandwidth detection module and a bandwidth distribution module on the processor, wherein the bandwidth module is configured to:
ii) adjust a sending rate for data sent from the first node to the second node over one or more of the two or more communication channels in response to a detected change in the available bandwidth;
16. The node of claim 15, wherein the bandwidth distribution module includes a Global Quality of Service (QoS) manager configured to distribute available bandwidth among two or more different sessions running on the node.
17. The node of claim 15 wherein the bandwidth distribution module includes a Session Quality of Service (QoS) manager configured to manage end-to-end QoS between the node and the one or more other nodes.
18. The node of claim 15, wherein the bandwidth distribution module includes a Channel Quality of Service (QoS) manager configured to implement one or more media-specific policy controls for the node.
19. The node of claim 18 wherein the one or more media-specific controls include fragmentation and/or de-fragmentation, queuing, scheduling, policy management and bandwidth usage management and bandwidth usage management. Description
[0001] This application claims the priority benefit of commonly-assigned, co-pending U.S. Provisional Patent application No. 60/992,295 to James E. Marr, Yutaka Takeda, Attila Vass, Payton White and Stephen C. Detwiler entitled “NETWORK TRAFFIC PRIORITIZATION” (Attorney Docket Number SCEA06084US00), filed Dec. 4, 2007, the entire disclosures of which are incorporated herein by reference.
[0002] This application claims the priority benefit of commonly-assigned, co-pending U.S. Provisional Patent application No. 60/992,282 to Yutaka Takeda, James E. Marr, Stephen C. Detwiler, Attila Vass, and Payton White entitled “NETWORK BANDWIDTH DETECTION AND DISTRIBUTION”, filed Dec. 4, 2007, the entire disclosures of which are incorporated herein by reference.
[0003] This application is related to commonly-assigned, co-pending U.S. patent application No. 12/______ to James E. Marr, Yutaka Takeda, Attila Vass, Payton White and Stephen C. Detwiler entitled “NETWORK TRAFFIC PRIORITIZATION” (Attorney Docket Number SCEA06084US01), filed the same day as the present application, the entire disclosures of which are incorporated herein by reference.
[0004] This application is related to commonly-assigned, co-pending U.S. patent application No. 12/______ to James E. Marr, Yutaka Takeda, Attila Vass, Payton White and Stephen C. Detwiler entitled “NETWORK BANDWIDTH DETECTION, DISTRIBUTION AND TRAFFIC PRIORITIZATION” (Attorney Docket Number SCEA06084US02), filed the same day as the present application, the entire disclosures of which are incorporated herein by reference.
[0005] The present invention relates to computer network communication, and more specifically to detecting available bandwidth for network traffic and distributing the available bandwidth among distinct channels of communication within a single application.
[0006] Computing systems are becoming increasingly interconnected through network environments. Such network environments may be centralized or decentralized. A decentralized computing environment may be defined by a number of computing systems interconnected to communicate with one another, wherein each computing system can perform both client and server functions. A peer-to-peer (P2P) network represents an example of a decentralized computing environment in which each computing system within the P2P network is defined as a peer of every other computing system within the network. For discussion purposes, each peer computing system within the P2P network is referred to as a node. Additionally, each node within the P2P network may be configured to execute software having substantially equivalent functionality. Therefore, each node may act as both a provider and a user of data and services across the P2P network. Peer to peer networks are distributed data networks without any centralized hierarchy or organization. Peer to peer data networks provide a robust and flexible means of communicating information between large numbers of computers or other information devices, referred to in general as nodes.
[0007] A P2P network relies primarily on the computing power and bandwidth of the participants in the network rather than concentrating it in a relatively low number of servers. P2P networks are typically used for connecting nodes via largely ad hoc connections. Such networks are useful for many purposes. P2P networks may be used, e.g., for sharing content files containing audio, video, data or anything in digital format is very common, and real-time data, such as telephony traffic, may also be transmitted using P2P technology.
[0008] P2P applications often involve a significant amount of communication between nodes over different communication channels. By way of example, such channels may include an audio channel, a video channel, and a file transfer channel. A given application, e.g., audio-video (A/V) chat may communicate using all three channels. Typically, an application has a limited amount of network bandwidth available for communication. The application distributes the available bandwidth among the communication channels. However, the amount of available network bandwidth is generally not known.
[0009] Prior art network implementations involving multiple communication channels typically adopt an “all or nothing” approach that can lead to bandwidth starvation. For example, consider a very low bandwidth situation where a user is attempting to engage in A/V chat involving transmission of captured audio and video frames. If the user does not have enough bandwidth available to transmit all of the captured audio and video frames, prior art techniques typically give complete priority to the audio frames and do not transmit any video frames. This may reduce quality of service for the A/V chat.
[0010] It is within this context that embodiments of the present invention arise.
[0012] FIG. 1 is a block diagram illustrating a network path between two hosts.
[0013] FIG. 2 is a block diagram illustrating the protocol stacks in the hosts and routers of FIG. 1.
[0014] FIG. 3 is a schematic diagram of nodes connected via a network illustrating a “dumb sender” model for bandwidth measurement according to an embodiment of the present invention.
[0015] FIG. 4 is a schematic diagram of nodes connected via a network illustrating the issue of “flooding” in bandwidth determination according to embodiments of the present invention.
[0016] FIG. 5 is a graph of data transmission as a function of time illustrating bandwidth padding in conjunction with embodiments of the present invention.
[0017] FIG. 6A is a graph illustrating the data transmission rate of a packet rate limited router as a function of packet size.
[0018] FIG. 6B is a graph illustrating the data transmission rate of a bit rate limited router as a function of packet size.
[0019] FIG. 6C is a flow diagram of a method for Path MTU discovery that may be used in conjunction with embodiments of the present invention.
[0020] FIG. 7 is a schematic diagram of a network illustrating a computer software for implementing dynamic bandwidth adjusting according to an embodiment of the present invention.
[0021] FIG. 8 is a block-level diagram illustrating a computer software for implementing global bandwidth management module in conjunction with embodiments of the present invention.
[0022] FIGS. 9A-9C are a series of schematic diagrams illustrating bandwidth correlativity detection in conjunction with embodiments of the present invention.
[0023] FIG. 10 is a block diagram of a node configured to implement network bandwidth detection and distribution according to an embodiment of the present invention.
[0025] Embodiments of the present invention may be understood in the context of network communications. FIG. 1 illustrates an example of network communication between Host 1 102 and Host 2 104. By way of example, the hosts may be any network capable device. Such devices include, but are not limited to computers, hand held internet browsers and/or email devices, Voice over Internet Protocol (VoIP) phones, video game consoles, hand held video game devices, and the like. Messages from Host 1 travel to Host 2 over a network path 103 via routers 106, 108, and 110. Each router may have a different Maximum Transmission Unit (MTU). In this example, router 106 has an MTU of 1500 bytes, router 108 has an MTU of 1000 bytes and router 110 has an MTU of 1500 bytes. The path MTU for the path 103 is the smallest MTU of any router in the path, which is 1000 bytes in this example.
[0026] The Hosts 102, 104 and routers 106, 108, 110 may be configured to communicate with each other according to a network protocol. FIG. 2 illustrates an example of a network protocol configuration for the situation shown in FIG. 1. By way of example, each host device 102, 104 may be configured (either in software or hardware or some combination of both) with a network protocol stack having five layers: an Application layer APP, a Transport layer TRANS, a Network layer NET (sometimes referred to as the IP layer), a Data Link Layer DLL and a Physical layer PHYS. These layers are well-known to those of skill in the art. The Hosts 102, 104 typically implement all five layers. The routers 106, 108, 110 typically implement only the Network, Data Link and Physical layers.
[0027] By way of example, embodiments of the present invention may implement Path MTU discovery at the Application layer. Typically, the Transport layer and below are implemented in an operating system (OS) kernel and applications have no control in changing behavior at these layers. Classic PMTUD, by contrast, is typically implemented at the Transport and IP (Network) layers.
[0028] The Application layer APP represents the level at which applications access network services. This layer represents the services that directly support applications such as software for file transfers, database access, and electronic mail. Examples of application layer software include HL7, Modbus, Session Initiation Protocol (SIP), and Simple Sensor Interface Protocol (SSI). In the particular case of the TCP/IP suite, the Application layer APP may be implemented with software protocols such as Hypertext Transfer Protocol (HTTP), Session Initiation Protocol (SIP), Simple Mail Transfer Protocol (SMTP), Short Message Peer-to-Peer Protocol (SMPP), Simple Network Management Protocol (SNMP), File Transfer Protocol (FTP), Teletype Network (TELNET), Network File System (NFS), Network Time Protocol (NTP), Real-time Transport Protocol (RTP), Dynamic Host Configuration Protocol (DHCP), and Domain Name System (DNS). The Application layer APP may sometimes be divided further into a Presentation layer and a Session layer, e.g., in the Open Systems Interface (OSI) protocol. The Presentation layer translates data from the Application layer into an intermediary format. The Presentation layer may also manages security issues by providing services such as data encryption, and compresses data so that fewer bits need to be transferred on the network. The Session layer allows two applications on different computers to establish, use, and end a session. As used herein, a session (also sometimes called a “user session”) refers to a particular instance of user interface with an application. By way of example, a session typically begins when the user accesses the application and typically ends when the user quits the application. The Session layer may establish dialog control between the two computers in a session, regulating which side transmits, plus when and how long it transmits.
[0029] The Transport layer TRANS handles error recognition and recovery. For a transmitting host, the Transport layer may also repackage long messages when necessary into small packets for transmission. For a receiving host the Transport layer rebuilds packets into the original message. The Transport layer for a receiving host may also send receipt acknowledgments. Examples of particular Transport layer protocols include Transmission Control Protocol (TCP), User Datagram Protocol (UDP) and Stream Control Transmission Protocol (SCTP), all of which, and equivalents thereof, are well-known to those of skill in the art. The Transport layer TRANS is the layer that typically supports packet fragmentation. It is noted that fragmentation may take place in the Transport layer of the host originating a message or at the Transport layer of any of the routers along the path between that host and the message's intended recipient.
[0030] The Network layer NET addresses messages and translates logical addresses and names into physical addresses. It also determines the route from the source to the destination computer. The Network layer may also manages traffic problems, such as switching, routing, and controlling the congestion of data packets. Examples of particular Network layer protocols include, but are not limited to, Internet Protocol (IP), Internet Control Message Protocol (ICMP), IP Security (Ipsec), Address Resolution Protocol (ARP), Routing Information Protocol (RIP) and Open Shortest Path First (OSPF) all of which, and equivalents thereof, are well-known to those of skill in the art
[0031] The Data Link layer DLL packages raw bits from the Physical layer PHYS into frames (logical, structured packets for data). The Data Link layer may also be responsible for transferring frames from one computer to another, without errors. After sending a frame, the Data Link layer DLL waits for an acknowledgment from the receiving computer. Examples of particular Data Link layer protocols include, but are not limited to, Point-to-Point Protocol (PPP), Serial Line Internet Protocol (SLIP) and Media Access Control (MAC) all of which, and equivalents thereof, are well-known to those of skill in the art. The Data Link layer DLL typically limits the MTU size.
[0032] The Physical layer PHYS transmits bits from one computer to another and regulates the transmission of a stream of bits over a physical medium. This layer defines how the cable is attached to the network adapter and what transmission technique is used to send data over the cable. Examples of particular Physical layer protocols and standards include, but are not limited to, RS-232, V.35, V.34, I.430, I.431, T1, E1, 10BASE-T, 100BASE-TX, POTS, SONET, DSL, 802.11a, 802.11b, 802.11g, 802.11n all of which, and equivalents thereof, are well-known to those of skill in the art
[0033] A message originating at Host 1 102 starts at the Application layer APP and works its way down the protocol stack to the Physical layer PHYS. When the message arrives as Host 2 104, it is received at the Physical layer PHYS and works its way up the stack to the Application layer APP. In the path 103 between the two hosts 102, 104, the message is received at the Physical layer PHYS of router 106 and works its way up to the Transport layer TRANS and then back down the stack to the Physical layer PHYS for transmission to router 108. The process repeats for routers 108 and 110. In peer-to-peer situations, once a connection has been established between the hosts 102, 104 they may communicate by peer-to-peer connections 105. The peer-to-peer connections 105 are not short cut routes for messages. Instead, a peer-to-peer connection merely indicates that each layer's message, or signal, that is embedded in a message as a header is understood or handled by the counterpart of the same layer entity. The messages between hosts 102 and 104 follow the same path through the routers 106, 108 and 110 regardless of whether it is peer-to-peer or client-server situation.
[0034] Embodiments of the present invention are directed to solving the problem of determining the available bandwidth for communication between two nodes over a network. Embodiments of the invention solve this problem by implementing an initial bandwidth estimation and a dynamic transmission rate adjustment corresponding to actual available bandwidth that changes over time. Additionally, embodiments of the invention may implement a way to optimize transmission rate when a node is communicating with more than one remote node, by making use of collective knowledge of bandwidth characteristics of each of the remote nodes. Embodiments of the invention may be applied to various network-related applications including real-time online gaming, multiparty call conference and audio visual (AV) chat applications.
[0035] According to an embodiment of the invention a bandwidth sensing module may include an Initial bandwidth measurement stage and a dynamic bandwidth adjustment stage. This fundamental measurement scheme may be further extended to global bandwidth management for applications that communicate with many remote nodes. (e.g. Multi-party AV chat.) The initial bandwidth measurement stage may implement maximum transmission unit (MTU) size discovery, e.g., as described in commonly-assigned U.S. patent application Ser. No. 11/755,693 to Yutaka Takeda, James Marr, and Payton White entitled “NETWORK COMMUNICATION WITH PATH MTU SIZE DISCOVERY”, the entire contents of which are incorporated herein by reference. It is noted that initial bandwidth estimation is rather difficult problem. Many existing applications that require knowledge of available network bandwidth assume there is a static amount of bandwidth. Alternatively, an application may ask a user in advance what type of network connection (Dialup, ISDN, Cable-modem, T1/LAN, etc) is being used rather than detecting it dynamically. Embodiments of the present invention may implement completely automatic bandwidth measurement in conjunction with MTU size discovery along with global bandwidth management.
[0036] Embodiments of the present invention address a number of different issues associated with network bandwidth management. Specifically, it is useful for a node to be able to make an initial determination of available bandwidth. In addition, it is desirable to be able to adjust a sending rate from the node in response to changes in the available bandwidth. Furthermore, in some embodiments, two or more different applications running on a given node may be communicating over a network. In such a case, it may be useful to determine a policy for bandwidth distribution among the different applications and to manage the bandwidth distribution while the applications are running.
[0000] Bandwidth Measurement FIG. 3 illustrates an example of bandwidth measurement using a “Dumb Sender” model. According to this model a first node 302 sends traffic 304, e.g., one or more data packets, to a second remote node 306. The second node 306 detects a traffic status from analysis of the traffic 304 received from the first node 302. By way of example, each packet of the traffic 304 may include a timestamp and a sequence number along with application data so that the second node 306 can detect packet loss and propagation delay over the network. Based on the traffic status, the second node 306 may request that the sender send traffic at a specific rate based on the status. By way of example, the second node 306 may request the specific rate by sending a message packet 308 containing the specific rate to the first node 302. Once the first node 302 receives the specific rate from the second node 306, the first node 302 simply follows the request and transmits data at the requested rate.
[0037] The dumb sender model may be used to implement both the initial bandwidth measurement and the dynamic bandwidth measurement that are described below. In a “Dumb Sender” model of the type illustrated in FIG. 3, a receiver (e.g., the second node 306) knows in what state of measurement it is and is in full control of the sending rate of a sender (e.g., the first node 302), while the sender just follows instructions from the receiver.
[0038] FIG. 4 illustrates the issue with “flooding”. As seen in FIG. 4, a path 401 over a network may be regarded as a series of queues 402A, 402B, 402C, 402D. Each queue represents an accumulation of data packets at routers or switches on the path between a first node 404 and a second node 406. Packet loss may not occur on the path until one or more of the queues (e.g., the third queue 402C) becomes full. Flooding occurs when one or more of the queues receives more packets than they can handle. Such flooding may cause a large latency that may take long time to recover. It is therefore desirable for embodiments of the invention to take such latency growth into consideration when making an initial bandwidth measurement.
[0039] The graph depicted in FIG. 5 illustrates the importance of “padding” bandwidth in embodiments of the present invention. Most media is of Variable Bit Rate (VBR). This means that the bit rate may vary over time due to the nature of the data being sent. For example, in MPEG Video data 502, the bit rate depends partly on the amount of movement taking place in a video frame. A greater amount of movement leads to a higher bit rate. In transmission of audio data 504, silence suppression may generate fewer packets or no packets at all during periods of silence. In order to accurately measure bandwidth, it is desirable to pad the data being sent with extra packets 506 so that a constant amount of data is transmitted per unit time during bandwidth measurement. The inventors have observed that without padding, the receiver starts allocating more bandwidth than the network can actually handle, and then when the video and audio data use up the full available bandwidth, growth of delay or packet loss (degradation of quality) occurs.
[0040] According to embodiments of the present invention, an initial bandwidth for a network path between two nodes may be determined as follows. First propose MTU discovery may be performed to determine the MTU for the network path. An example of path MTU discovery is described, e.g., as described in application Ser. No. 11/755,693. Once the network path MTU has been determined, data packets may be sent from the first node to the second node starting at some initial bandwidth value. The sending rate may then be gradually increased from the initial value by a fixed percentage at regular intervals of time until propagation delay is detected. The value of the sending rate when propagation delay is detected may then be used as the initial bandwidth value.
[0041] This so-called slow-start approach may begin with a sending rate set at some suitably low bandwidth value, e.g., 16 Kbps, 64 KKbps or 128 Kbps. The time needed for the sending rate to increase to a given bandwidth value depends partly on the initial and given bandwidth values, the interval between increases in the sending rate, and the percentage increase in sending rate for each interval. For example, Table I below shows a case where the given value is 280 Kbps, the sending rate is increased every second and various initial bandwidth values and percentage increases are assumed.
[0042] Given the foregoing discussion, the initial bandwidth measurement preferably satisfies certain requirements. Specifically, in the initial bandwidth measurement it is useful to detect growth of a propagation delay. If the propagation delay grows as the sending rate is increased, it may be deduced that a bandwidth saturation point has been exceeded. By way of example, propagation delay may be determined by a measurement of the amount of time a packet spends in transit over the network. By way of example, the sender may add a timestamp at the time of transmission to each packet so that the receiver can tell how much time the packet spent over the network by comparing the time of receipt of the packet and the timestamp field in the packet. To implement this, it is desirable for the sender's and receiver's “clocks” to be accurately synchronized. The clock synchronization may be done by a time synchronization protocol, such as Network Time Protocol (NTP). To implement such time synchronization, each client is synchronized with a NTP server. The operational details of NTP are described by David L. Mills in RFC 778, RFC 891, RFC 956, RFC 958, and RFC 1305, which may be accessed on the Internet at http://tools.ietf.org/html/rfc778, http://tools.ietf.org/html/rfc891, http://tools.ietf.org/html/rfc956, http://tools.ietf.org/html/rfc958 and http://tools.ietf.org/html/rfc1305 respectively and which are all incorporated herein by reference.
[0043] In some situations the accuracy of time determined by NTP may not be good enough to detect propagation delays of order 10 milliseconds. In such situations a peer-to-peer direct time synchronization may be implemented using a protocol similar to that of NTP, known as Simple Network Time Protocol (SNTP), which is described by David L. Mills in RFC 2030, which may be accessed on the Internet at http://tools.ietf.org.html/rfc2030, which is incorporated herein by reference. A local peer and a remote peer may perform a peer-to-peer time sync with each other using timestamps similar to those used in SNTP to calculate relative time differences. A timestamp generated by the remote peer may be converted to the local time with the calculated relative timestamp. By way of example a propagation delay may be determined from four timestamps t1, t2, t3, t4 where t1 is the time the local node sent a message packet, t2 is the time the remote node received the message packet, t3 is the time the remote node sent a response to the message packet and t4 is the time the local node received the response. The propagation delay tPD may be calculated as
[0000] t PD=((t 4 −t 1)−(t 3 −t 2))/2
[0044] Once the propagation delay is known, a time difference tDIFF may be calculated as
[0000] t DIFF =t 3 +t PD −t 4.
[0045] Once tDIFF is determined, the local node can calculate propagation delay tPD of subsequent each packet sent from the remote node using tDIFF, a timestamp tS received from a remote peer and a locally generated time of receipt tR. Specifically:
[0000] t PD =t R−(t S +t DIFF).
[0046] In addition, it is desirable that the initial bandwidth measurement avoid introducing an excessive amount of traffic to the network. Therefore a slow-start is desirable. It is also desirable to retry measurements at larger transmission unit (TU) sizes (e.g., 150% of the current TU size) at least a few times, e.g., up to two times, in order to improve the correctness of the measurement. What I meant by “larger” here is “the next TU size” 150% of the current TU size. Furthermore it is desirable that path MTU detection take place as quickly as possible, e.g., within about 30 seconds. It is generally not desirable to try too many times as the initial bandwidth measurement is desired to be completed in a short time (e.g., 30 sec as suggested here).
[0047] By way of example, discovery of the path MTU size may be implemented as explained below with respect to FIGS. 6A-6C. Path MTU discovery may be based on two observations. The first observation is that most routers will properly fragment packets that conform to certain Transport Layer protocols. An example of such a protocol is the User Datagram Protocol (UDP). UDP is a minimal message-oriented transport layer protocol that is described, e.g., by J. Postel in IETF RFC 768, Aug. 28, 1980, which may be accessed on the Internet at http://tools.ietf.org/html/rfc768, the contents of which are incorporated herein by reference. In the Internet protocol (IP) suite, UDP may provide a very simple interface between a network layer below (e.g., IPv4) and a session layer or application layer above. UDP is often described as being a connectionless protocol. As used herein connectionless, refers to network protocols in which a host can send a message without establishing a connection with the recipient. That is, the host simply puts the message onto the network with the destination address and hopes that it arrives. Other examples of connectionless protocols include Ethernet and IPX. UDP is typically used for message broadcast (sending a message to all on a local network) or multicast (sending a message to all subscribers). Common network applications that use UDP include the Domain Name System (DNS), streaming media applications such as Internet Protocol Television (IPTV), Voice over IP (VoIP), Trivial File Transfer Protocol (TFTP) and online games.
[0048] The second observation is that routers tend to exhibit one or two particular types of bandwidth limitation behavior. Specifically, router bandwidth limitation may be classified as being either packet rate limited or bit rate limited. In a packet rate limited router, the data transmission rate is determined by a number of packets the router can transmit per unit time. For a packet rate limited router, the size of the packets does not affect the number of packets the router can send per unit time as long as the packets are no larger than some maximum packet size, which determines the MTU for that router. Packet rate limited routers are sometimes referred to herein as being packet-per-second (pps) limited. For a pps-limited router, it makes sense to send packets that are as large as possible in order to optimize the data transmission rate. For a bit rate limited router, by contrast, the data transmission rate is determined by a maximum number of bits per unit time that is independent of the packet size. Bit-rate limited routers are sometimes referred to herein as being bit-per-second (bps) limited. It is noted that both bps-limited routers and pps-limited routers may fragment a packet depending on the MTU set to the router.
[0049] Rate limitation, which may occur either intentionally or unintentionally, could happen at any layer in the protocol stack. One “intentional” case that is very common is to set up IP tables (set policies within the IP and transport layers) to throttle bandwidth. Bandwidth saturation may be detected at the receiver side by observing packet loss and increase of latency. As described above, there are a series of queues in the path. When saturation occurs somewhere in the path, a queue right before the saturation point starts accumulating packets. This may be observed as an “increase of latency” at the receiver by checking timestamps added to each packet. Eventually, the queue becomes full and packets start being dropped, which may also be observed at the receiver side by checking sequence numbers attached to each packet.
[0050] The difference in behavior of the packet rate limited and bit rate limited routers is illustrated in FIGS. 6A-6B. Specifically, FIG. 6A graphically depicts the data transfer rate for UDP packets as a function of transmission unit size TU for a packet rate limited router. In each case, the network path has a bandwidth limit of 500 Kilobits per second (Kbps). Packets at an initial size are sent at an initial bandwidth BW0 (e.g., 64 Kbps). Preferably the sending host has the ability to “throttle” the bandwidth with which the packets are sent. The sending bandwidth may be gradually increased above the initial bandwidth BW0, e.g., by a fixed percentage each second until bandwidth saturation is detected. Such a “slow-start” approach is often useful since packets are queued at each node. A long queue increases latency, which is undesirable. Long queues also tend to take a long time to be recovered. Embodiments of the present invention avoid this by gradually increasing the sending bandwidth BW while keeping the TU size fixed. Each packet includes a request for the receiving host to provide the data transfer rate (e.g., in bits per second (bps) for the received packets. As the bandwidth is increased, the data transfer rate for the received packets will continue to increase until the bandwidth reaches a point of saturation. At this point, increasing the bandwidth does not further increase the data transfer rate for the packets. Once saturation has been detected, the transmission unit size TU may then be increased, e.g., by some fixed percentage such as 50%, and the process may be repeated starting at an initial bandwidth approximately equal to the saturation bandwidth for the previous transmission unit size TU.
[0051] By observing the behavior of the bandwidth saturation as a function of TU size, the behavior of the network path between two nodes may be determined. For packets that are smaller than the router's MTU, the packet-limit saturated data transfer rate increases approximately linearly as the packet size increases as indicated by the lower dotted line 602 in FIG. 6A. For example, if the path contains a router having a packet limit of 32 packets per second and an initial packet size of, e.g., 480 8-bit bytes, the data transfer rate for the packets will saturate at about 120 Kbps. If the packet size is increased by 50%, e.g., to 720 bytes, but remains below the MTU size for the router, the bandwidth will saturate at about 180 Kbps. Such linear behavior is characteristic of a pps-limited router. Packets that are greater than the MTU size for the router are fragmented into two or more packets. As a result, the number of packets increases but the packet transmission rate does not. Consequently, the data transmission rate abruptly drops just beyond the MTU size. If the packet size is again increased, the data transmission rate for a pps-limited router is expected to increase in an approximately linear fashion until the packet size reaches another integer multiple of the MTU size. It is noted that even if the network path is packet-rate limited there is an upper limit on bandwidth saturation (e.g., 500 kbps) as indicated by the upper dotted line BWL.
[0052] FIG. 6B graphically depicts the data transfer rate for UDP packets as a function of packet size for a bit rate limited router. It is noted that a bit rate limited router is generally not sensitive to fragmentation of the packets because it is not affected by the number of packets sent per second. For example, sending 1000 bytes/sec or 500 byte packets at 2 packets/sec is the same for a bit rate limited router. However, although the bandwidth may be more or less fixed for such a router, the data transfer rate (e.g., in bits per second) may vary due to a more or less constant latency associated with transmission of each packet. As a result of the latency, the data transfer rate for a bps-limited router will initially tend to increase sharply with packet size and indicated by the curve 604. However, as the data transmission rate approaches the bandwidth limit BWL for the network path, the transmission rate will tend to flatten off as a function of packet size.
[0053] Thus, based on an understanding of the two types of router behavior illustrated in FIGS. 6A-6B, path MTU discovery may proceed according to a method 610 as shown in FIG. 6C. As indicated at 612, test packets may be transmitted from one host to a recipient (e.g., from host 102 to host 104, with a small initial TU size and a small initial transmission bandwidth BW. (See FIG. 1). The DF flag for these packets is not set so that routers along the path 103 may fragment the packets normally, if they are configured to do so. As the packets are received, the transmitting host determines the data transfer rate for the packets, as indicated at 614. By way of example, each packet may include a request for the receiving host to send back a message that indicates the data transfer rate R for the test packet. The sending host probes for saturation behavior at 616. If saturation is not observed, the transmission bandwidth BW is gradually increased with the same TU size at 618, while probing packet loss and growth of delay at receiver side. When significant packet loss or growth of delay is detected, it may be assumed that the bandwidth with the TU size is saturated. The values of TU and R may be recorded at this point as indicated at 620. The TU size may then be increased, e.g., by 50% of the initial TU size. If the bandwidth is pps limited, it is expected that the bandwidth will grow linearly with TU size until the TU size (or an integer multiple thereof) is reached. If the TU size exceeds the actual path MTU size and the bandwidth is pps-limited, the receiver will detect that the data transfer rate is less than for the previous TU size. The example in FIG. 5A shows how the data transfer rate may behave when the TU size exceeds the actual path MTU size. When TU size exceeds the path MTU size, an intermediary node that has the MTU size set will start fragmenting long packets to fit them into the MTU size. This causes an increase in the number of packets, and a consequent decrease in the transfer rate since the bandwidth is pps limited. Specifically, just above the MTU size, the packets are split into two, which results in a drop in data transfer rate by one half Just above twice the MTU size the packets are split into three, which results in a drop in data transfer rate by one third. Just above three times the MTU size the packets are split into four, which results in a drop in data transfer rate by one fourth. By detecting this bandwidth drop, network applications can detect the path MTU size to maximize available bandwidth.
[0054] If the bandwidth is bps limited, by contrast, the bandwidth will tend to grow until it reaches a bandwidth saturation level, e.g., as shown and described above with respect to FIG. 6B. The data transfer rate for a bps-limited tends to flatten off without the characteristic drops seen in FIG. 6A. Thus, it is possible to determine router behavior and path MTU size by observing the dependence of data transfer rate R on TU size. By way of example, after each R and TU value has been recorded at 620 the sending host may check at 622 to determine if the latest value of R is less than the previous value of R. If so, the path MTU may be determined from the behavior of R versus TU at 624 based on a packet-rate limit assumption. If saturation of R as a function of TU (e.g., as shown in FIG. 6B) is detected at 626, the path MTU may be calculated based on a bit-rate limit assumption at 628. If such saturation behavior is not detected, the TU may be increased at 630 and the process may repeat at 612, 614, 616, etc. Once the Path MTU size has been determined, message packets of a size less than or equal to the Path MTU size may be sent over the path 103 to the second host 104, as indicated at 632. It is noted that the host that performs the path MTU discovery need not be one that sends the message packets. For example, if two or more hosts are connected to the second host 104 by the same path 103 it is possible for one of these hosts to perform path MTU discovery and notify another of these host of the path MTU. Any of these hosts may then send message packets that are less than or equal to the path MTU size over the path 103. Additional details of path MTU discovery are disclosed in commonly-assigned U.S. patent application Ser. No. 11/755,693 to Yutaka Takeda, James Marr, and Payton White entitled “NETWORK COMMUNICATION WITH PATH MTU SIZE DISCOVERY”, which has been incorporated herein by reference.
[0055] It is noted that the total time to estimate the initial bandwidth (referred to herein as the “total seek time”) may depend on whether the network path is packet rate limited or bit rate limited. Table II below illustrates an example of Total Seek Time Estimation for bandwidth limited and packet rate limited paths. In this example, it was assumed that the sending rate increased by 20% every second. Once saturation was reached for an in initial TU size, the TU size was increased as shown in Table II. The times shown in the table are the times for saturation for each TU size for the bit rate limited and packet rate limited cases.
[0056] By adding up the saturation times it may be deduced that for the packet-rate limited case the Total Seek time is approximately 15 seconds and the Total Seek time for the bit rate limited case is approximately 17 seconds.
[0057] According to embodiments of the present invention, bandwidth measurement may be utilized for dynamic bandwidth adjustment. By way of example, a node implementing dynamic bandwidth adjustment may be operated in one of three states. Specifically, as shown in FIG. 7 in a “Ready” state 702, the node sends data at an initial bandwidth rate without padding. If the node observes packet loss or growth in delay, the node may remain in the Ready state 702. If not, after a first predetermined time, e.g., as determined by a first timer A, the node may transition to a “Priming” state 704. In the Priming state 704 the node adds padding to data that it sends. If the node observes packet loss or growth in delay with the padded traffic, the node may return to the Ready state 702. Otherwise, after a second predetermined time, e.g., as determined by a second timer B, the node may transition to a “Probe” state 706. In the “Probe” state, the node may add padding while increasing a sending rate of the padded data. If the node observes packet loss or growth of delay in the padded traffic with increased sending rate, the node may return to the Ready state 702. Furthermore, even if packet loss or growth of delay are not observed, the node may return to the Ready state 702 after a third predetermined time, e.g., as determined by a third timer C. It is noted that the timers A, B, C may be implemented in hardware, in software, in firmware or some combination of two or more of hardware, software and firmware.
[0058] According to an embodiment of the invention, the node may be programmed to implement a three tier quality of service (QoS) bandwidth management module. By way of example, as shown in FIG. 8, a bandwidth management module 800 may include a Global QoS Manager 802, a Session QoS manager 804, and a Channel QoS manager 806. The Global QoS Manager 802 manages global bandwidth usage. The Global QoS Manager 802 may need to be aware of network topology as may be seen in the idea of a “Correlativity Index” with which the Global QoS 802 manager deals with network topology by looking at traffic characteristic dependencies between remote nodes. The Global QoS manager 802 is responsible for distributing bandwidth among different sessions running on the node 800.
[0059] The Session QoS Manager 804 is responsible for managing end-to-end QoS between the node on which it is implemented and one or more remote nodes. By way of example, and without limitation, the Session QoS manager 804 may be configured to perform MTU size discovery and rate limit type discovery, e.g., as set forth above with respect to FIGS. 6A-6C. The Session QoS manager 804 may be configured to distribute available bandwidth among different communication channels for a given session. Such bandwidth distribution may be implemented, e.g., as described in commonly-assigned U.S. Provisional Patent Application 60/992,295 to James E. Marr, Yutaka Takeda, Attila Vass, Payton White and Stephen C. Detwiler entitled “NETWORK TRAFFIC PRIORITIZATION” (Attorney Docket Number SCEA06084US00), filed the same day as the present application, which has been incorporated herein by reference. The Session QoS manager 804 may be configured to facilitate communication between the node 800 and one or more remote nodes.
[0060] The Channel QoS Manager 806 may be configured to implement media-specific policy controls for the node 800. Examples of such controls include fragmentation and/or de-fragmentation, queuing, scheduling, policy management and bandwidth usage management and bandwidth usage management. It is noted that in FIG. 8, the numbers 1, 0 . . . * between the Global QoS Manager 802 and the Session QoS Manager 804 and between the Session QoS Manager 804 and the Channel QoS Manager 806 indicate multiplicity of each end's component. For example, A Global QoS Manager 802 handles 0 or more Session QoS Managers 804, etc.
[0061] As an example of Global Bandwidth Management, consider a shared bandwidth situation in which bandwidth available for one session grows while bandwidth available for another session is shrinking. The available bandwidth may be dedicated. In such a situation it is useful to detect correlativity between the bandwidth dedication and the session. It is therefore desirable to detect such correlativity. “Session” information, such as whether a session involves a direct connection or via a proxy server or a relay server, is not useful because bottle necks may be present at locations other than a proxy or a relay server, (e.g., an ADSL uplink.) Furthermore, it is also desirable to address outgoing bandwidth distribution. Existing bandwidth measurement schemes, however, only determine inbound bandwidth saturation.
[0062] According to an alternative Bandwidth Correlativity may be detected for communication over a network between a “local” node and a “target” node utilizing three traffic states: a Ready state, a Priming state and a Probing state. In the Ready state, a node may send variable bit rate traffic at current sending rate. In the Priming state the node may add padding and send padded data at a constant bit rate with the current sending rate. In the Probing state, the node may send padded data at a constant bit rate with an increased sending rate. The correlativity detection may proceed as follows. Initially, all nodes within a group of nodes may start sending padded traffic. Subsequently, only the “target” node raises its sending rate. The target node observes reception quality degradation of the other nodes. To determine correlativity among outgoing sessions the target node may send padded traffic to all its remote nodes and observe reception quality of those nodes.
[0063] An example of the detection procedure may be understood with reference to FIGS. 9A-9C. In this example, a local node 902 and remote nodes 904, 906 and 908 may communicate with each other over a network 910. Initially, as depicted in FIG. 9A, the local node 902 and remote nodes 904, 906 and 908 are all in the ‘Ready’ state. The local node 902 exchanges unpadded variable bitrate data with remote node 904, remote node 906, and remote node 908. The local node 902 may transition to a ‘Priming’ state when a timer fires, e.g., as described above with respect to FIG. 7.
[0064] In the priming state, the local node 902 may designate one or more of the remote nodes as target nodes. By way of example, as seen in FIG. 9B, the local node 902 may designate remote node 906 as a target node. In the Priming state, the remote nodes 904, 906 and 908 may send padded traffic to the local node. In addition, the target node 906 may send padded traffic to all of its remote nodes, e.g., the local node 902, node 904, and node 908. In this example, correlativity is not detected in the Priming state. However, if packet loss or delay occurs, the sending rate may be reduced based on considerations of bandwidth correlativity learnt in the past, and the local node 902 may transition back to ‘Ready’ state. Specifically, if any target node's outgoing sessions is seen to be degraded (e.g., as reported by the target node's destinations), the local node may go back to the ‘Ready’ state. If no reception quality degradation is observed, the local node 902 may transition to the ‘Probing’ state.
[0065] By way of example, the local node 902 may ‘Probe’ target Node 906, as shown in FIG. 9C. Specifically, target Node 906 starts sending traffic at an increased rate and the local node 902 observes the reception quality for the traffic. In addition, Node 906 may check reception quality at remote Node 904 and remote Node 908. If packet loss or delay occurs in a non-target session, it may be considered to be correlative with the target session. As used herein a “target” session refers to a session involving communication between the local node and the target node and a “non-target” session refers to a session involving any other communication among the nodes. It is noted that packet loss or delay may be caused by other reasons. Therefore, it may be desirable to calculate the correlativity using a statistical approach.
[0066] By way of example, in a statistical approach the correlativity index (CRI) may be calculated by the total number of affected count divided by the total number of probes failed. More specifically, if the local node 902 is probing targeting node B 906, then the local node 902 may see reception quality degradation from node A 904. The local node 902 may add +1 to the affected count and +1 to the probe_failure_count. If affected_count is 8 and the number of probing failure is 10, then CRI between node A 904 and node B 906 will be 0.8, for example. In some implementations there may be a limitation to the maximum number of probing failure count as 20, in order to get CRI relatively up to current. In other words, a node may be configured such that it remembers the number of affected count for last 20 probing failures.
[0067] A similar correlativity check may be performed for the up-link at the target node 906. If any of the receiving nodes see quality degradation on padded sessions, a previous sending rate may be restored.
[0068] It is noted that FIGS. 9A-9C illustrate an example in which a single local node probes a target node. Embodiments of the present invention may also allow for simultaneous ‘Probing’ of different nodes. Simultaneous ‘Probing’ may be allowed if target nodes do not collide, i.e., if two local nodes choose the same target node. In such situations, the target node may be assigned to one of the local nodes on a first-come-first-served basis. If the same target is chosen by two different local nodes, the later probing node must abort (skip) it.
[0069] In embodiments of the present invention, correlativity may be measured based on a Correlativity Index (CRI). As an example of CRI, consider a situation in which a given node implements three sessions A, B and C. As used herein a “session” refers to an instance of interface with a particular application by a node.
[0070] In general the correlativity index (CRI) between any pair of sessions may range between 0 (if one of the sessions is dedicated) and 1 (if the sessions are shared). By way of example, the correlativity index CRI may be calculated as follows:
[0000] CRI=affected_count/probe_failure_count;
[0071] The affected_count and probe_failure_count may be understood by reference to an example. If the local node 902 is probing with node B 906 as a target and if reception quality from node A 904 was seen degraded, it may be surmised that node A 904 was affected by the increase in traffic to node B 906 (affected count is incremented by +1) and consequently the probing fails (probe_failure_count is incremented by +1). Therefore, if this is the first failure, then CRI between node A 904 and node B 906 will be 1/1=1.0. If 10 probing failures, targeting node B 906, were experienced and 8 were caused by reception quality degradation from node A 904, then CRI between node A 904 and node B 906 will be evaluated as 8/10=0.8.
[0072] By way of example, and without loss of generality, Table III illustrates an example of correlativity relationships for the sessions A, B and C.
[0073] In this example, no two different sessions are shared, but sessions A and B are correlated with each other while sessions A and C and B and C are not. Note the CRI values of 1.0 for correlativity between a given session and itself.
[0074] The correlativity indexes of Table III may be used to adjust sending rates if degradation in reception quality is observed during the course of communication between two nodes. For example, if session B experiences reception quality degradation, session B's sending rate may be reduced by an amount ΔBWB. In addition session A's bandwidth may also be reduced by an amount −ΔBWA that depends on the CRI between session A and session B. By way of example:
[0000] −ΔBWA=0.8/(0.8+1.0)*(−ΔBWB).
[0075] It is noted that in this example, if session C experiences reception quality degradation, only C's sending rate will be reduced.
[0076] FIG. 10 is a block diagram illustrating the components of a node 1000 suitable for implementing network traffic prioritization according to an embodiment of the present invention. By way of example, and without loss of generality, the node 1000 may be implemented as a computer system, such as a personal computer, video game console, personal digital assistant, or other digital device, suitable for practicing an embodiment of the invention. The node 1000 may include a central processing unit (CPU) 1001 configured to run software applications and optionally an operating system. The CPU 1001 may include one or more processing cores. By way of example and without limitation, the CPU 1001 may be a parallel processor module, such as a Cell Processor. An example of a Cell Processor architecture is described in detail, e.g., in Cell Broadband Engine Architecture, copyright International Business Machines Corporation, Sony Computer Entertainment Incorporated, Toshiba Corporation Aug. 8, 2005 a copy of which may be downloaded at http://cell.scei.co.jp/, the entire contents of which are incorporated herein by reference.
[0077] In the node 1000 a memory 1002 may be coupled to the CPU 1001. The memory 1002 may store applications and data for use by the CPU 1001. The memory 1002 may be in the form of an integrated circuit, e.g., RAM, DRAM, ROM, and the like). A computer program 1003 may be stored in the memory 1002 in the form of instructions that can be executed on the processor 1001. The instructions of the program 1003 may be configured to implement, amongst other things, one or more applications. By way of example, and without loss of generality, the program 1003 may include an application, such as an A/V chat application involving two or more channels of communication. Such channels may include, but are not limited to an audio channel C1, a video channel C2 and a file transfer channel C3. The memory 1002 may also contain instructions, that, when executed by the CPU 1001 implement a bandwidth detection module 1004, which is responsible for estimating the available bandwidth for communication with the other nodes as described hereinabove. In particular, the bandwidth detection module 1004 may implement initial bandwidth estimation, path MTU size determination as described above with respect to FIGS. 6A-6C, and bandwidth adjustment as described above with respect to FIG. 7. In addition, the bandwidth detection module 1004 may implement dynamic bandwidth adjustment, e.g., using the Ready, Priming and Probing states as described above with respect to FIGS. 9A-9C. Furthermore, the memory 1002 may also contain instructions, that, when executed by the CPU 1001 implement a bandwidth management module 1007, which may implement a Global QoS Manager, Session QoS manager and Channel QoS manager as described above with respect to FIG. 8.
[0078] The memory 1002 may also contain instructions configured to implement a scheduler 1006, which may be programmed with instructions that implement prioritizing of network traffic. Examples of such network traffic prioritization are described in detail in commonly-assigned U.S. Provisional Patent Application No. 60/992,295, to James E. Marr, Yutaka Takeda, Attila Vass, Payton White and Stephen C. Detwiler entitled “NETWORK TRAFFIC PRIORITIZATION” (Attorney Docket Number SCEA06084US00), filed the same day as the present application, which has been incorporated herein by reference.
[0079] The memory 1002 may also contain instructions configured to implement one or more policy modules 1008 that assign priorities for distribution of bandwidth by the scheduler 1006. By way of example and without loss of generality, the policy modules 1008 may include an audio policy module PM1 for the audio channel C1, a video policy module PM2 for the video channel C2, and a file transfer policy PM3 for the file transfer channel C3. Examples of such policy modules are described in detail in commonly-assigned U.S. Provisional Patent Application No. 60/992,295, to James E. Marr, Yutaka Takeda, Attila Vass, Payton White and Stephen C. Detwiler entitled “NETWORK TRAFFIC PRIORITIZATION” (Attorney Docket Number SCEA06084US00), which has been incorporated herein by reference.
[0080] The memory 1002 may contain data that is generated by or usable by the program 1003, bandwidth module 1004, scheduler 1006, and policy modules 1008. Specifically, such data may include, but is not limited to policy module parameters 1009, a bandwidth quantum BQ and a time quantum T. The policy module parameters 1009 may include priorities P1, P2, and P3 respectively associated with the audio channel C1, video channel C2, and file transfer channel C3. The policy module parameters 1009 may further include minimum values m1, m2 and m3 respectively associated with the audio channel C1, video channel C2 and file transfer channel C3 as well as maximum values M1, M2 and M3 respectively associated with the audio channel C1, video channel C2 and file transfer channel C3.
[0081] In addition, the memory 1002 may be configured to include one or more buffers 1010 for data generated by the program 1003 for transmission via the communication channels. By way of example and without loss of generality, the buffers 1010 may include an audio buffer B1 configured to buffer audio channel data 1011, a video buffer B2 configured to buffer video channel data 1012 and a file transfer buffer B3 configured to buffer file transfer channel data 1013. The scheduler 1006 may be configured, e.g., by appropriate programming, to implement buffering of data in accordance with one or more queuing policies 1014. By way of example, and without loss of generality, the queuing policies 1014 may include an audio data queuing policy QP1, a video data queuing policy QP2 and a file transfer queuing policy QP3. The queuing policies 1014 may be configured, to determine what happens when multiple sends are made on a single channel, but cannot all be sent immediately, e.g., as described in commonly-assigned U.S. Provisional Patent Application No. 60/992,295, to James E. Marr, Yutaka Takeda, Attila Vass, Payton White and Stephen C. Detwiler entitled “NETWORK TRAFFIC PRIORITIZATION” (Attorney Docket Number SCEA06084US00).
[0082] The node 1000 may further include a storage device 1015 that provides non-volatile storage for applications and data. By way of example, the storage device 1015 may be a fixed disk drive, removable disk drive, flash memory device, tape drive, CD-ROM, DVD-ROM, Blu-ray, HD-DVD, UMD, or other optical storage devices. The node 1000 may also include well-known support functions 1020 commonly used in computing systems. Such support functions may include such features as input/output (I/O) elements 1021, power supplies (P/S) 1022, a clock (CLK) 1023 and cache 1024.
[0083] One or more user input devices 1025 may be used to communicate user inputs from one or more users to the node 1000. By way of example, one or more of the user input devices 1025 may be coupled to the node 1000 via the I/O elements 1021. Examples of suitable input devices 1025 include keyboards, mice, joysticks, touch pads, touch screens, light pens, still or video cameras, and/or microphones. In the particular case of A/V chat, it is desirable for the user interface devices 1025 to include both a camera and a microphone. A network interface 1026 allows the node 1000 to communicate with other computer systems via an electronic communications network 1027. The network interface 1026 may include wired or wireless communication over local area networks and wide area networks such as the Internet. The node 1000 may send and receive data and/or requests for files via one or more message packets 1028 over the network 1027.
[0084] The node 1000 may further comprise a graphics subsystem 1030, which may include a graphics processing unit (GPU) 1035 and graphics memory 1040. The graphics memory 1040 may include a display memory (e.g., a frame buffer) used for storing pixel data for each pixel of an output image. The graphics memory 1040 may be integrated in the same device as the GPU 1035, connected as a separate device with GPU 1035, and/or implemented within the memory 1002. Pixel data may be provided to the graphics memory 1040 directly from the CPU 1001. Alternatively, the CPU 1001 may provide the GPU 1035 with data and/or instructions defining the desired output images, from which the GPU 1035 may generate the pixel data of one or more output images. The data and/or instructions defining the desired output images may be stored in buffers 1010 and/or graphics memory 1040. In an embodiment, the GPU 1035 may be configured (e.g., by suitable programming or hardware configuration) with 3D rendering capabilities for generating pixel data for output images from instructions and data defining the geometry, lighting, shading, texturing, motion, and/or camera parameters for a scene. The GPU 1035 may further include one or more programmable execution units capable of executing shader programs.
[0085] The graphics subsystem 1030 may periodically output pixel data for an image from graphics memory 1040 to be displayed on a display device 1050. The display device 1050 may be any device capable of displaying visual information in response to a signal from the computer system 1000, including CRT, LCD, plasma, and OLED displays. The node 1000 may provide the display device 1050 with an analog or digital signal. By way of example, the display 1050 may include a cathode ray tube (CRT) or flat panel screen that displays text, numerals, graphical symbols, or images. In addition, the node 1000 may include one or more audio speakers 1052 that produce audible or otherwise detectable sounds. To facilitate generation of such sounds, the node 1000 may further include an audio processor 1055 adapted to generate analog or digital audio output from instructions and/or data provided by the CPU 1001, memory 1002, and/or storage 1015. In the particular case of A/V chat, it is desirable for the node 1000 to include a graphical display device 1050 and an audio speaker 1052.
[0086] The components of the node 1000, including the CPU 1001, memory 1002, support functions 1020, data storage 1015, user input devices 1025, network interface 1026, graphics subsystem 1030, speaker 1052 and audio processor 1055 may be operably connected to each other via one or more data buses 1060. These components may be implemented in hardware, software, firmware or some combination of two or more of these.
[0087] By way of example, and without loss of generality, software designers may implement embodiments of the present invention in software applications by creating a plurality of communication channels, and assigning a priority and a queuing policy to each one. Data could then be sent through these configured communication channels and the scheduler 1006, policy modules 1008, and queuing policies 1014 may control the actual transmission of the data over the network 1027.
[0088] Embodiments of the present invention may avoid unfair bandwidth distribution during communication between nodes over a network. Serialization for probing operation is not required in order to implement such embodiments. In addition, the three-state congestion control (Ready, Priming and Probe) described above has been tested and shown to work very well. For example, in a situation involving 3-way A/V chat, involving three nodes, this three-state congestion control worked well adjusting sending rate and fairly distributing available bandwidth. Bandwidth distribution tended to stabilize in about 10 to 20 seconds after a new party joined the chat session.
[0089] While the above is a complete description of the preferred embodiment of the present invention, it is possible to use various alternatives, modifications and equivalents. Therefore, the scope of the present invention should be determined not with reference to the above description but should, instead, be determined with reference to the appended claims, along with their full scope of equivalents. Any feature described herein, whether preferred or not, may be combined with any other feature described herein, whether preferred or not. In the claims that follow, the indefinite article “A” or “An” refers to a quantity of one or more of the item following the article, except where expressly stated otherwise. The appended claims are not to be interpreted as including means-plus-function limitations, unless such a limitation is explicitly recited in a given claim using the phrase “means for.”
Patent CitationsCited PatentFiling datePublication dateApplicantTitleUS4843568 *Apr 11, 1986Jun 27, 1989Krueger Myron WReal time perception of and response to the actions of an unencumbered participant/userUS5128671 *Apr 12, 1990Jul 7, 1992Ltv Aerospace And Defense CompanyControl device having multiple degrees of freedomUS5528265 *Jul 18, 1994Jun 18, 1996Harrison; Simon J.Orientation-operated cursor control deviceUS5596720 *May 3, 1994Jan 21, 1997Fujitsu LimitedRedundant message processing system featuring reception server controlling communication between client and server process, and stand-by server retransmitting message with information indicating the message being a retransmitted messageUS5630184 *Oct 13, 1993May 13, 1997International Business Machines CorporationMethod of deleting and adding nodes in a spanning tree network by collating replies from other nodesUS5768382 *Nov 22, 1995Jun 16, 1998Walker Asset Management Limited PartnershipRemote-auditing of computer generated outcomes and authenticated biling and access control system using cryptographic and other protocolsUS5768531 *Mar 27, 1995Jun 16, 1998Toshiba America Information SystemsApparatus and method for using multiple communication paths in a wireless LANUS5856972 *Sep 6, 1996Jan 5, 1999Echelon CorporationDuplicate message detection method and apparatusUS5898679 *Dec 30, 1996Apr 27, 1999Lucent Technologies Inc.Wireless relay with selective message repeat and method of operation thereofUS6012096 *Apr 23, 1998Jan 4, 2000Microsoft CorporationMethod and system for peer-to-peer network latency measurementUS6212633 *Jun 26, 1998Apr 3, 2001Vlsi Technology, Inc.Secure data communication over a memory-mapped serial communications interface utilizing a distributed firewallUS6349210 *Nov 3, 2000Feb 19, 2002Itt Manufacturing Enterprises, Inc.Method and apparatus for broadcasting messages in channel reservation communication systemsUS6375572 *Feb 24, 2000Apr 23, 2002Nintendo Co., Ltd.Portable game apparatus with acceleration sensor and information storage medium storing a game progamUS6405104 *Mar 24, 1999Jun 11, 2002General Electric CorporationFault data synchronization via peer-to-peer communications networkUS6421347 *Jun 25, 1998Jul 16, 2002Motorola, Inc.Capability addressable network and method thereforUS6549786 *May 22, 1998Apr 15, 2003International Business Machines CorporationMethod and apparatus for connecting a wireless LAN to a wired LANUS6553515 *Sep 10, 1999Apr 22, 2003Comdial CorporationSystem, method and computer program product for diagnostic supervision of internet connectionsUS6590865 *Aug 2, 1999Jul 8, 2003Matsushita Electric Industrial Co., Ltd.Transmission system, bandwidth management apparatus, and bandwidth management methodUS6690678 *Nov 10, 1999Feb 10, 2004International Business Machines CorporationMethod and system in a packet switching network for dynamically adjusting the bandwidth of a continuous bit rate virtual path connection according to the network loadUS6701344 *Jul 31, 2000Mar 2, 2004The Boeing CompanyDistributed game environmentUS6704574 *Oct 15, 2001Mar 9, 2004Ching-Fang LinMethod of transmitting position data via cellular communication systemUS6712697 *Apr 16, 2002Mar 30, 2004Acres Gaming IncorporatedMethod for crediting a player of an electronic gaming deviceUS6757255 *Jul 27, 1999Jun 29, 2004Fujitsu LimitedApparatus for and method of measuring communication performanceUS6848997 *Jan 28, 2000Feb 1, 2005Kabushiki Kaisha Sega EnterprisesNetwork game system, game device terminal used in it and storage mediumUS6891801 *May 5, 2000May 10, 2005Siemens AktiengesellschaftMethod of operating a data transmission systemUS6899628 *Jul 12, 2002May 31, 2005Game Account LimitedSystem and method for providing game event management to a user of a gaming applicationUS7000025 *May 7, 2002Feb 14, 2006Adaptec, Inc.Methods for congestion mitigation in infinibandUS7017138 *Mar 29, 2002Mar 21, 2006National Instruments CorporationDynamically determining a route through one or more switch devices at program execution timeUS7035911 *Jan 12, 2001Apr 25, 2006Epicrealm, Licensing LlcMethod and system for community data cachingUS7043641 *Mar 8, 2000May 9, 2006IgtEncryption in a secure computerized gaming systemUS7065579 *Jan 22, 2002Jun 20, 2006Sun Microsystems, Inc.System using peer discovery and peer membership protocols for accessing peer-to-peer platform resources on a networkUS7168089 *Apr 3, 2002Jan 23, 2007IgtSecured virtual network in a gaming environmentUS7174382 *Apr 9, 2002Feb 6, 2007Hewlett-Packard Development Company, L.P.Interest-based connections in peer-to-peer networksUS7177950 *Apr 26, 2001Feb 13, 2007Microsoft CorporationSynchronization and recovery of peers in a peer to peer environmentUS7177951 *Jul 26, 2000Feb 13, 2007International Business Machines CorporationAddress management in PNNI hierarchical networksUS7185138 *May 9, 2005Feb 27, 2007Peter GalickiMulti-dimensional data routing fabricUS7194654 *Jul 2, 2001Mar 20, 2007Ericsson AbCommunications system for and method of recovering from communications failureUS7197565 *Oct 3, 2002Mar 27, 2007Sun Microsystems, Inc.System and method of using a pipe advertisement for a peer-to-peer network entity in peer-to-peer presence detectionUS7203841 *Mar 8, 2001Apr 10, 2007IgtEncryption in a secure computerized gaming systemUS7321928 *Nov 21, 2001Jan 22, 2008Switchfire LimitedSuper peering architectureUS7340500 *Jan 22, 2002Mar 4, 2008Sun Microsystems, Inc.Providing peer groups in a peer-to-peer environmentUS7346015 *May 30, 2002Mar 18, 2008British Telecommunications Public Limited CompanyMethod and apparatus for routing data with support for changing mobility requirementsUS7392375 *Sep 18, 2002Jun 24, 2008Colligo Networks, Inc.Peer-to-peer authentication for real-time collaborationUS7489631 *Mar 17, 2005Feb 10, 2009Veraz Networks Ltd.Method and device for quality management in communication networksUS7533172 *Jan 22, 2002May 12, 2009Sun Microsystems, Inc.Advertisements for peer-to-peer computing resourcesUS7680047 *Nov 22, 2005Mar 16, 2010Cisco Technology, Inc.Maximum transmission unit tuning mechanism for a real-time transport protocol streamUS20010005368 *Dec 6, 2000Jun 28, 2001Johan RuneMethod and communication system in wireless AD HOC networksUS20020002074 *May 31, 2001Jan 3, 2002Cyop SystemsMethod for an online player game payment systemUS20020006114 *Jul 11, 2001Jan 17, 2002Frode BjellandCommunication management in networks having split control planes and user planesUS20020013838 *Sep 25, 2001Jan 31, 2002Takayuki KushidaMethod and system to select the highest speed server among web serversUS20020035604 *Aug 29, 2001Mar 21, 2002Cohen Andrew R.Methods for performing client-hosted application sessions in distributed processing systemsUS20020055989 *Apr 26, 2001May 9, 2002Stringer-Calvert David W.J.Methods and apparatus for scalable, distributed management of virtual private networksUS20020085097 *Dec 22, 2000Jul 4, 2002Colmenarez Antonio J.Computer vision-based wireless pointing systemUS20020097732 *Mar 2, 2001Jul 25, 2002Tom WorsterVirtual private network protocolUS20030027634 *Aug 3, 2001Feb 6, 2003Matthews William F.Portable wireless game device and method for influencing an application executable from a fixed-location platformUS20030028585 *Jun 7, 2002Feb 6, 2003Yeager William J.Distributed trust mechanism for decentralized networksUS20030045359 *Jul 12, 2002Mar 6, 2003Leen Fergus A.System and method for providing game advice to a user of a gaming applicationUS20030046292 *Aug 15, 2001Mar 6, 2003International Business Machines CorporationRestructuring view maintenance system and methodUS20030055892 *Sep 19, 2001Mar 20, 2003Microsoft CorporationPeer-to-peer group management and method for maintaining peer-to-peer graphsUS20030079003 *Oct 18, 2001Apr 24, 2003Intel CorporationMethod for discovery and routing using a priori knowledge in the form of application programme within mobile AD-HOC networksUS20030084282 *Oct 29, 2002May 1, 2003Yamaha CorporationMethod and apparatus for certification and authentication of users and computers over networksUS20030097408 *Feb 27, 2002May 22, 2003Masahiro KageyamaCommunication method for message information based on networkUS20030104829 *Dec 4, 2001Jun 5, 2003Alzoubi Khaled Muhyeddin M.Technique for establishing a virtual backbone in an ad hoc wireless networkUS20030115258 *Dec 13, 2001Jun 19, 2003International Business Machines CorporationTime zone difference based locality estimation between web clients and E-business serversUS20030126229 *Aug 15, 2002Jul 3, 2003Jiri KantorMessage brokeringUS20030126245 *Nov 21, 2001Jul 3, 2003Eric FeltinComputer network architecture and associated method and systemUS20040007618 *Jul 10, 2002Jan 15, 2004Scott OramPrepaid credit card methodUS20040015548 *Nov 12, 2002Jan 22, 2004Lee Jin WooMethod and system for displaying group chat sessions on wireless mobile terminalsUS20040018839 *Jun 5, 2003Jan 29, 2004Oleg AndricProtocol and structure for mobile nodes in a self-organizing communication networkUS20040063497 *Sep 30, 2002Apr 1, 2004Kenneth GouldGaming server providing on demand quality of serviceUS20040085947 *Oct 31, 2002May 6, 2004Jan-Erik EkbergDevice detection and service discovery system and method for a mobile ad hoc communications networkUS20040087369 *Oct 21, 2003May 6, 2004Nintendo Co., Ltd.Wireless communication game systemUS20040088369 *Oct 31, 2002May 6, 2004Yeager William J.Peer trust evaluation using mobile agents in peer-to-peer networksUS20040103179 *Nov 26, 2002May 27, 2004Alcatel Canada Inc.Topology management of dual ring networkUS20040110563 *Oct 21, 2003Jun 10, 2004Nintendo Co., Ltd.Wireless communication game systemUS20050007964 *Jun 30, 2004Jan 13, 2005Vincent FalcoPeer-to-peer network heartbeat server and associated methodsUS20050015626 *Jul 9, 2004Jan 20, 2005Chasin C. ScottSystem and method for identifying and filtering junk e-mail messages or spam based on URL contentUS20050020354 *Aug 25, 2004Jan 27, 2005IgtMethods and devices for gaming account managementUS20050026698 *Aug 1, 2003Feb 3, 2005Pirich Christopher M.Media data protection with secure installerUS20050063409 *Sep 18, 2003Mar 24, 2005Nokia CorporationMethod and apparatus for managing multicast delivery to mobile devices involving a plurality of different networksUS20050064939 *Sep 19, 2003Mar 24, 2005Mcsheffrey Brendan T.Electronic mail gaming systemUS20050065632 *Sep 24, 2003Mar 24, 2005International Business Machines CorporationMethod and apparatus for scalable peer-to-peer inquiries in a network of untrusted partiesUS20050080858 *Oct 10, 2003Apr 14, 2005Microsoft CorporationSystem and method for searching a peer-to-peer networkUS20050086287 *Nov 3, 2003Apr 21, 2005Datta Glen V.Spectators in a peer-to-peer relay networkUS20050086288 *Nov 3, 2003Apr 21, 2005Datta Glen V.Peer-to-peer relay networkUS20050086329 *Nov 3, 2003Apr 21, 2005Datta Glen V.Multiple peer-to-peer relay networksUS20050086350 *Nov 3, 2003Apr 21, 2005Anthony MaiRedundancy lists in a peer-to-peer relay networkUS20050086369 *Nov 3, 2003Apr 21, 2005Anthony MaiIsland recovery in a peer-to-peer relay networkUS20050141522 *Dec 30, 2003Jun 30, 2005Vincent KadarApparatus and method for routing multimedia messages between a user agent and multiple multimedia message service centersUS20060063587 *Sep 12, 2005Mar 23, 2006Manzo Anthony VGaming advertisement systems and methodsUS20060067290 *Oct 20, 2005Mar 30, 2006Yasutaka MiwaNetwork identifier configuration method, communication method and wireless communication terminalUS20060068702 *Oct 20, 2005Mar 30, 2006Yasutaka MiwaApplication execution method, file data download method, file data upload method, communication method, network identifier setting method and wireless communication terminalUS20060084504 *Apr 25, 2005Apr 20, 2006Chan Andy KWireless communication systemsUS20060111979 *Nov 22, 2005May 25, 2006Viva ChuOnline game advertising systemUS20070077981 *Nov 7, 2006Apr 5, 2007IgtGaming system having sponsored awardsUS20090111532 *Dec 1, 2008Apr 30, 2009Juha SalokannelMethod and system for supporting residual energy awareness in an ad hoc wireless communications networkUS20090144423 *Nov 7, 2008Jun 4, 2009Sony Computer Entertainment Inc.Network traffic prioritizationUS20090144425 *Nov 7, 2008Jun 4, 2009Sony Computer Entertainment Inc.Network bandwidth detection, distribution and traffic prioritizationUS20100039937 *Oct 31, 2008Feb 18, 2010Architecture Technology CorporationReliable transport protocol providing receiver-based congestion control* Cited by examinerReferenced byCiting PatentFiling datePublication dateApplicantTitleUS7856501Nov 7, 2008Dec 21, 2010Sony Computer Entertainment Inc.Network traffic prioritizationUS7908393Nov 7, 2008Mar 15, 2011Sony Computer Entertainment Inc.Network bandwidth detection, distribution and traffic prioritizationUS8005957Dec 21, 2010Aug 23, 2011Sony Computer Entertainment Inc.Network traffic prioritizationUS8549126Apr 9, 2010Oct 1, 2013Sony Computer Entertainment Inc.Application level broadcast in peer overlay networkUS8943206Apr 30, 2012Jan 27, 2015Sony Computer Entertainment Inc.Network bandwidth detection and distributionUS9100933Sep 12, 2013Aug 4, 2015Sony Computer Entertainment Inc.Application level broadcast in peer overlay networkUS9295094 *May 7, 2012Mar 22, 2016Qualcomm IncorporatedSystem and method for peer-to-peer connection reestablishmentUS9300562 *Aug 20, 2013Mar 29, 2016Viavi Solutions Inc.Validating network traffic policyUS9584407 *Sep 6, 2013Feb 28, 2017Talari Networks IncorporatedAdaptive private network with path maximum transmission unit (MTU) discovery processUS20090144423 *Nov 7, 2008Jun 4, 2009Sony Computer Entertainment Inc.Network traffic prioritizationUS20090144425 *Nov 7, 2008Jun 4, 2009Sony Computer Entertainment Inc.Network bandwidth detection, distribution and traffic prioritizationUS20130297810 *May 7, 2012Nov 7, 2013Qualcomm IncorporatedSystem and method for peer-to-peer connection reestablishmentUS20140052852 *Aug 20, 2013Feb 20, 2014André DufourValidating network traffic policyUS20140161199 *Dec 11, 2013Jun 12, 2014Xiaomi Inc.Method and apparatus for processing video imageUS20150071067 *Sep 6, 2013Mar 12, 2015Talari Networks IncorporatedAdaptive Private Network with Path Maximum Transmission Unit (MTU) Discovery ProcessUS20150131469 *Nov 11, 2014May 14, 2015Samsung Electronics Co., Ltd.Method for processing data and an electronic device thereofUS20160285575 *Mar 25, 2015Sep 29, 2016Ontime Networks AsTime-stamping data packets in a network tap elementWO2011126589A1 *Jan 21, 2011Oct 13, 2011Sony Computer Entertainment Inc.Application level broadcast in peer overlay networkWO2014030061A3 *Aug 20, 2013May 30, 2014Jds Uniphase CorporationValidating network traffic policy* Cited by examinerClassifications U.S. Classification709/226International ClassificationG06F15/173Cooperative ClassificationH04L47/525, H04L12/5693, H04L29/08072, H04L47/521, H04L29/06European ClassificationH04L12/56K, H04L47/52C, H04L47/52ALegal EventsDateCodeEventDescriptionNov 7, 2008ASAssignmentOwner name: SONY COMPUTER ENTERTAINMENT INC., JAPANFree format text: ASSIGNMENT OF ASSIGNORS INTEREST;ASSIGNORS:TAKEDA, YUTAKA;MARR, JAMES E.;DETWILER, STEPHEN C.;AND OTHERS;REEL/FRAME:021806/0679;SIGNING DATES FROM 20081016 TO 20081029Owner name: SONY COMPUTER ENTERTAINMENT INC., JAPANFree format text: ASSIGNMENT OF ASSIGNORS INTEREST;ASSIGNORS:TAKEDA, YUTAKA;MARR, JAMES E.;DETWILER, STEPHEN C.;AND OTHERS;SIGNING DATES FROM 20081016 TO 20081029;REEL/FRAME:021806/0679Dec 26, 2011ASAssignmentOwner name: SONY NETWORK ENTERTAINMENT PLATFORM INC., JAPANFree format text: CHANGE OF NAME;ASSIGNOR:SONY COMPUTER ENTERTAINMENT INC.;REEL/FRAME:027446/0001Effective date: 20100401Dec 27, 2011ASAssignmentOwner name: SONY COMPUTER ENTERTAINMENT INC., JAPANFree format text: ASSIGNMENT OF ASSIGNORS INTEREST;ASSIGNOR:SONY NETWORK ENTERTAINMENT PLATFORM INC.;REEL/FRAME:027557/0001Effective date: 20100401Nov 2, 2015FPAYFee paymentYear of fee payment: 4Jul 1, 2016ASAssignmentOwner name: SONY INTERACTIVE ENTERTAINMENT INC., JAPANFree format text: CHANGE OF NAME;ASSIGNOR:SONY COMPUTER ENTERTAINMENT INC.;REEL/FRAME:039239/0356Effective date: 20160401RotateOriginal ImageGoogle Home - Sitemap - USPTO Bulk Downloads - Privacy Policy - Terms of Service - About Google Patents - Send FeedbackData provided by IFI CLAIMS Patent Services