EP3474623B1 - Data transmission method, device and system - Google Patents
Data transmission method, device and system Download PDFInfo
- Publication number
- EP3474623B1 EP3474623B1 EP17842684.7A EP17842684A EP3474623B1 EP 3474623 B1 EP3474623 B1 EP 3474623B1 EP 17842684 A EP17842684 A EP 17842684A EP 3474623 B1 EP3474623 B1 EP 3474623B1
- Authority
- EP
- European Patent Office
- Prior art keywords
- cca detection
- initial
- channel
- channel set
- communications device
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
- 230000005540 biological transmission Effects 0.000 title claims description 129
- 238000000034 method Methods 0.000 title claims description 75
- 238000001514 detection method Methods 0.000 claims description 419
- 238000004891 communication Methods 0.000 claims description 357
- 230000007246 mechanism Effects 0.000 claims description 39
- 238000010586 diagram Methods 0.000 description 17
- 238000005516 engineering process Methods 0.000 description 12
- 230000006870 function Effects 0.000 description 10
- 230000008569 process Effects 0.000 description 7
- 238000004590 computer program Methods 0.000 description 6
- 230000000694 effects Effects 0.000 description 2
- 230000003287 optical effect Effects 0.000 description 2
- 238000013500 data storage Methods 0.000 description 1
- 230000006872 improvement Effects 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 239000013307 optical fiber Substances 0.000 description 1
- 239000004065 semiconductor Substances 0.000 description 1
- 239000007787 solid Substances 0.000 description 1
- 238000001228 spectrum Methods 0.000 description 1
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W74/00—Wireless channel access
- H04W74/08—Non-scheduled access, e.g. ALOHA
- H04W74/0808—Non-scheduled access, e.g. ALOHA using carrier sensing, e.g. carrier sense multiple access [CSMA]
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W24/00—Supervisory, monitoring or testing arrangements
- H04W24/08—Testing, supervising or monitoring using real traffic
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W16/00—Network planning, e.g. coverage or traffic planning tools; Network deployment, e.g. resource partitioning or cells structures
- H04W16/14—Spectrum sharing arrangements between different networks
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W84/00—Network topologies
- H04W84/02—Hierarchically pre-organised networks, e.g. paging networks, cellular networks, WLAN [Wireless Local Area Network] or WLL [Wireless Local Loop]
- H04W84/10—Small scale networks; Flat hierarchical networks
- H04W84/12—WLAN [Wireless Local Area Networks]
Definitions
- This application relates to the communications field, and in particular, to a data transmission method, apparatus, and system.
- a device can transmit data on a corresponding channel with a frequency of 60 gigahertzes (GHz).
- GHz gigahertzes
- the 802.11 communications device when an 802.11 communications device needs to transmit data, the 802.11 communications device first needs to determine a plurality of channels that can be currently accessed, and then may determine, from the plurality of channels that can be currently accessed, a target channel that can currently transmit data, and transmit the data on the target channel.
- the transmit end may first randomly determine a quantity of slots of each of the plurality of channels that can be currently accessed, and perform clear channel assessment (clear channel assessment, CCA) detection on each channel based on the quantity of slots of each channel and by using a CCA detection mechanism, so as to determine that a status of each channel is idle or busy, and determine, as the target channel, a channel for which a result of the CCA detection is idle.
- CCA clear channel assessment
- the new radio-unlicensed standard (new radio-unlicensed, NR) of the 3rd Generation Partnership Project (3rd Generation Partnership Project, 3GPP) stipulates that an NRU (a high-frequency communications device in NR) communications device transmits data on a low bandwidth channel corresponding to a higher frequency, for example, 60 GHz.
- the 802.11 communications device also transmits data on the corresponding channel with the frequency of 60 GHz, and a bandwidth of the channel used by the 802.11 communications device to transmit data is far greater than a bandwidth of a channel used by the NRU communications device to transmit data, so that the CCA detection mechanism used by the 802.11 communications device when transmitting the data cannot be applicable to the NRU communications device, and the 802.11 communications device is likely to collide with the NRU communications device when transmitting data. Therefore, the NRU communications device and the 802.11 communications device cannot be compatible with each other.
- WO 2016/010684 A1 relates to one or more techniques for scaling the bandwidth of a carrier.
- Available sub-channels of an unlicensed radio frequency spectrum band may be determined, and the available sub-channels may be included in the carrier.
- the available sub-channels may be adjacent or non-adjacent sub-channels.
- the bandwidth of the carrier may be determined according to which sub-channels are included in the carrier. In this way, the bandwidth of the carrier may be scaled according to the available sub-channels.
- a data transmission method is provided, where the method is used for a communications device and includes:
- the communications device After determining all the channels that can be currently accessed, and determining the target channel for which the result of the initial CCA detection is idle, the communications device performs the auxiliary CCA detection on the preset channel again, and transmits the target data on the target channel only when the result of the auxiliary CCA detection is idle.
- an NRU communications device needs to detect whether an 802.11 communications device transmits data on a high bandwidth channel corresponding to the same frequency, and data is transmitted on the target channel only when the 802.11 communications device does not transmit data on the high bandwidth channel of the same frequency, thereby effectively avoiding conflict between the NRU communications device and the 802.11 communications device when transmitting the target data, and implementing mutual compatibility between the NRU communications device and the 802.11 communications device.
- a frequency corresponding to the preset channel is 60 GHz, and a bandwidth of the preset channel is 2.16 GHz.
- a data transmission method is provided, where the method is used for a communications device and includes:
- the NRU communications device When receiving the preamble sent by the FG60 communications device, the NRU communications device determines all the channels that can be currently accessed, and after determining the target channel for which the result of the initial CCA detection is idle, transmits the target data on the target channel. In other words, the NRU communications device transmits data on the target channel only after determining that the 802.11 communications device does not transmit data, and determining that the FG60 communications device does not transmit data on the target channel, thereby effectively avoiding conflict between the NRU communications device and the 802.11 communications device and the FG60 communications device when transmitting the target data, and implementing mutual compatibility between the NRU communications device, and the 802.11 communications device and the FG60 communications device.
- the FG60 communications device may contend for a channel on a preset channel corresponding to a frequency of 60 GHz and a bandwidth of 2.16 GHz, or transmit data on the preset channel after obtaining the preset channel by contending.
- the FG60 communications device needs to contend for a channel on a corresponding low bandwidth whose frequency is 60 GHz, and transmits data on a channel of the low bandwidth after obtaining the channel by contending.
- the bandwidth of the low bandwidth channel for transmitting data by the FG60 communications device may be the same as the bandwidth of the channel for transmitting data by the NRU communications device.
- the FG60 communications device needs to contend with the NRU communications device on a channel of a same bandwidth, and transmits data after obtaining the channel by contending.
- the preamble includes a network allocation vector NAV that is used to indicate a remaining time for data transmission, where the transmitting target data on the target channel includes: transmitting the target data on the target channel based on the remaining time for data transmission indicated by the NAV.
- NAV network allocation vector
- the performing initial clear channel assessment CCA detection on all the channels in the initial channel set includes:
- the performing initial clear channel assessment CCA detection on all the channels in the initial channel set includes: performing first CCA detection on all the channels in the initial channel set, and if a result of the first CCA detection is busy at a moment during the first CCA detection, stopping the first CCA detection and repeatedly performing second CCA detection on the initial channel set until a result of the second CCA detection is idle, and then continuing the first CCA detection until the first CCA detection ends.
- the NRU communications device when the NRU communications device performs the first CCA detection on the initial channel set, if the result of the first CCA detection at a moment is busy, the NRU communications device stops performing the first CCA detection on the initial channel set, and starts repeatedly performing the second CCA detection on the initial channel set until the result of the second CCA detection is idle, and then continues to perform the first CCA detection on the initial channel set, so as to effectively use a channel, thereby increasing the bandwidth of the channel that is used to transmit data, increasing data transmission efficiency, and being more applicable to an enhanced data offloading (eMBB offloading) scenario in an NRU.
- eMBB offloading enhanced data offloading
- the determining, as a target channel, a channel that is in the initial channel set and for which a result of the initial CCA detection is idle includes:
- the repeatedly performing second CCA detection on the initial channel set until a result of the second CCA detection is idle, and then continuing the first CCA detection includes: repeatedly performing the second CCA detection on all the channels in the initial channel set until the results of the second CCA detection for all the channels in the initial channel set are idle, and then continuing the first CCA detection.
- the initial channel set includes at least two channels
- the repeatedly performing second CCA detection on the initial channel set until a result of the second CCA detection is idle, and then continuing the first CCA detection includes:
- the method before the performing first CCA detection on all the channels in the initial channel set, the method further includes:
- the threshold for the CCA detection determined in the related technology is not related to the quantity of channels participating in the CCA detection, and the threshold for the CCA detection cannot be applicable to different scenarios. All the thresholds for the initial CCA detection determined in this application are related to the quantity of channels participating in the CCA detection, in other words, the thresholds for the initial CCA detection determined in this application can be better adapted to different scenarios.
- the method further includes:
- a time period of the first CCA detection includes one fixed time interval of 16 ⁇ s and n slots of 9 ⁇ s, where n is an integer greater than or equal to zero.
- the preset time period is 9 ⁇ s or 25 ⁇ s.
- a data transmission apparatus is provided, where the data transmission apparatus is used for a communications device and includes at least one module, and the at least one module is configured to implement the data transmission method according to the first aspect or any one of the possible implementations of the first aspect.
- a data transmission apparatus is provided, where the data transmission apparatus is used for a communications device and includes at least one module, and the at least one module is configured to implement the data transmission method according to the second aspect or any one of the possible implementations of the second aspect.
- a data transmission apparatus is provided, where the data transmission apparatus is used for a communications device and includes: at least one processor, at least one network interface, a memory, and at least one bus.
- the memory and the network interface are separately connected to the processor by using the bus.
- the processor is configured to execute an instruction stored in the memory; and the processor implements, by executing the instruction, the data transmission method according to the first aspect or any one of the possible implementations of the first aspect.
- a data transmission apparatus is provided, where the data transmission apparatus is used for a communications device and includes: at least one processor, at least one network interface, a memory, and at least one bus.
- the memory and the network interface are separately connected to the processor by using the bus.
- the processor is configured to execute an instruction stored in the memory; and the processor implements, by executing the instruction, the data transmission method according to the second aspect or any one of the possible implementations of the second aspect.
- a data transmission system includes a communications device, and the communications device includes the data transmission apparatus according to the third aspect, the fourth aspect, the fifth aspect, or the sixth aspect.
- a computer readable storage medium stores an instruction, and when the computer readable storage medium runs on a computer, the computer is enabled to perform the method according to the first aspect or the second aspect.
- a computer program product that includes an instruction is provided, where when the computer program product runs on a computer, the computer is enabled to perform the method according to the first aspect or the second aspect.
- this application provides a data transmission method, apparatus, and system.
- the communications device After determining all the channels that can be currently accessed, and determining the target channel for which the result of the initial CCA detection is idle, the communications device performs the auxiliary CCA detection on the preset channel again, and transmits the target data on the target channel only when the result of the auxiliary CCA detection is idle.
- the NRU communications device needs to detect whether the 802.11 communications device transmits data on the high bandwidth channel corresponding to the same frequency, and data is transmitted on the target channel only when the 802.11 communications device does not transmit data on the high bandwidth channel of the same frequency, thereby effectively avoiding conflict between the NRU communications device and the 802.11 communications device when transmitting the target data, and implementing mutual compatibility between the NRU communications device and the 802.11 communications device.
- FIG. 1 is a schematic diagram of a data transmission scenario according to an embodiment of the present invention.
- an NRU communications device 01 may transmit data on a low bandwidth (for example, a bandwidth of 200 megahertz) channel corresponding to 60 GHz;
- an 802.11ad communications device 11 may transmit data on a high bandwidth (for example, a bandwidth of 2.16 GHz) channel corresponding to 60 GHz;
- an 802.11ay communications device 21 may transmit data on the high bandwidth (for example, the bandwidth of 2.16 GHz) channel corresponding to 60 GHz.
- a bandwidth of a channel for transmitting data by the NRU communications device 01 may also be another bandwidth less than 2.16 GHz. This is not limited in this embodiment of the present invention.
- an embodiment of the present invention provides a data transmission apparatus 31, where the data transmission apparatus 31 may be used for an NRU communications device.
- the data transmission apparatus 31 may include at least one processor 311 (for example, a central processing unit), at least one network interface 312, a memory 313, and at least one bus 314, configured to implement connection and communication between these apparatuses.
- the memory 313 and the network interface 312 may be separately connected to the processor 311 by using the bus 314.
- the processor 311 is configured to perform an executable module stored in the memory 313, for example, a computer program.
- the memory 313 may include a high-speed random access memory (Random Access Memory, RAM), or may further include a non-volatile memory (non-volatile memory), for example, at least one disk memory. Connection and communication between the data transmission apparatus and at least one of other network elements are implemented through the at least one network interface 312 (which may be wired or wireless), for example, by using the Internet, a wide area network, a local area network, or a metropolitan area network. In some implementations, the memory 313 stores a program 3131, and the program 3131 can be executed by the processor 311.
- RAM Random Access Memory
- non-volatile memory for example, at least one disk memory.
- Connection and communication between the data transmission apparatus and at least one of other network elements are implemented through the at least one network interface 312 (which may be wired or wireless), for example, by using the Internet, a wide area network, a local area network, or a metropolitan area network.
- the memory 313 stores a program 3131, and the program 3131 can be executed
- an embodiment of the present invention provides a data transmission method.
- the data transmission method may be used for a communications device, and the communications device may be an NRU communications device 01 in FIG. 1 .
- the data transmission method may be implemented by a processor 311 in FIG. 2 by executing a program 3131.
- the data transmission method may include the following steps.
- Step 101 An NRU communications device determines target data in at least one piece of initial data based on a priority corresponding to each of the at least one piece of to-be-transmitted initial data.
- the NRU communications device may store a one-to-one correspondence between a plurality of data types and a plurality of priorities, in other words, in a one-to-one correspondence stored in the NRU communications device, each data type may be corresponding to one priority.
- the NRU communications device may determine, based on a data type of the initial data and the one-to-one correspondence stored in the NRU communications device, a priority corresponding to the initial data, then determine the priority of each of the at least one piece of to-be-transmitted initial data, and determine the target data based on the priority of each of the at least one piece of to-be-transmitted initial data.
- the NRU communications device may determine, as the target data, initial data corresponding to a highest priority in the at least one piece of initial data; or the NRU communications device may determine, as the target data, initial data corresponding to a lowest priority in the at least one piece of initial data; or the NRU communications device may determine, as the target data according to a preset rule, initial data for which a corresponding priority meets a preset condition and that is in the at least one piece of initial data.
- the NRU communications device may further determine, in another manner, one piece of initial data in the at least one of initial data as the target data. This is not limited in this embodiment of the present invention.
- the priority recorded in the one-to-one correspondence stored in the NRU communications device may include: a first priority, a second priority, a third priority, and a fourth priority in an enhanced distributed channel access (Enhanced distributed channel access, EDCA) mechanism, and a priority in a distributed coordination function (Distributed coordination function, DCF) mechanism.
- the priority corresponding to one piece of initial data in the at least one piece of initial data may be one priority of the first priority, the second priority, the third priority, and the fourth priority in the EDCA mechanism, or the priority in the DCF mechanism.
- the first priority in the EDCA mechanism may be an AC-VI (Access category video) priority in the EDCA mechanism, a minimum contention window (Minimum contention window, CWmin) value in the first priority may be 7, a maximum contention window (Maximum contention window, CWmax) value may be 15, an arbitrary inter-frame space number (Arbitrary inter-frame space number, AIDSN) value may be 2, and a transmission opportunity limit (Transmission opportunity limit, TXOP limit) value may be 1.504 ms (millisecond); the second priority in the EDCA mechanism may be an AC-VO (Access category voice) priority in the EDCA mechanism, a CWmin value in the second priority may be 15, a CWmax value may be 31, an AIDSN value may be 2, and a TXOP limit value may be 3.008 ms.
- the third priority in the EDCA mechanism may be an AC-BE (Access category best effort) priority in the EDCA mechanism, a CWmin value in the third priority may be 31, a CWmax value may be 1023, an AIDSN value may be 3, and a TXOP limit value may be 0.
- the fourth priority in the EDCA mechanism may be an AC-BK (Access category background) priority in the EDCA mechanism, a CWmin value in the fourth priority may be 31, a CWmax value may be 1023, an AIDSN value may be 7, and a TXOP limit value may be 0.
- Step 102 The NRU communications device determines an initial channel set.
- the NRU communications device may determine all channels that the NRU communications device can currently access, and further determine the initial channel set based on all the channels that the NRU communications device can currently access, where the initial channel set may include all the channels that the NRU communications device can currently access. It should be noted that, for a specific step in which the NRU communications device determines the channel that can be currently accessed, refer to a specific step in which the communications device determines the channel that can be currently accessed in the related technology. Details are not described in this embodiment of the present invention.
- each channel in the initial channel set mentioned in step 102 may be a channel corresponding to a frequency of 60 GHz and a bandwidth of 200 MHz, and a bandwidth of each channel in the initial channel set may also be another bandwidth less than 2.16 GHz except the bandwidth of 200 MHz. This is not limited in this embodiment of the present invention.
- Step 103 The NRU communications device performs initial CCA detection on all channels in the initial channel set by using an EDCA mechanism.
- the NRU communications device may perform the initial CCA detection on all the channels in the initial channel set by using the EDCA mechanism, that is, perform the initial CCA detection on each channel corresponding to the frequency of 60 GHz and the bandwidth of 200 MHz in the initial channel set.
- the initial CCA detection refer to a CCA detection step in the EDCA mechanism. Details are not described in this embodiment of the present invention.
- the NRU communications device performs the initial CCA detection on the initial channel set to determine whether signal energy on the initial channel set exceeds a threshold for the initial CCA detection.
- the NRU communications device may consider that another device is in communication in the initial channel set. If the signal energy on the initial channel set does not exceed the threshold for the initial CCA detection, the NRU communications device may consider that no other device is in communication in the initial channel set.
- Step 104 The NRU communications device determines, as a target channel, a channel that is in the initial channel set and for which a result of the initial CCA detection is idle.
- a result of the initial CCA detection for each channel may be obtained.
- the result of the initial CCA detection for each initial channel may be busy or idle.
- the NRU communications device may determine, as the target channel based on the result of the initial CCA detection for each channel in the initial channel set, the channel for which the result of the initial CCA detection is idle.
- the NRU communications device may determine that the target channel in the initial channel set is the channel 1 and the channel 3.
- Step 105 The NRU communications device performs auxiliary CCA detection on a preset channel.
- the preset channel may be a channel used by an 802.11ad communications device or an 802.11ay communications device to transmit data in the related technology, in other words, a frequency corresponding to the preset channel may be 60 GHz, and the bandwidth of the preset channel may be 2.16 GHz, and each channel in the initial channel set may be a subchannel of the preset channel.
- the auxiliary CCA detection further needs to be performed on the preset channel, and whether a result of the auxiliary CCA detection for the preset channel is busy is determined, that is, to detect whether the 802.11ad communications device or the 802.11ay communications device transmits data on the preset channel. If the result of the auxiliary CCA detection for the preset channel is busy, it may be determined that the 802.11ad communications device or the 802.11ay communications device transmits data on the preset channel. If the result of the auxiliary CCA detection for the preset channel is idle, it may be determined that no 802.11ad communications device or 802.11ay communications device transmits data on the preset channel.
- Step 106 If a result of the auxiliary CCA detection is idle, the NRU communications device transmits the target data on the target channel.
- the NRU communications device may determine that no 802.11ad communications device or 802.11ay communications device transmits data on the preset channel. In this case, if the NRU communications device transmits data on the subchannel (for example, the target channel) of the preset channel, the NRU communications device does not collide with the 802.11ad communications device or the 802.11ay communications device, so that the target data can be transmitted relatively smoothly. Therefore, when the result of the auxiliary CCA detection for the preset channel is idle, the NRU communications device may transmit the target data on the target channel.
- the subchannel for example, the target channel
- the NRU communications device may determine that the 802.11ad communications device or the 802.11ay communications device transmits data on the preset channel. In this case, if the NRU communications device transmits data on the subchannel (for example, the target channel) of the preset channel, the NRU communications device may collide with the 802.11ad communications device or the 802.11ay communications device, and consequently the target data cannot be transmitted smoothly.
- the subchannel for example, the target channel
- the NRU communications device may repeatedly perform step 105 until the result of the auxiliary CCA detection for the preset channel is idle, and then transmit the target data on the target channel.
- the NRU communications device 01 may determine that an 802.11ad communications device 11 in FIG. 1 does not transmit data at this time, and an 802.11ay communications device 21 in FIG. 1 does not transmit data at this time. In this case, the NRU communications device may transmit the target data on the target channel.
- the NRU communications device can transmit data on a channel corresponding to a relatively high frequency (for example, 60 GHz), thereby greatly improving data transmission efficiency, and can be compatible with an existing 802.11ad communications device and an existing 802.11ay communications device.
- a relatively high frequency for example, 60 GHz
- the communications device after determining all the channels that can be currently accessed, and determining the target channel for which the result of the initial CCA detection is idle, the communications device performs the auxiliary CCA detection on the preset channel again, and transmits the target data on the target channel only when the result of the auxiliary CCA detection is idle.
- the NRU communications device needs to detect whether the 802.11 communications device transmits data on a high bandwidth channel corresponding to the same frequency, and transmits data on the target channel only when the 802.11 communications device does not transmit data on the high bandwidth channel of the same frequency, thereby effectively avoiding conflict between the NRU communications device and the 802.11 communications device when transmitting the target data, and implementing mutual compatibility between the NRU communications device and the 802.11 communications device.
- an embodiment of the present invention provides another data transmission method.
- the data transmission method may be used for a communications device, and the communications device may be an NRU communications device 01 in FIG. 1 .
- the data transmission method may be implemented by a processor 311 in FIG. 2 by executing a program 3131.
- the data transmission method may include the following steps.
- Step 201 An NRU communications device determines target data in at least one piece of initial data based on a priority corresponding to each of the at least one piece of to-be-transmitted initial data.
- the NRU communications device may store a one-to-one correspondence between a plurality of data types and a plurality of priorities, in other words, in a one-to-one correspondence stored in the NRU communications device, each data type may be corresponding to one priority.
- the NRU communications device may determine, based on a data type of the initial data and the one-to-one correspondence stored in the NRU communications device, a priority corresponding to the initial data, then determine the priority of each of the at least one piece of to-be-transmitted initial data, and determine the target data based on the priority of each of the at least one piece of to-be-transmitted initial data.
- the priority recorded in a one-to-one correspondence stored in the NRU communications device may include: a first priority, a second priority, a third priority, and a fourth priority in a listen before talk (listen before talk, LBT) mechanism.
- the priority corresponding to one piece of initial data in the at least one piece of initial data may be one priority of the first priority, the second priority, the third priority, and the fourth priority in the LBT mechanism.
- a fixed backoff timeslot quantity ( m p ) value may be 1, a CWmin value may be 3, a CWmax value may be 7, a TXOP limit value may be 2 ms, and allowed CWp sizes (allowed CW p sizes) may be ⁇ 3, 7 ⁇ ;
- an m p value may be 1, a CWmin value may be 7, a CWmax value may be 15, a TXOP limit value may be 3 ms, and allowed CW p sizes may be ⁇ 7, 15 ⁇ ;
- an m p value may be 3, a CWmin value may be 15, a CWmax value may be 63, a TXOP limit value may be 8 ms or 15 ms, and allowed CW p sizes may be ⁇ 15, 31, 63 ⁇ ;
- an m p value may be 7, a CWmin value
- Step 202 The NRU communications device determines an initial channel set.
- a specific step of determining the initial channel set by the NRU communications device in step 202 refer to a specific step of determining the initial channel set by the NRU communications device in step 102 in the foregoing embodiment, and details are not described herein in this embodiment of the present invention.
- Step 203 The NRU communications device determines a threshold for initial CCA detection.
- the NRU communications device may determine a quantity of channels in the initial channel set, and detect whether an inter-RAT device exists within a preset range.
- the inter-RAT device may be an 802.11ad communications device or an 802.11ay communications device in a licensed-assisted access (licensed-assisted access, LAA) system.
- the NRU communications device may detect whether the inter-RAT device (such as the 802.11ad communications device or the 802.11ay communications device) that has a same frequency as a channel for transmitting data of the NRU communications device exists within a preset range. It should be noted that a distance between the device within the preset range and the NRU communications device is less than a preset distance.
- the NRU communications device may determine a first threshold based on the quantity of channels in the initial channel set and according to a first threshold determining formula, and use the first threshold as the threshold for the initial CCA detection.
- the NRU communications device may determine a second threshold based on the quantity of channels in the initial channel set and according to a second threshold determining formula, and use the second threshold as the threshold for the initial CCA detection.
- the threshold for the CCA detection determined in the related technology is not related to the quantity of channels participating in the CCA detection, and the threshold for the CCA detection cannot be applicable to different scenarios.
- All the thresholds for the initial CCA detection determined in step 203 are related to the quantity of channels participating in the CCA detection, in other words, the threshold for the initial CCA detection determined in this embodiment of the present invention can be better adapted to different scenarios.
- Step 204 The NRU communications device performs initial CCA detection on all channels in the initial channel set.
- the NRU communications device in step 204 may perform the initial CCA detection on all the channels in the initial channel set by using the first threshold. If the threshold for the initial CCA detection determined in step 203 is the second threshold, the NRU communications device in step 204 may perform the initial CCA detection on all the channels in the initial channel set by using the second threshold.
- the initial CCA detection may include only first CCA detection, or the initial CCA detection may include the first CCA detection and second CCA detection.
- the NRU communications device may first perform the first CCA detection on all the channels in the initial channel set. If a result of the first CCA detection for the initial channel set is busy at a moment during the first CCA detection, the NRU communications device stops performing the first CCA detection on the initial channel set, and repeatedly performs the second CCA detection on the initial channel set until a result of the second CCA detection for the initial channel set is idle, and then continues the first CCA detection until the first CCA detection ends.
- thresholds used in the first CCA detection and the second CCA detection may be the thresholds determined in step 203.
- the NRU communications device may perform the first CCA detection of one period on the initial channel set, where the time period of the first CCA detection may include one fixed time interval (Td) of 16 ⁇ s (microseconds) and n slots (slot) of 9 ⁇ s, where n is an integer greater than or equal to zero.
- the NRU communications device may perform LBT backoff of Td+n ⁇ slot (one period) on the initial channel set, perform the first CCA detection on the initial channel set within the Td+n ⁇ slot, and start counting by using a backoff counter at the beginning of performing the first CCA detection on the initial channel set.
- the NRU communications device may determine that a time period of the first CCA detection ends at this time.
- a time period of the second CCA detection may also include one fixed time interval (Td) of 16 ⁇ s (microseconds) and n slots (slot) of 9 ⁇ s, where n is an integer greater than or equal to zero, and a quantity n of slots in the period of the second CCA detection and a quantity n of slots in the period of the first CCA detection may be different.
- the NRU communications device may start the first CCA detection on the initial channel set, in other words, the backoff counter may be controlled to continue counting, and the first CCA detection may continue to be performed on the initial channel set.
- the initial channel set may include a channel CC1, a channel CC2, a channel CC3, and a channel CC4.
- the NRU communications device needs to stop performing the first CCA detection on the initial channel set, and start repeatedly performing the second CCA detection on the initial channel set.
- the NRU communications device may repeatedly perform the second CCA detection on all the channels in the initial channel set, in other words, the NRU communications device may perform the second CCA detection on the initial channel set (including the channel CC1, the channel CC2, the channel CC3, and the channel CC4) for the first time. If a result of the second CCA detection for the first time is busy, the NRU communications device needs to perform the second CCA detection on the initial channel set (including the channel CC1, the channel CC2, the channel CC3, and the channel CC4) for the second time.
- the NRU communications device needs to perform the second CCA detection on the initial channel set for the third time, and repeats this cycle until the result of the second CCA detection for all the channels in the initial channel set is idle, and then continues the first CCA detection.
- the initial channel set may include at least two channels.
- the NRU communications device may obtain a first subset of the initial channel set by using a dichotomy, and perform the second CCA detection on the first subset.
- the first CCA detection continues to be performed on the initial channel set; if the result of the second CCA detection for the first subset is busy, the dichotomy is used to obtain a second subset of the first subset, and the second CCA detection is performed on the second subset; if a result of the second CCA detection for the second subset is idle, the first CCA detection continues; if the result of the second CCA detection for the second subset is busy, it needs to be determined whether the second subset consists of a channel of the initial channel set; if the second subset consists of a channel of the initial channel set, the second CCA detection is repeatedly performed on the second subset until the result of the second CCA detection for the second subset is idle, and then the first CCA detection continues.
- the dichotomy is used to select P/2 channels from the P channels, and the second CCA detection is performed on the P/2 channels. It should be noted that, in this time, a quantity of channels participating in the second CCA detection is P/2, and in this case, a threshold for the second CCA detection varies according to the quantity of channels participating in the CCA detection.
- the first CCA detection continues to be performed on the initial channel set; if the results of the second CCA detection for the P/2 channels are still busy, the dichotomy is used to select P/4 channels from the P/2 channels, and the foregoing step is repeated until the only subset obtained by using the dichotomy includes only one channel (the channel may be a channel whose bandwidth is 20 MHz), and the second CCA detection is repeatedly performed on the channel until a result of the second CCA detection for the channel is idle, and then the first CCA detection continues.
- the dichotomy is used to select P/4 channels from the P/2 channels, and the foregoing step is repeated until the only subset obtained by using the dichotomy includes only one channel (the channel may be a channel whose bandwidth is 20 MHz), and the second CCA detection is repeatedly performed on the channel until a result of the second CCA detection for the channel is idle, and then the first CCA detection continues.
- the initial channel set may include the channel CC1, the channel CC2, the channel CC3, and the channel CC4, and each channel is the channel whose bandwidth is 20 MHz, or a channel whose bandwidth is 200 MHz, or another channel whose bandwidth is less than 2.16 GHz.
- two channels (such as the channel CC1 and the channel CC2) are selected from the foregoing four channels by using the dichotomy, and the second CCA detection is performed on the selected two channels, in other words, the second CCA detection is performed on the initial channel set for the first time.
- the dichotomy is used to select one channel (for example, the channel CC1) from the two channels.
- the NRU communications device needs to repeatedly perform the second CCA detection on the channel CC1 until a result of the second CCA detection for the channel CC1 is idle, and then continue to perform the first CCA detection.
- Step 205 The NRU communications device determines, as a target channel, a channel that is in the initial channel set and for which a result of the initial CCA detection is idle.
- a channel that is in the initial channel set and for which a result of the first CCA detection is idle in a preset time period before the first CCA detection ends may be determined as the target channel.
- the preset time period before the first CCA detection ends may be 9 ⁇ s or 25 ⁇ s.
- the preset time period may be another time interval. This is not limited in this embodiment of the present invention.
- Step 206 The NRU communications device performs auxiliary CCA detection on a preset channel.
- a specific step of performing the auxiliary CCA detection on the preset channel by the NRU communications device in step 206 refer to a specific step of performing the auxiliary CCA detection on the preset channel by the NRU communications device in step 105 in the foregoing embodiment, and details are not described herein in this embodiment of the present invention.
- Step 207 If a result of the auxiliary CCA detection is idle, the NRU communications device transmits the target data on the target channel.
- a specific step of transmitting the target data on the target channel by the NRU communications device in step 207 refer to a specific step of transmitting the target data on the target channel by the NRU communications device in step 106 in the foregoing embodiment, and details are not described herein in this embodiment of the present invention.
- step 206 If the result of the auxiliary CCA detection in step 206 is busy, the NRU communications device needs to repeatedly perform step 206 until the result of the auxiliary CCA detection is idle.
- the transmit end may first randomly determine a quantity of slots of each channel, and perform the CCA detection on the channel within a time period (including one fixed time interval Td and n slots of each channel, where n is the quantity of slots of the channel), so as to determine whether a status of the channel is idle or busy. It should be noted that, the quantities of slots of all the channels that are randomly determined by the transmit end may be different.
- a channel for example, the channel CC1, the channel CC3, and the channel CC4 in FIG. 7 .
- a channel for example, the channel CC2 in FIG. 7 ) for which the result of the CCA detection at at least one moment in the process of the CCA detection is busy is used as a second channel.
- the CCA detection needs to be performed again on each first channel in an extra timeslot, and data is transmitted on a first channel (for example, the channel CC1 and the channel CC4 in FIG. 7 ) for which a result of the CCA detection in the extra timeslot is idle, and data transmission is not allowed on the second channel (for example, the channel CC2 in FIG. 7 ) and a first channel (for example, the channel CC3 in FIG. 7 ) for which the result of the CCA detection in the extra timeslot is busy.
- the extra timeslot may be a timeslot after all the CCA detection is completed.
- the transmit end is not allowed to transmit data on the second channel and the first channel for which the result of the CCA detection in the extra timeslot is busy, and when data is transmitted on the first channel, a channel on which data transmission is not allowed may be in an idle state, so that a bandwidth of a channel that is used to transmit data is relatively low, and consequently, data transmission efficiency is relatively low.
- the NRU communications device when the NRU communications device performs the first CCA detection on the initial channel set, if the result of the first CCA detection at a moment is busy, the NRU communications device stops performing the first CCA detection on the initial channel set, and starts repeatedly performing the second CCA detection on the initial channel set until the result of the second CCA detection is idle, and then continues to perform the first CCA detection on the initial channel set.
- This can effectively use the second channel and the first channel for which the result of the CCA detection in the extra timeslot is busy in the related technology, thereby increasing the bandwidth of the channel that is used to transmit data, increasing data transmission efficiency, and being more applicable to an enhanced data offloading (eMBB offloading) scenario in an NRU.
- eMBB offloading enhanced data offloading
- the transmit end may first randomly determine a quantity of slots of one channel (for example, the channel CC1) in the plurality of channels, and perform the CCA detection on the channel (the channel CC1) within a time period (including one fixed time interval Td and n slots of the channel, where n is the quantity of slots of the channel, and n is 9 in FIG. 8 ), so as to determine whether the status of the channel is idle or busy.
- a quantity of slots of one channel for example, the channel CC1
- Td and n slots of the channel including one fixed time interval Td and n slots of the channel, where n is the quantity of slots of the channel, and n is 9 in FIG. 8
- the result of the CCA detection for a third channel for example, the channel CC1, the channel CC2, and the channel CC3 in all the channels in the last slot is idle, and the result of the CCA detection for a fourth channel (for example, the channel CC4) in all the channels in the last slot is busy
- data may be transmitted on the third channel (for example, the channel CC1, the channel CC2, and the channel CC3), and data transmission is not allowed on the fourth channel (for example, the channel CC4).
- a transmit end is not allowed to transmit data on the fourth channel, and when data is transmitted on a third channel, the channel on which data transmission is not allowed may be in an idle state, so that the bandwidth of the channel that is used to transmit data is relatively low, and consequently, data transmission efficiency is relatively low.
- the NRU communications device when the NRU communications device performs the first CCA detection on the initial channel set, if the result of the first CCA detection at a moment is busy, the NRU communications device stops performing the first CCA detection on the initial channel set, and starts repeatedly performing the second CCA detection on the initial channel set until the result of the second CCA detection is idle, and then continues to perform the first CCA detection on the initial channel set.
- This can effectively use the fourth channel in the related technology, thereby increasing the bandwidth of the channel that is used to transmit data, increasing data transmission efficiency, and being more applicable to the eMBB offloading scenario in an NRU.
- the NRU communications device can transmit data on a channel of a relatively high bandwidth corresponding to a relatively high frequency (for example, 60 GHz), thereby greatly improving data transmission efficiency and being applicable to the eMBB offloading scenario, and can be compatible with an existing 802.11ad communications device and an existing 802.11ay communications device.
- a relatively high frequency for example, 60 GHz
- the communications device after determining all the channels that can be currently accessed, and determining the target channel for which the result of the initial CCA detection is idle, the communications device performs the auxiliary CCA detection on the preset channel again, and transmits the target data on the target channel only when the result of the auxiliary CCA detection is idle.
- the NRU communications device needs to detect whether the 802.11 communications device transmits data on a high bandwidth channel corresponding to the same frequency, and transmits data on the target channel only when the 802.11 communications device does not transmit data on the high bandwidth channel of the same frequency, thereby effectively avoiding conflict between the NRU communications device and the 802.11 communications device when transmitting the target data, and implementing mutual compatibility between the NRU communications device and the 802.11 communications device.
- FIG. 9 is a schematic diagram of another data transmission scenario according to an embodiment of the present invention.
- an NRU communications device 01 may transmit data on a low bandwidth (for example, a bandwidth of 200 MHz) channel corresponding to 60 GHz;
- an 802.11ad communications device 11 may transmit data on a high bandwidth (for example, a bandwidth of 2.16 GHz) channel corresponding to 60 GHz;
- an 802.11ay communications device 21 may transmit data on the high bandwidth (for example, the bandwidth of 2.16 GHz) channel corresponding to 60 GHz.
- a next-generation Wi-Fi communications device 31 may transmit data on the high bandwidth corresponding to 60 GHz, and may further transmit data on the low bandwidth corresponding to 60 GHz.
- Wi-Fi is short for Wireless Fidelity
- Wi-Fi may be a wireless local area network based on the IEEE 802.11b standard.
- the next-generation Wi-Fi communications device may also be referred to as a future generation 60 GHz (Future Generation 60 GHz, FG60) communications device.
- a bandwidth of a channel for transmitting data by the NRU communications device 01 may also be another bandwidth less than 2.16 GHz. This is not limited in this embodiment of the present invention.
- an embodiment of the present invention provides still another data transmission method.
- the data transmission method may be used for a communications device, and the communications device may be an NRU communications device 01 in FIG. 9 .
- the data transmission method may be implemented by a processor 311 in FIG. 2 by executing a program 3131.
- the data transmission method may include the following steps.
- Step 301 An NRU communications device determines target data in at least one piece of initial data based on a priority corresponding to each of the at least one piece of to-be-transmitted initial data.
- a specific step of determining the target data by the NRU communications device in step 301 refer to a specific step of determining the target data by the NRU communications device in step 101 or step 201, and details are not described herein in this embodiment of the present invention.
- Step 302. The NRU communications device detects whether a preamble sent by an FG60 communications device after obtaining a preset channel by contending is received.
- a frequency corresponding to the preset channel is 60 GHz
- a bandwidth of the preset channel is 2.16 GHz.
- the FG60 communications device, an 802.11 ad communications device, and an 802.11ay communications device may all transmit data on the preset channel.
- the FG60 communications device needs to transmit data
- the FG60 communications device needs to first contend with the 802.11ad communications device and the 802.11ay communications device for the preset channel.
- the FG60 communications device may broadcast the preamble (preamble), where the preamble may include a network allocation vector (NAV) that is used to indicate a remaining time for data transmission, and the NRU communications device may detect, in real time, whether the preamble sent by the FG60 communications device is received.
- preamble may include a network allocation vector (NAV) that is used to indicate a remaining time for data transmission
- NAV network allocation vector
- step 302 if no preamble sent by the FG60 communications device after obtaining the preset channel by contending is received, the NRU communications device may repeatedly detect whether the preamble sent by the FG60 communications device is received, in other words, step 302 is repeatedly performed until the preamble is received.
- the FG60 communications device may contend for a channel on the preset channel corresponding to the frequency of 60 GHz and the bandwidth of 2.16 GHz, or the FG60 communications device may contend for a channel on the preset channel corresponding to the frequency of 60 GHz and the bandwidth of 2.16 GHz and transmit data on the preset channel after obtaining the preset channel by contending.
- the FG60 communications device needs to contend with the NRU communications device for a channel on a low bandwidth whose frequency is 60 GHz, and transmit data on a low bandwidth channel after obtaining the channel by contending.
- the bandwidth corresponding to the low bandwidth channel for transmitting data by the FG60 communications device is the same as the bandwidth of the channel for transmitting data by the NRU communications device.
- the FG60 communications device needs to contend with the NRU communications device on a channel of a same bandwidth, and transmit data after obtaining the channel by contending.
- step 302 is performed; or if the preamble sent by the FG60 communications device is received, step 303 is performed.
- Step 303 If the NRU communications device receives the preamble sent by the FG60 communications device, the NRU communications device determines an initial channel set.
- a specific step of determining the initial channel set by the NRU communications device in step 303 refer to a specific step of determining the initial channel set by the NRU communications device in step 102, and details are not described herein in this embodiment of the present invention.
- Step 304 The NRU communications device performs initial CCA detection on all channels in the initial channel set.
- Step 305 The NRU communications device determines, as a target channel, a channel that is in the initial channel set and for which a result of the initial CCA detection is idle.
- step 301 refers to step 101
- step 304 for a specific step of performing the initial CCA detection by the NRU communications device in step 304, refer to a specific step of performing the initial CCA detection by the NRU communications device in step 103.
- step 305 For a specific step of determining the target channel by the NRU communications device in step 305, refer to a specific step of determining the target channel in step 104, and details are not described herein in this embodiment of the present invention.
- the NRU communications device may further determine a threshold for the initial CCA detection, and for a specific step of determining the threshold for the initial CCA detection, refer to the specific step of determining the threshold for the initial CCA detection in step 203.
- a specific step of performing the initial CCA detection by the NRU communications device in step 304 refer to a specific step of performing the initial CCA detection by the NRU communications device in step 204.
- a specific step of determining the target channel by the NRU communications device in step 305 refer to a specific step of determining the target channel in step 205, and details are not described herein in this embodiment of the present invention.
- Step 306. The NRU communications device transmits the target data on the target channel.
- the NRU communications device may transmit data on the target channel, and does not collide with another communications device (such as the FG60 communications device, the 802.11ad communications device, or the 802.11ay communications device), so as to transmit the target data relatively smoothly.
- the preamble sent by the FG60 communications device may include the NAV that is used to indicate the remaining time for data transmission, and the NRU communications device may transmit the target data on the target channel based on the remaining time for data transmission indicated by the NAV.
- the NRU communications device When the NRU communications device needs to transmit the target data, the NRU communications device needs to detect whether the preamble sent by the FG60 communications device after obtaining the preset channel by contending is received. If the preamble is received, the NRU communications device may determine the initial channel set, perform the initial CCA detection on the initial channel set, determine the target channel based on the result of the initial CCA detection, and then transmit the target data on the target channel.
- the NRU communications device when receiving the preamble sent by the FG60 communications device, may determine all channels that can be currently accessed, and after determining the target channel for which the result of the initial CCA detection is idle, transmit the target data on the target channel. In other words, the NRU communications device transmits data on the target channel only after determining that the 802.11 communications device does not transmit data, and determining that the FG60 communications device does not transmit data on the target channel, thereby effectively avoiding conflict between the NRU communications device and the 802.11 communications device and the FG60 communications device when transmitting the target data, and implementing mutual compatibility between the NRU communications device, and the 802.11 communications device and the FG60 communications device.
- an embodiment of the present invention provides another data transmission apparatus 40.
- the data transmission apparatus 40 may be used for a communications device, the communications device may be an NRU communications device 01 in FIG. 1 , and the data transmission apparatus 40 may include:
- the second detection module performs the auxiliary CCA detection on the preset channel again, and the transmission module transmits the target data on the target channel only when the result of the auxiliary CCA detection is idle.
- the NRU communications device needs to detect whether the 802.11 communications device transmits data on a high bandwidth channel corresponding to the same frequency, and data is transmitted on the target channel only when the 802.11 communications device does not transmit data on the high bandwidth channel of the same frequency, thereby effectively avoiding conflict between the NRU communications device and the 802.11 communications device when transmitting the target data, and implementing mutual compatibility between the NRU communications device and the 802.11 communications device.
- an embodiment of the present invention provides still another data transmission apparatus 40.
- the data transmission apparatus 40 may further include: a third determining module 406, configured to determine target data in at least one piece of initial data based on a priority corresponding to each of the at least one piece of to-be-transmitted initial data, where the priority of the initial data is one of a first priority, a second priority, a third priority, and a fourth priority in an EDCA mechanism, or a priority in a DCF mechanism.
- the first detection module 402 may be further configured to: perform initial CCA detection on all channels in an initial channel set by using the EDCA mechanism.
- an embodiment of the present invention provides yet another data transmission apparatus 40.
- the data transmission apparatus 40 may further include: a fourth determining module 407, configured to determine target data in at least one piece of initial data based on a priority corresponding to each of the at least one piece of to-be-transmitted initial data, where the priority of the initial data is one of a first priority, a second priority, a third priority, and a fourth priority in an LBT mechanism.
- the first detection module 402 may be further configured to: perform first CCA detection on all the channels in the initial channel set, and if a result of the first CCA detection is busy at a moment during the first CCA detection, stop the first CCA detection and repeatedly perform second CCA detection on the initial channel set until a result of the second CCA detection is idle, and then continue the first CCA detection until the first CCA detection ends.
- the second determining module 403 may be further configured to: determine, as a target channel, a channel that is in the initial channel set and for which the result of the first CCA detection is idle in a preset time period before the first CCA detection ends.
- the first detection module 402 may be further configured to: repeatedly perform the second CCA detection on all the channels in the initial channel set until the results of the second CCA detection for all the channels in the initial channel set are idle, and then continue the first CCA detection.
- the initial channel set includes at least two channels
- the first detection module 402 may be further configured to:
- the data transmission apparatus 40 may further include:
- the first detection module 402 may be further configured to: perform the first CCA detection on all the channels in the initial channel set by using the second threshold.
- the sixth determining module 409 may be further configured to:
- the first detection module 402 may be further configured to: perform the first CCA detection on all the channels in the initial channel set by using the first threshold.
- a time period of the first CCA detection includes one fixed time interval of 16 ⁇ s and n slots of 9 ⁇ s, where n is an integer greater than or equal to zero.
- a preset time period is 9 ⁇ s or 25 ⁇ s.
- a frequency corresponding to the preset channel is 60 GHz, and a bandwidth of the preset channel is 2.16 GHz.
- the second detection module performs the auxiliary CCA detection on the preset channel again, and the transmission module transmits the target data on the target channel only when the result of the auxiliary CCA detection is idle.
- the NRU communications device needs to detect whether the 802.11 communications device transmits data on a high bandwidth channel corresponding to the same frequency, and data is transmitted on the target channel only when the 802.11 communications device does not transmit data on the high bandwidth channel of the same frequency, thereby effectively avoiding conflict between the NRU communications device and the 802.11 communications device when transmitting the target data, and implementing mutual compatibility between the NRU communications device and the 802.11 communications device.
- FIG. 15 another embodiment of the present invention provides another data transmission apparatus 50.
- the data transmission apparatus may be used for a communications device, the communications device may be a communications device 01 in FIG. 9 , and the data transmission apparatus 50 may include:
- the first determining module determines all the channels that can be currently accessed, and after the second determining module determines the target channel for which the result of the initial CCA detection is idle, the transmission module transmits the target data on the target channel.
- the NRU communications device transmits data on the target channel only after determining that the 802.11 communications device does not transmit data, and determining that the FG60 communications device does not transmit data on the target channel, thereby effectively avoiding conflict between the NRU communications device and the 802.11 communications device and the FG60 communications device when transmitting the target data, and implementing mutual compatibility between the NRU communications device, and the 802.11 communications device and the FG60 communications device.
- the first detection module 501 may be configured to perform the method in step 302 in the embodiment shown in FIG. 10 ; the first determining module 502 may be configured to perform the method in step 303 in the embodiment shown in FIG. 10 ; the second detection module 503 may be configured to perform the method in step 304 in the embodiment shown in FIG. 10 ; the second determining module 504 may be configured to perform the method in step 305 in the embodiment shown in FIG. 10 ; and the transmission module 505 may be configured to perform the method in step 306 in the embodiment shown in FIG. 10 .
- the data transmission apparatus 50 may further include a third determining module 506, which has a same or similar function as the third determining module 406.
- the third determining module 506 may be configured to perform the method, which is referred to by step 301, in step 101 in the embodiment shown in FIG. 10 .
- the data transmission apparatus 50 may further include a fourth determining module 507, which has a same or similar function as the fourth determining module 407.
- the fourth determining module 507 may be configured to perform the method, which is referred to by step 301, in step 201 in the embodiment shown in FIG. 10 .
- the data transmission apparatus 50 may further include a fifth determining module 508, a sixth determining module 509, a third detection module 510, and a seventh determining module 511.
- the fifth determining module 508 has a same or similar function as the fifth determining module 408; the sixth determining module 509 has a same or similar function as the sixth determining module 409; the third detection module 510 has a same or similar function as the third detection module 410; and the seventh determining module 511 has a same or similar function as the seventh determining module 411.
- the fifth determining module 508, the sixth determining module 509, the third detection module 510, and the seventh determining module 511 are jointly configured to perform the method for determining a threshold for initial CCA detection that is performed before step 304 in the embodiment shown in FIG. 10 .
- the method for determining the threshold for the initial CCA detection refer to the method in step 203 in the embodiment shown in FIG. 4 .
- a preamble may include a NAV that is used to indicate a remaining time for data transmission
- the transmission module 505 may be further configured to transmit target data on a target channel based on the remaining time for data transmission indicated by the NAV.
- the first determining module determines all the channels that can be currently accessed, and after the second determining module determines the target channel for which the result of the initial CCA detection is idle, the transmission module transmits the target data on the target channel.
- the NRU communications device transmits data on the target channel only after determining that the 802.11 communications device does not transmit data, and determining that the FG60 communications device does not transmit data on the target channel, thereby effectively avoiding conflict between the NRU communications device and the 802.11 communications device and the FG60 communications device when transmitting the target data, and implementing mutual compatibility between the NRU communications device, and the 802.11 communications device and the FG60 communications device.
- An embodiment of the present invention provides a data transmission system, where the data transmission system may include a communications device, and the communications device may include a data transmission apparatus shown in FIG. 2 , FIG. 11 , FIG. 12 , FIG. 13 , FIG. 14 , FIG. 15 , FIG. 16 , FIG. 17 , or FIG. 18 .
- All or some of the foregoing embodiments may be implemented by using software, hardware, firmware, or any combination thereof.
- the embodiments may be all or partially implemented in a form of a computer program product.
- the computer program product includes one or more computer instructions.
- the computer may be a general-purpose computer, a computer network, or another programmable apparatus.
- the computer instructions may be stored in a computer-readable storage medium or may be transmitted from a computer-readable storage medium to another computer-readable storage medium.
- the computer instructions may be transmitted from a website, computer, server, or data center to another website, computer, server, or data center in a wired (for example, a coaxial cable, an optical fiber, or a digital subscriber line) or wireless (for example, infrared, radio, or microwave) manner.
- the computer-readable storage medium may be any usable medium accessible by a computer, or a data storage device, such as a server or a data center, integrating one or more usable media.
- the usable medium may be a magnetic medium (for example, a floppy disk, a hard disk, or a magnetic tape), an optical medium, a semiconductor medium (for example, a solid state drive), or the like.
- the program may be stored in a computer-readable storage medium.
- the storage medium may include a read-only memory, a magnetic disk, an optical disc, or the like.
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Mobile Radio Communication Systems (AREA)
Description
- This application relates to the communications field, and in particular, to a data transmission method, apparatus, and system.
- In the communications standard 802.11 (including the communications standard 802. 11ad and the communications standard 802.11ay), a device can transmit data on a corresponding channel with a frequency of 60 gigahertzes (GHz).
- For example, when an 802.11 communications device needs to transmit data, the 802.11 communications device first needs to determine a plurality of channels that can be currently accessed, and then may determine, from the plurality of channels that can be currently accessed, a target channel that can currently transmit data, and transmit the data on the target channel. Specifically, when a transmit end is on the target channel that can currently transmit data, the transmit end may first randomly determine a quantity of slots of each of the plurality of channels that can be currently accessed, and perform clear channel assessment (clear channel assessment, CCA) detection on each channel based on the quantity of slots of each channel and by using a CCA detection mechanism, so as to determine that a status of each channel is idle or busy, and determine, as the target channel, a channel for which a result of the CCA detection is idle.
- The new radio-unlicensed standard (new radio-unlicensed, NR) of the 3rd Generation Partnership Project (3rd Generation Partnership Project, 3GPP) stipulates that an NRU (a high-frequency communications device in NR) communications device transmits data on a low bandwidth channel corresponding to a higher frequency, for example, 60 GHz. Because the 802.11 communications device also transmits data on the corresponding channel with the frequency of 60 GHz, and a bandwidth of the channel used by the 802.11 communications device to transmit data is far greater than a bandwidth of a channel used by the NRU communications device to transmit data, so that the CCA detection mechanism used by the 802.11 communications device when transmitting the data cannot be applicable to the NRU communications device, and the 802.11 communications device is likely to collide with the NRU communications device when transmitting data. Therefore, the NRU communications device and the 802.11 communications device cannot be compatible with each other.
-
WO 2016/010684 A1 relates to one or more techniques for scaling the bandwidth of a carrier. Available sub-channels of an unlicensed radio frequency spectrum band may be determined, and the available sub-channels may be included in the carrier. The available sub-channels may be adjacent or non-adjacent sub-channels. The bandwidth of the carrier may be determined according to which sub-channels are included in the carrier. In this way, the bandwidth of the carrier may be scaled according to the available sub-channels. - According to the present invention, the above objects are solved by the claimed matter according to the independent claims. To resolve a problem that an NRU communications device and an 802.11 communications device cannot be compatible with each other, this application provides a data transmission method, apparatus, and system. The technical solutions are as follows:
- According to a first aspect, a data transmission method is provided, where the method is used for a communications device and includes:
- determining an initial channel set, where the initial channel set includes all channels that the communications device can currently access;
- performing initial clear channel assessment CCA detection on all the channels in the initial channel set;
- determining, as a target channel, a channel that is in the initial channel set and for which a result of the initial CCA detection is idle;
- performing auxiliary CCA detection on a preset channel, where each channel in the initial channel set is a subchannel of the preset channel, a frequency of the preset channel is the same as a frequency of the each channel in the initial channel set, and a bandwidth of the preset channel is larger than a bandwidth of the each channel in the initial channel set; and
- if a result of the auxiliary CCA detection is idle, transmitting target data on the target channel.
- After determining all the channels that can be currently accessed, and determining the target channel for which the result of the initial CCA detection is idle, the communications device performs the auxiliary CCA detection on the preset channel again, and transmits the target data on the target channel only when the result of the auxiliary CCA detection is idle. In other words, after determining the target channel for transmitting data, an NRU communications device needs to detect whether an 802.11 communications device transmits data on a high bandwidth channel corresponding to the same frequency, and data is transmitted on the target channel only when the 802.11 communications device does not transmit data on the high bandwidth channel of the same frequency, thereby effectively avoiding conflict between the NRU communications device and the 802.11 communications device when transmitting the target data, and implementing mutual compatibility between the NRU communications device and the 802.11 communications device.
- Optionally, a frequency corresponding to the preset channel is 60 GHz, and a bandwidth of the preset channel is 2.16 GHz.
- According to a second aspect, a data transmission method is provided, where the method is used for a communications device and includes:
- detecting whether a preamble sent by a future generation FG60 communications device after obtaining a preset channel by contending is received, where a frequency corresponding to the preset channel is 60 GHz, and a bandwidth of the preset channel is 2.16 GHz;
- if the preamble is received, determining an initial channel set, where the initial channel set includes all channels that the communications device can currently access, and each channel in the initial channel set is a subchannel of the preset channel;
- performing initial clear channel assessment CCA detection on all the channels in the initial channel set;
- determining, as a target channel, a channel that is in the initial channel set and for which a result of the initial CCA detection is idle; and
- transmitting target data on the target channel.
- When receiving the preamble sent by the FG60 communications device, the NRU communications device determines all the channels that can be currently accessed, and after determining the target channel for which the result of the initial CCA detection is idle, transmits the target data on the target channel. In other words, the NRU communications device transmits data on the target channel only after determining that the 802.11 communications device does not transmit data, and determining that the FG60 communications device does not transmit data on the target channel, thereby effectively avoiding conflict between the NRU communications device and the 802.11 communications device and the FG60 communications device when transmitting the target data, and implementing mutual compatibility between the NRU communications device, and the 802.11 communications device and the FG60 communications device.
- It should be noted that before the FG60 communications device sends the preamble, the FG60 communications device may contend for a channel on a preset channel corresponding to a frequency of 60 GHz and a bandwidth of 2.16 GHz, or transmit data on the preset channel after obtaining the preset channel by contending. After the FG60 communications device sends the preamble, the FG60 communications device needs to contend for a channel on a corresponding low bandwidth whose frequency is 60 GHz, and transmits data on a channel of the low bandwidth after obtaining the channel by contending. For example, the bandwidth of the low bandwidth channel for transmitting data by the FG60 communications device may be the same as the bandwidth of the channel for transmitting data by the NRU communications device. In other words, after the FG60 communications device sends the preamble, the FG60 communications device needs to contend with the NRU communications device on a channel of a same bandwidth, and transmits data after obtaining the channel by contending.
- Optionally, the preamble includes a network allocation vector NAV that is used to indicate a remaining time for data transmission, where the transmitting target data on the target channel includes:
transmitting the target data on the target channel based on the remaining time for data transmission indicated by the NAV. - In some implementations of the data transmission method provided in the first aspect and the second aspect,
the performing initial clear channel assessment CCA detection on all the channels in the initial channel set includes: - performing the initial CCA detection on all the channels in the initial channel set by using an enhanced distributed channel access EDCA mechanism; and
- before the determining an initial channel set, the method further includes:
determining at least one piece of initial data based on a priority corresponding to each of the at least one piece of to-be-transmitted initial data, where the priority of the initial data is one of a first priority, a second priority, a third priority, and a fourth priority in the EDCA mechanism, or a priority in a distributed coordination function DCF mechanism. - Optionally, the performing initial clear channel assessment CCA detection on all the channels in the initial channel set includes:
performing first CCA detection on all the channels in the initial channel set, and if a result of the first CCA detection is busy at a moment during the first CCA detection, stopping the first CCA detection and repeatedly performing second CCA detection on the initial channel set until a result of the second CCA detection is idle, and then continuing the first CCA detection until the first CCA detection ends. - In this application, when the NRU communications device performs the first CCA detection on the initial channel set, if the result of the first CCA detection at a moment is busy, the NRU communications device stops performing the first CCA detection on the initial channel set, and starts repeatedly performing the second CCA detection on the initial channel set until the result of the second CCA detection is idle, and then continues to perform the first CCA detection on the initial channel set, so as to effectively use a channel, thereby increasing the bandwidth of the channel that is used to transmit data, increasing data transmission efficiency, and being more applicable to an enhanced data offloading (eMBB offloading) scenario in an NRU.
- The determining, as a target channel, a channel that is in the initial channel set and for which a result of the initial CCA detection is idle includes:
- determining, as a target channel, a channel that is in the initial channel set and for which the result of the first CCA detection is idle in a preset time period before the first CCA detection ends; and
- before the determining an initial channel set, the method further includes:
determining target data in at least one piece of initial data based on a priority corresponding to each of the at least one piece of to-be-transmitted initial data, where the priority of the initial data is one of a first priority, a second priority, a third priority, and a fourth priority in a listen before talk LBT mechanism. - Optionally, the repeatedly performing second CCA detection on the initial channel set until a result of the second CCA detection is idle, and then continuing the first CCA detection includes:
repeatedly performing the second CCA detection on all the channels in the initial channel set until the results of the second CCA detection for all the channels in the initial channel set are idle, and then continuing the first CCA detection. - Optionally, the initial channel set includes at least two channels, and the repeatedly performing second CCA detection on the initial channel set until a result of the second CCA detection is idle, and then continuing the first CCA detection includes:
- obtaining a first subset of the initial channel set by using a dichotomy;
- performing the second CCA detection on the first subset;
- if a result of the second CCA detection for the first subset is idle, continuing the first CCA detection;
- if the result of the second CCA detection for the first subset is busy, obtaining a second subset of the first subset by using the dichotomy;
- performing the second CCA detection on the second subset;
- if a result of the second CCA detection for the second subset is idle, continuing the first CCA detection;
- if the result of the second CCA detection for the second subset is busy, determining whether the second subset consists of a channel of the initial channel set; and
- if the second subset consists of a channel of the initial channel set, repeatedly performing the second CCA detection on the second subset until the result of the second CCA detection for the second subset is idle, and then continuing the first CCA detection.
- Optionally, before the performing first CCA detection on all the channels in the initial channel set, the method further includes:
- determining a quantity of channels in the initial channel set; and
- determining a first threshold based on the quantity of channels in the initial channel set and according to a first threshold determining formula, where the first threshold determining formula is: Y=X+3∗log2M, Y is the first threshold, X is a threshold corresponding to a 20 MHz bandwidth channel, log2M is a logarithm of M with base 2, and M is a quantity of channels participating in CCA detection; and
- the performing first CCA detection on all the channels in the initial channel set includes:
performing the first CCA detection on all the channels in the initial channel set by using the first threshold. - The threshold for the CCA detection determined in the related technology is not related to the quantity of channels participating in the CCA detection, and the threshold for the CCA detection cannot be applicable to different scenarios. All the thresholds for the initial CCA detection determined in this application are related to the quantity of channels participating in the CCA detection, in other words, the thresholds for the initial CCA detection determined in this application can be better adapted to different scenarios.
- Optionally, before the determining a first threshold based on the quantity of channels in the initial channel set and according to a first threshold determining formula, the method further includes:
- detecting whether an inter-RAT device exists within a preset range, where a distance between a device within the preset range and the communications device is less than a preset distance; and
- if the inter-RAT device exists within the preset range, determining a second threshold based on the quantity of channels in the initial channel set and according to a second threshold determining formula, where the second threshold determining formula is:
- the performing first CCA detection on all the channels in the initial channel set includes:
- performing the first CCA detection on all the channels in the initial channel set by using the second threshold; and
- the determining a first threshold based on the quantity of channels in the initial channel set and according to a first threshold determining formula includes:
- if the inter-RAT device does not exist within the preset range, determining the first threshold based on the quantity of channels in the initial channel set and according to the first threshold determining formula; where
- X Thresh_max is the second threshold,
- Optionally, a time period of the first CCA detection includes one fixed time interval of 16 µs and n slots of 9 µs, where n is an integer greater than or equal to zero.
- Optionally, the preset time period is 9 µs or 25 µs.
- According to a third aspect, a data transmission apparatus is provided, where the data transmission apparatus is used for a communications device and includes at least one module, and the at least one module is configured to implement the data transmission method according to the first aspect or any one of the possible implementations of the first aspect.
- According to a fourth aspect, a data transmission apparatus is provided, where the data transmission apparatus is used for a communications device and includes at least one module, and the at least one module is configured to implement the data transmission method according to the second aspect or any one of the possible implementations of the second aspect.
- According to a fifth aspect, a data transmission apparatus is provided, where the data transmission apparatus is used for a communications device and includes: at least one processor, at least one network interface, a memory, and at least one bus. The memory and the network interface are separately connected to the processor by using the bus. The processor is configured to execute an instruction stored in the memory; and the processor implements, by executing the instruction, the data transmission method according to the first aspect or any one of the possible implementations of the first aspect.
- According to a sixth aspect, a data transmission apparatus is provided, where the data transmission apparatus is used for a communications device and includes: at least one processor, at least one network interface, a memory, and at least one bus. The memory and the network interface are separately connected to the processor by using the bus. The processor is configured to execute an instruction stored in the memory; and the processor implements, by executing the instruction, the data transmission method according to the second aspect or any one of the possible implementations of the second aspect.
- According to a seventh aspect, a data transmission system is provided, where the data transmission system includes a communications device, and the communications device includes the data transmission apparatus according to the third aspect, the fourth aspect, the fifth aspect, or the sixth aspect.
- According to an eighth aspect, a computer readable storage medium is provided, where the computer readable storage medium stores an instruction, and when the computer readable storage medium runs on a computer, the computer is enabled to perform the method according to the first aspect or the second aspect.
- According to a ninth aspect, a computer program product that includes an instruction is provided, where when the computer program product runs on a computer, the computer is enabled to perform the method according to the first aspect or the second aspect.
- Technical effects obtained in the third aspect to the ninth aspect are similar to technical effects obtained by a corresponding technical means in the first aspect and the second aspect. Details are not described herein again.
- In conclusion, this application provides a data transmission method, apparatus, and system. In the data transmission method, after determining all the channels that can be currently accessed, and determining the target channel for which the result of the initial CCA detection is idle, the communications device performs the auxiliary CCA detection on the preset channel again, and transmits the target data on the target channel only when the result of the auxiliary CCA detection is idle. In other words, after determining the target channel for transmitting data, the NRU communications device needs to detect whether the 802.11 communications device transmits data on the high bandwidth channel corresponding to the same frequency, and data is transmitted on the target channel only when the 802.11 communications device does not transmit data on the high bandwidth channel of the same frequency, thereby effectively avoiding conflict between the NRU communications device and the 802.11 communications device when transmitting the target data, and implementing mutual compatibility between the NRU communications device and the 802.11 communications device.
- It should be understood that the foregoing general description and the following detailed description are merely an example for explanation, and do not limit this application.
-
-
FIG. 1 is a schematic diagram of a data transmission scenario according to an embodiment of the present invention; -
FIG. 2 is a schematic structural diagram of a data transmission apparatus according to an embodiment of the present invention; -
FIG. 3 is a method flowchart of a data transmission method according to an embodiment of the present invention; -
FIG. 4 is a method flowchart of another data transmission method according to an embodiment of the present invention; -
FIG. 5 is a schematic diagram of CCA detection according to an embodiment of the present invention; -
FIG. 6 is another schematic diagram of CCA detection according to an embodiment of the present invention; -
FIG. 7 is still another schematic diagram of CCA detection according to an embodiment of the present invention; -
FIG. 8 is yet another schematic diagram of CCA detection according to an embodiment of the present invention; -
FIG. 9 is a schematic diagram of another data transmission scenario according to an embodiment of the present invention; -
FIG. 10 is a method flowchart of still another data transmission method according to an embodiment of the present invention; -
FIG. 11 is a schematic structural diagram of another data transmission apparatus according to an embodiment of the present invention; -
FIG. 12 is a schematic structural diagram of still another data transmission apparatus according to an embodiment of the present invention; -
FIG. 13 is a schematic structural diagram of yet another data transmission apparatus according to an embodiment of the present invention; -
FIG. 14 is a schematic structural diagram of a data transmission apparatus according to another embodiment of the present invention; -
FIG. 15 is a schematic structural diagram of another data transmission apparatus according to another embodiment of the present invention; -
FIG. 16 is a schematic structural diagram of still another data transmission apparatus according to another embodiment of the present invention; -
FIG. 17 is yet another schematic structural diagram of yet another data transmission apparatus according to another embodiment of the present invention; and -
FIG. 18 is a schematic structural diagram of a data transmission apparatus according to another embodiment of the present invention. - To make the objectives, technical solutions, and advantages of this application clearer, the following further describes the implementations of this application in detail with reference to the accompanying drawings.
-
FIG. 1 is a schematic diagram of a data transmission scenario according to an embodiment of the present invention. As shown inFIG. 1 , anNRU communications device 01 may transmit data on a low bandwidth (for example, a bandwidth of 200 megahertz) channel corresponding to 60 GHz; an 802.11ad communications device 11 may transmit data on a high bandwidth (for example, a bandwidth of 2.16 GHz) channel corresponding to 60 GHz; and an 802.11ay communications device 21 may transmit data on the high bandwidth (for example, the bandwidth of 2.16 GHz) channel corresponding to 60 GHz. In actual application, a bandwidth of a channel for transmitting data by theNRU communications device 01 may also be another bandwidth less than 2.16 GHz. This is not limited in this embodiment of the present invention. - As shown in
FIG. 2 , an embodiment of the present invention provides adata transmission apparatus 31, where thedata transmission apparatus 31 may be used for an NRU communications device. Thedata transmission apparatus 31 may include at least one processor 311 (for example, a central processing unit), at least onenetwork interface 312, amemory 313, and at least onebus 314, configured to implement connection and communication between these apparatuses. Thememory 313 and thenetwork interface 312 may be separately connected to theprocessor 311 by using thebus 314. Theprocessor 311 is configured to perform an executable module stored in thememory 313, for example, a computer program. Thememory 313 may include a high-speed random access memory (Random Access Memory, RAM), or may further include a non-volatile memory (non-volatile memory), for example, at least one disk memory. Connection and communication between the data transmission apparatus and at least one of other network elements are implemented through the at least one network interface 312 (which may be wired or wireless), for example, by using the Internet, a wide area network, a local area network, or a metropolitan area network. In some implementations, thememory 313 stores aprogram 3131, and theprogram 3131 can be executed by theprocessor 311. - As shown in
FIG. 3 , an embodiment of the present invention provides a data transmission method. The data transmission method may be used for a communications device, and the communications device may be anNRU communications device 01 inFIG. 1 . The data transmission method may be implemented by aprocessor 311 inFIG. 2 by executing aprogram 3131. The data transmission method may include the following steps. -
Step 101. An NRU communications device determines target data in at least one piece of initial data based on a priority corresponding to each of the at least one piece of to-be-transmitted initial data. - For example, the NRU communications device may store a one-to-one correspondence between a plurality of data types and a plurality of priorities, in other words, in a one-to-one correspondence stored in the NRU communications device, each data type may be corresponding to one priority. After determining one piece of to-be-transmitted initial data, the NRU communications device may determine, based on a data type of the initial data and the one-to-one correspondence stored in the NRU communications device, a priority corresponding to the initial data, then determine the priority of each of the at least one piece of to-be-transmitted initial data, and determine the target data based on the priority of each of the at least one piece of to-be-transmitted initial data.
- Specifically, the NRU communications device may determine, as the target data, initial data corresponding to a highest priority in the at least one piece of initial data; or the NRU communications device may determine, as the target data, initial data corresponding to a lowest priority in the at least one piece of initial data; or the NRU communications device may determine, as the target data according to a preset rule, initial data for which a corresponding priority meets a preset condition and that is in the at least one piece of initial data. In actual application, the NRU communications device may further determine, in another manner, one piece of initial data in the at least one of initial data as the target data. This is not limited in this embodiment of the present invention.
- Further, the priority recorded in the one-to-one correspondence stored in the NRU communications device may include: a first priority, a second priority, a third priority, and a fourth priority in an enhanced distributed channel access (Enhanced distributed channel access, EDCA) mechanism, and a priority in a distributed coordination function (Distributed coordination function, DCF) mechanism. The priority corresponding to one piece of initial data in the at least one piece of initial data may be one priority of the first priority, the second priority, the third priority, and the fourth priority in the EDCA mechanism, or the priority in the DCF mechanism.
- Specifically, the first priority in the EDCA mechanism may be an AC-VI (Access category video) priority in the EDCA mechanism, a minimum contention window (Minimum contention window, CWmin) value in the first priority may be 7, a maximum contention window (Maximum contention window, CWmax) value may be 15, an arbitrary inter-frame space number (Arbitrary inter-frame space number, AIDSN) value may be 2, and a transmission opportunity limit (Transmission opportunity limit, TXOP limit) value may be 1.504 ms (millisecond); the second priority in the EDCA mechanism may be an AC-VO (Access category voice) priority in the EDCA mechanism, a CWmin value in the second priority may be 15, a CWmax value may be 31, an AIDSN value may be 2, and a TXOP limit value may be 3.008 ms.
- The third priority in the EDCA mechanism may be an AC-BE (Access category best effort) priority in the EDCA mechanism, a CWmin value in the third priority may be 31, a CWmax value may be 1023, an AIDSN value may be 3, and a TXOP limit value may be 0. The fourth priority in the EDCA mechanism may be an AC-BK (Access category background) priority in the EDCA mechanism, a CWmin value in the fourth priority may be 31, a CWmax value may be 1023, an AIDSN value may be 7, and a TXOP limit value may be 0.
-
Step 102. The NRU communications device determines an initial channel set. - After determining the target data in the at least one piece of to-be-transmitted initial data, the NRU communications device may determine all channels that the NRU communications device can currently access, and further determine the initial channel set based on all the channels that the NRU communications device can currently access, where the initial channel set may include all the channels that the NRU communications device can currently access. It should be noted that, for a specific step in which the NRU communications device determines the channel that can be currently accessed, refer to a specific step in which the communications device determines the channel that can be currently accessed in the related technology. Details are not described in this embodiment of the present invention. For example, each channel in the initial channel set mentioned in
step 102 may be a channel corresponding to a frequency of 60 GHz and a bandwidth of 200 MHz, and a bandwidth of each channel in the initial channel set may also be another bandwidth less than 2.16 GHz except the bandwidth of 200 MHz. This is not limited in this embodiment of the present invention. -
Step 103. The NRU communications device performs initial CCA detection on all channels in the initial channel set by using an EDCA mechanism. - For example, after determining the initial channel set, the NRU communications device may perform the initial CCA detection on all the channels in the initial channel set by using the EDCA mechanism, that is, perform the initial CCA detection on each channel corresponding to the frequency of 60 GHz and the bandwidth of 200 MHz in the initial channel set. For a specific step of the initial CCA detection, refer to a CCA detection step in the EDCA mechanism. Details are not described in this embodiment of the present invention. Specifically, the NRU communications device performs the initial CCA detection on the initial channel set to determine whether signal energy on the initial channel set exceeds a threshold for the initial CCA detection. If the signal energy on the initial channel set exceeds the threshold for the initial CCA detection, the NRU communications device may consider that another device is in communication in the initial channel set. If the signal energy on the initial channel set does not exceed the threshold for the initial CCA detection, the NRU communications device may consider that no other device is in communication in the initial channel set.
-
Step 104. The NRU communications device determines, as a target channel, a channel that is in the initial channel set and for which a result of the initial CCA detection is idle. - After the initial CCA detection is performed on each channel in the initial channel set, a result of the initial CCA detection for each channel may be obtained. For example, the result of the initial CCA detection for each initial channel may be busy or idle. In
step 104, the NRU communications device may determine, as the target channel based on the result of the initial CCA detection for each channel in the initial channel set, the channel for which the result of the initial CCA detection is idle. - For example, as shown in Table 1, if the initial channel set includes a channel 1, a channel 2, a channel 3, and a channel 4, a result of the initial CCA detection for the channel 1 is idle, a result of the initial CCA detection for the channel 2 is busy, a result of the initial CCA detection for the channel 3 is idle, and a result of the initial CCA detection for the channel 4 is busy, in
step 103, the NRU communications device may determine that the target channel in the initial channel set is the channel 1 and the channel 3.Table 1 Channel in the initial channel set Result of initial CCA detection Channel 1 Idle Channel 2 Busy Channel 3 Idle Channel 4 Busy -
Step 105. The NRU communications device performs auxiliary CCA detection on a preset channel. - For example, the preset channel may be a channel used by an 802.11ad communications device or an 802.11ay communications device to transmit data in the related technology, in other words, a frequency corresponding to the preset channel may be 60 GHz, and the bandwidth of the preset channel may be 2.16 GHz, and each channel in the initial channel set may be a subchannel of the preset channel.
- After the target channel is determined, the auxiliary CCA detection further needs to be performed on the preset channel, and whether a result of the auxiliary CCA detection for the preset channel is busy is determined, that is, to detect whether the 802.11ad communications device or the 802.11ay communications device transmits data on the preset channel. If the result of the auxiliary CCA detection for the preset channel is busy, it may be determined that the 802.11ad communications device or the 802.11ay communications device transmits data on the preset channel. If the result of the auxiliary CCA detection for the preset channel is idle, it may be determined that no 802.11ad communications device or 802.11ay communications device transmits data on the preset channel.
-
Step 106. If a result of the auxiliary CCA detection is idle, the NRU communications device transmits the target data on the target channel. - If the result of the auxiliary CCA detection for the preset channel is idle, the NRU communications device may determine that no 802.11ad communications device or 802.11ay communications device transmits data on the preset channel. In this case, if the NRU communications device transmits data on the subchannel (for example, the target channel) of the preset channel, the NRU communications device does not collide with the 802.11ad communications device or the 802.11ay communications device, so that the target data can be transmitted relatively smoothly. Therefore, when the result of the auxiliary CCA detection for the preset channel is idle, the NRU communications device may transmit the target data on the target channel.
- In
step 105, if the result of the auxiliary CCA detection for the preset channel is busy, the NRU communications device may determine that the 802.11ad communications device or the 802.11ay communications device transmits data on the preset channel. In this case, if the NRU communications device transmits data on the subchannel (for example, the target channel) of the preset channel, the NRU communications device may collide with the 802.11ad communications device or the 802.11ay communications device, and consequently the target data cannot be transmitted smoothly. Therefore, when the result of the auxiliary CCA detection for the preset channel is busy, the NRU communications device cannot transmit the target data, and the NRU communications device may repeatedly performstep 105 until the result of the auxiliary CCA detection for the preset channel is idle, and then transmit the target data on the target channel. - For example, if the NRU communications device that needs to transmit data in this embodiment of the present invention is the
NRU communications device 01 inFIG. 1 , and theNRU communications device 01 needs to transmit target data, after determining that the result of the auxiliary CCA detection for the preset channel is idle, theNRU communications device 01 may determine that an 802.11ad communications device 11 inFIG. 1 does not transmit data at this time, and an 802.11ay communications device 21 inFIG. 1 does not transmit data at this time. In this case, the NRU communications device may transmit the target data on the target channel. In other words, in this embodiment of the present invention, the NRU communications device can transmit data on a channel corresponding to a relatively high frequency (for example, 60 GHz), thereby greatly improving data transmission efficiency, and can be compatible with an existing 802.11ad communications device and an existing 802.11ay communications device. - In conclusion, in the data transmission method provided in this embodiment of the present invention, after determining all the channels that can be currently accessed, and determining the target channel for which the result of the initial CCA detection is idle, the communications device performs the auxiliary CCA detection on the preset channel again, and transmits the target data on the target channel only when the result of the auxiliary CCA detection is idle. In other words, after determining the target channel for transmitting data, the NRU communications device needs to detect whether the 802.11 communications device transmits data on a high bandwidth channel corresponding to the same frequency, and transmits data on the target channel only when the 802.11 communications device does not transmit data on the high bandwidth channel of the same frequency, thereby effectively avoiding conflict between the NRU communications device and the 802.11 communications device when transmitting the target data, and implementing mutual compatibility between the NRU communications device and the 802.11 communications device.
- As shown in
FIG. 4 , an embodiment of the present invention provides another data transmission method. The data transmission method may be used for a communications device, and the communications device may be anNRU communications device 01 inFIG. 1 . The data transmission method may be implemented by aprocessor 311 inFIG. 2 by executing aprogram 3131. The data transmission method may include the following steps. -
Step 201. An NRU communications device determines target data in at least one piece of initial data based on a priority corresponding to each of the at least one piece of to-be-transmitted initial data. - For example, the NRU communications device may store a one-to-one correspondence between a plurality of data types and a plurality of priorities, in other words, in a one-to-one correspondence stored in the NRU communications device, each data type may be corresponding to one priority. After determining one piece of to-be-transmitted initial data, the NRU communications device may determine, based on a data type of the initial data and the one-to-one correspondence stored in the NRU communications device, a priority corresponding to the initial data, then determine the priority of each of the at least one piece of to-be-transmitted initial data, and determine the target data based on the priority of each of the at least one piece of to-be-transmitted initial data.
- Further, the priority recorded in a one-to-one correspondence stored in the NRU communications device may include: a first priority, a second priority, a third priority, and a fourth priority in a listen before talk (listen before talk, LBT) mechanism. The priority corresponding to one piece of initial data in the at least one piece of initial data may be one priority of the first priority, the second priority, the third priority, and the fourth priority in the LBT mechanism.
- Specifically, in the first priority in the LBT mechanism, a fixed backoff timeslot quantity (mp ) value may be 1, a CWmin value may be 3, a CWmax value may be 7, a TXOP limit value may be 2 ms, and allowed CWp sizes (allowed CWp sizes) may be {3, 7}; in the second priority in the LBT mechanism, an mp value may be 1, a CWmin value may be 7, a CWmax value may be 15, a TXOP limit value may be 3 ms, and allowed CWp sizes may be {7, 15}; in the third priority in the LBT mechanism, an mp value may be 3, a CWmin value may be 15, a CWmax value may be 63, a TXOP limit value may be 8 ms or 15 ms, and allowed CWp sizes may be {15, 31, 63}; in the fourth priority in the LBT mechanism, an mp value may be 7, a CWmin value may be 15, a CWmax value may be 1023, a TXOP limit value may be 8 ms or 15 ms, and allowed CWp sizes may be {15, 31, 63, 127, 255, 511, 1023}.
-
Step 202. The NRU communications device determines an initial channel set. - For example, for a specific step of determining the initial channel set by the NRU communications device in
step 202, refer to a specific step of determining the initial channel set by the NRU communications device instep 102 in the foregoing embodiment, and details are not described herein in this embodiment of the present invention. -
Step 203. The NRU communications device determines a threshold for initial CCA detection. - After determining the initial channel set, the NRU communications device may determine a quantity of channels in the initial channel set, and detect whether an inter-RAT device exists within a preset range. For example, the inter-RAT device may be an 802.11ad communications device or an 802.11ay communications device in a licensed-assisted access (licensed-assisted access, LAA) system. In other words, the NRU communications device may detect whether the inter-RAT device (such as the 802.11ad communications device or the 802.11ay communications device) that has a same frequency as a channel for transmitting data of the NRU communications device exists within a preset range. It should be noted that a distance between the device within the preset range and the NRU communications device is less than a preset distance.
- On one hand, if no inter-RAT device exists within the preset range, the NRU communications device may determine a first threshold based on the quantity of channels in the initial channel set and according to a first threshold determining formula, and use the first threshold as the threshold for the initial CCA detection. Specifically, the first threshold determining formula may be: Y=X+3∗log2M, where Y is the first threshold, X is a threshold corresponding to a channel whose bandwidth is 20 MHz (megahertz), log2M is a logarithm of M with base 2, and M is a quantity of channels participating in CCA detection.
- On the other hand, if the NRU communications device detects that an inter-RAT device exists within the preset range, the NRU communications device may determine a second threshold based on the quantity of channels in the initial channel set and according to a second threshold determining formula, and use the second threshold as the threshold for the initial CCA detection. Specifically, the second threshold determining formula may be:
X Thresh_max is the second threshold, - In a related technology, the threshold for the CCA detection may be determined by using the following formula:
- In other words, the threshold for the CCA detection determined in the related technology is not related to the quantity of channels participating in the CCA detection, and the threshold for the CCA detection cannot be applicable to different scenarios. All the thresholds for the initial CCA detection determined in
step 203 are related to the quantity of channels participating in the CCA detection, in other words, the threshold for the initial CCA detection determined in this embodiment of the present invention can be better adapted to different scenarios. -
Step 204. The NRU communications device performs initial CCA detection on all channels in the initial channel set. - If the threshold for the initial CCA detection determined in
step 203 is the first threshold, the NRU communications device instep 204 may perform the initial CCA detection on all the channels in the initial channel set by using the first threshold. If the threshold for the initial CCA detection determined instep 203 is the second threshold, the NRU communications device instep 204 may perform the initial CCA detection on all the channels in the initial channel set by using the second threshold. For example, the initial CCA detection may include only first CCA detection, or the initial CCA detection may include the first CCA detection and second CCA detection. - For example, when the NRU communications device performs the initial CCA detection on all the channels in the initial channel set by using the threshold for the initial CCA detection determined in
step 203, the NRU communications device may first perform the first CCA detection on all the channels in the initial channel set. If a result of the first CCA detection for the initial channel set is busy at a moment during the first CCA detection, the NRU communications device stops performing the first CCA detection on the initial channel set, and repeatedly performs the second CCA detection on the initial channel set until a result of the second CCA detection for the initial channel set is idle, and then continues the first CCA detection until the first CCA detection ends. It should be noted that, thresholds used in the first CCA detection and the second CCA detection may be the thresholds determined instep 203. - The NRU communications device may perform the first CCA detection of one period on the initial channel set, where the time period of the first CCA detection may include one fixed time interval (Td) of 16 µs (microseconds) and n slots (slot) of 9 µs, where n is an integer greater than or equal to zero. In other words, the NRU communications device may perform LBT backoff of Td+n∗slot (one period) on the initial channel set, perform the first CCA detection on the initial channel set within the Td+n∗slot, and start counting by using a backoff counter at the beginning of performing the first CCA detection on the initial channel set. When a number currently recorded by the backoff counter is 0, the NRU communications device may determine that a time period of the first CCA detection ends at this time.
- If the result of the first CCA detection for the initial channel set is busy at a moment in the process of performing the first CCA detection on the initial channel set by the NRU communications device, the backoff counter stops counting, and the NRU communications device needs to repeatedly perform the second CCA detection on the initial channel set. A time period of the second CCA detection may also include one fixed time interval (Td) of 16 µs (microseconds) and n slots (slot) of 9 µs, where n is an integer greater than or equal to zero, and a quantity n of slots in the period of the second CCA detection and a quantity n of slots in the period of the first CCA detection may be different. If the result of the second CCA detection for the initial channel set is idle at a moment, the NRU communications device may start the first CCA detection on the initial channel set, in other words, the backoff counter may be controlled to continue counting, and the first CCA detection may continue to be performed on the initial channel set.
- On one hand, as shown in
FIG. 5 , the initial channel set may include a channel CC1, a channel CC2, a channel CC3, and a channel CC4. In a process of performing the first CCA detection on all the channels in the initial channel set, if the result of the first CCA detection is busy at a moment, the NRU communications device needs to stop performing the first CCA detection on the initial channel set, and start repeatedly performing the second CCA detection on the initial channel set. When the NRU communications device repeatedly performs the second CCA detection on the initial channel set, the NRU communications device may repeatedly perform the second CCA detection on all the channels in the initial channel set, in other words, the NRU communications device may perform the second CCA detection on the initial channel set (including the channel CC1, the channel CC2, the channel CC3, and the channel CC4) for the first time. If a result of the second CCA detection for the first time is busy, the NRU communications device needs to perform the second CCA detection on the initial channel set (including the channel CC1, the channel CC2, the channel CC3, and the channel CC4) for the second time. If a result of the second CCA detection for the second time is busy, the NRU communications device needs to perform the second CCA detection on the initial channel set for the third time, and repeats this cycle until the result of the second CCA detection for all the channels in the initial channel set is idle, and then continues the first CCA detection. - On the other hand, the initial channel set may include at least two channels. When the NRU communications device repeatedly performs the second CCA detection on the initial channel set, the NRU communications device may obtain a first subset of the initial channel set by using a dichotomy, and perform the second CCA detection on the first subset. If a result of the second CCA detection for the first subset is idle, the first CCA detection continues to be performed on the initial channel set; if the result of the second CCA detection for the first subset is busy, the dichotomy is used to obtain a second subset of the first subset, and the second CCA detection is performed on the second subset; if a result of the second CCA detection for the second subset is idle, the first CCA detection continues; if the result of the second CCA detection for the second subset is busy, it needs to be determined whether the second subset consists of a channel of the initial channel set; if the second subset consists of a channel of the initial channel set, the second CCA detection is repeatedly performed on the second subset until the result of the second CCA detection for the second subset is idle, and then the first CCA detection continues.
- If the initial channel set includes P channels, and the result of the first CCA detection at a moment in the process of performing the first CCA detection on the initial channel set by the NRU communications device is busy, the dichotomy is used to select P/2 channels from the P channels, and the second CCA detection is performed on the P/2 channels. It should be noted that, in this time, a quantity of channels participating in the second CCA detection is P/2, and in this case, a threshold for the second CCA detection varies according to the quantity of channels participating in the CCA detection. If results of the second CCA detection for the P/2 channels are idle, the first CCA detection continues to be performed on the initial channel set; if the results of the second CCA detection for the P/2 channels are still busy, the dichotomy is used to select P/4 channels from the P/2 channels, and the foregoing step is repeated until the only subset obtained by using the dichotomy includes only one channel (the channel may be a channel whose bandwidth is 20 MHz), and the second CCA detection is repeatedly performed on the channel until a result of the second CCA detection for the channel is idle, and then the first CCA detection continues.
- As shown in
FIG. 6 , the initial channel set may include the channel CC1, the channel CC2, the channel CC3, and the channel CC4, and each channel is the channel whose bandwidth is 20 MHz, or a channel whose bandwidth is 200 MHz, or another channel whose bandwidth is less than 2.16 GHz. When the result of the first CCA detection at a moment in the process of performing the first CCA detection on all the channels in the initial channel set by the NRU communications device is busy, two channels (such as the channel CC1 and the channel CC2) are selected from the foregoing four channels by using the dichotomy, and the second CCA detection is performed on the selected two channels, in other words, the second CCA detection is performed on the initial channel set for the first time. If results of the second CCA detection for the two channels are still busy, the dichotomy is used to select one channel (for example, the channel CC1) from the two channels. In this case, because only one channel is obtained by using the dichotomy, the NRU communications device needs to repeatedly perform the second CCA detection on the channel CC1 until a result of the second CCA detection for the channel CC1 is idle, and then continue to perform the first CCA detection. It is assumed that a result of the second CCA detection for the channel CC1 for the first time (namely, the result of the second CCA detection for the initial channel set for the second time) is busy, and a result of the second CCA detection for the channel CC1 for the second time (namely, the result of the second CCA detection for the initial channel set for the third time) is idle, the first CCA detection continues to be performed on the initial channel set. -
Step 205. The NRU communications device determines, as a target channel, a channel that is in the initial channel set and for which a result of the initial CCA detection is idle. - Specifically, after the initial CCA detection performed on the initial channel set by the NRU communications device ends, in other words, after the first CCA detection performed on the initial channel set ends, a channel that is in the initial channel set and for which a result of the first CCA detection is idle in a preset time period before the first CCA detection ends may be determined as the target channel. For example, the preset time period before the first CCA detection ends may be 9 µs or 25 µs. Optionally, the preset time period may be another time interval. This is not limited in this embodiment of the present invention.
-
Step 206. The NRU communications device performs auxiliary CCA detection on a preset channel. - For example, for a specific step of performing the auxiliary CCA detection on the preset channel by the NRU communications device in
step 206, refer to a specific step of performing the auxiliary CCA detection on the preset channel by the NRU communications device instep 105 in the foregoing embodiment, and details are not described herein in this embodiment of the present invention. -
Step 207. If a result of the auxiliary CCA detection is idle, the NRU communications device transmits the target data on the target channel. - For example, for a specific step of transmitting the target data on the target channel by the NRU communications device in
step 207, refer to a specific step of transmitting the target data on the target channel by the NRU communications device instep 106 in the foregoing embodiment, and details are not described herein in this embodiment of the present invention. - If the result of the auxiliary CCA detection in
step 206 is busy, the NRU communications device needs to repeatedly performstep 206 until the result of the auxiliary CCA detection is idle. - As shown in
FIG. 7 , in the related technology, after a transmit end determines a plurality of channels (the plurality of channels including the channel CC1, the channel CC2, the channel CC3, and the channel CC4 are used as an example inFIG. 7 ) that can be currently accessed, the transmit end may first randomly determine a quantity of slots of each channel, and perform the CCA detection on the channel within a time period (including one fixed time interval Td and n slots of each channel, where n is the quantity of slots of the channel), so as to determine whether a status of the channel is idle or busy. It should be noted that, the quantities of slots of all the channels that are randomly determined by the transmit end may be different. Therefore, after the CCA detection on a channel is completed, it is still necessary to wait for the CCA detection on another channel until the CCA detection on all the channels is completed. Then, a channel (for example, the channel CC1, the channel CC3, and the channel CC4 inFIG. 7 ) for which the result of the CCA detection at all moments in the process of the CCA detection is idle is used as a first channel, and a channel (for example, the channel CC2 inFIG. 7 ) for which the result of the CCA detection at at least one moment in the process of the CCA detection is busy is used as a second channel. Finally, the CCA detection needs to be performed again on each first channel in an extra timeslot, and data is transmitted on a first channel (for example, the channel CC1 and the channel CC4 inFIG. 7 ) for which a result of the CCA detection in the extra timeslot is idle, and data transmission is not allowed on the second channel (for example, the channel CC2 inFIG. 7 ) and a first channel (for example, the channel CC3 inFIG. 7 ) for which the result of the CCA detection in the extra timeslot is busy. It should be noted that the extra timeslot may be a timeslot after all the CCA detection is completed. - In the related technology, the transmit end is not allowed to transmit data on the second channel and the first channel for which the result of the CCA detection in the extra timeslot is busy, and when data is transmitted on the first channel, a channel on which data transmission is not allowed may be in an idle state, so that a bandwidth of a channel that is used to transmit data is relatively low, and consequently, data transmission efficiency is relatively low. In this embodiment of the present invention, when the NRU communications device performs the first CCA detection on the initial channel set, if the result of the first CCA detection at a moment is busy, the NRU communications device stops performing the first CCA detection on the initial channel set, and starts repeatedly performing the second CCA detection on the initial channel set until the result of the second CCA detection is idle, and then continues to perform the first CCA detection on the initial channel set. This can effectively use the second channel and the first channel for which the result of the CCA detection in the extra timeslot is busy in the related technology, thereby increasing the bandwidth of the channel that is used to transmit data, increasing data transmission efficiency, and being more applicable to an enhanced data offloading (eMBB offloading) scenario in an NRU.
- As shown in
FIG. 8 , in the related technology, after the transmit end determines the plurality of channels (the plurality of channels including the channel CC1, the channel CC2, the channel CC3, and the channel CC4 are used as an example inFIG. 8 ) that can be currently accessed, the transmit end may first randomly determine a quantity of slots of one channel (for example, the channel CC1) in the plurality of channels, and perform the CCA detection on the channel (the channel CC1) within a time period (including one fixed time interval Td and n slots of the channel, where n is the quantity of slots of the channel, and n is 9 inFIG. 8 ), so as to determine whether the status of the channel is idle or busy. If a result of the CCA detection for the channel is idle in the process of the CCA detection, all the channels further need to be rechecked in a last slot of the n slots to determine whether the result of the CCA detection for each channel in the last slot is idle or busy. If the result of the CCA detection for a third channel (for example, the channel CC1, the channel CC2, and the channel CC3) in all the channels in the last slot is idle, and the result of the CCA detection for a fourth channel (for example, the channel CC4) in all the channels in the last slot is busy, data may be transmitted on the third channel (for example, the channel CC1, the channel CC2, and the channel CC3), and data transmission is not allowed on the fourth channel (for example, the channel CC4). - In the related technology, a transmit end is not allowed to transmit data on the fourth channel, and when data is transmitted on a third channel, the channel on which data transmission is not allowed may be in an idle state, so that the bandwidth of the channel that is used to transmit data is relatively low, and consequently, data transmission efficiency is relatively low. In this embodiment of the present invention, when the NRU communications device performs the first CCA detection on the initial channel set, if the result of the first CCA detection at a moment is busy, the NRU communications device stops performing the first CCA detection on the initial channel set, and starts repeatedly performing the second CCA detection on the initial channel set until the result of the second CCA detection is idle, and then continues to perform the first CCA detection on the initial channel set. This can effectively use the fourth channel in the related technology, thereby increasing the bandwidth of the channel that is used to transmit data, increasing data transmission efficiency, and being more applicable to the eMBB offloading scenario in an NRU.
- In other words, in this embodiment of the present invention, the NRU communications device can transmit data on a channel of a relatively high bandwidth corresponding to a relatively high frequency (for example, 60 GHz), thereby greatly improving data transmission efficiency and being applicable to the eMBB offloading scenario, and can be compatible with an existing 802.11ad communications device and an existing 802.11ay communications device.
- In conclusion, in the data transmission method provided in this embodiment of the present invention, after determining all the channels that can be currently accessed, and determining the target channel for which the result of the initial CCA detection is idle, the communications device performs the auxiliary CCA detection on the preset channel again, and transmits the target data on the target channel only when the result of the auxiliary CCA detection is idle. In other words, after determining the target channel for transmitting data, the NRU communications device needs to detect whether the 802.11 communications device transmits data on a high bandwidth channel corresponding to the same frequency, and transmits data on the target channel only when the 802.11 communications device does not transmit data on the high bandwidth channel of the same frequency, thereby effectively avoiding conflict between the NRU communications device and the 802.11 communications device when transmitting the target data, and implementing mutual compatibility between the NRU communications device and the 802.11 communications device.
-
FIG. 9 is a schematic diagram of another data transmission scenario according to an embodiment of the present invention. As shown inFIG. 9 , anNRU communications device 01 may transmit data on a low bandwidth (for example, a bandwidth of 200 MHz) channel corresponding to 60 GHz; an 802.11ad communications device 11 may transmit data on a high bandwidth (for example, a bandwidth of 2.16 GHz) channel corresponding to 60 GHz; and an 802.11ay communications device 21 may transmit data on the high bandwidth (for example, the bandwidth of 2.16 GHz) channel corresponding to 60 GHz. A next-generation Wi-Fi communications device 31 may transmit data on the high bandwidth corresponding to 60 GHz, and may further transmit data on the low bandwidth corresponding to 60 GHz. For example, Wi-Fi is short for Wireless Fidelity, and Wi-Fi may be a wireless local area network based on the IEEE 802.11b standard. The next-generation Wi-Fi communications device may also be referred to as a future generation 60 GHz (Future Generation 60 GHz, FG60) communications device. In actual application, a bandwidth of a channel for transmitting data by theNRU communications device 01 may also be another bandwidth less than 2.16 GHz. This is not limited in this embodiment of the present invention. - As shown in
FIG. 10 , an embodiment of the present invention provides still another data transmission method. The data transmission method may be used for a communications device, and the communications device may be anNRU communications device 01 inFIG. 9 . The data transmission method may be implemented by aprocessor 311 inFIG. 2 by executing aprogram 3131. The data transmission method may include the following steps. -
Step 301. An NRU communications device determines target data in at least one piece of initial data based on a priority corresponding to each of the at least one piece of to-be-transmitted initial data. - For example, for a specific step of determining the target data by the NRU communications device in
step 301, refer to a specific step of determining the target data by the NRU communications device instep 101 or step 201, and details are not described herein in this embodiment of the present invention. -
Step 302. The NRU communications device detects whether a preamble sent by an FG60 communications device after obtaining a preset channel by contending is received. - Specifically, a frequency corresponding to the preset channel is 60 GHz, and a bandwidth of the preset channel is 2.16 GHz. The FG60 communications device, an 802.11 ad communications device, and an 802.11ay communications device may all transmit data on the preset channel. When the FG60 communications device needs to transmit data, the FG60 communications device needs to first contend with the 802.11ad communications device and the 802.11ay communications device for the preset channel. After the FG60 communications device obtains the preset channel by contending, the FG60 communications device may broadcast the preamble (preamble), where the preamble may include a network allocation vector (NAV) that is used to indicate a remaining time for data transmission, and the NRU communications device may detect, in real time, whether the preamble sent by the FG60 communications device is received.
- In
step 302, if no preamble sent by the FG60 communications device after obtaining the preset channel by contending is received, the NRU communications device may repeatedly detect whether the preamble sent by the FG60 communications device is received, in other words, step 302 is repeatedly performed until the preamble is received. - It should be noted that, before the FG60 communications device sends the preamble, the FG60 communications device may contend for a channel on the preset channel corresponding to the frequency of 60 GHz and the bandwidth of 2.16 GHz, or the FG60 communications device may contend for a channel on the preset channel corresponding to the frequency of 60 GHz and the bandwidth of 2.16 GHz and transmit data on the preset channel after obtaining the preset channel by contending. After the FG60 communications device sends the preamble, the FG60 communications device needs to contend with the NRU communications device for a channel on a low bandwidth whose frequency is 60 GHz, and transmit data on a low bandwidth channel after obtaining the channel by contending. For example, the bandwidth corresponding to the low bandwidth channel for transmitting data by the FG60 communications device is the same as the bandwidth of the channel for transmitting data by the NRU communications device. In other words, after the FG60 communications device sends the preamble, the FG60 communications device needs to contend with the NRU communications device on a channel of a same bandwidth, and transmit data after obtaining the channel by contending.
- If the preamble sent by the FG60 communications device is not received,
step 302 is performed; or if the preamble sent by the FG60 communications device is received,step 303 is performed. -
Step 303. If the NRU communications device receives the preamble sent by the FG60 communications device, the NRU communications device determines an initial channel set. - For example, for a specific step of determining the initial channel set by the NRU communications device in
step 303, refer to a specific step of determining the initial channel set by the NRU communications device instep 102, and details are not described herein in this embodiment of the present invention. -
Step 304. The NRU communications device performs initial CCA detection on all channels in the initial channel set. -
Step 305. The NRU communications device determines, as a target channel, a channel that is in the initial channel set and for which a result of the initial CCA detection is idle. - On one hand, if
step 301 refers to step 101, for a specific step of performing the initial CCA detection by the NRU communications device instep 304, refer to a specific step of performing the initial CCA detection by the NRU communications device instep 103. For a specific step of determining the target channel by the NRU communications device instep 305, refer to a specific step of determining the target channel instep 104, and details are not described herein in this embodiment of the present invention. - On the other hand, if
step 301 refers to step 201, beforestep 304, the NRU communications device may further determine a threshold for the initial CCA detection, and for a specific step of determining the threshold for the initial CCA detection, refer to the specific step of determining the threshold for the initial CCA detection instep 203. For a specific step of performing the initial CCA detection by the NRU communications device instep 304, refer to a specific step of performing the initial CCA detection by the NRU communications device instep 204. For a specific step of determining the target channel by the NRU communications device instep 305, refer to a specific step of determining the target channel instep 205, and details are not described herein in this embodiment of the present invention. -
Step 306. The NRU communications device transmits the target data on the target channel. - If the NRU communications device receives the preamble sent by the FG60 communications device, and the result of the initial CCA detection for the target channel is idle, the NRU communications device may transmit data on the target channel, and does not collide with another communications device (such as the FG60 communications device, the 802.11ad communications device, or the 802.11ay communications device), so as to transmit the target data relatively smoothly. Further, the preamble sent by the FG60 communications device may include the NAV that is used to indicate the remaining time for data transmission, and the NRU communications device may transmit the target data on the target channel based on the remaining time for data transmission indicated by the NAV.
- When the NRU communications device needs to transmit the target data, the NRU communications device needs to detect whether the preamble sent by the FG60 communications device after obtaining the preset channel by contending is received. If the preamble is received, the NRU communications device may determine the initial channel set, perform the initial CCA detection on the initial channel set, determine the target channel based on the result of the initial CCA detection, and then transmit the target data on the target channel.
- In conclusion, in the data transmission method provided in this embodiment of the present invention, when receiving the preamble sent by the FG60 communications device, the NRU communications device may determine all channels that can be currently accessed, and after determining the target channel for which the result of the initial CCA detection is idle, transmit the target data on the target channel. In other words, the NRU communications device transmits data on the target channel only after determining that the 802.11 communications device does not transmit data, and determining that the FG60 communications device does not transmit data on the target channel, thereby effectively avoiding conflict between the NRU communications device and the 802.11 communications device and the FG60 communications device when transmitting the target data, and implementing mutual compatibility between the NRU communications device, and the 802.11 communications device and the FG60 communications device.
- The following is an apparatus embodiment of this application, and the apparatus embodiment may be used to execute the method embodiment of this application. For details not disclosed in the apparatus embodiment of this application, refer to the method embodiment of this application.
- As shown in
FIG. 11 , an embodiment of the present invention provides anotherdata transmission apparatus 40. Thedata transmission apparatus 40 may be used for a communications device, the communications device may be anNRU communications device 01 inFIG. 1 , and thedata transmission apparatus 40 may include: - a first determining
module 401, configured to determine an initial channel set, where the initial channel set includes all channels that the communications device can currently access; - a
first detection module 402, configured to perform initial CCA detection on all channels in the initial channel set; - a second determining
module 403, configured to determine, as a target channel, a channel that is in the initial channel set and for which a result of the initial CCA detection is idle; - a
second detection module 404, configured to perform auxiliary CCA detection on a preset channel, where each channel in the initial channel set is a subchannel of the preset channel; and - a
transmission module 405, configured to: when a result of the auxiliary CCA detection is idle, transmit target data on the target channel. - In conclusion, in the data transmission apparatus provided in this embodiment of the present invention, after the first determining module determines all the channels that can be currently accessed, and after the second determining module determines the target channel for which the result of the initial CCA detection is idle, the second detection module performs the auxiliary CCA detection on the preset channel again, and the transmission module transmits the target data on the target channel only when the result of the auxiliary CCA detection is idle. In other words, after determining the target channel for transmitting data, the NRU communications device needs to detect whether the 802.11 communications device transmits data on a high bandwidth channel corresponding to the same frequency, and data is transmitted on the target channel only when the 802.11 communications device does not transmit data on the high bandwidth channel of the same frequency, thereby effectively avoiding conflict between the NRU communications device and the 802.11 communications device when transmitting the target data, and implementing mutual compatibility between the NRU communications device and the 802.11 communications device.
- As shown in
FIG. 12 , an embodiment of the present invention provides still anotherdata transmission apparatus 40. On a basis ofFIG. 11 , thedata transmission apparatus 40 may further include:
a third determiningmodule 406, configured to determine target data in at least one piece of initial data based on a priority corresponding to each of the at least one piece of to-be-transmitted initial data, where the priority of the initial data is one of a first priority, a second priority, a third priority, and a fourth priority in an EDCA mechanism, or a priority in a DCF mechanism. - Optionally, the
first detection module 402 may be further configured to:
perform initial CCA detection on all channels in an initial channel set by using the EDCA mechanism. - As shown in
FIG. 13 , an embodiment of the present invention provides yet anotherdata transmission apparatus 40. On a basis ofFIG. 11 , thedata transmission apparatus 40 may further include:
a fourth determiningmodule 407, configured to determine target data in at least one piece of initial data based on a priority corresponding to each of the at least one piece of to-be-transmitted initial data, where the priority of the initial data is one of a first priority, a second priority, a third priority, and a fourth priority in an LBT mechanism. - Optionally, the
first detection module 402 may be further configured to:
perform first CCA detection on all the channels in the initial channel set, and if a result of the first CCA detection is busy at a moment during the first CCA detection, stop the first CCA detection and repeatedly perform second CCA detection on the initial channel set until a result of the second CCA detection is idle, and then continue the first CCA detection until the first CCA detection ends. - The second determining
module 403 may be further configured to:
determine, as a target channel, a channel that is in the initial channel set and for which the result of the first CCA detection is idle in a preset time period before the first CCA detection ends. - Optionally, the
first detection module 402 may be further configured to:
repeatedly perform the second CCA detection on all the channels in the initial channel set until the results of the second CCA detection for all the channels in the initial channel set are idle, and then continue the first CCA detection. - Optionally, the initial channel set includes at least two channels, and the
first detection module 402 may be further configured to: - obtain a first subset of the initial channel set by using a dichotomy;
- perform the second CCA detection on the first subset;
- if a result of the second CCA detection for the first subset is idle, continue the first CCA detection;
- if the result of the second CCA detection for the first subset is busy, obtain a second subset of the first subset by using the dichotomy;
- perform the second CCA detection on the second subset;
- if a result of the second CCA detection for the second subset is idle, continue the first CCA detection;
- if the result of the second CCA detection for the second subset is busy, determine whether the second subset consists of a channel of the initial channel set; and
- if the second subset consists of a channel of the initial channel set, repeatedly perform the second CCA detection on the second subset until the result of the second CCA detection for the second subset is idle, and then continue the first CCA detection.
- As shown in
FIG. 14 , another embodiment of the present invention provides adata transmission apparatus 40. On a basis ofFIG. 13 , thedata transmission apparatus 40 may further include: - a fifth determining
module 408, configured to determine a quantity of channels in the initial channel set; - a sixth determining
module 409, configured to determine a first threshold based on the quantity of channels in the initial channel set and according to a first threshold determining formula, where the first threshold determining formula is: Y=X+3∗log2M, Y is the first threshold, X is a threshold corresponding to a 20 MHz bandwidth channel, log2M is a logarithm of M with base 2, and M is a quantity of channels participating in CCA detection; - a
third detection module 410, configured to detect whether an inter-RAT device exists within a preset range, where a distance between a device within the preset range and the communications device is less than a preset distance; and - a seventh determining
module 411, configured to: if the inter-RAT device exists within the preset range, determine a second threshold based on the quantity of channels in the initial channel set and according to a second threshold determining formula, where the second threshold determining formula is: - The
first detection module 402 may be further configured to:
perform the first CCA detection on all the channels in the initial channel set by using the second threshold. - The sixth determining
module 409 may be further configured to: - if the inter-RAT device does not exist within the preset range, determine the first threshold based on the quantity of channels in the initial channel set and according to the first threshold determining formula; where
- X Thresh_max is the second threshold,
- The
first detection module 402 may be further configured to: perform the first CCA detection on all the channels in the initial channel set by using the first threshold. - Optionally, a time period of the first CCA detection includes one fixed time interval of 16 µs and n slots of 9 µs, where n is an integer greater than or equal to zero.
- Optionally, a preset time period is 9 µs or 25 µs.
- Optionally, a frequency corresponding to the preset channel is 60 GHz, and a bandwidth of the preset channel is 2.16 GHz.
- In conclusion, in the data transmission apparatus provided in this embodiment of the present invention, after the first determining module determines all the channels that can be currently accessed, and after the second determining module determines the target channel for which the result of the initial CCA detection is idle, the second detection module performs the auxiliary CCA detection on the preset channel again, and the transmission module transmits the target data on the target channel only when the result of the auxiliary CCA detection is idle. In other words, after determining the target channel for transmitting data, the NRU communications device needs to detect whether the 802.11 communications device transmits data on a high bandwidth channel corresponding to the same frequency, and data is transmitted on the target channel only when the 802.11 communications device does not transmit data on the high bandwidth channel of the same frequency, thereby effectively avoiding conflict between the NRU communications device and the 802.11 communications device when transmitting the target data, and implementing mutual compatibility between the NRU communications device and the 802.11 communications device.
- As shown in
FIG. 15 , another embodiment of the present invention provides anotherdata transmission apparatus 50. The data transmission apparatus may be used for a communications device, the communications device may be acommunications device 01 inFIG. 9 , and thedata transmission apparatus 50 may include: - a
first detection module 501, configured to detect whether a preamble sent by a future generation FG60 communications device after obtaining a preset channel by contending is received, where a frequency corresponding to the preset channel is 60 GHz, and a bandwidth of the preset channel is 2.16 GHz; - a first determining
module 502, configured to: when the preamble is received, determine an initial channel set, where the initial channel set includes all channels that the communications device can currently access, and each channel in the initial channel set is a subchannel of the preset channel; - a
second detection module 503, configured to perform initial clear channel assessment CCA detection on all the channels in the initial channel set; - a second determining
module 504, configured to determine, as a target channel, a channel that is in the initial channel set and for which a result of the initial CCA detection is idle; and - a
transmission module 505, configured to transmit target data on a target channel. - In conclusion, in the data transmission apparatus provided in this embodiment of the present invention, when the first detection module detects that the preamble sent by the FG60 communications device is received, the first determining module determines all the channels that can be currently accessed, and after the second determining module determines the target channel for which the result of the initial CCA detection is idle, the transmission module transmits the target data on the target channel. In other words, the NRU communications device transmits data on the target channel only after determining that the 802.11 communications device does not transmit data, and determining that the FG60 communications device does not transmit data on the target channel, thereby effectively avoiding conflict between the NRU communications device and the 802.11 communications device and the FG60 communications device when transmitting the target data, and implementing mutual compatibility between the NRU communications device, and the 802.11 communications device and the FG60 communications device.
- Optionally, the
first detection module 501 may be configured to perform the method instep 302 in the embodiment shown inFIG. 10 ; the first determiningmodule 502 may be configured to perform the method instep 303 in the embodiment shown inFIG. 10 ; thesecond detection module 503 may be configured to perform the method instep 304 in the embodiment shown inFIG. 10 ; the second determiningmodule 504 may be configured to perform the method instep 305 in the embodiment shown inFIG. 10 ; and thetransmission module 505 may be configured to perform the method instep 306 in the embodiment shown inFIG. 10 . - As shown in
FIG. 16 , another embodiment of the present invention provides still anotherdata transmission apparatus 50. On a basis ofFIG. 15 , thedata transmission apparatus 50 may further include a third determiningmodule 506, which has a same or similar function as the third determiningmodule 406. The third determiningmodule 506 may be configured to perform the method, which is referred to bystep 301, instep 101 in the embodiment shown inFIG. 10 . - As shown in
FIG. 17 , another embodiment of the present invention provides yet anotherdata transmission apparatus 50. On a basis ofFIG. 15 , thedata transmission apparatus 50 may further include a fourth determiningmodule 507, which has a same or similar function as the fourth determiningmodule 407. The fourth determiningmodule 507 may be configured to perform the method, which is referred to bystep 301, instep 201 in the embodiment shown inFIG. 10 . - As shown in
FIG. 18 , another embodiment of the present invention provides adata transmission apparatus 50. On a basis ofFIG. 17 , thedata transmission apparatus 50 may further include a fifth determiningmodule 508, a sixth determiningmodule 509, athird detection module 510, and a seventh determiningmodule 511. The fifth determiningmodule 508 has a same or similar function as the fifth determiningmodule 408; the sixth determiningmodule 509 has a same or similar function as the sixth determiningmodule 409; thethird detection module 510 has a same or similar function as thethird detection module 410; and the seventh determiningmodule 511 has a same or similar function as the seventh determiningmodule 411. The fifth determiningmodule 508, the sixth determiningmodule 509, thethird detection module 510, and the seventh determiningmodule 511 are jointly configured to perform the method for determining a threshold for initial CCA detection that is performed beforestep 304 in the embodiment shown inFIG. 10 . For the method for determining the threshold for the initial CCA detection, refer to the method instep 203 in the embodiment shown inFIG. 4 . - Optionally, a preamble may include a NAV that is used to indicate a remaining time for data transmission, and the
transmission module 505 may be further configured to transmit target data on a target channel based on the remaining time for data transmission indicated by the NAV. - In conclusion, in the data transmission apparatus provided in this embodiment of the present invention, when the first detection module detects that the preamble sent by the FG60 communications device is received, the first determining module determines all the channels that can be currently accessed, and after the second determining module determines the target channel for which the result of the initial CCA detection is idle, the transmission module transmits the target data on the target channel. In other words, the NRU communications device transmits data on the target channel only after determining that the 802.11 communications device does not transmit data, and determining that the FG60 communications device does not transmit data on the target channel, thereby effectively avoiding conflict between the NRU communications device and the 802.11 communications device and the FG60 communications device when transmitting the target data, and implementing mutual compatibility between the NRU communications device, and the 802.11 communications device and the FG60 communications device.
- An embodiment of the present invention provides a data transmission system, where the data transmission system may include a communications device, and the communications device may include a data transmission apparatus shown in
FIG. 2 ,FIG. 11 ,FIG. 12 ,FIG. 13 ,FIG. 14 ,FIG. 15 ,FIG. 16 ,FIG. 17 , orFIG. 18 . - All or some of the foregoing embodiments may be implemented by using software, hardware, firmware, or any combination thereof. When the foregoing embodiments are implemented by using software, the embodiments may be all or partially implemented in a form of a computer program product. The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on the computer, the procedures or functions according to the embodiments of the present invention are all or partially generated. The computer may be a general-purpose computer, a computer network, or another programmable apparatus. The computer instructions may be stored in a computer-readable storage medium or may be transmitted from a computer-readable storage medium to another computer-readable storage medium. For example, the computer instructions may be transmitted from a website, computer, server, or data center to another website, computer, server, or data center in a wired (for example, a coaxial cable, an optical fiber, or a digital subscriber line) or wireless (for example, infrared, radio, or microwave) manner. The computer-readable storage medium may be any usable medium accessible by a computer, or a data storage device, such as a server or a data center, integrating one or more usable media. The usable medium may be a magnetic medium (for example, a floppy disk, a hard disk, or a magnetic tape), an optical medium, a semiconductor medium (for example, a solid state drive), or the like.
- It should be noted that a sequence of the steps of the data transmission method provided in the embodiments of the present invention may be properly adjusted, and a step may be added or removed based on situations. Any variation readily figured out by a person skilled in the art within the technical scope disclosed in this application shall fall within the protection scope of this application if falling within the scope defined by the appended claims, and details are not described herein.
- A person of ordinary skill in the art may understand that all or some of the steps of the embodiments may be implemented by hardware or a program instructing related hardware. The program may be stored in a computer-readable storage medium. The storage medium may include a read-only memory, a magnetic disk, an optical disc, or the like.
- The foregoing descriptions are merely optional embodiments of this application, but are not intended to limit this application. Any modification, equivalent replacement, or improvement made without departing from the principle of this application should fall within the protection scope of this application if falling within the scope defined by the appended claims.
Claims (15)
- A data transmission method, wherein the method is performed by a communications device and comprises:determining (202) an initial channel set, wherein the initial channel set comprises all channels that the communications device is currently capable of accessing;performing (204) initial clear channel assessment, CCA, detection on all the channels in the initial channel set;determining (205), as a target channel, a channel that is in the initial channel set and for which a result of the initial CCA detection is idle;performing (206) auxiliary CCA detection on a preset channel, wherein each channel in the initial channel set is a subchannel of the preset channel, a frequency of the preset channel is the same as a frequency of the each channel in the initial channel set, and a bandwidth of the preset channel is larger than a bandwidth of the each channel in the initial channel set; andif a result of the auxiliary CCA detection is idle, transmitting target data on the target channel.
- The method according to claim 1, wherein the performing (204) initial CCA detection on all the channels in the initial channel set comprises:performing the initial CCA detection on all the channels in the initial channel set by using an enhanced distributed channel access, EDCA, mechanism; andbefore the determining an initial channel set, the method further comprises:
determining target data in at least one piece of initial data based on a priority corresponding to each of the at least one piece of to-be-transmitted initial data, wherein the priority of the initial data is one of a first priority, a second priority, a third priority, and a fourth priority in the EDCA mechanism, or a priority in a distributed coordination function, DCF, mechanism. - The method according to claim 1, wherein
the performing (204) initial clear channel assessment CCA detection on all the channels in the initial channel set comprises:performing first CCA detection on all the channels in the initial channel set, and if a result of the first CCA detection is busy at a moment during the first CCA detection, stopping the first CCA detection and repeatedly performing second CCA detection on the initial channel set until a result of the second CCA detection is idle, and then continuing the first CCA detection until the first CCA detection ends;the determining (205), as a target channel, a channel that is in the initial channel set and for which a result of the initial CCA detection is idle comprises:determining, as a target channel, a channel that is in the initial channel set and for which the result of the first CCA detection is idle in a preset time period before the first CCA detection ends; andbefore the determining (202) an initial channel set, the method further comprises:
determining (201) target data in at least one piece of initial data based on a priority corresponding to each of the at least one piece of to-be-transmitted initial data, wherein the priority of the initial data is one of a first priority, a second priority, a third priority, and a fourth priority in a listen before talk, LBT, mechanism. - The method according to claim 3, wherein the repeatedly performing second CCA detection on the initial channel set until a result of the second CCA detection is idle, and then continuing the first CCA detection comprises:
repeatedly performing the second CCA detection on all the channels in the initial channel set until the results of the second CCA detection for all the channels in the initial channel set are idle, and then continuing the first CCA detection. - The method according to claim 3, wherein the initial channel set comprises at least two channels, and the repeatedly performing second CCA detection on the initial channel set until a result of the second CCA detection is idle, and then continuing the first CCA detection comprises:obtaining a first subset of the initial channel set by using a dichotomy;performing the second CCA detection on the first subset;if a result of the second CCA detection for the first subset is idle, continuing the first CCA detection;if the result of the second CCA detection for the first subset is busy, obtaining a second subset of the first subset by using the dichotomy;performing the second CCA detection on the second subset;if a result of the second CCA detection for the second subset is idle, continuing the first CCA detection;if the result of the second CCA detection for the second subset is busy, determining whether the second subset consists of a channel of the initial channel set; andif the second subset consists of a channel of the initial channel set, repeatedly performing the second CCA detection on the second subset until the result of the second CCA detection for the second subset is idle, and then continuing the first CCA detection.
- The method according to claim 3, wherein before the performing first CCA detection on all the channels in the initial channel set, the method further comprises:determining a quantity of channels in the initial channel set; anddetermining a first threshold based on the quantity of channels in the initial channel set and according to a first threshold determining formula, wherein the first threshold determining formula is: Y=X+3∗log2M, Y is the first threshold, X is a threshold corresponding to a 20 MHz bandwidth channel, log2M is a logarithm of M with base 2, and M is a quantity of channels participating in CCA detection; andthe performing first CCA detection on all the channels in the initial channel set comprises:
performing the first CCA detection on all the channels in the initial channel set by using the first threshold. - The method according to claim 6, wherein before the determining a first threshold based on the quantity of channels in the initial channel set and according to a first threshold determining formula, the method further comprises:detecting whether an inter-RAT device exists within a preset range, wherein a distance between a device within the preset range and the communications device is less than a preset distance; andif the inter-RAT device exists within the preset range, determining a second threshold based on the quantity of channels in the initial channel set and according to a second threshold determining formula, wherein the second threshold determining formula is:the performing first CCA detection on all the channels in the initial channel set comprises:performing the first CCA detection on all the channels in the initial channel set by using the second threshold; andthe determining a first threshold based on the quantity of channels in the initial channel set and according to a first threshold determining formula comprises:if the inter-RAT device does not exist within the preset range, determining the first threshold based on the quantity of channels in the initial channel set and according to the first threshold determining formula; whereinX Thresh_max is the second threshold,
- A data transmission apparatus (40), wherein the data transmission apparatus is used for a communications device and comprises:a first determining module (401), configured to determine an initial channel set, wherein the initial channel set comprises all channels that the communications device is currently capable of accessing;a first detection module (402), configured to perform initial clear channel assessment, CCA, detection on all the channels in the initial channel set;a second determining module (403), configured to determine, as a target channel, a channel that is in the initial channel set and for which a result of the initial CCA detection is idle;a second detection module (404), configured to perform auxiliary CCA detection on a preset channel, wherein each channel in the initial channel set is a subchannel of the preset channel, a frequency of the preset channel is the same as a frequency of the each channel in the initial channel set, and a bandwidth of the preset channel is larger than a bandwidth of the each channel in the initial channel set; anda transmission module (405), configured to: when a result of the auxiliary CCA detection is idle, transmit target data on the target channel.
- The data transmission apparatus (40) according to claim 8, wherein the first detection module (402) is further configured to:perform the initial CCA detection on all the channels in the initial channel set by using an enhanced distributed channel access, EDCA, mechanism; andthe data transmission apparatus (40) further comprises:
a third determining module (406), configured to determine target data in at least one piece of initial data based on a priority corresponding to each of the at least one piece of to-be-transmitted initial data, wherein the priority of the initial data is one of a first priority, a second priority, a third priority, and a fourth priority in the EDCA mechanism, or a priority in a distributed coordination function, DCF, mechanism. - The data transmission apparatus according to claim 8, wherein
the first detection module (402) is further configured to:perform first CCA detection on all the channels in the initial channel set, and if a result of the first CCA detection is busy at a moment during the first CCA detection, stop the first CCA detection and repeatedly perform second CCA detection on the initial channel set until a result of the second CCA detection is idle, and then continue the first CCA detection until the first CCA detection ends;the second determining module (403) is further configured to:determine, as a target channel, a channel that is in the initial channel set and for which the result of the first CCA detection is idle in a preset time period before the first CCA detection ends; andthe data transmission apparatus (40) further comprises:
a fourth determining module (407), configured to determine target data in at least one piece of initial data based on a priority corresponding to each of the at least one piece of to-be-transmitted initial data, wherein the priority of the initial data is one of a first priority, a second priority, a third priority, and a fourth priority in a listen before talk, LBT, mechanism. - The data transmission apparatus (40) according to claim 10, wherein the first detection module (402) is further configured to:
repeatedly perform the second CCA detection on all the channels in the initial channel set until the results of the second CCA detection for all the channels in the initial channel set are idle, and then continue the first CCA detection. - The data transmission apparatus (40) according to claim 10, wherein the initial channel set comprises at least two channels, and the first detection module (402) is further configured to:obtain a first subset of the initial channel set by using a dichotomy;perform the second CCA detection on the first subset;if a result of the second CCA detection for the first subset is idle, continue the first CCA detection;if the result of the second CCA detection for the first subset is busy, obtain a second subset of the first subset by using the dichotomy;perform the second CCA detection on the second subset;if a result of the second CCA detection for the second subset is idle, continue the first CCA detection;if the result of the second CCA detection for the second subset is busy, determine whether the second subset consists of a channel of the initial channel set; andif the second subset consists of a channel of the initial channel set, repeatedly perform the second CCA detection on the second subset until the result of the second CCA detection for the second subset is idle, and then continue the first CCA detection.
- The data transmission apparatus (40) according to claim 10, wherein the data transmission apparatus (40) further comprises:a fifth determining module (408), configured to determine a quantity of channels in the initial channel set; anda sixth determining module (409), configured to determine a first threshold based on the quantity of channels in the initial channel set and according to a first threshold determining formula, wherein the first threshold determining formula is: Y=X+3∗log2M, Y is the first threshold, X is a threshold corresponding to a 20 MHz bandwidth channel, log2M is a logarithm of M with base 2, and M is a quantity of channels participating in CCA detection; andthe first detection module (402) is further configured to:
perform the first CCA detection on all the channels in the initial channel set by using the first threshold. - The data transmission apparatus (40) according to claim 13, wherein the data transmission apparatus (40) further comprises:a third detection module (410), configured to detect whether an inter-RAT device exists within a preset range, wherein a distance between a device within the preset range and the communications device is less than a preset distance; anda seventh determining module (411), configured to: when the inter-RAT device exists within the preset range, determine a second threshold based on the quantity of channels in the initial channel set and according to a second threshold determining formula, wherein the second threshold determining formula is:the first detection module (402) is further configured to:perform the first CCA detection on all the channels in the initial channel set by using the second threshold; andthe sixth determining module (409) is further configured to:when the inter-RAT device does not exist within the preset range, determine the first threshold based on the quantity of channels in the initial channel set and according to the first threshold determining formula; whereinX Thresh_max is the second threshold,
- A data transmission system, wherein the data transmission system comprises a communications device, and the communications device comprises the data transmission apparatus (40) according to any one of claims 8 to 14.
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610711810.7A CN107770879B (en) | 2016-08-23 | 2016-08-23 | Data transmission method, device and system |
PCT/CN2017/090045 WO2018036260A1 (en) | 2016-08-23 | 2017-06-26 | Data transmission method, device and system |
Publications (3)
Publication Number | Publication Date |
---|---|
EP3474623A1 EP3474623A1 (en) | 2019-04-24 |
EP3474623A4 EP3474623A4 (en) | 2019-06-12 |
EP3474623B1 true EP3474623B1 (en) | 2021-04-14 |
Family
ID=61245473
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
EP17842684.7A Active EP3474623B1 (en) | 2016-08-23 | 2017-06-26 | Data transmission method, device and system |
Country Status (4)
Country | Link |
---|---|
US (1) | US20190191458A1 (en) |
EP (1) | EP3474623B1 (en) |
CN (1) | CN107770879B (en) |
WO (1) | WO2018036260A1 (en) |
Families Citing this family (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112584543A (en) * | 2019-09-27 | 2021-03-30 | 中兴通讯股份有限公司 | Communication link determining method, device, equipment and storage medium |
CN110932801B (en) * | 2019-11-29 | 2021-09-07 | 展讯通信(上海)有限公司 | Channel detection method and device, storage medium, WiFi device and NR-U device |
US11510245B2 (en) | 2021-04-23 | 2022-11-22 | Apple Inc. | Thread boost mode for carrier-sense multiple access/carrier aggregation (CSMA/CA) |
Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20190029047A1 (en) * | 2016-01-21 | 2019-01-24 | Yulong Computer Telecommunication Scientific (Shenzhen) Co., Ltd. | Channel detection method, channel detection device, and terminal |
Family Cites Families (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102656941B (en) * | 2009-11-13 | 2015-03-25 | 马维尔国际贸易有限公司 | Multi-channel wireless communications |
CN103220065B (en) * | 2012-01-18 | 2018-02-06 | 中兴通讯股份有限公司 | The method of adjustment and device of clear channel assessment threshold |
EP3008843B1 (en) * | 2013-06-24 | 2017-09-06 | MediaTek Singapore Pte Ltd. | Increased network throughput with cca level enhancement |
US9537688B2 (en) * | 2013-07-05 | 2017-01-03 | Qualcomm Incorporated | Methods and apparatus for clear channel assessment |
EP3011793B1 (en) * | 2013-07-17 | 2018-09-12 | MediaTek Singapore Pte Ltd. | Wide bandwidth favored channel access methods in wireless local area networks |
CN105453686B (en) * | 2013-08-04 | 2019-07-16 | Lg电子株式会社 | Method and apparatus for accessing channel |
US9420472B2 (en) * | 2013-09-27 | 2016-08-16 | Qualcomm Incorporated | Prioritization of different operators in shared spectrum |
US9345047B2 (en) * | 2013-10-04 | 2016-05-17 | Qualcomm Incorporated | Techniques for assessing clear channel in an unlicensed radio frequency spectrum band |
US10476615B2 (en) * | 2014-07-16 | 2019-11-12 | Qualcomm Incorporated | Techniques for scaling bandwidth of an unlicensed radio frequency spectrum band |
US9794792B2 (en) * | 2014-09-26 | 2017-10-17 | Qualcomm Incorporated | Shared spectrum operation |
CN104717686B (en) * | 2015-03-31 | 2018-11-30 | 深圳酷派技术有限公司 | A kind of channel detection method and network element device of unauthorized frequency range |
-
2016
- 2016-08-23 CN CN201610711810.7A patent/CN107770879B/en active Active
-
2017
- 2017-06-26 WO PCT/CN2017/090045 patent/WO2018036260A1/en unknown
- 2017-06-26 EP EP17842684.7A patent/EP3474623B1/en active Active
-
2019
- 2019-02-22 US US16/283,184 patent/US20190191458A1/en not_active Abandoned
Patent Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20190029047A1 (en) * | 2016-01-21 | 2019-01-24 | Yulong Computer Telecommunication Scientific (Shenzhen) Co., Ltd. | Channel detection method, channel detection device, and terminal |
Also Published As
Publication number | Publication date |
---|---|
CN107770879B (en) | 2020-06-16 |
US20190191458A1 (en) | 2019-06-20 |
EP3474623A1 (en) | 2019-04-24 |
EP3474623A4 (en) | 2019-06-12 |
CN107770879A (en) | 2018-03-06 |
WO2018036260A1 (en) | 2018-03-01 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US11064524B2 (en) | Method and apparatus for listening based transmission | |
JP6606596B2 (en) | Adaptation of contention window in multi-carrier LBT protocol | |
US9992797B2 (en) | Wide bandwidth favored channel access methods in wireless local area networks | |
US10123352B2 (en) | Fairness in wireless networks with adaptive clear channel assessment thresholds | |
KR101425759B1 (en) | Channel access mechanism for wide channels used in overlapping networks | |
US9973319B2 (en) | Network Allocation Vector Improvement for Wireless Networks | |
US10506615B2 (en) | Method for performing communication by using spectrum resource and communications device | |
JP2018531534A6 (en) | Adaptation of contention window in multi-carrier LBT protocol | |
CN108702791B (en) | Listen before talk for uplink transmissions | |
EP3474623B1 (en) | Data transmission method, device and system | |
CN106455114B (en) | Backoff method and device based on multiple channels | |
US20190174501A1 (en) | Unlicensed spectrum-based wireless communication method, base station, and terminal device | |
US11445503B2 (en) | Data transmission method and device for multiple radio frequency systems, storage medium and terminal | |
CN113825249B (en) | Channel competition method and related device | |
US10484944B2 (en) | Data transmission method, apparatus, and device | |
EP3251392B1 (en) | A method and a wireless device for performing a listen-before-talk (lbt) radio protocol | |
CN113475152A (en) | Communication apparatus and method | |
US20220124801A1 (en) | Channel Access Method and Apparatus for Transmission of a Signal in Unlicensed Spectrum | |
US20220240318A1 (en) | Data sending method and communications device | |
WO2022141559A1 (en) | Power determination method, apparatus and system | |
EP3497957B1 (en) | Method and devices for carrier sensing | |
CN109983795B (en) | Method and apparatus for facilitating data transmission |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
STAA | Information on the status of an ep patent application or granted ep patent |
Free format text: STATUS: THE INTERNATIONAL PUBLICATION HAS BEEN MADE |
|
PUAI | Public reference made under article 153(3) epc to a published international application that has entered the european phase |
Free format text: ORIGINAL CODE: 0009012 |
|
STAA | Information on the status of an ep patent application or granted ep patent |
Free format text: STATUS: REQUEST FOR EXAMINATION WAS MADE |
|
17P | Request for examination filed |
Effective date: 20190118 |
|
AK | Designated contracting states |
Kind code of ref document: A1 Designated state(s): AL AT BE BG CH CY CZ DE DK EE ES FI FR GB GR HR HU IE IS IT LI LT LU LV MC MK MT NL NO PL PT RO RS SE SI SK SM TR |
|
AX | Request for extension of the european patent |
Extension state: BA ME |
|
A4 | Supplementary search report drawn up and despatched |
Effective date: 20190515 |
|
RIC1 | Information provided on ipc code assigned before grant |
Ipc: H04W 16/14 20090101ALN20190509BHEP Ipc: H04W 74/08 20090101AFI20190509BHEP |
|
DAV | Request for validation of the european patent (deleted) | ||
DAX | Request for extension of the european patent (deleted) | ||
GRAP | Despatch of communication of intention to grant a patent |
Free format text: ORIGINAL CODE: EPIDOSNIGR1 |
|
STAA | Information on the status of an ep patent application or granted ep patent |
Free format text: STATUS: GRANT OF PATENT IS INTENDED |
|
INTG | Intention to grant announced |
Effective date: 20201102 |
|
GRAS | Grant fee paid |
Free format text: ORIGINAL CODE: EPIDOSNIGR3 |
|
GRAA | (expected) grant |
Free format text: ORIGINAL CODE: 0009210 |
|
STAA | Information on the status of an ep patent application or granted ep patent |
Free format text: STATUS: THE PATENT HAS BEEN GRANTED |
|
AK | Designated contracting states |
Kind code of ref document: B1 Designated state(s): AL AT BE BG CH CY CZ DE DK EE ES FI FR GB GR HR HU IE IS IT LI LT LU LV MC MK MT NL NO PL PT RO RS SE SI SK SM TR |
|
REG | Reference to a national code |
Ref country code: GB Ref legal event code: FG4D |
|
REG | Reference to a national code |
Ref country code: CH Ref legal event code: EP |
|
REG | Reference to a national code |
Ref country code: DE Ref legal event code: R096 Ref document number: 602017036855 Country of ref document: DE |
|
REG | Reference to a national code |
Ref country code: IE Ref legal event code: FG4D |
|
REG | Reference to a national code |
Ref country code: AT Ref legal event code: REF Ref document number: 1383603 Country of ref document: AT Kind code of ref document: T Effective date: 20210515 |
|
REG | Reference to a national code |
Ref country code: LT Ref legal event code: MG9D |
|
REG | Reference to a national code |
Ref country code: AT Ref legal event code: MK05 Ref document number: 1383603 Country of ref document: AT Kind code of ref document: T Effective date: 20210414 |
|
REG | Reference to a national code |
Ref country code: NL Ref legal event code: MP Effective date: 20210414 |
|
PG25 | Lapsed in a contracting state [announced via postgrant information from national office to epo] |
Ref country code: NL Free format text: LAPSE BECAUSE OF FAILURE TO SUBMIT A TRANSLATION OF THE DESCRIPTION OR TO PAY THE FEE WITHIN THE PRESCRIBED TIME-LIMIT Effective date: 20210414 Ref country code: HR Free format text: LAPSE BECAUSE OF FAILURE TO SUBMIT A TRANSLATION OF THE DESCRIPTION OR TO PAY THE FEE WITHIN THE PRESCRIBED TIME-LIMIT Effective date: 20210414 Ref country code: AT Free format text: LAPSE BECAUSE OF FAILURE TO SUBMIT A TRANSLATION OF THE DESCRIPTION OR TO PAY THE FEE WITHIN THE PRESCRIBED TIME-LIMIT Effective date: 20210414 Ref country code: BG Free format text: LAPSE BECAUSE OF FAILURE TO SUBMIT A TRANSLATION OF THE DESCRIPTION OR TO PAY THE FEE WITHIN THE PRESCRIBED TIME-LIMIT Effective date: 20210714 Ref country code: FI Free format text: LAPSE BECAUSE OF FAILURE TO SUBMIT A TRANSLATION OF THE DESCRIPTION OR TO PAY THE FEE WITHIN THE PRESCRIBED TIME-LIMIT Effective date: 20210414 Ref country code: LT Free format text: LAPSE BECAUSE OF FAILURE TO SUBMIT A TRANSLATION OF THE DESCRIPTION OR TO PAY THE FEE WITHIN THE PRESCRIBED TIME-LIMIT Effective date: 20210414 |
|
PG25 | Lapsed in a contracting state [announced via postgrant information from national office to epo] |
Ref country code: IS Free format text: LAPSE BECAUSE OF FAILURE TO SUBMIT A TRANSLATION OF THE DESCRIPTION OR TO PAY THE FEE WITHIN THE PRESCRIBED TIME-LIMIT Effective date: 20210814 Ref country code: GR Free format text: LAPSE BECAUSE OF FAILURE TO SUBMIT A TRANSLATION OF THE DESCRIPTION OR TO PAY THE FEE WITHIN THE PRESCRIBED TIME-LIMIT Effective date: 20210715 Ref country code: NO Free format text: LAPSE BECAUSE OF FAILURE TO SUBMIT A TRANSLATION OF THE DESCRIPTION OR TO PAY THE FEE WITHIN THE PRESCRIBED TIME-LIMIT Effective date: 20210714 Ref country code: PT Free format text: LAPSE BECAUSE OF FAILURE TO SUBMIT A TRANSLATION OF THE DESCRIPTION OR TO PAY THE FEE WITHIN THE PRESCRIBED TIME-LIMIT Effective date: 20210816 Ref country code: PL Free format text: LAPSE BECAUSE OF FAILURE TO SUBMIT A TRANSLATION OF THE DESCRIPTION OR TO PAY THE FEE WITHIN THE PRESCRIBED TIME-LIMIT Effective date: 20210414 Ref country code: LV Free format text: LAPSE BECAUSE OF FAILURE TO SUBMIT A TRANSLATION OF THE DESCRIPTION OR TO PAY THE FEE WITHIN THE PRESCRIBED TIME-LIMIT Effective date: 20210414 Ref country code: SE Free format text: LAPSE BECAUSE OF FAILURE TO SUBMIT A TRANSLATION OF THE DESCRIPTION OR TO PAY THE FEE WITHIN THE PRESCRIBED TIME-LIMIT Effective date: 20210414 Ref country code: RS Free format text: LAPSE BECAUSE OF FAILURE TO SUBMIT A TRANSLATION OF THE DESCRIPTION OR TO PAY THE FEE WITHIN THE PRESCRIBED TIME-LIMIT Effective date: 20210414 |
|
REG | Reference to a national code |
Ref country code: DE Ref legal event code: R097 Ref document number: 602017036855 Country of ref document: DE |
|
PG25 | Lapsed in a contracting state [announced via postgrant information from national office to epo] |
Ref country code: SM Free format text: LAPSE BECAUSE OF FAILURE TO SUBMIT A TRANSLATION OF THE DESCRIPTION OR TO PAY THE FEE WITHIN THE PRESCRIBED TIME-LIMIT Effective date: 20210414 Ref country code: SK Free format text: LAPSE BECAUSE OF FAILURE TO SUBMIT A TRANSLATION OF THE DESCRIPTION OR TO PAY THE FEE WITHIN THE PRESCRIBED TIME-LIMIT Effective date: 20210414 Ref country code: EE Free format text: LAPSE BECAUSE OF FAILURE TO SUBMIT A TRANSLATION OF THE DESCRIPTION OR TO PAY THE FEE WITHIN THE PRESCRIBED TIME-LIMIT Effective date: 20210414 Ref country code: ES Free format text: LAPSE BECAUSE OF FAILURE TO SUBMIT A TRANSLATION OF THE DESCRIPTION OR TO PAY THE FEE WITHIN THE PRESCRIBED TIME-LIMIT Effective date: 20210414 Ref country code: RO Free format text: LAPSE BECAUSE OF FAILURE TO SUBMIT A TRANSLATION OF THE DESCRIPTION OR TO PAY THE FEE WITHIN THE PRESCRIBED TIME-LIMIT Effective date: 20210414 Ref country code: CZ Free format text: LAPSE BECAUSE OF FAILURE TO SUBMIT A TRANSLATION OF THE DESCRIPTION OR TO PAY THE FEE WITHIN THE PRESCRIBED TIME-LIMIT Effective date: 20210414 Ref country code: DK Free format text: LAPSE BECAUSE OF FAILURE TO SUBMIT A TRANSLATION OF THE DESCRIPTION OR TO PAY THE FEE WITHIN THE PRESCRIBED TIME-LIMIT Effective date: 20210414 Ref country code: MC Free format text: LAPSE BECAUSE OF FAILURE TO SUBMIT A TRANSLATION OF THE DESCRIPTION OR TO PAY THE FEE WITHIN THE PRESCRIBED TIME-LIMIT Effective date: 20210414 |
|
REG | Reference to a national code |
Ref country code: CH Ref legal event code: PL |
|
PLBE | No opposition filed within time limit |
Free format text: ORIGINAL CODE: 0009261 |
|
STAA | Information on the status of an ep patent application or granted ep patent |
Free format text: STATUS: NO OPPOSITION FILED WITHIN TIME LIMIT |
|
REG | Reference to a national code |
Ref country code: BE Ref legal event code: MM Effective date: 20210630 |
|
26N | No opposition filed |
Effective date: 20220117 |
|
PG25 | Lapsed in a contracting state [announced via postgrant information from national office to epo] |
Ref country code: LU Free format text: LAPSE BECAUSE OF NON-PAYMENT OF DUE FEES Effective date: 20210626 |
|
PG25 | Lapsed in a contracting state [announced via postgrant information from national office to epo] |
Ref country code: LI Free format text: LAPSE BECAUSE OF NON-PAYMENT OF DUE FEES Effective date: 20210630 Ref country code: IE Free format text: LAPSE BECAUSE OF NON-PAYMENT OF DUE FEES Effective date: 20210626 Ref country code: CH Free format text: LAPSE BECAUSE OF NON-PAYMENT OF DUE FEES Effective date: 20210630 |
|
PG25 | Lapsed in a contracting state [announced via postgrant information from national office to epo] |
Ref country code: IS Free format text: LAPSE BECAUSE OF FAILURE TO SUBMIT A TRANSLATION OF THE DESCRIPTION OR TO PAY THE FEE WITHIN THE PRESCRIBED TIME-LIMIT Effective date: 20210814 Ref country code: FR Free format text: LAPSE BECAUSE OF NON-PAYMENT OF DUE FEES Effective date: 20210630 Ref country code: AL Free format text: LAPSE BECAUSE OF FAILURE TO SUBMIT A TRANSLATION OF THE DESCRIPTION OR TO PAY THE FEE WITHIN THE PRESCRIBED TIME-LIMIT Effective date: 20210414 |
|
PG25 | Lapsed in a contracting state [announced via postgrant information from national office to epo] |
Ref country code: IT Free format text: LAPSE BECAUSE OF FAILURE TO SUBMIT A TRANSLATION OF THE DESCRIPTION OR TO PAY THE FEE WITHIN THE PRESCRIBED TIME-LIMIT Effective date: 20210414 Ref country code: BE Free format text: LAPSE BECAUSE OF NON-PAYMENT OF DUE FEES Effective date: 20210630 |
|
PG25 | Lapsed in a contracting state [announced via postgrant information from national office to epo] |
Ref country code: CY Free format text: LAPSE BECAUSE OF FAILURE TO SUBMIT A TRANSLATION OF THE DESCRIPTION OR TO PAY THE FEE WITHIN THE PRESCRIBED TIME-LIMIT Effective date: 20210414 |
|
PG25 | Lapsed in a contracting state [announced via postgrant information from national office to epo] |
Ref country code: HU Free format text: LAPSE BECAUSE OF FAILURE TO SUBMIT A TRANSLATION OF THE DESCRIPTION OR TO PAY THE FEE WITHIN THE PRESCRIBED TIME-LIMIT; INVALID AB INITIO Effective date: 20170626 |
|
PGFP | Annual fee paid to national office [announced via postgrant information from national office to epo] |
Ref country code: DE Payment date: 20230502 Year of fee payment: 7 |
|
PGFP | Annual fee paid to national office [announced via postgrant information from national office to epo] |
Ref country code: GB Payment date: 20230504 Year of fee payment: 7 |
|
PG25 | Lapsed in a contracting state [announced via postgrant information from national office to epo] |
Ref country code: MK Free format text: LAPSE BECAUSE OF FAILURE TO SUBMIT A TRANSLATION OF THE DESCRIPTION OR TO PAY THE FEE WITHIN THE PRESCRIBED TIME-LIMIT Effective date: 20210414 |