Wireless communication device and wireless communication method using a carrier sensing technique
10548081 ยท 2020-01-28
Assignee
Inventors
Cpc classification
H04W16/14
ELECTRICITY
H04W52/0238
ELECTRICITY
Y02D30/70
GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
H04W74/0808
ELECTRICITY
International classification
Abstract
A data sequence to be transmitted is constituted by a data body and preceding data. The amount of preceding data is smaller than that of data body. If it is determined as a result of executing carrier sensing that a frequency band of radio waves to be transmitted is not being used by another contending communication system, the preceding data is transmitted after the lapse of a predetermined time. If it is determined as a result of executing carrier sensing after completion of transmitting of the preceding data that the frequency band is not being used by another contending communication system, the data body is transmitted after the lapse of a predetermined time. If it is determined that the frequency band is being used, the contention for the frequency band is avoided.
Claims
1. A wireless communication device comprising a processor, a memory, a power source, and a sensor interface, the wireless communication device controlling a contention state of a plurality of communication systems by using a carrier sensing technique, the wireless communication device configured to: divide a data sequence to be transmitted into preceding data and a data body, wherein the preceding data is the header information of the data sequence to be transmitted and an amount of the header information is smaller than an amount of the data body; determine, by executing first carrier sensing, whether a frequency band of radio waves to be transmitted is being used by another contending communication system; transmit only the preceding data after a lapse of a first predetermined time after the first carrier sensing if determined that the frequency band is not being used; determine, by executing second carrier sensing after completion of transmitting of the preceding data, whether the frequency band is being used by another contending communication system; transmit the data body after a lapse of a second predetermined time after the second carrier sensing if determined that the frequency band is not being used; and avoid a contention for the frequency band if it is determined that the frequency band is being used.
2. The wireless communication device according to claim 1, wherein the header information comprises information concerning a data content and a modulation method.
3. The wireless communication device according to claim 2, wherein the wireless communication device is configured to divide the data sequence to be transmitted into two or more partial data sequences.
4. The wireless communication device according to claim 1, wherein the preceding data is a portion of the data sequence, and the data body is a remaining portion of the data sequence.
5. The wireless communication device according to claim 1, wherein the preceding data includes identification information for identifying a transmission source and/or a transmission destination.
6. The wireless communication device according to claim 1, wherein the other contending communication system is a wireless LAN system.
7. The wireless communication device according to claim 6, wherein a minimum wait time used for making a determination regarding whether the frequency band of radio waves to be transmitted is being used by the other contending communication system is shorter than a minimum wait time defined by a protocol of the wireless LAN system.
8. The wireless communication device according to claim 1, wherein the data sequence is a data sequence received from a sensor at regular time intervals.
9. A wireless communication device comprising a processor, a memory, a power source, and a sensor interface, the wireless communication device controlling a contention state of a plurality of communication systems by using a carrier sensing technique, the wireless communication device configured to: divide a data sequence to be transmitted into preceding data and a data body, wherein the preceding data is dummy data, which is independent of the data sequence to be transmitted, and an amount of the dummy data is smaller than an amount of the data body; determine, by executing first carrier sensing, whether a frequency band of radio waves to be transmitted is being used by another contending communication system; transmit only the preceding data after a lapse of a first predetermined time after the first carrier sensing if determined that the frequency band is not being used; determine, by executing second carrier sensing after completion of transmitting of the preceding data, whether the frequency band is being used by another contending communication system; transmit the data body after a lapse of a second predetermined time after the second carrier sensing if determined that the frequency band is not being used; and avoid a contention for the frequency band if it is determined that the frequency band is being used.
10. A wireless communication method to be performed by a wireless communication device comprising a processor, a memory, a power source, and a sensor interface, the wireless communication device controlling a contention state of a plurality of communication systems by using a carrier sensing technique, the wireless communication method comprising: a first step of dividing a data sequence to be transmitted into preceding data and a data body, wherein the preceding data is the header information of the data sequence to be transmitted and an amount of the header information is smaller than an amount of the data body; a second step of determining, by the wireless communication device, by executing first carrier sensing whether a frequency band of radio waves to be transmitted is being used by another contending communication system; a third step of transmitting, by the wireless communication device, only the preceding data after a lapse of a first predetermined time after the first carrier sensing if the first step determines that the frequency band is not being used; a fourth step of determining, by the wireless communication device, by executing second carrier sensing after completion of transmitting of the preceding data, whether the frequency band is being used by another contending communication system; a fifth step of transmitting, by the wireless communication device, the data body after a lapse of a second predetermined time after the second carrier sensing if the third step determines that the frequency band is not being used; and a sixth step of avoiding, by the wireless communication device, a contention for the frequency band if the first step and/or the third step determines that the frequency band is being used.
11. The wireless communication method according to claim 10, wherein the header information comprises information concerning a data content and a modulation method.
12. The wireless communication method according to claim 10, further comprising: wherein the first step divides the data sequence to be transmitted into two or more partial data sequences.
13. The wireless communication method according to claim 10, wherein the preceding data is a portion of the data sequence, and the data body is a remaining portion of the data sequence.
14. The wireless communication method according to claim 10, wherein the preceding data includes identification information for identifying a transmission source and/or a transmission destination.
15. The wireless communication method according to claim 10, wherein the other contending communication system is a wireless LAN system.
16. The wireless communication method according to claim 15, wherein a minimum wait time used for making a determination by the first and third steps regarding whether the frequency band of radio waves to be transmitted is being used by the other contending communication system is shorter than a minimum wait time defined by a protocol of the wireless LAN system.
17. The wireless communication method according to claim 10, wherein the data sequence is a data sequence received from a sensor at regular time intervals.
Description
BRIEF DESCRIPTION OF THE SEVERAL VIEWS OF THE DRAWINGS
(1)
(2)
(3)
(4)
(5)
(6)
(7)
(8)
(9)
(10)
(11)
(12)
(13)
(14)
DETAILED DESCRIPTION
(15) Embodiments of the present disclosure will be described below in detail with reference to the drawings.
First Embodiment
(16)
(17) The wireless communication device according to the first embodiment is placed as the wireless system network terminal 20 in the wireless communication system in which wireless communication is performed as described above.
(18) As shown in
(19) The wireless module 22, which includes a transmit-and-receive IC 221, controls the transmitting and receiving of data performed via the antenna 21. The transmit-and-receive IC 221 and the microcomputer 23 receive power from the power source 26 and consume power by data communication or arithmetic processing.
(20)
(21) If it is detected that the frequency band for data transmission is not being used by another wireless communication system, that is, if it is detected that the frequency band is free, the known wireless LAN terminal performs data transmission by using this frequency band after the lapse of a certain wait time including the execution time of carrier sensing. In the example shown in
(22) Upon completion of data transmission, if another wireless LAN terminal is executing carrier sensing, a predetermined wait time 32 is generated in addition to the execution time of carrier sensing. After the lapse of the wait time 32, if the frequency band is free, that is, if data communication is not being performed, the known wireless LAN terminal receives data transmitted from another wireless LAN terminal.
(23)
(24) In the example shown in
(25) As shown in
(26) After having failed to transmit data, both of the wireless LAN terminal 11b (
(27) To satisfy this requirement, instead of transmitting the whole data, the wireless communication device (wireless system network terminal) 20 according to the first embodiment transmits only part of data after executing carrier sensing, and then transmits the remaining data after checking that the end of the wait time of the wireless communication device 20 will not coincide with that of another wireless communication device.
(28) As shown in
(29) Alternatively, as shown in
(30) The header information 54, which is preceding data, includes identification information for identifying the transmission source and/or the transmission destination. Examples of the identification information are the IP address and the MAC address indicating the transmission source and/or the transmission destination and the transmission source ID and/or the transmission destination ID. With the identification information, the transmission source and/or the transmission destination can easily be identified. This makes it possible to prevent a destination device from omitting to receive any item of data and also to easily integrate plural items of data into one item of data. The preceding data 52 which is simply divided from the transmit data 51, as shown in
(31) Alternatively, as shown in
(32)
(33) If the first collision determining means 601 determines that the frequency band of radio waves to be transmitted is not being used by another contending communication system, that is, the frequency band is in the idle state, preceding data transmitting means 603 transmits preceding data after the lapse of a predetermined time. The preceding data is the preceding data 52 shown in
(34) After the preceding data has been transmitted, second collision determining means 605 executes carrier sensing to determine whether the frequency band of radio waves to be transmitted is being used by another contending communication system. More specifically, the second collision determining means 605, which includes carrier sensing executing means 606, determines before starting data transmission whether the frequency band (channel) of radio waves for wireless communication is being used.
(35) If the second collision determining means 605 determines that the frequency band of radio waves to be transmitted is not being used, that is, the frequency band is in the idle state, data body transmitting means 607 transmits a data body after the lapse of a predetermined time. Then, the transmission of the whole data sequence has been completed.
(36) Contention avoiding means 608 avoids the contention for the frequency band if the first collision determining means 601 and/or the second collision determining means 605 determines that the frequency band of radio waves to be transmitted is being used by another contending communication system, that is, the frequency band is in the busy state. If the first collision determining means 601 determines that the frequency band is in the busy state, the transmitting of the whole data is canceled so as to avoid the transmission of data which may result in a waste.
(37) If the second collision determining means 605 determines that the frequency band is in the busy state, the transmitting of the data body is canceled. In this case, although the preceding data has been transmitted, it is still possible to reduce the communication load since the amount of preceding data is small.
(38)
(39) If it is detected that the frequency band for data transmission is not being used by another wireless communication system, that is, the frequency band is free, the wireless communication device 20 performs data transmission by using this frequency band after the lapse of a certain wait time including the execution time of carrier sensing.
(40) In the example shown in
(41) Upon completion of transmitting of the whole data sequence, if another wireless LAN terminal is executing carrier sensing, a predetermined wait time is generated in addition to the execution time of carrier sensing. After the lapse of the wait time, if the frequency band is free, that is, if data communication is not being performed, the wireless communication device 20 receives data transmitted from another wireless LAN terminal.
(42)
(43) In the example in
(44) As shown in
(45) The wireless LAN terminal 11b (
(46) A collision of communication packets may occur depending on the timing of the wait time of the wireless LAN terminal 11b and that of the wireless communication device 20.
(47) In the example shown in
(48) As shown in
(49) Unlike the related art, however, even with the occurrence of a failure to transmit data, the amount of data to be subjected to the cancellation of transmission is limited to the preceding data 97 because the data body 98 has not yet been transmitted in the wireless communication device 20 (
(50)
(51) If the microcomputer 23 determines that the frequency band of radio waves to be transmitted is not being used by another contending communication system, that is, the frequency band is in the idle state (step S1002: NO), the microcomputer 23 determines whether a predetermined time has elapsed (step S1003). If the microcomputer 23 determines that the predetermined time has not elapsed (step S1003: NO), it enters the data-transmission wait state.
(52) If the microcomputer 23 determines that the predetermined time has elapsed (step S1003: YES), it transmits preceding data (step S1004). The preceding data is the preceding data 52 shown in
(53) The microcomputer 23 determines whether the transmission of the preceding data has finished (step S1005). If the microcomputer 23 determines that the transmission of the preceding data has not finished (step S1005: NO), it enters the transmission completion wait state. If the microcomputer 23 determines that the transmission of the preceding data has finished (step S1005: YES), it executes carrier sensing (step S1006) to determine whether the frequency band of radio waves to be transmitted is being used by another contending communication system (step S1007).
(54) If the microcomputer 23 determines that the frequency band of radio waves to be transmitted is not being used by another contending communication system (step S1007: NO), the microcomputer 23 determines whether a predetermined time has elapsed (step S1008). If the microcomputer 23 determines that the predetermined time has not elapsed (step S1008: NO), it enters the data-transmission wait state.
(55) If the microcomputer 23 determines that the predetermined time has elapsed (step S1008: YES), it transmits a data body (step S1009). Then, the transmission of the whole data sequence has been completed.
(56) If the microcomputer 23 determines that the frequency band of radio waves to be transmitted is being used by another contending communication system (step S1002: YES or step S1007: YES), it avoids the contention for the frequency band (step S1010). Specifically, the microcomputer 23 cancels data transmission.
(57) As described above, in the first embodiment, after carrier sensing is executed to check that there is no contention for the frequency band, preceding data having a smaller data amount than a data body is transmitted. Then, after carrier sensing is executed to check that there is no contention for the frequency band, the data body is transmitted. This configuration eliminates the need to transmit the whole data sequence when the contention for the frequency band is occurring, thereby making it possible to reduce the communication load. Even with the occurrence of the contention for the frequency band, only a small amount of data results in a waste in data communication because the subsequent data transmission is canceled, thereby making it possible to reduce the power consumption of a wireless communication apparatus, such as a wireless communication device.
Second Embodiment
(58) The basic configuration of a wireless communication system including a wireless communication device 20 according to a second embodiment of the present disclosure is the same as that of the wireless communication system including the wireless communication device 20 according to the first embodiment of the present disclosure. However, the second embodiment differs from the first embodiment in that the minimum wait time for determining whether the frequency of radio waves to be transmitted is being used by another communication system is set to be shorter than that defined by the protocol of a wireless LAN system.
(59)
(60) If it is detected that the frequency band for data transmission is not being used by another wireless communication system, that is, the frequency band is free, the wireless communication device 20 performs data transmission by using this frequency band after the lapse of a certain wait time including the execution time of carrier sensing.
(61) In the example shown in
(62) Upon completion of transmitting of the whole data sequence, if another wireless LAN terminal is executing carrier sensing, a predetermined wait time is generated in addition to the execution time of carrier sensing. After the lapse of the wait time, if the frequency band is free, that is, if data communication is not being performed, the wireless communication device 20 receives data transmitted from another wireless LAN terminal.
(63) In the second embodiment, the minimum wait time for determining whether the frequency band of radio waves to be transmitted is being used by another communication system is set to be shorter than that defined by the protocol of a wireless LAN system, so as to prevent a collision of communication packets, which may occur depending on the timing of the wait time of a wireless LAN terminal and that of the wireless communication device.
(64)
(65) In the example shown in
(66) As shown in
(67) In the second embodiment, the minimum wait time for making a determination by the wireless communication device 20 (
(68) The wireless communication device 20 (
(69) After finishing transmitting the preceding data 127, the wireless communication device 20 (
(70) As described above, in the second embodiment, the timing is fixed (defined as described above) so that no waste will be incurred in data communication and less power will be consumed accordingly. This makes it possible to lengthen the battery life even in a wireless communication device such as the wireless communication device 20 (
(71) In the second embodiment, the minimum wait time for determining whether the frequency band of radio waves to be transmitted is being used by another communication system is set to be shorter than that defined by the protocol of a wireless LAN system. This minimum wait time can be longer than, for example, SIFS (Short InterFrame Space) duration, which is the shortest frame transmission interval, defined in IEEE 802.11, which is the international standard of a wireless LAN. SIFS is a wait time for receiving an ACK signal returned from a wireless LAN destination which has received data. By setting the above-described minimum wait time to be equal to or longer than SIFS, the contention with a wireless LAN terminal which will successfully finish data transmission can be avoided.
Third Embodiment
(72) The basic configuration of a wireless communication system including a wireless communication device 20 according to a third embodiment of the present disclosure is the same as that of the wireless communication systems including the wireless communication devices 20 according to the first and second embodiments of the present disclosure. However, the third embodiment differs from the first and second embodiments in that a data sequence to be transmitted is divided into two or more partial data sequences.
(73)
(74) If it is detected that the frequency band for data transmission is not being used by another wireless communication system, that is, the frequency band is free, the wireless communication device 20 performs data transmission by using this frequency band after the lapse of a certain wait time including the execution time of carrier sensing.
(75) In the example shown in
(76) Upon completion of transmitting of the whole data sequence, if another wireless LAN terminal is executing carrier sensing, a predetermined wait time is generated in addition to the execution time of carrier sensing. After the lapse of the wait time, if the frequency band is free, that is, if data communication is not being performed, the wireless communication device 20 receives data transmitted from another wireless LAN terminal.
(77) With this configuration, the wireless communication device 20 executes CCA frequently. Consequently, even if a wireless LAN terminal connected to a wireless LAN is interfering with the wireless communication device 20 by performing data transmission, a waste incurred in data communication can be minimized.
(78)
(79)
(80) The wireless communication device 20 has divided a data sequence to be transmitted into n partial data sequences. The wireless communication device 20 thus executes carrier sensing (CCA 144 through CCA 14n) before transmitting the divided partial data sequences 151 through 15n. In the example shown in
(81) The wireless communication device 20 transmits the partial data sequences 151 and 152 after executing CCA 145 and CCA 146, respectively. If, during the transmission of the partial data sequence 152, the wireless LAN terminal (
(82) In this manner, if the wireless LAN terminal (
(83) As described above, in the third embodiment, a data sequence to be transmitted is divided into two or more partial data sequences, which allows more precise checking for the occurrence of the contention for the frequency band. It is thus possible to eliminate the need to transmit the whole data sequence when the contention for the frequency band is occurring and thus to reduce the communication load.
(84) The above-described embodiments can be modified or changed without departing from the spirit of the present disclosure.
REFERENCE SIGNS LIST
(85) 10 wireless LAN server (WLAN AP) 11a to 11e wireless LAN terminal (WLAN terminal) 12a, 12b, 20 wireless system network terminal (wireless communication device) 23 microcomputer 26 power source (battery)