Channel assignment method, communication method, and communication network
View Patent ↗A channel assignment method is applied to a target communication network including a server, at least one LoRa gateway, and a plurality of LoRa terminal device groups, and each of the plurality of LoRa terminal device groups includes at least one LoRa terminal device. The channel assignment method includes: dividing each of at least one frequency sub-band in a target LoRa communication frequency band into a plurality of channels; wherein each of the plurality of channels corresponding to each of the at least one frequency sub-band occupies an independent frequency range; and assigning a target channel from the plurality of channels corresponding to each of the at least one frequency sub-band to each of the plurality of LoRa terminal device groups to enable each of the at least one LoRa terminal device in each of the plurality of LoRa terminal device groups to communicate with a corresponding LoRa gateway.
1 . A channel assignment method, applied to a target communication network, the target communication network comprising a server, at least one Long Range (LoRa) gateway, and a plurality of LoRa terminal device groups, each of the plurality of LoRa terminal device groups comprising at least one LoRa terminal device, and the method comprising:
dividing each of at least one frequency sub-band in a target LoRa communication frequency band into a plurality of channels; wherein each of the plurality of channels corresponding to each of the at least one frequency sub-band occupies an independent frequency range; and
assigning a target channel from the plurality of channels corresponding to each of the at least one frequency sub-band to each of the plurality of LoRa terminal device groups to enable each of the at least one LoRa terminal device in each of the plurality of LoRa terminal device groups to communicate with a corresponding LoRa gateway,
wherein the at least one frequency sub-band comprises a plurality of frequency sub-bands: the assigning a target channel from the plurality of channels corresponding to each of the at least one frequency sub-band to each of the plurality of LoRa terminal device groups comprises:
executing at least one channel assignment iteration until each of the plurality of LoRa terminal device groups is assigned with a corresponding candidate channel; wherein each of the at least one channel assignment iteration is executed as follows: selecting a target frequency sub-band that is not subjected to a channel quality assessment from the plurality of frequency sub-bands, performing the channel quality assessment on the target frequency sub-band to obtain a channel quality of each of a plurality of channels corresponding to the target frequency sub-band, and selecting, from the plurality of channels corresponding to the target frequency sub-band according to the channel quality, a part of the plurality of channels to be assigned to at least part of the plurality of LoRa terminal device groups as corresponding candidate channels;
when the at least one channel assignment iteration ends, determining whether remaining frequency sub-bands that are not subjected to the channel quality assessment exist in the plurality of frequency sub-bands; and
when the remaining frequency sub-bands do not exist, taking the candidate channel corresponding to each of the plurality of LoRa terminal device groups as the target channel.
2 . The method according to claim 1 , further comprising:
selecting the target LoRa communication frequency band from an available LoRa communication frequency band according to a preset communication requirement; and
dividing the target LoRa communication frequency band into the at least one frequency sub-band.
3 . The method according to claim 1 , wherein the dividing each of at least one frequency sub-band in a target LoRa communication frequency band into a plurality of channels comprises:
acquiring a preset channel width; and
successively dividing each of at least one frequency sub-band into a plurality of independent frequency ranges according to the channel width, and defining the plurality of channels corresponding to each of the at least one frequency sub-band by using the plurality of frequency ranges.
4 . The method according to claim 1 , wherein when the remaining frequency sub-bands exist, the method further comprises:
executing at least one channel optimization iteration until each of the plurality of frequency sub-bands is subjected to the channel quality assessment; wherein each of the at least one channel optimization iteration is executed as follows: selecting the target frequency sub-band from the remaining frequency sub-bands, performing the channel quality assessment on the target frequency sub-band to obtain a channel quality of each of a plurality of channels corresponding to the target frequency sub-band, and when an available channel whose channel quality is superior to the channel quality of the candidate channel exists in the plurality of channels corresponding to the target frequency sub-band, updating the candidate channel corresponding to each of the plurality of LoRa terminal device groups by using the available channel; and
when the at least one channel optimization iteration ends, taking the candidate channel corresponding to each of the plurality of LoRa terminal device groups as the target channel.
5 . The method according to claim 1 , wherein the selecting, from the plurality of channels corresponding to the target frequency sub-band according to the channel quality, a part of the plurality of channels to be assigned to at least part of the plurality of LoRa terminal device groups as corresponding candidate channels comprises:
acquiring a preset channel quality standard;
selecting, from the plurality of channels corresponding to the target frequency sub-band, a plurality of usable channels whose channel quality is superior to the channel quality standard; and
when a first number does not exceed a second number, assigning the plurality of usable channels to at least part of LoRa terminal device groups in the plurality of LoRa terminal device groups which have not been assigned with candidate channels as corresponding candidate channels, wherein the first number is a number of the plurality of usable channels, and the second number is a number of the LoRa terminal device groups which have not been assigned with candidate channels.
6 . The method according to claim 5 , wherein in a second channel assignment iteration and subsequent channel assignment iterations, when the first number exceeds the second number, the method further comprises:
sorting the plurality of usable channels according to the channel quality to obtain a corresponding first sorting result;
selecting, from the plurality of usable channels according to the first sorting result, a part of the plurality of usable channels to be assigned to the LoRa terminal device groups which have not been assigned with candidate channels as the corresponding candidate channels; and
determining remaining usable channels in the plurality of usable channels, and when the available channel whose channel quality is superior to the channel quality of the candidate channel exists in the remaining usable channels, updating the candidate channel corresponding to each of the plurality of LoRa terminal device groups by using the available channel.
7 . The method according to claim 1 , wherein the performing the channel quality assessment on the target frequency sub-band to obtain a channel quality of each of a plurality of channels corresponding to the target frequency sub-band comprises:
controlling, through the server, the at least one LoRa gateway to send a test signal to each of the at least one LoRa terminal device by using a respective one of the plurality of channels corresponding to the target frequency sub-band;
performing a signal measurement on a received signal received by each of the at least one LoRa terminal device to obtain a corresponding signal measurement result; and
identifying the channel quality by using the signal measurement result.
8 . The method according to claim 7 , wherein the signal measurement result comprises at least one of a signal strength of the received signal and a signal-to-noise ratio of the received signal.
9 . The method according to claim 1 , wherein the assigning a target channel from the plurality of channels corresponding to each of the at least one frequency sub-band to each of the plurality of LoRa terminal device groups comprises:
performing a channel quality assessment on each of the at least one frequency sub-band to obtain a channel quality of each of the plurality of channels corresponding to each of the at least one frequency sub-band;
sorting the plurality of channels corresponding to each of the at least one frequency sub-band according to the channel quality to obtain a corresponding second sorting result; and
selecting the target channel from the plurality of channels corresponding to each of the at least one frequency sub-band according to the second sorting result.