The present invention relates to a relay apparatus and to a relay method.
Wireless network systems conforming to the IEEE 802.11 standard (hereafter “wireless LAN systems”), and wireless network systems conforming to 3GPP (3rd Generation Partnership Project) standards (hereafter “cellular systems”), are representative examples of wireless network systems.
In the case of a cellular system such as depicted in
In a wireless LAN system, a plurality of access points 130 is arranged for one wireless network gateway 120. This is a so-called tree structure. In the cellular system as well, the plurality of RNCs 190 are connected to one xGSN 180, and a plurality of NodeB units 200 are connected to one RNC 190 in the tree structure. Hence data readily accumulates at wireless network gateways 120, and at xGSN units 180, RNC units 190, and other relay apparatuses. And, because a wireless access network has narrow bandwidth compared with wire access networks, this situation is further aggravated.
Also, with changes in the wireless environment and increases in the number of wireless access terminals, data accumulation similarly occurs readily in relay apparatuses (or relay stations) as well, as seen from the side of the wireless access network. For example, when resent control is performed between the terminal 140 or similar and the relay apparatus accompanying quality degradation, the transmission data enters a transmit wait state in the relay apparatus, and consequently data accumulation occurs. And, data accumulation also readily occurs when a plurality of terminals 140 or similar have requested access of the wireless network at the same time.
Such accumulation of data in the relay apparatus generally occurs particularly readily when the output rate is low compared with the input rate, and induces the occurrence of so-called congestion. Due to the occurrence of congestion, the relay apparatus discards subsequently received data due to buffer overflow.
Under such circumstances, in the prior art measures have ultimately been taken within the receiving apparatuses processing data.
For example, a packet reception apparatus is disclosed in which received packets are stored temporarily in packet storage means which forms a queue, and when the length of the queue increases and a readout-start threshold value is reached, readout of packets from the packet storage means is started, to reduce the effect of communication packet jitter (see for example Patent Reference 1 below).
And, a jitter buffer control method and IP telephone have been disclosed in which, by performing thinning (or expansion) of voice data from the jitter amount of received packets, jitter is absorbed, and sounds are smoothly connected on the decoding side (see for example Patent Reference 2 below).
Further, a packet reception control method is also disclosed in which ordering of packets which have arrived with a delay or similar is performed in an encoded voice buffer, and immediately prior to actually utilizing sampling data comprised by a packet stored in the encoded voice buffer, the packet is decoded by a voice data decoding processing unit and voice output is performed (see for example Patent Reference 3 below).
Further, an invention is disclosed in which a wireless pattern is detected in received data, marking of the wireless pattern is performed, and when it is necessary to dynamically modify the jitter buffer, a silent pattern is inserted immediately before the marked data or the marked data is erased (see for example Patent Reference 4 below).
Patent Reference 1: Japanese Laid-open Patent Publication No. 2001-274829
Patent Reference 2: Japanese Laid-open Patent Publication No. 2005-64873
Patent Reference 3: Japanese Laid-open Patent Publication No. 2006-121401
Patent Reference 4: Japanese Laid-open Patent Publication No. 2002-271391
As explained above, accumulation of data in the relay apparatus leads to the occurrence of congestion. When congestion occurs, data must be discarded.
Accordingly, it is an object in one aspect of the present invention to provide the prioritized discarding of data which is not effectively utilized in reproduction.
Furthermore, it is another object of the present invention to provide a relay apparatus and similar which improves the quality of wireless links.
According to one aspect of the present invention, a relay apparatus for relaying data transmitted and received between a transmitting station and a receiving station, including: a discarding decision unit which discards a part of the relay-targeted data without relaying the part of the relay-targeted data to the receiving station, on the basis of feedback information from the receiving station.
According to one aspect of the present invention, a relay method in a relay apparatus which relays data transmitted and received between a transmitting station and a receiving station, including: discarding a part of the relay-targeted data without transmitting the part of the relay-targeted data to the receiving station, on the basis of feedback information from the receiving station.
According to one aspect of the present invention, a network system, comprising: a transmitting station; a receiving station; and a relay apparatus which relays data transmitted and received between the transmitting station and the receiving station, wherein the relay apparatus includes: a discarding decision unit which discards a part of the relay-targeted data without relaying the part of the relay-targeted data to the receiving station, on the basis of feedback information from the receiving station.
By means of the present invention, data which is not effectively utilized in reproduction can be given priority in discarding. Further, a relay apparatus and similar which improves the quality of wireless links can be provided.
1 network system
10-1 to 10-n reception apparatuses
20 relay apparatuses
21 network-side reception unit
22 data storage unit
23 congestion judgment unit
24 discarding decision unit
25 transmission scheduling unit
26 transmission unit
27 reception unit
28 delay amount estimation unit
29 network-side transmission unit
30 transmission apparatus
40-0 to 50-n access point
50-0 to 50-m terminals
One conceivable proposal, for example, would entail thinning data which has low impact on quality (or is of low importance) to perform discarding for transmission from a relay apparatus (or relay station) to a receiving station.
As depicted in
As data with low importance, for example, when realtime data is related to voice data, background noise information in the voice data can be handled as low-importance data; when realtime data is related to video data, non-reference picture data can be handled as low-importance data.
In this way, low-importance data can be discarded, and the effect of discarding at the reception apparatus can be reduced.
However, the receiving station receives data after a prescribed time has elapsed due to a transmission delay, but there are also cases in which the receiving station receives at a time at which the allowable delay amount has been exceeded. In the case, the leading data series A, which is important data which has been left after thinning processing, is received by the receiving station, but does not arrive by the reproduction time, so that the data cannot be reproduced. Further, due to delay of the data series A, the data series B following thereafter also cannot be received by the time of the start of reproduction, and cannot be reproduced. And, in the stage at which the data series C is received, the data finally arrives by the time of the start of reproduction, and the data series C can be reproduced.
Despite the fact that the data series A and data series B are thinned and then transmitted, they cannot be reproduced on the receiving side, and as a result unnecessary data is transmitted.
Hence in the next embodiments, this problem is considered.
A preferred embodiment for implementing the present invention is explained below.
The relay apparatus 20 includes a plurality of subordinate access points 40-0 to 40-n, as depicted in
The relay apparatus 20 is further connected, via a higher-level wireless network gateway 120, an L3 switch and similar, to the server 110. The relay apparatus 20 may be positioned between the wireless network gateway 120 and the access point 130, or the wireless network gateway 120 may have the functions of the relay apparatus 20 therewithin.
The network-side reception unit 21 receives data from the network connected to the relay apparatus 20 (for example, from a wireless network gateway 120 or similar). Received data is for example IP (Internet Protocol) packets, with streaming data inserted into the IP packets.
The data storage unit 22 stores data received by the network-side reception unit 21. The data storage unit 22 also discards a constant quantity of data according to instructions from the discarding decision unit 24. A detailed explanation is given below.
The congestion judgment unit 23 monitors data stored in the data storage unit 22, and judges whether the network is in a congested state. Here, the congestion judgment unit 23 more generally judges whether data stored in a buffer must be discarded; here, the necessity of discarding is evaluated with the amount of data stored as a parameter, but other parameters can also be used to judge the necessity of discarding.
Returning to
The transmission scheduling unit 25 decides scheduling for transmission of data to the terminals 50-0 to 50-m, and outputs data read-out from the data storage unit 22 to the transmission unit 26 according to the transmission schedule thus decided.
The transmission unit 26 transmits transmission data to the terminals 50-0 to 50-m according to the transmission schedule.
The reception unit 27 receives data from the terminals 50-0 to 50-m, and outputs the data to the network-side transmission unit 29. When, among the data received from the terminals 50-0 to 50-m, feedback information is received, the reception unit 27 outputs all of or a unit of this feedback information to the delay amount estimation unit 28. Feedback information is explained below.
The delay amount estimation unit 28 calculates the delay amount from the feedback information.
D(i,j)=(Rj−Ri)−(Sj−Si)=(Rj−Sj)−(Ri−Si)
This measured jitter value is transmitted as feedback information from the receiving side to the transmitting side, that is, from the terminals 50-0 to 50-m to the reception unit 27 of the relay apparatus 20 (transmission apparatus). In data transmission and reception, feedback information can be inserted into a field into which a time stamp is inserted, and into the time stamp field in the RTP header, in RTCP-RR (Receiver Report) packets when using RTP (Realtime-Transfer Protocol)/RTCP (Realtime Transfer Control Protocol) conforming to RFC 1889/1890, and the feedback information can be transmitted to the relay apparatus 20.
The delay amount estimation unit 28 calculates the delay amount on the basis of feedback information from the reception unit 27. For example, the delay amount estimation unit 28 calculates the delay amount by totaling jitter values. Calculated jitter values are held in memory or similar as the latest delay amount. Jitter values can take + or − values with respect to a reference value (in the embodiment, the reference value of the transmission delay), and so by totaling these values, the delay amount of transmission delay for a wireless link can be measured.
That is, in the initial stage data transmission from the transmission apparatus to the reception apparatus is performed within the allowable time, but when delays begin to occur, positive jitter values are detected, and conversely when delays are decreased negative jitter values are detected. Hence by integrating these values, it is possible to detect the extent to which a delay which cannot be allowed is added.
Here, jitter values are used; but it is sufficient that, at least in the relay station, data which is too late for reproduction even when transmitted to the receiving station can be identified. For example, the receiving station measures the transmission time of data transmitted from the relay station to the receiving station (determines by subtracting the transmission time contained in the data from the time of reception), and reports the result to the relay station.
The network-side transmission unit 29 outputs data received by the reception unit 27 from the terminals 50-0 to 50-m to the network.
Next, in the network system 1 configured in this way, operation in the relay apparatus 20 in particular is explained.
As depicted in
Next, the congestion judgment unit 23 judges whether the network is in the congested state (S12). As explained above, the congestion judgment unit 23 may for example perform this judgment based on the amount of data accumulated in the data storage unit 22 and on a threshold value.
When the network is not in the congested state (N in S12), processing again returns to S11, and data is received. If on the other hand the network is in the congested state (Y in S12), the discarding decision unit 24 performs control object decision processing (S13).
The discarding decision unit 24 judges whether the delay amount from the delay amount estimation unit 28 is equal to or greater than a constant amount (S131). As explained above, the discarding decision unit 24 performs this judgment by totaling jitter values from the delay amount estimation unit 28, taking the total value to be the delay amount, and judging whether the delay amount is equal to or greater than a threshold value.
When the delay amount is greater than or equal to the constant amount (Y in S131), the discarding decision unit 24 decides that the session with delay amount equal to or greater than the constant amount is an object for control (S132). When on the other hand the delay amount is no equal to or greater than the constant amount (N in S131), the discarding decision unit 24 does not take the session to be an object for control (S133), and the series of processing is ended (S134).
Upon deciding on a control object session, the discarding decision unit 24 calculates the discard amount (S14 in
In cases in which information on the time at which data is to be reproduced is included in data being relayed at the time of discarding, an instruction can be issued to perform discarding of data for which the time equal to the current time plus the transmission time (the transmission time from the relaying station to the receiving station) exceeds the time indicated by the reproduction time information.
Further, if what is to be discarded is data which is not expected to arrive by the time for reproduction, then important data may also be discarded. An example of data of high importance may be, in a case in which realtime data is related to voice information, non-silent data other than background noise information among voice data, or similar, or in a case in which realtime data is related to video data, a reference picture or similar.
Next, the data storage unit 22 discards data in the requested discarding amount for the session requested by the discarding decision unit 24 (S15). Discarding is for example performed starting from old data (in the case of a FIFO format, the earliest stored data, or the data which was the first to arrive at the relay apparatus 20), that is, starting from data which does not contribute to reproduction at the receiving station (terminals 50-0 to 50-m), or data for which such a possibility is extremely low.
And, the series of processing ends (S16). Thereafter, the relay apparatus 20 transmits from the transmission unit 26 to the terminal apparatuses 50-0 to 50-m the data excluding the discarded data.
In this way, the relay apparatus 20 in the embodiment discards data based on delay amounts when the wire access-side network is in the congested state and the transmission delay amount in the wireless-side network is equal to or greater than a constant amount; hence data of the delay amount is not transmitted, and transmission of data which is not necessary for reproduction can be avoided. Moreover, opportunities for transmission of data not necessary for reproduction can be suppressed, so that reductions in the transmission rate at wireless links can be suppressed, and the quality at wireless links can be improved.
It is desirable that when the transmission delay amount is equal to or less than a constant value, even when the state is the congested state, the relay apparatus 20 not perform data discarding processing. This is because if the transmission delay is small, data transmission and reception can be performed so as to be in time for the start of reproduction.
Here, data discarding is considered. It is desirable that data discarding be performed taking into consideration the timing of reproduction at the receiving station. Hence it is desirable that the jitter cumulative value be observed from the start times of communication with each of the terminals 50-0 to 50-m, and that the data (data amount) which is not in time for reproduction at the receiving station when the delay indicated by the jitter cumulative value occurs be discarded. Of course, when it is possible to accurately estimate the amount of data equivalent to the delay amount, the necessary data amount can be discarded at once; but there are also cases in which, due to the application or other circumstances, the estimated delay amount is not necessarily appropriate. In such cases, for example, the discarding amount can also be decided based on the cumulative result including the jitter value received the next time.
Here, where data discarding is concerned, the data amount can be divided into certain fractions and eliminated, rather than discarding the data all at once. This is because even if all the discarding amount is not eliminated, in a communication environment which changes in realtime, there are also cases in which data delivery can be performed so as to be in time for reproduction. Further, there are cases in which transmission rate adjustment is performed in the transmission-side relay apparatus 20 based on feedback from the receiving side, and from this too, alleviation of congestion may be expected. Further, cases are also conceivable in which, during discarding of a unit of the data, recovery from congestion is detected by the congestion judgment unit 23.
Four types of data discarding performed by the discarding decision unit 24 and data storage unit 22 are conceivable. These are 1) discarding of all data; 2) discarding of only a constant amount; 3) discarding at a constant fraction; and, 4) discarding a constant amount or more. Of these,
As depicted in
When discarding at the constant fraction, as depicted in
Further, when discarding the constant amount or greater, as depicted in
In all cases, in the discarding decision unit 24 the amount equivalent to the delay amount is decided as the discarding amount based on the delay amount determined from the cumulative jitter value, and when the delay amount exceeds the threshold value a predetermined constant amount is decided as the discarding amount (
In these cases, examples of divided discarding (
In all of the examples explained above, examples of data discarding based on delay amounts is explained. For example, as depicted in
Further, in the above-described examples, examples are explained in which the network system 1 is a wireless LAN. Of course, implementation is possible even when the network system 1 is a cellular system.
Further, in the above-described examples, jitter values are explained as examples of feedback information. In addition to this, for example, direct cumulative values may be fed back from the receiving station to the relay station as feedback information. In this case, the delay amount calculation processing by the delay amount estimation unit 28 is reduced, and moreover the delay amount estimation unit 28 itself can be omitted, processing can be speeded, and the cost of the relay apparatus 20 itself can be lowered. In this embodiment, apart from jitter values and cumulative values, any other delay information indicating transmission delays can be used as feedback information.
Further, in the above-described examples, data relayed by the relay apparatus 20 is explained as streaming data. The data may be other data for which realtime handling is required.
Further, in the above-described examples, explanations assumed wireless data transmission and reception from a relay apparatus 20 to terminals 50-0 to 50-m. In addition, data transmission and reception by wire may be employed. If data transmission speeds are slow for the network to which the relay apparatus 20 is connected, the embodiment can be implemented for both wireless and wire communication. In this case, quality can be improved in the network with the slower transmission speeds.
This application is a continuation of international application PCT/JP2007/000543, filed on May 21, 2007.
Number | Date | Country | |
---|---|---|---|
Parent | PCT/JP2007/000543 | May 2007 | US |
Child | 12619422 | US |