1. Field of the Invention
The present invention relates to a wireless communication system, and more particularly, to a wireless communication system and a related method for adjusting a used depth of a buffer unit in the wireless communication system.
2. Description of the Prior Art
Generally speaking, before playing multimedia packets, such as a video stream or an audio stream transmitted on a network, a section of data is pre-downloaded to the buffer to be buffered. As the network is interfered to cause the actual link speed be smaller than the playing speed of the multimedia packets, the player will access the section of data stored in the buffer to avoid interruption or interference upon the playback of the multimedia packets. The size of the section of data is usually decided based on the delay allowed by the multimedia player. However, there maybe a large change in the wireless network during transmissions, such as a higher transmission speed within a short distance, a lower transmission speed within a long distance, a smoother transmission without interferences, or a poor transmission with interferences. For this reason, if the buffer with a fixed size is adopted in the wireless communication system, the multimedia packets, such as the video stream or the audio stream, cannot be played smoothly or in real time. Most of the conventional mechanisms for adjusting the size of the buffer usually adopt statistics upon the delay conditions of the past received packets to estimate the delay conditions of the future packets, and accordingly adjust the size of the buffer (i.e., the delay time of playing the packets). But this kind of method has a slow response to the wireless communication system with instantaneous interferences.
Hence, how to quickly respond to changes in the wireless network environment in order to adjust the buffer size has become an important topic of the field.
It is one of the objectives of the present invention to provide a wireless communication system and a related method for adjusting a used depth of a buffer unit in the wireless communication system to solve the abovementioned problems.
According to one embodiment, a wireless communication system is provided. The wireless communication system includes a receiving unit, a buffer unit, a determining unit, and an adjustment unit. The receiving unit receives a signal stream. The buffer unit is coupled to the receiving unit, for storing the signal stream by using a used depth. The determining unit is coupled to the receiving unit, for determining a signal receiving quality of the signal stream received from the receiving unit and accordingly generating a determining result. The adjustment unit is coupled to the determining unit, for adjusting the used depth of the buffer unit according to the determining result.
According to another embodiment, a method for adjusting a used depth of a buffer unit in a wireless communication system is provided. The method includes the following steps: receiving a signal stream; storing the signal stream by utilizing the used depth; determining a signal receiving quality of the signal stream, and accordingly generating a determining result; and adjusting the used depth of the buffer unit according to the determining result.
One advantage of the present invention is to dynamically adjust the size of the buffer unit by predicting the channel quality of the wireless communication system, such that multimedia stream can be played smoothly due to quick responses to changes in the wireless communication system. Moreover, another advantage of the present invention is to avoid frequent adjustments of the buffer unit by appropriately setting the first signal quality threshold and the second signal quality threshold, such that multimedia playback quality won't be affected.
These and other objectives of the present invention will no doubt become obvious to those of ordinary skill in the art after reading the following detailed description of the preferred embodiment that is illustrated in the various figures and drawings.
Please refer to
For example, in order to play a video stream or an audio stream smoothly, the buffer unit 120 uses an initial used depth DI (i.e., D=DI) to store the signal stream S after the receiving unit 110 receives the signal stream S related to the video stream or the audio stream. As shown in
Please refer to
Please note that, in the abovementioned embodiments, the signal receiving quality Q can be calculated according to a count of false alarms, a count of CRC errors, and an AMPDU subframe sequence number. Since the meanings of the count of false alarms, the count of CRC errors, and the AMPDU subframe sequence number are easily known to those skilled in the art, and further description is omitted here for brevity. Please also note that, the abovementioned parameters used for calculating the signal receiving quality Q are presented merely for describing the features of the present invention, and in no way should be considered to be limitations of the scope of the present invention. In other words, any method, capable of predicting the signal receiving quality of the channel quality of the wireless communication system without departing from the spirit of the present invention, should also belong to the scope of the present invention.
Please refer to
Step S300: Start.
Step S310: Receive a signal stream.
Step S320: Store the signal stream to a buffer unit by utilizing a used depth.
Step S325: Determine a signal receiving quality of the signal stream, and accordingly generate a determining result. When the determining result indicates that the signal receiving quality does not reach a first signal quality threshold, go to the step S330; and when the determining result indicates that the signal receiving quality reaches a second quality threshold, go to the step S340; otherwise, go back to the step S310.
Step S330: Increase the used depth of the buffer unit.
Step S340: Decrease the used depth of the buffer unit.
How each element operates can be known by collocating the steps shown in
Please refer to
Step S400: Start.
Step S410: Receive a signal stream.
Step S420: Store the signal stream to a buffer unit by utilizing a used depth.
Step S425: Determine a signal receiving quality of the signal stream, and accordingly generate a determining result. When the determining result indicates that the signal receiving quality does not reach a first signal quality threshold, go to the step S430; and when the determining result indicates that the signal receiving quality reaches a second quality threshold, go to the step S440; otherwise, go back to the step S410.
Step S430: Slow down the extracting rate of the buffer unit.
Step S440: Speed up the extracting rate of the buffer unit.
How each element operates can be known by collocating the steps shown in
Please note that, the steps of the abovementioned flowchart are merely a practicable embodiment of the present invention, and in no way should be considered to be limitations of the scope of the present invention. The method can include other intermediate steps or several steps can be merged into a single step without departing from the spirit of the present invention.
The abovementioned embodiments are presented merely for describing the features of the present invention, and in no way should be considered to be limitations of the scope of the present invention. In summary, the present invention provides a wireless communication system and a related method for adjusting a used depth of a buffer unit in the wireless communication system. By predicting the channel quality of the wireless communication system so as to dynamically adjust the size of the buffer unit, multimedia stream can be played smoothly due to quick responses to changes in the wireless communication system. Furthermore, by appropriately setting the first signal quality threshold and the second signal quality threshold, multimedia playback quality won't be affected due to frequent adjustments of the buffer unit 120.
Those skilled in the art will readily observe that numerous modifications and alterations of the device and method may be made while retaining the teachings of the invention.
Number | Date | Country | Kind |
---|---|---|---|
099122449 A | Jul 2010 | TW | national |
Number | Name | Date | Kind |
---|---|---|---|
5828414 | Perkins et al. | Oct 1998 | A |
6108560 | Navaro et al. | Aug 2000 | A |
6683889 | Shaffer et al. | Jan 2004 | B1 |
7457243 | Meggers et al. | Nov 2008 | B2 |
8085678 | Spindola et al. | Dec 2011 | B2 |
8218579 | Liu et al. | Jul 2012 | B2 |
8472320 | Enstrom et al. | Jun 2013 | B2 |
20030161471 | Jou et al. | Aug 2003 | A1 |
20050058146 | Liu et al. | Mar 2005 | A1 |
20080130617 | Singh et al. | Jun 2008 | A1 |
20110103280 | Liu et al. | May 2011 | A1 |
20110299468 | Van Nee et al. | Dec 2011 | A1 |
20120110405 | Toshimitsu et al. | May 2012 | A1 |
Number | Date | Country |
---|---|---|
101076989 | Nov 2007 | CN |
101548500 | Sep 2009 | CN |
Entry |
---|
CN Office Action dated Aug. 16, 2013. |
TW Office Action mailed Jul. 26, 2013. |
TW Office Action dated Jan. 23, 2014. |
Number | Date | Country | |
---|---|---|---|
20120009892 A1 | Jan 2012 | US |