The present invention relates to a method of reallocating transmission periods for coexisting wireless modules, and more particularly, to a method which selectively defers a transmission of a wireless module for adaptively reallocating transmission periods for wireless modules coexisting in a communication apparatus, a chip, or an area.
Conventionally, multiple wireless modules may coexist in a communication apparatus, a chip, or an area but within different communication apparatuses for processing wireless signals of different wireless communication systems. In such a situation, how to efficiently distribute radio resources is an issue in the art.
For example, a communication apparatus may integrate both a BT module and a WLAN module, wherein the BT module may utilize an extended synchronous connection orientated (eSCO) profile to apply a time division duplex (TDD) scheme for cooperating with the WLAN module, and the WLAN module may utilize a CTS-to-self frame as a protection frame for clearly reserving its transmission. However, the protection frame may occupy a too large portion of a Wi-Fi dwell period (i.e. an assigned period for the transmission of the WLAN module), which results in a low transmission efficiency. Besides, if a transmission/reception packet corresponding to the WLAN module has a low data rate and/or an aggregation, the Wi-Fi dwell period may not be long enough to transmit the entire transmission/reception packet. Accordingly, the conventional Wi-Fi dwell period of the WLAN module may not be flexible to fit into all kinds of transmission/reception packets.
Therefore, it is essential to efficiently reallocate transmission periods for wireless modules coexisting in a communication apparatus, a chip, or an area but within different communication apparatuses.
Therefore, the primary objective of the present invention is to provide a method of reallocating transmission periods for coexisting wireless modules.
The present invention discloses a method for a communication apparatus. The communication apparatus comprises a first wireless module and a second wireless module. The method comprises determining whether a first transmission period is long enough for a transmission of the first wireless module in a first window before initiating the transmission of the first wireless module; and deferring a transmission of the second wireless module and continuing the transmission of the first wireless module in a second transmission period of a second window following the first window when the first transmission period is determined to be not long enough for the transmission of the first wireless module; wherein the second transmission period and the first transmission period are two successive periods in the first window or in the second window.
The present invention further discloses a communication apparatus. The communication apparatus comprises a first wireless module and a second wireless module; and a control module, comprising a central processor; and a data storage unit, coupled to the central processor, for storing a programming code; wherein the programming code instructs the central processor to execute a method of reallocating transmission periods of the second wireless module and the first wireless module, and the method comprises determining whether a first transmission period is long enough for a transmission of the first wireless module in a first window before initiating the transmission of the first wireless module; and deferring a transmission of the second wireless module and continuing the transmission of the first wireless module in a second transmission period of a second window following the first window when the first transmission period is determined to be not long enough for the transmission of the first wireless module; wherein the second transmission period and the first transmission period are two successive periods in the first window or in the second window.
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.
The invention aims at reallocating transmission periods for coexisting wireless modules. The coexisting wireless modules are wireless modules coexisting in a communication apparatus, a chip, or an area but within different communication apparatuses. For illustration purpose, the following embodiment corresponds to two wireless modules coexisting in a communication apparatus, wherein one of the two wireless modules (i.e., a first wireless module) is a Wireless Local Area Network module, and the other (i.e., a second wireless module) is a Bluetooth module.
Please refer to
Please refer to
Step 200: Start.
Step 202: Determine whether a first transmission period is long enough for a transmission of the WLAN module 122 in a first window before initiating the transmission of the WLAN module 122.
Step 204: Defer a transmission of the BT module 120 and continue the transmission of the WLAN module 122 in a second transmission period of a second window following the first window when the first transmission period is determined to be not long enough for the transmission of the WLAN module 122.
Step 206: End.
In Step 202, before the WLAN module 122 initiates its transmission, the control module 10 initiates a detection to determine whether the first transmission period of the first window is long enough for the transmission of the WLAN module 122. In Step 204, when the detection result of Step 202 shows that the first transmission period is not long enough for the transmission of the WLAN module 122, the control module 10 controls the BT module 120 to defer the transmission of the BT module 120 and continues the transmission of the WLAN module 122 in the second transmission period of the second window. In the embodiment, the first window and the second window may be taken as two successive and equal windows, and the second transmission period and the first transmission period are two successive periods configured inside the first window or the second window. In addition, the second transmission period is assigned to be a reserved transmission period of the BT module 120. The first transmission period is assigned to be a retransmission period of the BT module 122, or the first transmission period may also be a reserved transmission period of the WLAN module 122 if the BT module 120 is unnecessary for a retransmission.
In the first window, the embodiment of the invention may further estimate a transmission rate of the WLAN module 122 before the WLAN module 122 initiates its transmission. When the first transmission period of the first window is not long enough to finish the transmission of the WLAN module 122, the second transmission period of the second window (which is originally assigned to be utilized by the BT module 120) may be reassigned to be continuously utilized by the WLAN module 122 for finishing its transmission, and the originally scheduled transmission of the BT module 120 may be correspondingly processed after the WLAN module 122 finishes its transmission. Alternatively, after the transmission rate of the WLAN module 122 is estimated to determine that the first transmission period is long enough to finish the transmission of the WLAN module 122, the BT module 120 may maintain its scheduled transmission in the second transmission period of the second window. Accordingly, the embodiment of the invention dynamically monitors the transmission amount of the WLAN module 122 in the first transmission period of the first window, to adaptively reassign/maintain the second transmission period for the transmission of the WLAN module 122 or the BT module 120, so as to ensure that the WLAN module 122 is able to finish its entire transmission. Thus, even though the transmission/reception packet of the WLAN module 122 has a low data rate and/or an aggregation, the embodiment of the invention is capable of dynamically adjusting transmission periods for the communication apparatus 12 which simultaneously supports both operations of the BT module 120 and the WLAN module 122. Note that, various realizations of the process 20 may be applied to different packet types utilized by the BT module 120.
Please refer to
Please refer to
Please refer to
Noticeably, the examples of the invention show different packet types utilized by the BT module 120 with zero or one retransmission, such that the BT module 120 of the invention is controlled to adaptively defer its transmission (e.g. actively transmitting to a slave device or passively receiving from a master device), so as to allow the coexisting WLAN module 122 to finish its transmission (e.g. RX or TX) within a successive transmission period disposed in different windows. Certainly, those skilled in the art may adaptively adjust/modify/change the embodiments with other deferring/reserving mechanisms to extend the transmission period of the WLAN module 122, which is also within the scope of the invention. In addition, if the WLAN module 122 finishes its transmission within the originally assigned transmission period (i.e. it is unnecessary for the BT module 120 to defer its transmission), the embodiment of the invention may maintain the scheduled transmission period for the BT module 120 without initiating the deferring operation, so as to provide a dynamical adjustment complying with different packet types, which is also within the scope of the invention.
In summary, the embodiment of the invention provides a method which selectively defers a transmission of the BT module for adaptively reallocating transmission periods for the BT module and the WLAN module coexisting in the same communication apparatus. Accordingly, even if a low data rate with/without aggregation corresponding to the WLAN module is inevitable, the communication apparatus, supporting both operations of the WLAN module and the BT module, may be functionally operated to spare the successive transmission period for the entire transmission of the WLAN module, so as to facilitate the application of the communication apparatus.
Note that, the above embodiment corresponds to a communication apparatus including coexisting BT and WLAN modules. Accordingly, the invention may apply to any communication system including wireless modules coexisting in a communication apparatus, a chip, or an area but within different communication apparatuses.
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. Accordingly, the above disclosure should be construed as limited only by the metes and bounds of the appended claims.