The present invention relates to a communication system having a plurality of communication devices, in which different priorities are set to frames to be transmitted depending on their types, and various frames are transmitted and transferred based on the priorities.
In a conventional route-searching method, when a communication device 2 searches for a communication route to another communication device 4 in an ad-hoc network, the communication device 2 transmits to its neighboring communication devices 1, 3, and 5, a route-search message addressed to the communication device 4. The communication device 4 having received the route-search message addressed to the communication device 4 itself transmits a route-search response message to the communication device 2 that is a transmission source. The communication devices 1, 3, and 5 having received the route-search message not addressed to the devices themselves transfer the received route-search message to their neighboring communication devices (communication devices 2 to 4 in the case of the communication device 5).
In this manner, the communication devices 1 and 3 to 5 having received the route-search message transmitted from the communication device 2 intend to transmit the route-search message or the route-search response message at the same timing, and therefore a frame (transmission data, message data) collision is likely to occur on a transmission medium (a radio communication line), which raises the possibility that the route-search response message transmitted from the communication device 4 is not properly received by the destination communication device 2.
According to the IEEE 802.11e wireless LAN standard, transmission timings of various frames are different depending on frame types. Furthermore, a random transmission waiting time provided to each communication device suppresses occurrence of a frame collision on a transmission medium.
In a media access method (IEEE 802.11e wireless LAN standard) that enables a communication terminal to access a communication medium according to CSMA/CA (Carrier Sense Multiple Access/Collision Avoidance), a plurality of frame transmission intervals (inter-frame spaces (IFSs)) are defined thereby to perform preferential control of media accesses (wireless communication timings) depending on the types of frames.
According to the IEEE 802.11e, the IFSs defined therein include a short inter-frame space (SIFS) used for transmission of an Ack signal for a certain frame, a point coordination function inter-frame space (PIFS) used for transmission of a polling frame that is transmitted from an arbitrary access point to each terminal, a distributed coordination function inter-frame space (DIFS) used for transmission of a data frame, and an arbitration inter-frame space (AIFS) by which different frame spaces can be set depending on an access category (AC) corresponding to the frame's priority.
In this manner, the frame transmission intervals are differentiated depending on the frame types, and a higher-priority frame is transmitted at an earlier timing, thereby providing preferential control based on the types of frames to be transmitted.
As shown in
When a communication device (A) has transmitted a frame (A) based on the slot times assigned thereto and then the transmission of the frame (A) from the communication device (A) is not completed even after the slot times of another communication device (B) have passed, the communication device (B) refrains the transmission of a frame (B) intended to be transmitted. After the transmission of the frame (A) is completed, an arbitrary number of slot times within a next contention window set anew following the frame (A) is assigned to the communication device (B).
According to a method of providing the contention window in the conventional technology, when the SIFS, the PIFS, or the DIFS is set to a busy medium as a frame previously transmitted, the corresponding contention window involves a long transmission waiting time, which means that there are provided many slot times.
When an ith-priority AIFS is set to a previous busy medium, the corresponding contention window is shorter and involves less slot times than that in the case of the SIFS, the PIFS, or the DIFS. However, the slot times in the contention window corresponding to the SIFS, the PIFS, or the DIFS and the slot times in the contention window corresponding to the AIFS are provided in such a manner that some of the slot times in the both contention windows overlap with each other in timing, and therefore, on actual transmission of the next frame, a higher-priority frame may be transmitted later than a comparatively lower-priority frame that is to be transmitted after the AIFS.
When a jth-priority AIFS is set to a previous busy medium, the corresponding contention window is much shorter and involves much less slot times than those in the case of the ith-priority AIFS. However, the slot times in the contention window corresponding to the ith-priority AIFS and those corresponding to the jth-priority AIFS are set in such a manner that some of the slot times in the both contention windows overlap with each other in timing, and therefore, on actual transmission of a next frame, a comparatively higher-priority frame may be transmitted later than a comparatively lower-priority frame that is to be transmitted after the jth-priority AIFS.
Non Patent Literature 1: IEEE Standard 802.11
As described above, the length of the contention window is set differently depending on priorities of frames, in which there is a problem that a higher-priority frame is not always transmitted preferentially because the contention windows set for frames with different priorities are provided to partially overlap with another one in timing.
The present invention has been achieved to solve the above problems and an object of the present invention is to obtain a communication system and a communicating method in which contention windows set for frames having different priorities do not overlap with one another in timing, thereby ensuring that a higher-priority frame is always transmitted preferentially.
In order to solve above-mentioned problems and achieve the object of the present invention, according to an aspect of the present invention, there is provided a communication system comprising: a first communication terminal; a second communication terminal; and a third communication terminal, wherein the first communication terminal transmits message data addressed to the third communication terminal to a plurality of communication terminals, the second communication terminal receives the message data, confirms a destination of the received message data, and transfers the received message data to other communication devices when the confirmed destination is not the second communication terminal itself, the third communication terminal receives the message data, confirms the destination of the received message data, and transmits response data corresponding to the received message data to the first communication terminal that is a transmission source of the received message data when the confirmed destination is the third communication terminal itself, a priority for transmission of the response data is set higher than that of the transferred message data, and a period of time from reception of the message data until the transmission of the corresponding response data is shorter than a period of time from reception of the message data until transfer of the message data.
According to the communication system of the present invention, the transfer of high-priority data can be carried out always earlier than the transfer of low-priority data.
Exemplary embodiments of a communication system and a communicating method according to the present invention will be explained below in detail with reference to the accompanying drawings. The present invention is not limited to the embodiments.
As shown in
That is, priorities (priority orders) are provided to the next frame such as the Ack frame, the next frame such as the route-search response message, and the next frame such as the route-search message in the descending order, by which the next frame such as the route-search response message is transmitted more preferentially than the next frame such as the route-search message, and the next frame such as the Ack frame is transmitted more preferentially than the next frame such as the route-search response message.
Communication devices 1 to 5, which access a communication medium (radio communication) according to CSMA/CA, (usually) wait to receive a transmission signal transmitted from a certain communication device, refrain transmission of a transmission signal that is to be transmitted from the devices themselves upon reception of the transmission signal transmitted from the certain communication device, and then transmitted the transmission signal of the devices themselves after confirming that the transmission of the transmission signal from the certain communication device has completed.
It is assumed here that the communication device 2 transmits a route-search message (a frame) to search a communication route to the communication device 4.
When the communication device 2 transmits the route-search message, the communication devices 1 and 3 to 5 receive this route-search message. The communication devices 1, 3, and 5 confirm a destination of the received route-search message, and when recognizing that the route-search message is not addressed to the devices themselves, these devices transfer the received route-search message to their neighboring communication devices. The communication device 4 confirms the destination of the received route-search message, and when recognizing that the route-search message is addressed to the communication device 4 itself, returns a route-search response message (measurement data, for example) corresponding to the received route-search message to the communication device 2.
The same operations are shown also in
The system according to the present invention includes the communication device 1 (10), the communication device 2 (20), the communication device 3 (30), the communication device 4 (40), and the communication device 5 (50). In this case, the communication device 2 (20) is a transmission source of a route-search message, and transmits the route-terminal message to the communication terminal 4 (40). Upon reception of the route-search message transmitted from the communication device 2 (20), the communication terminal 1 (10), the communication terminal 3 (30), and the communication terminal 5 (50) recognize that the route-search message is not transmitted to these terminals themselves, and then transfer the route-search message (transfer) to their neighboring communication devices. When the communication device 4 (40) receives the route-search message transmitted from the communication device 2 (20), the communication terminal 4 recognizes that the route-search message is transmitted to the communication terminal 4 itself (a destination), and then transmits a route-search response message to the communication terminal 2 (20: a transmission source).
While the communication device according to the present invention transfers the received route-search message to the neighboring communication devices when recognizing that the route-search message is not addressed to the communication device itself, an identification number can be provided to each frame such as the route-search message, to avoid repeated transfer when the frame with the same identification number is received again. Alternatively, a time (a period) in which the frame with the same identification number is receivable can be set. This can avoid an abrupt increase in the number of transmitted frames and unnecessary traffic congestions on communication lines.
As for timings of the transfer of the route-search message from the communication devices 1, 3, and 5 in response to the route-search message (the busy medium) transmitted from the communication device 2, a timing based on each slot time within the contention window starting after a lapse of the time T2 from the reception of the busy medium until a time corresponding to T2+CW2×Ts is allocated to each communication device. As for a timing of the transmission of the route-search response message from the communication device 4, a timing based on each slot time within the contention window starting after a lapse of the time T1 from the reception of the busy medium until a time corresponding to T1+CW1×Ts is allocated. The time corresponding to T1+CW1×Ts is earlier (shorter) than the time T2 that is the transfer timing of the route-search message from the communication devices 1, 3, and 5, so that the route-search response message from the communication device 4 is handled (transferred) always earlier than the transfer of the route-search message from the communication devices 1, 3, and 5.
That is, when the communication devices 1 and 3 to 5 receive the route-search message transmitted from the communication device 2, the communication device 4 starts transmitting the route-search response message in response to the received route-search message within a predetermined period of time (T1 to T1+CW1×Ts), and the communication devices 1, 3, and 5 start transferring the route-search message at a timing (T2 to T2+CW2×Ts) later than the transmission timing (T1 to T1+CW1×Ts) of the route-search response message. Therefore, the route-search response message transmitted from the communication device 4 can be satisfactorily reached to the communication device 2 without competing (colliding) with the route-search message transmitted from the communication devices 1, 3, and 5.
When the communication device 4 returns (starts transmitting) the route-search response message to the communication device 2, the communication devices 1, 3, and 5 detect that the transmission of the route-search response message is in progress, and suspend the transfer of the route-search message until the communication device 4 completes the transmission of the route-search response message.
The present invention is applicable to a data collecting system such as an automatic meter-reading system using an ad-hoc network. For application to such a system, the following points are considered.
1. A route-search response message is usually transmitted from one communication terminal, and there is basically no case that a route-search response message is transmitted from plural communication terminals (substantially at the same time). Further, there is a low possibility that the present communication system competes with other communication systems.
2. When the route-search message has reached a destination (target) communication terminal, the route-search message does not need to be (relayed and) transferred further to other communication terminals. Therefore, the necessity of providing a priority to the transmission of the route-search response message is higher than that of the transfer of the route-search message. When the route-search response message is transmitted, the transmission is controlled to avoid the competition (collision) with the route-search message transmitted from other communication terminals.
Therefore, the frame intervals (T1 and T2) and the contention windows (CW1×Ts and CW2×Ts) have to be set to prevent the collision of the frames caused by simultaneous transmission from the communication terminals.
In this manner, by delaying the beginning of the contention window related to the low-priority route-search message (a frame) to be later than the end of the contention window for the high-priority route-search response message (a frame), the transmission of the high-priority route-search response message (from the communication device 4 to the communication device 2) can be ensured.
As shown in
The route-search message (a frame) is relayed (transferred to the neighboring communication devices) by plural communication devices, and therefore competition (of various frames) easily occurs during the relay.
That is, the route-search messages received by the communication terminals are intended to be transmitted to other communication terminals substantially at the same time, which greatly raises the possibility of competition (collision) of the route-search messages transmitted from the communication terminals. Therefore, it is desirable to increase the number of slots in the contention window (CW2).
By setting the number CW2 of the slots in the contention window larger (more), the possibility of the collision of the route-search message is lowered, thereby easily ensuring the transmission of the route-search message to the target communication device.
Meanwhile, because the route-search response message is transmitted from one communication device that is the destination of the route-search message, the possibility of the competition is low.
Accordingly, by setting the number CW1 of the slots in the contention window for the route-search response message smaller (less), it is possible to suppress lowering in throughput of the route-search response message.
As described above, the beginning of the contention window of the route-search message is delayed to be later than the end of the contention window of the route-search response message, and further, the number CW2 of the slots in the contention window of the route-search message is set larger (more) than the number CW1 of the slots in the contention window of the route-search response message, thereby more securely transmitting the route-search message without lowering the throughput of the route-search response message.
As shown in
As shown in
In this manner, the high-priority route-search response message and the low-priority route-search message are communicated by the unicast frame and by the broadcast frame, respectively, and the beginning of the contention window related to the (low-priority) broadcast frame is delayed to be behind the end of the contention window related to the (high-priority) unicast frame, so that the high-priority route-search response message can be securely transmitted.
As shown in
It is difficult to confirm whether the message transmitted by the broadcast frame has reached the destination communication device; however, by setting the number of the slots in the contention window larger (more), the possibility of collision of the broadcast frame can be lowered. In this manner, by lowering the possibility of the collision of the broadcast frame, the reachability of the message to the destination communication device can be increased. Further, the broadcast frame is used for (frame) transmission to many communication devices. In the present communication system, it is used for transmission of the route-search message for network management. During the transmission of this route-search message, delay is comparatively allowable.
The unicast frame enables easy confirmation by an Ack signal, for example, whether the message has reached a destination communication device, and when it is detected that the message has not reached the destination communication device, this message can be re-transmitted to increase the reachability of the message to the destination communication device. Furthermore, the unicast frame is used for (frame) transmission to a specified communication device. In the present communication system, it is used for transmission of the route-search response message for network management and for transmission and reception of automatic meter-reading data. During the transmission of the route-search response message and the automatic meter-reading data in the present communication system, it is preferable to minimize delay in the transmission. Further, upon collecting the automatic meter-reading data (between the transmission source and other communication devices), there is not such a high possibility that the unicast frame is transmitted from the communication devices at the same time.
Therefore, also when the number of the slots in the contention window for the unicast frame is set smaller (less), a high reachability of the message to the destination communication device can be obtained.
Moreover, by setting the number of the slots in the contention window for the unicast frame to smaller (less), the frame transmission interval of the unicast frame can be reduced, so that the throughput of the unicast frame can be enhanced.
As shown in
As described above, the beginning of the contention window for the unicast frame is delayed to be behind the end of the contention window for the broadcast frame, the number CW2 of the slots in the contention window for the broadcast frame is set larger (more) than the number (CW1) of the slots in the contention window for the unicast frame, and further, the high-priority route-search response message is transmitted by the unicast frame, and the low-priority route-search message is transmitted by the broadcast frame, thereby more securely transmitting the route-search response message without lowering the throughput of the route-search response message.
Number | Date | Country | Kind |
---|---|---|---|
2010-009027 | Jan 2010 | JP | national |
Filing Document | Filing Date | Country | Kind | 371c Date |
---|---|---|---|---|
PCT/JP11/50565 | 1/14/2011 | WO | 00 | 6/6/2012 |