This application claims the priority benefit of Taiwan application serial no. 94127683, filed on Aug. 15, 2005. All disclosure of the Taiwan application is incorporated herein by reference.
1. Field of the Invention
This invention generally relates to a controlling method for network transmission, and especially to a packet transmitting method for WLAN, a controlling method for dada transmitting node of WLAN and a controlling method for data receiving node of WLAN.
2. Description of Related Art
The design of a wireless local area network (WLAN), is based on a cellular architecture. The whole network system comprises multiple cells, and each cell is a basic service set controlled by a base station, which is also an access point. The complete connected WLAN comprises each access point and the complete distributed system, which is generally called an extended service set.
In a previous WLAN system, an end user connects a nearby access point in a wireless manner, wherein, each access point is respectively connected with a cable network directly, and the cable network is utilized as data exchange paths among the access points. However, the method not only increases cable distribution cost, but also increases cable distribution difficulty. Further, for those old buildings or outdoor environments without the cable network, it is also very difficult to achieve full wireless network communication in the WLAN system.
In view of the above, the wireless network is now used as data exchange paths among the access points. The Medium Access Control Protocol (MAC protocol) of the standard with number 802.11 from the Institute of Electrical and Electronics Engineers is utilized to transmit data with a Carrier Sense Medium Access/Collision Avoidance (CSMA/CA) manner. When transmitting data in the CSMA/CA manner, whether or not the wireless medium is in use has to be detected first. When the wireless medium is not in use, the data transmission can be performed; on the contrary, when the wireless medium is in use, the data transmission has to be delayed for sometime.
However, since a small amount of wireless mediums are shared by a large amount of data sources, collisions would inevitably occur. In order to solve the problem, a random delay manner is utilized in the CSMA/CA to reduce the collision. Further, control packets, such as request-to-send (i.e. RTS) and clear-to-send (i.e. CTS), etc., are utilized in the MAC protocol for solving the problem of hidden terminal.
Certainly, the above manner is very helpful in developing the wireless network, but there are still some disadvantages. One of the problems is that the MAC protocol utilizes the so-called virtual carrier sense to provide end-users a time reference data of whether the transmitting medium is busy. A network allocation vector (i.e. NAV) is utilized by the virtual carrier detector to record how much time a certain working station needs for performing a data transmitting operation. In the period indicated by the network allocation vector, other nodes have to keep silent and perform a packet transmitting competition function again after the medium (wireless channel) resumes an idle state. Therefore, since each of the nodes needs the channel competition, the packet throughput of the whole network would decrease substantially. Besides, the possibility of the packet collision caused by an effect of the hidden nodes can be increased substantially. In other words, for a packet, it is not ensured that the end-to-end delay time falls within a certain range. For a backhaul network, this is a very serious problem.
An object of the present invention is to provide a packet transmitting method for WLAN, wherein a data receiving node actively starts transmitting data to decrease an end-to-end time delay.
Another object of the present invention is to provide a controlling method for data transmitting node of WLAN, to increase network packet throughput by decreasing the possibility of channel competition.
Another object of the present invention is to provide a controlling method for data receiving node of WLAN, to start a data transmission by actively sending out a start-to-transmit signal at idle time.
The present invention provides a packet transmitting method for WLAN, adapted for transmitting data between the data transmitting node and the data receiving node. The packet transmitting method for WLAN comprises the following steps: first, the data transmitting node sending out a transmitting request signal. When the data receiving node receives the transmitting request signal and cannot immediately perform a transmitting operation defined by the transmitting request signal, the data receiving node sends out a stop-transmitting signal to the data transmitting node. After emitting the stop-transmitting signal (Pseudo CTS, CTSp), the data receiving node can send out a start-to-transmit signal to the same data transmitting node when the transmitting operation can be performed. The data transmitting node, after receiving the start-to-transmit signal, sends out the data to the data receiving node.
According to an embodiment of the present invention, when the data receiving node receives a plurality of transmitting request signals sent out by the data transmitting nodes, the data receiving node first stores the transmitting request signals, further sorts out the order of the transmitting operations defined by the transmitting request signals, and according to the rearranged order, sends back the start-to-transmit signal to one of the corresponding data transmitting nodes.
According to the embodiment of the present invention, the above-mentioned control signals such as the transmitting request signal, the stop-transmitting signal, and the start-to-transmit signal, are transmitted through the same wireless channel, and the data is transmitted through another wireless channel. Further, the channel of transmitting the data from the data transmitting node to the data receiving node is a different from the channel of transmitting the data from the data receiving node to another target node.
According to the embodiment of the present invention, the above mentioned stop-transmitting signal does not include a network allocation vector NAV.
The present invention further provides a controlling method for data transmitting node of WLAN, suitable for a data transmitting node that sends out data. The controlling method for data transmitting node of WLAN comprises the following steps: after sending out a transmitting request signal, when a start-to-transmit signal is received allowing for data transmission within a pre-determined time period, starting data transmission; on contrary, when a stop-to-transmit signal is received disallowing data transmission within a pre-determined time period, postponing data transmission until receiving the start-to-transmit signal.
According to the embodiment of the present invention, a clock program of a transmitting control packet is started before sending out the transmitting request signal, and the transmitting request signal is sent out after a time counting process by the clock program is finished. Further, when the start-to-transmit signal and the stop-transmitting signal are not received within a pre-determined time period, the clock program is started again, and the transmitting request signal is sent out again after a time counting process by the clock program is finished.
The present invention further provides a controlling method for data receiving node of WLAN, suitable for a data receiving node which receives data. When the controlling method for data receiving node of WLAN receives a transmitting request signal, but a transmitting operation defined by the transmitting request signal cannot be performed, a stop-transmitting signal is sent out; on the contrary, when the transmitting operation can be performed, a start-to-transmit signal is sent out, and the start-to-transmit signal is sent out for receiving the data.
According to the embodiment of the present invention, after sending out the stop-transmitting signal, the transmitting operation is further rearranged with other transmitting operations in order through a sequencing mechanism, and the rearranged transmitting operation is sequentially performed. Further, the sequencing mechanism performs the rearranging process according to a time delay bound of the transmitting request signal and a class of service.
According to the embodiment of the present invention, whether the transmitting operation can be performed is decided at a time period before a default channel is in an idle state, wherein, the time period is a time required for sending out the start-to-transmit signal.
In summary, the present invention decreases the packet transmitting time delay caused by the channel competition, by utilizing the data receiving node to actively start the data transmitting. Besides, the transmission of the control packet and the transmission of the data are separately performed in different channels, therefore the transmission collision of the packet can be decreased. Furthermore, the end-to-end time delay can be therefore decreased effectively.
The above is a brief description of some deficiencies in the prior art and advantages of the present invention. Other features, advantages and embodiments of the invention will be apparent to those skilled in the art from the following description, accompanying drawings and appended claims.
When an idle wireless channel is detected at step S102, the data receiving node sends out a clear-to-send signal CTS to the above-mentioned data transmitting node at step S108. The data transmitting node, when receiving the clear-to-send signal CTS, can start sending out the data to the data receiving node at step S110.
However, when all of the wireless channels are in a busy state at the step S102, the data receiving node cannot immediately perform the transmitting operation. Meanwhile, the flow goes to step S104. First, the data receiving node sends back a pseudo CTS signal CTSP to the data transmitting node, which sends out the request-to-send signal RTS. The data transmitting node, when receiving the pseudo CTS signal CTSP, temporarily stops trying sending the data to the data receiving node. Whereas, the data receiving node, when the wireless channel is again in an idle state and can therefore perform the transmitting operation at step S106, sends out the above-mentioned clear-to-send signal CTS to the above-mentioned data transmitting node at step S108. Therefore, the data transmitting node starts sending out the data to the data receiving node at step S110.
According to the above-mentioned packet transmitting method for WLAN, the data receiving node can effectively utilize the bandwidth of the wireless network to transmit the data, the channel idle state caused by the channel competition can be decreased, and the packet throughput can be generally increased. Besides, since the channel competition is not necessarily controlled by the data transmitting node, the network allocation vector NAV, which is utilized to record how much time is required for performing data transmitting operation, is not necessarily included in the pseudo CTS signal CTSP sent from the data receiving node to the data transmitting node. Such is a characteristic of the present invention different from the conventional technology.
Further, owing to the progress of the network hardware technology, at least three wireless channels, which do not interfere with each other, can be utilized in the recent wireless network. Furthermore, 12 channels can be utilized in North American according to a standard IEEE802.11a of the Institute of Electrical and Electronics Engineers. Therefore, though an in-band signaling manner is usually utilized in previous technology (such as IEEE 802.11), which means that the control packet and the data packet are transmitted with the same wireless channel, an out-of-band signaling manner is utilized for transmitting the control packet and the data packet in the embodiment of the present invention.
In other words, preferably, a control channel is dedicated to transmit control packets since the control packet is small and the packet collision possibility of the control packet is lower than that of the data packet. Further, in the wireless channel, when the packet collision occurs, the channel competition can be performed also by utilizing the previous IEEE 802.11 manner. Further, except for the wireless channel for transmitting the control packet, called a control channel, all of the other wireless channels, which are called a data channel, can be utilized for transmitting the data. By utilizing the out-of-band signaling manner in conjunction with the packet transmitting method for WLAN as shown in
Further, regarding the problem of hidden terminal, the distribution of the data channels is regulated in the embodiment of the present invention.
Certainly, during data transmission in the wireless network, there is an inevitable situation where multiple data transmitting nodes transmit data to the same data receiving node at the same time. In order to solve the problem, the present invention, besides the above-mentioned packet transmitting method for WLAN, further provides a sequencing mechanism. As shown in
Wherein, the priority of data transmission of the sequencing mechanism according to a time delay bound, a class of service or both, therefore, a requirement of end-to-end time delay of different packets can be considered while rearranging the order.
For those skilled in the art to understand the effect of the method of the present invention, several simulating test results are attached.
Activate node to generate Poisson traffic.
Mean arrival rate: 10 to 250 packets/per second.
Simulation duration: 200 seconds.
RTS/CTS transmission rate: 1 million bits per second.
Data transmission rate: 2 million bits per second.
Signal broadcast delay: 33.33 nano seconds.
Tx: 25μ second.
Time slot between two packets: 1μ second.
Control packet size: 128 bits.
Data packet size: 2048 bits.
End-to-end throughput and end-to-end time delay, which are simulated and obtained in linear topology network environment, are respectively shown in
In summary, the present invention decreases the packet transmitting time delay caused by the channel competition. In addition, the transmission of the control packet and the data are performed in different channels to reduce transmission collision of the packet. Therefore, the packet transmission speed can be improved.
The above description provides a full and complete description of the preferred embodiments of the present invention. Various modifications, alternate construction, and equivalent may be made by those skilled in the art without changing the scope or spirit of the invention. Accordingly, the above description and illustrations should not be construed as limiting the scope of the invention which is defined by the following claims.
Number | Date | Country | Kind |
---|---|---|---|
94127683 | Aug 2005 | TW | national |