This application claims the benefit of Taiwan application Serial No. 096106810, filed Feb. 27, 2007, the subject matter of which is incorporated herein by reference.
1. Field of the Invention
The invention relates in general to a data transmitting method for wireless communication system, and more particularly to a data transmitting method capable of determining the quality of the current wireless communication channel according to the times of packet-resending and improving the efficiency of wireless communication according to a number of strategies.
2. Description of the Related Art
With the advance in science and technology, wireless communication system has now been widely used in various electronic products. The quality of wireless communication channel affects the efficiency of wireless communication significantly, such as data transmission rate, communication bandwidth and transmission error rate. Besides, the wireless communication channel is subjected to environmental factors, for example, when the quality of wireless communication channel deteriorates due to the interference of noises or channel occupation by other communication systems, the success rate in wireless transmission of packets and the bandwidth for data transmission would be decreased and the data error rate would be increased. Therefore, how to develop a method capable of effectively increasing the transmission efficiency of wireless communication under a poor quality of wireless communication channel has been a focus in the eyes of the manufacturers.
The invention is directed to a data transmitting method for wireless communication system capable of effectively resolving the problem that the wireless communication efficiency of a conventional wireless communication system deteriorates due to a poor quality of the wireless communication channel. The data transmitting method further has the advantages of effectively improving the transmission efficiency of wireless communication under a poor quality of wireless communication channel, reducing the likelihood of wireless communication packet-resending and increasing the success rate in the wireless transmission of packets.
According to a first aspect of the present invention, a data transmitting method for wireless communication system applied in a transmitting device for transmitting a number of data packets to a receiving device is provided. Firstly, n data packets are transmitted to the receiving device during the first time period, wherein n is a nature number. Next, the first accumulated number is recorded, wherein the first accumulated number denotes the times of packet-resending during the first time period. Then, it is determined whether the first accumulated number exceeds a predetermined value. If the first accumulated number exceeds the predetermined value, then other communication methods are adopted and carry on to transmit the remaining data packets; if the first accumulated number does not exceed the predetermined value, then the first accumulated number is cleared, and the method carries on to transmit the remaining data packets to the receiving device.
The invention will become apparent from the following detailed description of the preferred but non-limiting embodiments. The following description is made with reference to the accompanying drawings.
Referring to
Referring to
Then, the method proceeds to step (c), the transmitting device 12 determines whether the accumulated number exceeds a predetermined value. If not, the method proceeds to step (d), the accumulated number of the counter 121 is cleared by the transmitting device 12, and the method carries on transmitting the remaining data packets DP to the receiving device 14. In the preferred embodiment of the invention, the predetermined value is a parameter which stands for a minimum tolerable level of channel quality for the user. The predetermined value is set by a user and is, for example, an accumulated number of packet-resending during a time period.
In step (c), if the accumulated number exceeds the predetermined value, it means that the current quality of the wireless communication channel 16 is below the user's minimum tolerable level Then the method proceeds to step (d′), the receiving device 14 randomly selects the current available frequency-band of the wireless communication channel 16 and several different frequencies thereof according to the frequency communication dynamic selecting method and passes the information both of the selected available frequency-band and frequencies to the transmitting device 12. That is, the receiving device 14 obtains and provides a better available frequency-band to the transmitting device 12, and after the antenna of the transmitting device 12 randomly selects frequencies of the available frequency-band, the transmitting device 12 clears the accumulated number recorded in the counter 121. Next, the method proceeds to step (e), the transmitting device 12 transmits the remaining m data packets of the data packet DP to the receiving device 14 via the selected frequencies of the available frequency-band during next time period, wherein m is a nature number.
Then, the method proceeds to step (f), the counter 121 once again records the accumulated number of packet-resending in transmission. Next, the method proceeds to step (g), the transmitting device 12 once again determines whether the accumulated number exceeds a predetermined value so as to determine whether to effectively transmit the data packets via the frequencies of the available frequency-band to resolve the problem of poor efficiency in wireless communication between the transmitting device 12 and the receiving device 14. If not, the method proceeds to step (h), the transmitting device 12 clears the accumulated number of the counter 121 and continues to randomly select other frequencies from the available frequency-band according to the frequency communication dynamic selecting method to transmit the remaining data packets DP to the receiving device 14.
The transmitting device 12 of the preferred embodiment of the invention is a multi-antenna system having a number of antenna devices. The transmitting device 12 divides the data packets DP into several data flows outputted via corresponding antenna devices. In the step (e), the transmitting device 12 randomly distributes the frequencies of the available frequency-band to the antenna devices with poor communication channel quality, such that the antenna devices with poor communication channel quality are able to randomly output the data packets of data flows via different frequencies. Meanwhile, each antenna device outputs its corresponding data flow via respective frequency to avoid mutual interference.
After step (g), if the accumulated number exceeds the predetermined value, this implies that the transmission of data packets between the transmitting device 12 and the receiving device 14 can not be effectively improved via the frequencies of available frequency-band, then the method proceeds to step (h′), the transmitting device 12 estimates several delay time samples according to the dynamic delay time adjusting communication method. The steps of dynamic delay time adjusting communication method is as the following: the transmitting device 12 assigns different delay times to the antennas with poor communication channel quality, the delay time caused by “resending” is used as a dynamic time sample, then the transmitting device 12 clears the accumulated number of the counter 121. Next, the method proceeds to step (i), the transmitting device 12 dynamically adjusts the launching time of the antenna device according to the delay time samples, so as to transmits the remaining k data packets of the data packet DP to the receiving device 14 during next time period, wherein k is a nature number.
Then, the method proceeds to step (j), the counter 121 once again records the accumulated number of packet-resending in transmission. Next, the method proceeds to step (k), the transmitting device 12 once again determines whether the accumulated number exceeds a predetermined value so as to determine whether to effectively resolve the problem of poor efficiency in wireless communication according to the dynamic delay time adjusting communication method. If not, the method proceeds to step (l), the transmitting device 12 clears the accumulated number of the counter 121 and continues to transmit the remaining data packets DP to the receiving device 14 according to the delay time samples according to the dynamic delay time adjusting communication method.
After step (k), if the accumulated number exceeds the predetermined value, this implies that the transmission of data packets between the transmitting device 12 and the receiving device 14 can not be effectively improved according to the dynamic delay time adjusting communication method, then the method proceeds back to step (d′), the receiving device 14 once again randomly selects the available frequency-band and the frequencies thereof from the current wireless communication channel 16 according to the frequency communication dynamic selecting method and passes the information both of the selected available frequency-band and communication frequency to the transmitting device 12. Next, the method proceeds to the steps following step (d′) to improve the efficiency in wireless communication between the transmitting device 12 and the receiving device 14 according to the frequency communication dynamic selecting method and the dynamic delay time adjusting communication method.
Thus, the data transmitting method for wireless communication system of the preferred embodiment of the invention is capable of effectively determining whether the current channeling quality of the wireless communication channel 16 is lower than the user's minimum tolerable limit according to the accumulated number of packet-resending during the transmission of the n, m or k data packets by the transmitting device 12. If the quality of the wireless communication channel 16 is lower than the minimum tolerable limit, the wireless communication between the transmitting device 12 and the receiving device 14 is improved by repeating the frequency communication dynamic selecting method and the dynamic delay time adjusting communication method.
The transmitting device 12 of the preferred embodiment of the invention further has a number of antenna devices and diverse-space buffers corresponding to the antenna devices as indicated in
The diverse-space buffer 125A is used for storing the data packets B1, A2 and B3, and the diverse-space buffer 125B is used for storing the data packets A1, B2 and A3. When one of the antenna devices fails in transmitting any data packet i.e. the data packet needs to be resent, the other antenna device would get the same data packet in its own buffer and resend it in the next time period. For example, when the antenna device 123A fails in transmitting the data packet B2, the transmitting device 12 can output the same data packet B2 stored in the diverse-space buffer 125B in the next time period via the antenna device 123B.
Thus, when one of the antenna devices such as antenna device 123A fails in transmitting the data packet, the transmitting device 12 can resend the data packet in the next time period via another antenna device 123B, effectively avoiding repeatedly transmitting the data packet by the same antenna device which may be broken, and effectively reducing the likelihood of packet-resending. Thus, with the mechanism of the diverse-space buffer, it is achievable to reduce the likelihood of resending data packet and effectively increase the success rate in the transmission of data packets.
Between step (d′) and step (e) of the data transmitting method, the method further includes step (d1). The transmitting device 12 divides m data packets into several ones to shorten the length of the data packet. As indicated in
Referring to
Step (a) further includes step (a3) of dividing the n data packets into several ones to shorten the transmitting time of the n data packets according to the times of packet-resending. For example, when the times of packet-resending exceeds another pre-determined parameter, the length of the n data packets is shortened into a half and the half-lengthed data packets are outputted, then step (a2) is repeated as indicated in
Step (a) further includes step (a4) of randomly selecting a currently available frequency-band according to the frequency communication dynamic selecting method when data packets are resent; and then outputting the n data packets to the receiving device 14 via the frequencies of the available frequency-band in the next time period.
According to the data transmitting method for wireless communication system of the preferred embodiment of the invention, if the accumulated number exceeds the predetermined value in the step (c), the quality of the wireless communication is improved by both the frequency communication dynamic selecting method disclosed in steps (d′)˜(g) and the dynamic delay time adjusting communication method disclosed in steps (h′)˜(l) sequentially. However, if the accumulated number exceeds the predetermined value in the step (c), the invention can perform either the dynamic delay time adjusting communication method or the frequency communication dynamic selecting method; besides the order of these two methods could be swapped. Thus, in step (a), step (a3) and (a4) can be omitted.
In the data transmitting method, whether the current channel quality of the wireless communication channel is lower than the user's minimum tolerable limit is determined according to the times of packet-resending by the transmitting device during a time period. If the channeling quality of the wireless communication channel is lower than the user's minimum tolerable limit, the frequency communication dynamic selecting method and the dynamic delay time adjusting communication method are used repeatedly to improve the channeling quality. Thus, the data transmitting method for wireless communication system of the preferred embodiment of the invention is capable of effectively resolving the problem that the transmission efficiency deteriorates while under a poor quality of the wireless communication environment. Besides, the data transmitting method further has the advantages of reducing the likelihood of repeated transmission Besides, the data transmitting method also effectively improves the transmission efficiency of wireless communication while under a poor quality of the wireless communication environment as well.
While the invention has been described by way of example and in terms of a preferred embodiment, it is to be understood that the invention is not limited thereto. On the contrary, it is intended to cover various modifications and similar arrangements and procedures, and the scope of the appended claims therefore should be accorded the broadest interpretation so as to encompass all such modifications and similar arrangements and procedures.
Number | Date | Country | Kind |
---|---|---|---|
096106810 | Feb 2007 | TW | national |