1. Technical Field
This invention relates to an Ethernet Audio-Video Bridging (“AVB”) network, and more particularly to managing data streams when bandwidth is consumed.
2. Related Art
Audio/video (“A/V”) data may be transmitted in a network system from a source endpoint to a destination endpoint. To reach the destination endpoint, the data may pass through bridges located in the network. When a bridge receives the data, the bridge may determine a next location (e.g., a next bridge) to send the data. The time taken for the bridge to receive the data, determine where to send the data, and send the data to the next location is a time delay or a latency that increases the total time that elapses for the data to reach the destination endpoint.
A network communication system may include one or more talkers that are configured to transmit data streams over a network to one or more listeners. Before transmitting a new data stream, a talker may request a reservation for bandwidth for the new data stream. If enough bandwidth is available, the reservation may be made and the new data stream may be transmitted over the network. In some example configurations, the reservation may be performed using and/or in accordance with a standard or protocol. For example, the network may be an Audio-Video Bridging (AVB) network, and reservations may be made in accordance with the Institute of Electrical and Electronics Engineers (IEEE) 802.1 Qat Stream Reservation Protocol (SRP).
The network communication system may further include a controller that is configured to control and/or handle stream management of the data streams. To do so, reservations may be performed through the controller. When a talker wants to transmit a new data stream, the talker may be configured to send information associated the new data stream to the controller. The information may include identification information, such as a stream ID, a talker ID, and a listener ID. The information may also include a priority of the new data stream and one or more attributes or capabilities of the new data stream, such as frame rate, sample size, resolution, and/or bit rate, as examples.
In response to receiving the information from the talker, the controller may be configured to determine whether there is sufficient bandwidth for the new data stream to be transmitted over the network. In some example configurations, the controller may be configured to communicate with and/or through SRP, which may make the reservation if enough bandwidth is available. If the reservation is made, then the controller may update a database or table that includes information associated with the new data stream. The table may be formatted to include rows and/or columns containing information associated with existing data streams for which reservations have been made. If the controller determines that the reservation for the new data stream is made, then the controller may add information associated with the new data stream to the table.
If the controller determines that there is insufficient bandwidth for the data stream, then the controller may be configured to perform at least one of two checks. A first check may include a determination of whether bandwidth may be made available for the data stream if bandwidth consumed by existing data streams may be reduced. The controller may access the table to make the determination. In addition or alternatively, the determination may be made by sending inquiry messages to one or more talkers transmitting the existing data streams. If bandwidth for the new data stream may be made available by reducing the bandwidth consumed by the existing data streams, then the controller may instruct the talkers to transmit the existing data streams at reduced bandwidths. By instructing the talkers to transmit the data streams at reduced bandwidths, bandwidths consumed by existing data streams may be “squeezed” in order to make available bandwidth for new data stream.
Alternatively, a second check may be performed by the controller. The second check may include a determination of whether bandwidth may be made available for the new data stream if one or more existing data streams having lower priorities than a priority of the new data streams may be terminated. The controller may make the determination by accessing the table and analyzing the information included in the table.
If bandwidth may be made available, then the controller may send control messages to one or more talkers that are transmitting the lower-priority existing data streams. The control messages may instruct the talkers to tear down and/or terminate the lower-priority data streams. When an existing data stream is terminated, the controller may update the database or table by removing the information associated with the existing data stream that was terminated.
In some example configurations, performance of the second check may be conditioned on the first check. For example, the second check may be performed if bandwidth may not be made available under the first check. In other example configurations, the first check may be performed if bandwidth may not be made available under the second check. In still other example configurations, the first check and the second check may not be conditioned on each other, and the controller may be configured to perform the first check or the second check without first performance and/or a determination of the other check.
If bandwidth may be made available for the new data stream through either the first check or the second check, then after bandwidth is made available, the reservation the new data stream may be made. When the reservation is made, then the new data stream may be transmitted over the network.
The network communication system, with the controller that is configured to perform the first check and/or the second check, may provide improved and/or enhanced stream management over communication systems that do not include the controller. For example, stream management using only SRP may be limited, particularly in situations of high network load and traffic. When a request for reservation of bandwidth for a new data stream is made, SRP may determine whether bandwidth is available, and if not, reject the request without determining whether bandwidth consumed by any existing data streams may be reduced. The controller, on the other hand, may provide dynamic stream adjustment capabilities such that bandwidth may be made available for a new data stream where bandwidth may not have otherwise been made available.
Additionally, SRP may recognize only two levels of priority, such as “emergency” and “non-emergency” data streams. The controller, on the other hand, may recognize more than two levels of priority, which may provide the network communication system with greater prioritization and/or termination capabilities, especially in environments, such as automotive environments, where various non-emergency data streams carrying different types of data may be prioritized. The controller may ensure that bandwidth is made available for emergency data streams as well as for those higher-priority non-emergency data streams.
Other systems, method, features and advantages will be, or will become, apparent to one with skill in the art upon examination of the following figures and detailed description. It is intended that all such additional systems, method, features and advantages be included within this description, be within the scope of the invention, and be protected by the following claims.
The system may be better understood with reference to the following drawings and description. The components in the figures are not necessarily to scale, emphasis instead being placed upon illustrating the principles of the invention. Moreover, in the figures, like referenced numerals designate corresponding parts throughout the different views.
Demand for connectivity between network devices continues to increase at a fast rate. In many systems, a greater number of devices are being manufactured which have network connection and/or communication capabilities. For example, in some automobiles, components not previously considered connective are being manufactured with connective capabilities. Parts, such as brakes, throttle, and/or various other parts, may be manufactured as Ethernet Audio-Video Bridging (“Ethernet AVB”) enabled devices which may communicate through an Ethernet AVB network. In some systems, Ethernet AVB networks may be used to connect one or more devices, with audio and/or video data streams being sent wirelessly and/or through a wireline, such as an Ethernet cable.
The role of the talker may be to transmit information and/or data across the network 110. Alternatively or in addition, the role of the talker may be to establish, create, and/or reserve a connection for the transmission of a data stream carrying the information and/or data. Alternatively or in addition, the role of the talker may be to remove or tear down the connection. The role of the listener may be to receive the information and/or the data that has been sent over the network 110. Alternatively or in addition, the role of the listener may be to connect to and/or reserve connection to the data stream. Alternatively or in addition, the role of the listener may be to remove connection from the data stream.
The role of the controller may be to control the flow of data streams between talkers and listeners. The controller may create and/or remove connections of the data streams between the talkers and the listeners. In addition, the controller may manage, handle, and/or determine priorities of the data streams. Also, the controller may manage, handle, control, assign, allocate, adjust, and/or determine the bandwidth assigned to and/or consumed by the data streams. In addition or alternatively, the controller may register information about and/or that identifies the talkers, the listeners, and/or the data streams established between the talkers and the listeners. Additionally, the controller may maintain a table, list, record, and/or database of the data streams and/or characteristics or properties associated with the data streams. The controller may control the flow of the data stream by sending one or more messages, such as control messages, to the talkers and/or the listeners to create a connection and/or remove the connection of the data streams between a talker and one or more listeners. The controller may include and/or the messages may be communicated from the controller to the talkers and/or the listeners through a high-level application layer of the talker and/or the listeners. Other roles may be included.
The electronic devices 130, 131, 132, 140, 141, 142, 150 may be configured to switch between or change roles. For example, in one situation, one of the electronic devices may be configured to be a talker, and in another situation, the electronic device may be configured to be a listener. In yet another situation, the electronic device may be configured to be both a talker and a listener.
The electronic devices 130, 131, 132, 140, 141, 142, 150 may be configured to perform different roles in different situations or at different times. For example, in one situation, one of the electronic devices may be configured to be a talker. In a different situation, that electronic device may be configured to be a listener. Alternatively, the roles that the electronic devices 130, 131, 132, 140, 141, 142, 150 may be configured to perform may be fixed. For the following description, the electronic devices 130, 140, 141, and 150 in the system 100 are designated the roles of the talker, the listener, and the controller, as previously described. The electronic devices 130, 131, 132 are configured as the talker, the electronic devices 140, 141, 142 are configured as the listeners, and the electronic device 150 is configured as the controller. In an alternative communication network system, other roles may be designated. In addition, in an alternative system, there may be more or fewer than three talker 130, 131, 132, more or fewer than three listeners 140, 141, 142 and/or more than one controller 150. In still other examples, one or more of the electronic devices 130, 131, 132, 140, 141, 142, 150 may perform as a talker or a listener while also being a controller.
The network 110 may be, include, and/or communicate through or with an Ethernet AVB network. The electronic devices in the communication system 100, including the talkers 130, 131, 132, the listeners 140, 141, 142, and/or the controller 150 may communicate over the network 100 using various protocols designated by the Institute of Electrical and Electronics Engineers (IEEE), including IEEE 802.1AS-2011 (gPTP) for network timing and synchronization, IEEE 802.1 Qav-2009 for queuing and forwarding streaming data, IEEE 802.1Qat-2010 (Stream Reservation Protocol (SRP)) for reserving data stream bandwidth in a network, and/or IEEE 1722-2011 related to a possible data streaming format. Various other protocols may be used. Alternatively or additionally, the network 110 may be, include, and/or communicate through or with wide area networks (WAN), such as the Internet, local area networks (LAN), campus area networks, metropolitan area networks, or any other wireless and/or wireline networks that may allow for data communication. The network 110 may be divided into sub-networks. The sub-networks may allow access to all of the components connected to the network 110, or the sub-networks may restrict access between the components connected to the network 110. The network 110 may be a public or private network and may include, for example, a virtual private network, an encryption, or any other security mechanism employed over the public Internet, or the like. Various other types of networks 110 are possible.
One or more of the talkers 130, 131, 132, the listeners 140, 141, 142, and/or the controller 150 may be connected to the network 110, such as an Ethernet AVB network, in any configuration that supports data transfer. This may include a data connection to the network 110 that may be wired or wireless. One or more of the talkers 130, 131, 132, the listeners 140, 141, 142, and/or the controller 150 may be connected to the network 110 and/or to each other through or with an Ethernet connection, such as using a cable or wireless connection to an Ethernet AVB network. Various other connections may be possible. In addition, in some example configurations, the talkers 130, 131, 132 may be connected to a gateway 160 to connect to the network 110. The gateway 160 may provide a single connection to the network 110. In other example configurations, the network system 100 may not include the gateway 160, and instead, the talkers 130, 131, 132 may be connected directly to the network 110.
In an alternative network configuration, the talkers 130, 131, 132 may not be configured to communicate with the controller 150 over the network 110. Instead, the talkers 130, 131, 132 may be configured to communicate with the controller 150 over a wired or wireless non-network communication. In addition or alternatively, in example configurations where the gateway 160 is present, the controller 150 may be configured to communicate with the listeners 140, 141, 142 over the network 110 by being configured to communicate with the gateway 160, which receives messages and/or signals from the controller 150 and transmits the messages and/or signals from the controller 150 over the network 110. In alternative configurations where the gateway 160 is not present, the controller 150 may be connected directly to the network 110.
The talkers 130, 131, 132 may be configured, adapted, operable, and/or enabled to send information and/or data through the network 110. For example, the talkers 130, 131, 132 may be configured and/or adapted to send a stream of information that includes data, commands, and/or command signals through, using, or across an Ethernet AVB network. Information and/or data sent by the talkers 130, 131, 132 through the network 110, such as through an Ethernet AVB network, may be received by other devices connected with the network 110, such as listeners 140, 141, 132 and/or the controller 150.
The talkers 130, 131, 132 may transmit, send, output, and/or advertise processed information and/or data to the network 110, such as in, with, and/or using a data stream and/or Ethernet AVB signal. For example, the talkers 130, 131, 132 may advertise a data stream encompassing data related to music played by a user on a device (e.g., a MPEG-1 or MPEG-2 Audio Layer III (MP3) player or an electronic musical keyboard) connected with the talkers 130, 131, 132 onto an Ethernet AVB network. The information and/or data advertised by the talkers 130, 131, 132 on the network 110 may be received by other devices, such as by the listeners 140, 141, 142 and/or the controller 150.
The talkers 130, 131, 132 may have one or more talker attributes. A talker attribute may specify, include and/or otherwise identify characteristics about the talkers 130, 131, 132 and/or a data stream advertised by one of the talkers 130, 131, 132. One talker attribute may include multiple pieces of information and/or data. The talker attribute may include, identify, specify, and/or be related to a single piece of information and/or data, and the talkers 130, 131, 132 may have multiple talker attributes. Alternatively, the talker attribute may include, identify, specify, and/or be related to multiple pieces of information and/or data, and the talker may have only a single talker attribute. Various combinations are possible.
The talker attributes may indicate and/or advertise that the talkers 130, 131, 132 may have a data stream, such as an audio, video, and/or command data stream, that the talkers 130, 131, 132 will multicast over the network 110. In addition or alternatively, the talker attributes may indicate how much bandwidth a data stream advertised by a talker 130, 131, 132 may require in order to be transmitted through the network 110. The amount of bandwidth specified may be used by bridges and/or switches in the network 110 to determine if there is enough bandwidth capability to reserve the amount of bandwidth at each switch in the path between a talker 130, 131, 132 and a listener 140, 141, 142. In one example configuration, one or more of the listeners 140, 141, 142 may not be concerned with the amount of bandwidth because one or more of the switches and/or bridges may indicate a failure due to bandwidth constraints before the listener 140, 141, 142 receives bandwidth information specified in the attribute.
In addition or alternatively, a talker attribute may specify a destination address to which to send the data stream. The destination address may identify one or more particular listeners, such as the listener 140, the listener 141, and/or the listener 142. Alternatively, the destination address may be a multicast destination address that allows any listener in the network system 100 (in this case the listeners 140, 141, 142) to receive and/or process the data stream being advertised once the reservation is in place and transmission has begun.
In addition or alternatively, the talker attribute may specify a unique stream identifier (“ID”) for a data stream advertised by one of the talkers 130, 131, 132. The stream ID may be a unique sequence of characters and/or numbers which may only be assigned to one stream. In some systems, no two streams may have the same stream ID. The unique stream ID may be a 64 bit stream ID, or various other stream IDs may be used. An assignment and/or identification of the stream ID may be used and/or performed by devices, such as one or more of the listeners 140, 141, 142 to identify a stream for which the device wants to attach itself. For example, one or more of the listeners 140, 141, 142 may receive over the network 110 a message, such as an advertisement, that includes a unique stream ID and may, based on the identification of the stream ID, request attachment, such as connection, to the stream associated with the stream ID. Various other uses of the stream ID are possible. One of the talkers 130, 131, 132 that is associated with the stream ID may be configured to assign the stream ID to the stream at a time during manufacture of the electric devices configured as the talkers 130, 131, 132, such as by a manufacturer, after manufacture, such as at a time that the talker 130, 131, or 132 connects with the network 110, and/or at various other times. Alternatively or in addition, a talker attribute may include a propagation delay from the talker 130, 131, or 132 to one of the listeners 140, 141, 142. The propagation delay may include an “on the wire” delay or latency between one of the talkers 130, 131, 132 and one of the listeners 140, 141, 142. “On the wire” delay may be a time that the data stream takes to be communicated between electronic devices, including the time between being transmitted by one electronic device and being received by another electronic device. The “on the wire” delay may include the time that the data stream takes to be communicated between a talker and a bridge, a listener and a bridge, and/or between bridges. The propagation delay may also include a delay or latency from an ingress port to an egress port of one or more bridges in the network 110.
One or more talker attributes may be stored in the talkers 130, 131, 132, the listeners 140, 141, 142, and/or the controllers 150. For example, a unique stream ID of one of the talkers 130, 131, 132 may be sent to and/or received by the controller 150, which may record and/or store the unique stream ID of the talker 130, 131, or 132 and/or forward the unique stream ID of the talker 130, 131, or 132 to one or more of the listeners 140, 141142. The talker attributes may or may not be sent through, with, or using a non-SRP protocol. Various other uses and functions of talker attributes are possible.
Before transmitting the data stream, each of the talkers 130, 131, 132 wanting to transmit the data stream may advertise that the talker 130, 131, or 132 wants to transmit the data stream over the network 110 and/or reserve a path over the network 110 between the talker 130, 131 or 132 and one or more of the listeners 140, 141, 142. Alternatively, the talker 130, 131, or 132 may advertise that the data stream is unable to be transmitted to one or more of the listeners 140, 141, 142. To advertise over the network 110, the talker 130, 131, or 132 may transmit a stream advertisement. The stream advertisement may be a signal and/or other transmission from the talker 130, 131, or 132 which may be passed through the network 110. A stream advertisement may indicate that the talker 130 has a data stream that it can, cannot, will, or will not send, multicast, and/or otherwise transmit over the network 110. The stream advertisement may include a Talker Advertisement (“TA”) or a Talker Failed (“TF”). The TA may be an advertisement for a stream that has not encountered any bandwidth or other network constraints along the network path from the talker. The TF may be an advertisement for a data stream that is not available to one or more of the listeners 140, 141, 142 because of bandwidth constraints or other limitations somewhere along the path from the talker 130, 131, or 132. In some situations, if a bridge or switch along a path from the talker to listener does not have sufficient bandwidth or resources available, the bridge or switch may change the TA message to a TF message before forwarding it toward one or more of the listeners 140, 141, 142.
The stream advertisement may include details about the data stream, such as one or more talker attributes that may be sent with and/or included in a stream advertisement advertised and/or output by the talker 130, 131, or 132. For example, the stream advertisement may include the stream ID of the data stream being advertised by the talker 130, 131, or 132. The stream advertisement may be transmitted across the network 110 to and/or received by one or more of the listeners 140, 141, 142. In addition, the stream advertisement may include the propagation delay from the talker 130, 131, 132 to one of the listeners 140, 141, 142.
One or more of the listeners 140, 141, 142 may receive the stream advertisement. If one of the listeners 140, 141, or 142 wishes to receive the data stream being advertised by the TA, the listener 140, 141, or 142 may send a response message, such as a Listener Ready (“LR”) message, over the network 110 and/or to the talker 130, 131, or 132. The signal may be a request to attach to the data stream via the stream ID, which may be included in the stream advertisement. When a bridge or switch in the AVB network 110 receives the LR from the listener 140, 141, or 142, the bridge may match the LR with the TA and allow the data stream referenced by the stream advertisement to be sent to the requesting listener 140, 141, or 142. One or more listeners 140, 141, 142 may request and/or attach to the same data stream via one stream ID. One of the listeners 140, 141, or 142 may request and/or attach to more than one data stream via the stream IDs of each requested data stream. Other variations are possible.
Each listener 140, 141, 142 may have one or more listener attributes or listener properties. The listener attributes or properties may or may not contain a single piece of information, such as a stream ID that the listener may want to attach to. One or more listener attributes may be sent with, through, and/or using the network 110. One or more listener attributes may be sent to, accessed by, and/or received by one or more receiving devices on the network 110, such the talkers 130, 131, 132 and/or the controller 150. One or more listener attributes may be stored in one or more of the talkers 130, 131, 132, the listeners 140, 141, 142, and/or the controller 150. One or more listener attributes may be used to connect a listener 140, 141, or 142 with a data stream and/or one of the talkers 130, 131, or 132. Various other uses and functions of listener attributes are possible.
The listener attributes or properties may specify, include, and/or otherwise identify characteristics about one or more of the listeners 140, 141, 142. Listener attributes may, for example, exist and/or be used outside of a stream reservation protocol stack within a talker or a listener, and/or may be used to inform devices on the network 110 about the attributes or properties of one or more of the listeners 140, 141, 142. For example, a listener attribute may specify what talkers (e.g., the talker 130, 131, and/or 132) that one or more of the listeners 140, 141, 142 may be interested in. A listener attribute or property may include the stream ID. A listener attribute or property may identify one or more capabilities of one or more of the listeners 140, 141, 142, such as bandwidth that one or more of the listeners 140, 141, 142 has available, a type of data stream that one or more of the listeners 140, 141, 142 may be interested in and/or capable of processing, and/or various capabilities of one or more of the listeners 140, 141, 142. A listener attribute or property may additionally or alternatively specify various other pieces of information and/or data about one or more of the listeners 140, 141, 142. One listener attribute may include multiple pieces of information and/or data. In some systems, each listener attribute or property may be related to only one piece of information and/or data, and each listener 140, 141, 142 may have multiple listener attributes. In other systems, each listener 140, 141, 142 has only one listener attribute or property which specifies multiple pieces of information and/or data about one or more of the listeners 140, 141, 142. The listener attributes or properties may exist and/or be used within or outside of
SRP and/or may include some or all of the listener attributes or properties described. Various combinations are possible.
One or more of the listeners 140, 141, 142 may respond to a stream advertisement sent by the talkers 130, 131, 132. The response message may be, for example, a Listener Ready (LR), a Listener Ready Failed (LRF), and/or a Listener Asking Failed (LAF) message. As previously described, the LR message may indicate that one or more of the listeners 140, 141, 142 is requesting attachment to the data stream, and that there is sufficient bandwidth and/or resources along one or more paths to the talker 130, 131, or 132 for all of the listeners 140, 141, 142 to receive the data stream. The LRF message may indicate that more than one of the listeners 140, 141, 142 are requesting attachment to the data stream, and that one of the listeners 140, 141, 142 has sufficient bandwidth and/or resources along the path to receive the data stream, but one or more of the listeners 140, 141, 142 is unable to receive the data stream because of network bandwidth and/or resource allocation problems. The LAF message may indicate that one or more of the listeners 140, 141, 142 are requesting attachment to the data stream, but that none of the listeners 140, 141, 142 are able to receive the data stream because of network bandwidth and/or resource allocation problems. One or more of the listener attributes or listener properties may be included in the LR message, the LRF message, and/or the LAF message. The talker 130, 131, or 132 may receive the response message, and in response to receiving the message, the talker 130, 131, 132 may reserve and/or establish one or more paths with one or more of the listeners 140, 141, 142 and/or send the data stream to the one or more of the listeners 140, 141, 142.
When one of the talkers 130, 131, or 132 determines and/or wants to send the data stream to one or more of the listeners 140, 141, 142, the talker 130, 131, or 132 may be configured to request a reservation for bandwidth for the data stream. The talker 130, 131, 132 may request the reservation by registering information associated with the data stream with the controller 150. In some example configurations, the controller 150 may provide one or more application programming interfaces (APIs) to communicate with the talkers to register the information. To register the information associated with the data stream, the talker 130, 131, or 132 may provide and/or send to the controller 150 the information. The information associated with the data stream may include information that identifies the data stream, that identifies the talker 130, 131, or 132 that wants to transmit the data stream, and/or that identifies one or more listeners 140, 141, 142 to which the talker 130, 131, or 132 wants to send the data stream. The information that identifies the data stream may include the stream ID of the data stream. The information that identifies the talker 130, 131, or 132 may include a source address of the talker 130, 131, or 132. The information that identifies the one or more listeners 140, 141, 142 may include a destination address of the one or more listeners 140, 141, 142.
In addition, the information associated with the data stream may include information that identifies a priority associated with the data stream. The priority may include one or more values, such as predetermined values and/or logical values, or other information that identifies a level or degree of importance, precedence, and/or criticality with respect to other data streams. A data stream with a higher priority may be considered more important, take higher precedence, and/or be more critical that a data stream with a lower priority. Data streams with higher priorities will be given precedence over data streams with lower priorities with regard to bandwidth allocation. For example, if a high-priority data stream wishes to be communicated from one of the talkers 130, 131, 132 to one or more of the listeners 140, 141, 142, but not enough bandwidth is available for the high-priority data stream to be communicated over the network 110, lower-priority data streams consuming at least some of the bandwidth may be dropped and/or terminated in order to make available enough bandwidth for the high-priority data stream to be communicated.
In some example configurations, more than two levels of priorities may be assigned for the various data streams. More than two levels of priorities may provide the controller 150 with a greater ability to control the flow of the data streams and/or ensure that sufficient bandwidth is available for higher-priority data streams, in comparison to data streams that may be assigned one of only two different priorities—emergency and non-emergency—as specified under the SRP.
The priorities associated with a data stream may be based on the content of the data being communicated in the data streams. In addition or alternatively, the priorities may be based on business logic requirements, original equipment (OE) requirements, criticality requirements, industry standards, and/or governmental laws or regulations, as examples. To illustrate, criticality requirements and/or OE requirements may require that data streams that communicate rear-view/vehicle camera signals have a higher priority than data streams that communicate music or movie media content. Additionally, in some example configurations, the priorities may be predetermined by a manufacturer, such as an original equipment manufacturer (OEM).
Also, the information associated with the data stream may include information that identifies one or more capabilities and/or attributes associated with the data stream.
The capabilities and/or the attributes associated with the data stream may include one or more bandwidths at which the data stream may be communicated. The capabilities and attributes may also include quality control information, such as resolution, frame-rate, sample size, bit rate, and/or format of the content of the data stream, as examples. Other capabilities and/or attributes may be included. The capabilities and/or attributes may be used to determine, adjust, and/or control the bandwidth consumed by the data stream.
In some example configurations, the talkers 130, 131, 132 may be configured to provide and/or send to the controller 150 multiple bandwidths associated with a data stream, provided multiple bandwidths for the data stream are available. The multiple bandwidths may be alternative bandwidths at which the data stream may be communicated. In some example configurations, the multiple bandwidths may include an optimal bandwidth, a preferred bandwidth, a maximum bandwidth, and/or a minimum bandwidth, as examples. The controller 150 may be configured to use the multiple bandwidths to perform bandwidth allocation and/or dynamically adjust the bandwidths used by the data streams that are being communicated from the talkers 130, 131, 132 to the listeners 140, 141, 142.
In some example configurations, the talkers 130, 131, 132 may be configured to provide the controller 150 with the information associated with the data stream by sending a message with the information over the network 110 to the controller 150. In some examples, the message may be packetized and/or transmitted using packets. The information may be packetized in any packet format and/or in accordance with any standard or protocol, such as Transmission Control Protocol (TCP), User Datagram Protocol (UDP), Audio Video Bridging (AVB) (such as IEEE 802.1AS-2011 (gPTP) for network timing and synchronization, IEEE 802.1Qav-2009 for queuing and forwarding streaming data, IEEE 802.1Qat-2010 ((Stream Reservation Protocol (SRP)) for reserving data stream bandwidth in a network, and/or IEEE 1722-2011 related to a possible data streaming format), or any other standard or protocol under which packets, such as Layer 2 of the Open Systems Interconnection (OSI) model may be formatted.
When the controller 150 receives the information associated with the data stream from the talker 130, 131, 132, the controller 150 may be configured to register and/or communicate the information associated with the SRP. In turn, a stream advertisement, such as a TA, may be transmitted and/or propagated through the system 100 in accordance with the SRP. In response to the stream advertisement being transmitted and/or propagated, the controller 150 may be configured to determine whether the destination address associated with the stream ID is found. That is, the controller 150 may be configured to identify whether one of the listeners 140, 141, 142 configured in the system 100 and/or connected to the network 110 corresponds to and/or has the destination address included in the information provided by the talker 130, 131, or 132. Additionally, in response to the stream advertisement being transmitted and/or propagated, the controller 150 may be configured to identify whether enough bandwidth is available to transmit the data stream to the listener 140, 141, 142. In some example configurations, enough bandwidth is available for the data stream to be communicated if a maximum bandwidth of the data stream is less than or equal to the available bandwidth over the network 110.
If the controller 150 determines that one of the listeners 140, 141, 142 in the system 100 and/or connected to the network 110 corresponds to and/or has the destination address, and also determines that there is enough available bandwidth for the data stream to be transmitted to the listener 140, 141, and/or 142, then the controller 150 may be configured determine that the data stream may be and/or has been reserved in accordance with the SRP. The controller 150 may also be configured to register some or all of the information associated with the data stream provided by the talker 130, 131, or 132 in response to determining that the data stream may be reserved.
The controller 150 may be configured to register the information associated with the data stream by storing the information in memory, such as memory 504 of the computer system 500 described below. In addition or alternatively, the controller 150 may register the information by organizing and/or formatting the information using a table or format.
As previously described, the characteristics and/or properties associated with the data streams may be used by the controller 150 to determine a maximum bandwidth consumed by the data stream. In some example configurations, as described in more detail below, the controller 150 may be configured to determine whether a data stream that is already reserved and/or being transmitted may be transmitted at a lower bandwidth in order to make available bandwidth for one or more additional data streams. The controller 150 may use the multiple values associated the attributes in order to make the determination. If the controller 150 determines a bandwidth lower than the maximum bandwidth, such as a minimum bandwidth, the controller 150 may be configured to modify and/or append the information associated with the data stream in the table 300 to include the lower bandwidth. Alternatively, the various bandwidths associated with the data stream may be predetermined values that are provided by the talker 130, 131, or 132. Whether the lower bandwidths are determined by the controller 150 or are provided to the controller 150 by the talker 130, 131, 132, the controller 150 may use the lower bandwidths to determine whether bandwidth consumed by existing data streams may be reduced in order to make available bandwidth for an incoming data stream.
Additionally, the tables 200 and 300 may be formatted and/or organized to include rows for each of the data streams that have been reserved. For example, referring back to
The controller 150 may be configured to adjust and/or modify, such as by adding or deleting, the registered information. The controller 150 may be configured to change and/or modify the registered information by modifying the information included in the tables 200 and/or 300. When a data stream is reserved in accordance with the SRP, a row with the information associated with the data stream may be added to the tables 200, 300. Similarly, when a data stream is removed and/or torn down, a row with the information associated with the data stream may be deleted. In some example configurations, information associated with a data stream cannot modified without deleting the entire row. For example, if the controller 150 determines that a data stream is to be transmitted at a lower bandwidth, the row including information associated with that data stream may be deleted, and a row that includes information associated with the data stream, including the lower bandwidth information, may be added. In other example configurations, information associated with a data stream may be modified without an entire row being deleted and then added. For example, the controller 150 may change information that is determined to be changed (e.g., an initial bandwidth to a lower bandwidth), while leaving unchanged information that is determined to be unchanged (e.g, the source address). Various configurations are possible.
When a talker 130, 131, or 132 provides to the controller 150 information associated with a new data stream that the talker 130, 131, or 132 wants to send over the network 110, the controller 150 may be configured to determine that there is enough bandwidth in the system 100 for the new data stream to be communicated over the network 110, as previously described. Alternatively, the controller 150 may determine that there is not enough bandwidth for the data stream to be communicated. In one example, the controller 150 may determine that there is not enough bandwidth by comparing the bandwidth required by the new data stream with an amount of bandwidth that is available in the system 100. If the bandwidth required is greater than the amount of bandwidth that is available, then the controller 150 may determine that there is not enough bandwidth for the new data stream to be transmitted over the network 110.
If the controller 150 determines that there is not enough bandwidth for the new data stream to be transmitted over the network 110, then the controller 150 may be configured to determine whether a configuration of existing data streams currently being transmitted may be changed. To make the determination, one or more checks may be performed, including a first check and/or a second check.
The first check may include a check to determine whether reducing the bandwidth consumed by one or more existing data streams may make available bandwidth for the new bandwidth. Initially, the controller 150 may determine if any existing data streams being transmitted over the network 110 are be eligible for bandwidth reduction. An existing data stream may be eligible for bandwidth reduction based on the characteristics and/or attributes associated with the data stream. To illustrate, data rate attributes associated with a data stream containing audio may indicate that the audio stream may be communicated at a first data rate, or alternatively at a lower second data rate. Based on the alternative data rate information, the controller 150 may determine that the audio stream may be eligible for bandwidth reduction because the audio stream may be transmitted over the network 110 at the lower second data rate.
In one example configuration, the controller 150 may be configured to access the information associated with the existing data streams that the controller 150 registered in order to determine the data streams that are eligible for bandwidth reduction. In alternative example configurations, the controller 150 may not be able to determine the eligible data streams based on the registered information. In the alternative configurations, the controller 150 may be configured to send to the talkers 130, 131, and/or 132 that are transmitting existing data streams messages that inquire whether the talkers 130, 131, and/or 132 are eligible for bandwidth reduction. The talkers 130, 131, and/or 132 may be configured to send to the controller 150 reply messages indicating whether or not the talker 130, 131, 132 is eligible for bandwidth reduction, and/or an amount to which the bandwidth may be reduced. The messages may be packetized and/or sent using packets. Also, the packets may be packetized in any packet format and/or in accordance with any standard or protocol, such as TCP, UDP, AVB, or any other standard or protocol under which packets, such as Layer 2 of the Open Systems Interconnection (OSI) model may be formatted.
If the controller 150 determines that one or more existing data streams are eligible for bandwidth reduction, the controller 150 may then determine whether performing the bandwidth reduction (i.e., the lowering the bandwidths of one or more of the eligible existing data streams) will create and/or yield enough available bandwidth for the new data stream to be transmitted over the network. If the controller 150 determines that performing the bandwidth reduction will create enough available bandwidth, then the controller may be configured to perform one or more acts that will result in the one or more eligible data streams being transmitted at reduced bandwidths.
The one or more acts may include determining and/or selecting which of the eligible data streams are to be reduced in bandwidth. Depending on the amount of total bandwidth available in the system 100 and/or the amounts of bandwidths being consumed by the data streams, bandwidth reduction may be performed on all or less than all of the eligible data streams in order to obtain a sufficient amount of bandwidth for the new data stream. To illustrate, suppose that the system 100 has 30 Mbs of total available bandwidth. Additionally, suppose that in an existing configuration, the talker 130 is transmitting a first data stream over the network 110 to the talker 140 using a bandwidth of 20 Mbs, and the talker 131 is transmitting a second data stream over the network 110 to the talker 141 using a bandwidth of 10 Mbs. Further, suppose that each of the first and second data paths are eligible for a bandwidth reduction of 5 Mbs. Additionally, suppose that after paths for the first and second data paths are reserved, the talker 132 requests to the controller 150 that a third data stream be transmitted to the listener 142 using a bandwidth of 10 Mbs. After determining that there is currently not enough bandwidth for transmission of the third data stream, the controller 150 may determine that performing bandwidth reduction on both the first and second data streams will yield enough available bandwidth for transmission of the third data stream over the network 110.
In an alternative illustration, suppose that the talker 132 requests that the third data stream be transmitted using a bandwidth of 5 Mbs. After determining that there is currently not enough bandwidth for transmission of the third data stream, the controller 150 may determine that performing bandwidth reduction on either the first data stream or the data stream will yield enough available bandwidth for transmission of the third data stream over the network 110. Accordingly, the controller 150 may select either the first data stream or the second data stream for bandwidth reduction. In some example configurations, the selection may be based on priority. For example, the data stream having the lowest priority may be selected. In addition or alternatively, the selection may be based on timing. For example, the data stream that was established last in time may be selected. In one example, the selection may be based on time only if the priorities of the streams match. In other example configurations, the selection may be arbitrary.
After the one or more data streams eligible for bandwidth reduction are selected, the controller 150 may be configured to perform bandwidth reduction on the selected data streams. In order to reduce the bandwidth of the selected data streams, the controller 150 may be configured to instruct the talkers 130, 131, and/or 132 and/or the listeners 140, 141, and/or 142 to remove and/or tear down the selected data stream. In one example configuration, the controller 150 may be configured to send control messages to the talkers 130, 131, and/or 132 and/or the listeners 140, 141, and/or 142 that are transmitting and receiving the selected data streams, respectively. In response to receipt of the control messages, the talkers 130, 131, and/or 132 and/or the listeners 140, 141, and/or 142 may remove the reservation for and/or disconnect from the selected data streams in accordance with the SRP.
The system 100 may be configured so that the controller 150 is notified when the selected data streams are removed. When the controller 150 is notified that the selected data streams are removed, the controller 150 may be configured to modify the registered information, such as by updating the table to indicate the selected data streams being torn down. For example, the controller 150 may be configured to delete a row in a table with information that corresponds to the selected data stream that was removed.
Additionally, the controller 150 may be configured to instruct the talkers 130, 131, and/or 132 and/or the listeners 140, 141, and/or 142 to reserve new reservations for the data streams at lower bandwidths. The new reservations for the data streams with lower bandwidths may be made in accordance with the SRP. In some examples, the talkers 130, 131, and/or 132 may transmit a message to the controller 150 with the information associated with the data stream, including information identifying the lower bandwidths. In addition or alternatively, the controller 150 may be notified, such as by using and/or interacting with the SRP, when the new reservations are made. When the controller 150 is notified that the new data streams with the lower bandwidths are removed, the controller 150 may be configured to modify the registered information, such as by updating the table to indicate the new data streams being added. For example, the controller 150 may be configured to add a row in the table with information that corresponds to the new data streams that were added.
The control messages and the response messages communicated between the controller 150 and the talkers 130, 131, and/or 132 and/or to the listeners 140, 141, and/or 142 may be communicated using packets and/or by packetizing the control messages. The packets may be packetized in any packet format and/or in accordance with any standard or protocol, such as TCP, UDP, AVB, or any other standard or protocol under which packets, such as Layer 2 of the Open Systems Interconnection (OSI) model may be formatted.
Each of the talkers 130, 131, and/or 132 and/or the listeners 140, 141, 142 may be configured with one or more buffers that are configured to buffer the data in the data streams. For example, buffers in the talkers 130, 131, and/or 132 may buffer the data before the data is output over the network 110 to the listeners 140, 141, and/or 142. Additionally, the listeners 140, 141, 142 may be configured to buffer data received in the data stream before the data is processed by the listeners 140, 141, 142 and/or other electronic devices in the system 100. The listeners 140, 141, 142 may be configured to buffer a sufficient amount of the data such that data is prevented from being lost and/or dropped when the controller 150 determines to drop the existing data stream and reserve the steam at a lower bandwidth.
As previously described, if the controller 150 determines that there is not enough bandwidth for the new data stream to be transmitted over the network 110, then the controller 150 may be configured to determine whether a configuration of existing data streams currently being transmitted may be changed by performing a second check. The second check may include determining whether the new data stream has a priority over any of the existing data streams. If the new data stream has priority over any of the existing data streams, then the controller 150 may be configured to determine whether bandwidth may be available for transmission of the new higher-priority data stream over the network 110 if connections for one or more of the existing lower-priority data streams are terminated. If bandwidth may be available if the connections for the existing lower-priority data streams are terminated, then one or more of the existing lower-priority data streams may be terminated, and a new reservation is made for the new higher-priority data stream.
To illustrate, suppose that the system 100 has 30 Mbs of available bandwidth for transmission of data streams over the network. Suppose in an existing or current configuration, the talker 130 is transmitting a first data stream over the network 110 to the listener 140 using a bandwidth 15 Mbs. Additionally, suppose the talker 131 is transmitting a second data stream over the network 110 to the listener 141 using a bandwidth of 15 Mbs. Also, suppose that the first data stream has a higher priority than the second data stream. Further, suppose that after reservations for the first data stream and the second data stream are made, the talker 132 wants to reserve connection for a third data stream using a bandwidth of 10 Mbs. Further, suppose that the third data stream has a priority that is higher than the second data stream and lower than the first data stream.
When the controller 150 receives the request to make a reservation for the third data stream, the controller 150 may determine that there is currently not enough available bandwidth for transmission of the third data stream over the network 110. After making the determination, the controller 150 may compare the priorities of the first data stream, the second data stream, and the third data stream. Based on the comparison, the controller 150 may determine that the first data stream has a higher priority than the third data stream, which has a higher priority than the second data stream. Additionally, the controller 150 may determine that if the connection of the second data stream is terminated, then enough bandwidth may be available for the third data stream to be transmitted over the network. In turn, the controller 150 may be configured to instruct the talker 131 and/or the listener 141 to remove the reservation for and/or disconnect from the second data stream. The controller 150 may send the instructions using control messages, as previously described. Additionally, the talker 131 and/or the listener 141 may be configured to remove the reservation and/or disconnect from the second data stream in accordance and/or using the SRP. In addition or alternatively, the controller 150 may be configured to be notified when the second data stream is removed and/or torn down. Upon notification, the controller 150 may update the information registered by the controller 150, such as by deleting and/or erasing information associated with the second data stream that was removed.
Additionally, the controller 150 may send instructions to the talker 132 and/or the listener 142 to reserve and/or establish connection for the third data stream. When the third data stream is reserved, the controller 150 may be configured to be notified of the reservation. Upon notification, the controller 150 may be configured to update the information registered by the controller 150, such as by adding information associated with the third data stream.
In some example configurations, if the controller 150 determines that existing lower-priority data streams may be terminated in order for sufficient bandwidth to be available for a higher-priority data stream to be transmitted, and the existing lower-priority data streams have the same level of priority, but not all of the lower-priority data may be dropped for sufficient bandwidth to be available, then the controller 150 may be configured to select the lower-priority stream or streams to terminate based on time. For example, the controller 150 may be configured to terminate the data streams that were reserved and/or established last. Using the illustration above, suppose that the first data stream and the second data stream have the same priority, which is lower than the priority of the third data stream. Additionally, suppose that the first data stream was reserved before the second data stream. If one but not both of the first and second data streams may be terminated for sufficient bandwidth to be available for transmission of the third data stream, then the controller 150 may be configured to terminate the second data stream and maintain the connection for the first data stream.
Additionally, in some example configurations, the controller 150 may be configured to perform the second check if the first check using bandwidth reduction does not yield sufficient bandwidth for the new data stream to be transmitted over the network 110. For example, during the first check, if the controller 150 determines that none of the existing data streams are eligible for bandwidth reduction, and/or determines that bandwidth reduction performed on one or more eligible data streams does not yield sufficient bandwidth for the new data stream to be transmitted, then the controller 150 may be configured to perform the second check and determine whether bandwidth may be made available by terminating one or more existing data streams based on priority.
One or more of the talkers 130, 131, 132, the listeners 140, 141, 142, and/or the controller 150 may be or may include hardware, software, and/or a combination of hardware and software to implement part or all of the functionality of the system. One or more of the talker 130, 131, 132, the listeners 140, 141, 142, and/or the controller 150 may be or may include one or more processors, such as one or more central processing unit (CPU), and/or may be in communication with one or more processors, such as a processor of an integrated circuit (e.g., a field programmable gate array (FPGA) or an application specific integrated circuit (ASIC)). More or fewer components may be included in other examples.
One or more of the talkers 130, 131, 132, the listeners 140, 141, 142, and/or the controller 150 may be connected to each other through or using the network 110. Alternatively or in addition, one or more of the talkers 130, 131, 132, the listeners 140, 141, 142, and/or the controller 150 may be connected to each other directly. For example, one or more of the talkers 130, 131, 132, the listeners 140, 141, 142, and/or the controller 150 may be connected to each other using a wireline such as an Ethernet cable, and/or a wireless network. Various other connections are possible.
The talkers 130, 131, 132 may or may not be or include a portion or all of the features of a computer system, such as a computer system 500 shown in
The talkers 130, 131, 132 may perform various functions and/or be connected with or include various components. For example, the talkers 130, 131, 132 may be connected with the network 110 and an input device, such as a musical instrument or microphone. Information and/or data may be sent to, received by, and/or otherwise be input to the talkers 130, 131, 132 or a device connected with the talkers 130, 131, 132. For example, a user may play an instrument or sing into a microphone connected with the talkers 130, 131, 132 and information and/or data about the instrument, singing, and/or voice may be received by the talkers 130, 131, 132.
While the talkers 130, 131, 132 in the network communication system 100 may comprise and/or be described as, the physical devices themselves (such as a microphone), it should be appreciated that in some systems, the talkers 130, 131, 132 may be or may include a computer or other electronic controlling device, which may be used and/or operated to control the talkers 130, 131, 132 (such as a microphone). The computer may include some or all of the features of a computer system 500 shown in
The talkers 130, 131, 132 may process the information and/or data received in various ways. For example, the talkers 130, 131, 132 may be configured to transform any signal received, such as a musical signal, from an analog signal to a digital signal. In other systems, a computing device may perform processing of received information and/or data, and may send the processed information and/or data to the talkers 130, 131, 132. Various other processing functions may be performed by the talkers 130, 131, 132 and/or devices in communication with the talkers 130, 131, 132.
The listeners 140, 141, 142 may or may not be or include a portion or all of the features of a computer system, such as a computer system 500 shown in
The listeners 140, 141, 142 may be configured, adapted, and/or operable to receive information that includes data across, through, and/or using the network. For example the listeners 140, 141, 142 may be configured and/or adapted to receive a data stream passing across the network 110 such as an Ethernet AVB network. The information and/or data received by one or more of the listeners 140, 141, 142 may be, for example, the information and/or data sent by the talkers 130, 131, 132, information and/or data sent by the controller 150, and/or various other information and/or data sent through and/or using the network 110. In some systems, the listeners 140, 141, 142 may register for and/or receive a data stream from the talkers 130, 131, 132. Registration for and/or receipt of a data stream may or may not be received by the listeners 140, 141, 142 with a guaranteed bandwidth. Various other possibilities exist.
The listeners 140, 141, 142 may perform various functions and/or include or be connected with various components. For example, one or more of the listeners 140, 141, 142 may be connected with the network 110, and an output device, such as a speaker or television monitor. Information and/or data may be gathered and/or otherwise received by one or more of the listeners 140, 141, 142 through the network 110. For example, information and/or data about notes played on a musical instrument may be transmitted by the talkers 130, 131, 132 through the network 110 and/or be received by one or more of the listeners 140, 141, 142. The one or more of the listeners 140, 141, 142 may process the information and/or data received through the network 110. In addition, the one or more of the listeners 140, 141, 142 may output processed information and/or data to the speaker. For example, the one or more of the listeners 140, 141, 142 may output information and/or data related to the signal received through the network 110 to the speaker.
While the listeners 140, 141, 142 in the network communication system 100 may comprise and/or be described as physical devices (such as a speaker), it should be appreciated that in some systems, the listeners 140, 141, 142 may be or may include a computer or other electronic controlling device which may be used and/or be operated to control the listeners 140, 141, 142 (such as a speaker). The computer or other electronic controller device may have some or all of the features of a computer system 500 shown in
The controller 150 may or may not be or include a portion or all of the features of a computer system, such as a computer system 500 shown in
The controller 150 may be or comprise a high-level application of an electronic device that is configured to communicate directly or indirectly with the talkers 130, 131, 132, and/or the listeners 140, 141, 142. The controller 150 may be configured to manage and/or control a connection of a data stream between two or more devices, such as between the one of the talkers 130, 131, 132 and one or more of the listeners 140, 141, 142. The controller 150 may be part of an electronic device or in communication with an electronic device that desires to establish and/or tear down a data stream between two devices. As an example, the controller 150 may be or may be in communication with a remote control. The remote control may be configured to issue a command, such as a “Play” command to the controller 150 which may instruct the controller 150 to establish a connection between one of the talkers 130, 131, 132 and one or more listeners 140, 141, 142.
Each of the electronic devices in the example network communications system 100 may include and/or be in communication with memory that may be used to store information and/or data, including latency information and/or information included in the listener latency messages, latency requests, stream latency messages, stream advertisements, replies to stream advertisements, and/or data streams, as examples. The memory may include, but is not limited to, computer readable storage media such as various types of volatile and non-volatile storage media, including but not limited to random access memory, read-only memory, programmable read-only memory, electrically programmable read-only memory, electrically erasable read-only memory, flash memory, magnetic tape or disk, optical media and the like. In one example, the memory may include a cache or random access memory for a processor, such as processor 502 of computer system 500 described later. In alternative examples, the memory is separate from a processor, such as a cache memory of a processor, the system memory, or other memory. The memory may be an external storage device or database for storing data. Examples include a hard drive, compact disc (“CD”), digital video disc (“DVD”), memory card, memory stick, floppy disc, universal serial bus (“USB”) memory device, or any other device operative to store data. The memory may be operable to store instructions executable by a processor. The functions, acts or tasks illustrated in the figures or described may be performed by a programmed processor executing the instructions stored in the memory. The functions, acts or tasks are independent of the particular type of instructions set, storage media, processor or processing strategy and may be performed by software, hardware, integrated circuits, firm-ware, micro-code and the like, operating alone or in combination. Likewise, processing strategies may include multiprocessing, multitasking, parallel processing and the like.
In some systems, the memory may be a separate and/or collective memory or database. The separate and/or collective memory or database may represent one database for both the electronic devices in the example network communication system 100, including the talkers 130, 131, 132, the listeners 140, 141, 142, and/or the controller 150. The separate and/or collective memory or database may be continuously updated, or updated at various other intervals. In some systems, the separate and/or collective memory or database may collect and/or update information based on information and/or data about messages and/or data streams received and/or stored in the memory. Updates may be sent by the separate and/or collective memory or database to the memory at various intervals, such as every 10-15 seconds. In these systems, the memory may be the same.
In an alternative example, the memory may not be included in the example network communication system 100, including the talkers 130, 131, 132, the listeners 140, 141, 142, and/or the controller 150. Rather, the memory may be included separately and/or be in communication with the electronic devices in the network communication system 100. In another alternative example systems, parts of a separate and/or collective memory or database may be extracted from an external database and stored in volatile memory in one or more of the electronic devices in the network communication system 100 when one or more of the electronic devices in the network communication system 100 are powered up. Various other examples, functions and/or features of the memory are possible.
The electronic devices of the example network communication system 100, including the talkers 130, 131, 132, the listeners 140, 141, 142, and/or the controller 150 may comprise one or more hardware and/or software based components or modules that are configured to perform the roles of the talker, the listener, and/or the controller. The components or modules may comprise computer instructions, computer code, digital logic, other software, hardware, or any combination thereof a part of which may be stored in the memory and/or any other storage device internal or external to the talkers 130, 131, 132, the listeners 140, 141, 242, and/or the controller 150 and that is executable by one or more processors.
Alternatively, if the controller determines that there is not sufficient bandwidth, then at block 408 the controller may determine whether bandwidth reduction may be performed on any existing data streams to create sufficient bandwidth for the new data stream to be transmitted over the network. If the controller determines that bandwidth reduction may be performed on one or more existing data streams to create sufficient bandwidth for the new data stream, then at block 410 the controller may perform bandwidth reduction on one or more data streams that are eligible for bandwidth reduction. As previously described, if bandwidth reduction does not need to be performed on all of the eligible data streams for sufficient bandwidth to be available, then the controller may select the eligible data streams on which to perform the bandwidth reduction based on priority and/or times at which the eligible data streams were registered. Also, at block 410, after selecting the eligible data streams, reservations of the selected data streams may be dropped and/or terminated, and new reservations may be made for the selected data streams at lower bandwidths. At block 412, a reservation for the new data stream is made, and the new data stream may be transmitted over the network. In addition, the method may proceed back to block 406, where the controller may register the new data stream and/or information associated with the new data stream in a database.
Referring back to block 408, if the controller determines there are no eligible data streams for bandwidth reduction and/or that bandwidth reduction on one or more eligible data streams will not yield sufficient bandwidth for the new data stream, then at block 414, the controller may determine whether any existing data streams have a lower priority than the new data stream. If the controller determines that there are not any existing data streams having a lower priority than the priority of the new data stream, then at block 416, then the controller may leave the configuration of data streams unchanged. Additionally, reservation for the new data stream may be queued and/or suspended until existing data streams terminate and sufficient bandwidth becomes available.
Referring back to block 414, if the controller determines that there are existing data streams that have a lower priority than the priority of the new data stream, then at block 418, the controller may determine whether dropping any of the lower priority data streams may yield sufficient bandwidth for the new data stream to be transmitted. If the controller determines that dropping any of the lower priority data streams may not yield sufficient bandwidth for the new data stream, then the method may proceed to block 416, where the controller may determine to leave the configuration of the data streams unchanged. Alternatively, if the controller determines that dropping any of the lower data streams may yield sufficient bandwidth for the new data stream, then at block 420 the controller may determine to drop one or more of the lower-priority data streams in order to free a sufficient amount of bandwidth for the new data stream. After one or more of the lower-priority data streams are dropped, the method may proceed back to block 412, where a reservation for the new data stream is made, and the new data stream may be transmitted over the network. In addition, the method may proceed back to block 406, where the controller may register the new data stream and/or information associated with the new data stream in the database.
One or more of the talkers 130, 131, 132, the listeners 140, 141, 142, and/or the controller 150 may be and/or may include a portion or all of one or more computing devices of various kinds, such as the computing device in
In a networked deployment, the computer system 500 may operate in the capacity of a server or as a client user computer in a server-client user network environment, or as a peer computer system in a peer-to-peer (or distributed) network environment. The computer system 500 can also be implemented as or incorporated into various devices, such as a personal computer (PC), a tablet PC, a set-top box (STB), a personal digital assistant (PDA), a mobile device, a palmtop computer, a laptop computer, a desktop computer, a communications device, a wireless telephone, a land-line telephone, a control system, a camera, a scanner, a facsimile machine, a printer, a pager, a personal trusted device, a web appliance, a network router, switch or bridge, or any other machine capable of executing a set of instructions (sequential or otherwise) that specify actions to be taken by that machine. In a particular example, the computer system 500 can be implemented using electronic devices that provide voice, audio, video or data communication. Further, while a single computer system 500 is illustrated, the term “system” shall also be taken to include any collection of systems or sub-systems that individually or jointly execute a set, or multiple sets, of instructions to perform one or more computer functions.
In
The term “module” may be defined to include a plurality of executable modules. As described herein, the modules are defined to include software, hardware or some combination thereof executable by a processor, such as processor 502. Software modules may include instructions stored in memory, such as memory 504, or another memory device, that are executable by the processor 502 or other processor. Hardware modules may include various devices, components, circuits, gates, circuit boards, and the like that are executable, directed, and/or controlled for performance by the processor 502.
The computer system 500 may include a memory 504, such as a memory 504 that can communicate via a bus 508. The memory 504 may be a main memory, a static memory, or a dynamic memory. The memory 504 may include, but is not limited to computer readable storage media such as various types of volatile and non-volatile storage media, including but not limited to random access memory, read-only memory, programmable read-only memory, electrically programmable read-only memory, electrically erasable read-only memory, flash memory, magnetic tape or disk, optical media and the like. In one example, the memory 504 includes a cache or random access memory for the processor 502. In alternative examples, the memory 504 is separate from the processor 502, such as a cache memory of a processor, the system memory, or other memory. The memory 504 may be an external storage device or database for storing data. Examples include a hard drive, compact disc (“CD”), digital video disc (“DVD”), memory card, memory stick, floppy disc, universal serial bus (“USB”) memory device, or any other device operative to store data. The memory 504 is operable to store instructions executable by the processor 502. The functions, acts or tasks illustrated in the figures or described may be performed by the programmed processor 502 executing the instructions stored in the memory 504. The functions, acts or tasks are independent of the particular type of instructions set, storage media, processor or processing strategy and may be performed by software, hardware, integrated circuits, firm-ware, micro-code and the like, operating alone or in combination. Likewise, processing strategies may include multiprocessing, multitasking, parallel processing and the like.
As shown, the computer system 500 may or may not further include a display unit 510, such as a liquid crystal display (LCD), an organic light emitting diode (OLED), a flat panel display, a solid state display, a cathode ray tube (CRT), a projector, a printer or other now known or later developed display device for outputting determined information. The display 510 may act as an interface for the user to see the functioning of the processor 502, or specifically as an interface with the software stored in the memory 504 or in the drive unit 516.
Additionally, the computer system 500 may include an input device 512 configured to allow a user to interact with any of the components of system 500. The input device 512 may be a number pad, a keyboard, or a cursor control device, such as a mouse, or a joystick, touch screen display, remote control or any other device operative to interact with the computer system 500.
In a particular example, as depicted in
The present disclosure contemplates a computer-readable medium that includes instructions 524 or receives and executes instructions 524 responsive to a propagated signal so that a device connected to a network 526 can communicate voice, video, audio, images or any other data over the network 526. Further, the instructions 524 may be transmitted or received over the network 526 via a communication port or interface 520, and/or using a bus 508. The communication port or interface 520 may be a part of the processor 502 or may be a separate component. The communication port 520 may be created in software or may be a physical connection in hardware. The communication port 520 may be configured to connect with a network 526, external media, the display 510, or any other components in system 500, or combinations thereof. The connection with the network 526 may be a physical connection, such as a wired Ethernet connection or may be established wirelessly as discussed later. Likewise, the additional connections with other components of the system 500 may be physical connections or may be established wirelessly. The network 526 may alternatively be directly connected to the bus 508.
The network 526 may include wired networks, wireless networks, Ethernet AVB networks, or combinations thereof. The wireless network may be a cellular telephone network, an 802.11, 802.16, 802.20, 802.1Q or WiMax network. Further, the network 526 may be a public network, such as the Internet, a private network, such as an intranet, or combinations thereof, and may utilize a variety of networking protocols now available or later developed including, but not limited to TCP/IP based networking protocols.
While the computer-readable medium is shown to be a single medium, the term “computer-readable medium” may include a single medium or multiple media, such as a centralized or distributed database, and/or associated caches and servers that store one or more sets of instructions. The term “computer-readable medium” may also include any medium that is capable of storing, encoding or carrying a set of instructions for execution by a processor or that cause a computer system to perform any one or more of the methods or operations disclosed. The “computer-readable medium” may be non-transitory, and may be tangible.
In an example, the computer-readable medium can include a solid-state memory such as a memory card or other package that houses one or more non-volatile read-only memories. Further, the computer-readable medium can be a random access memory or other volatile re-writable memory. Additionally, the computer-readable medium can include a magneto-optical or optical medium, such as a disk or tapes or other storage device to capture carrier wave signals such as a signal communicated over a transmission medium. A digital file attachment to an e-mail or other self-contained information archive or set of archives may be considered a distribution medium that is a tangible storage medium. Accordingly, the disclosure is considered to include any one or more of a computer-readable medium or a distribution medium and other equivalents and successor media, in which data or instructions may be stored.
In an alternative example, dedicated hardware implementations, such as application specific integrated circuits, programmable logic arrays and other hardware devices, can be constructed to implement various modules or parts of modules included in the system. Applications that may include the apparatus and systems can broadly include a variety of electronic and computer systems. One or more examples described may implement functions using two or more specific interconnected hardware modules or devices with related control and data signals that can be communicated between and through the modules, or as portions of an application-specific integrated circuit. Accordingly, the present system encompasses software, firmware, and hardware implementations.
The system described may be implemented by software programs executable by a computer system. Further, in a non-limited example, implementations can include distributed processing, component/object distributed processing, and parallel processing. Alternatively, virtual computer system processing, such as cloud computing, can be constructed to implement various parts of the system.
The system is not limited to operation with any particular standards and protocols. For example, standards for Internet and other packet switched network transmission (e.g., TCP/IP, UDP/IP, HTML, HTTP) may be used. Such standards are periodically superseded by faster or more efficient equivalents having essentially the same functions. Accordingly, replacement standards and protocols having the same or similar functions as those disclosed are considered equivalents thereof.
While various embodiments of the invention have been described, it will be apparent to those of ordinary skill in the art that many more embodiments and implementations are possible within the scope of the invention. Accordingly, the invention is not to be restricted except in light of the attached claims and their equivalents.