The invention provides a self-adaptive
frequency selection anti-interference method based on spectrum sensing in
wireless communication, which comprises the following steps: acquiring network parameters and a time slot number, determining a time-frequency bit of a C1 channel in a frame period according to the time slot number, and judging whether to acquire the use right of the C1 channel, if so, generating a spectrum information broadcast message, and if not, sending the spectrum information broadcast message to a
server;
frequency spectrum information broadcast messages are repeatedly sent based on the time-frequency position in a frequency hopping manner; if not, local interference condition information, global sensing information, neighbor node
local spectrum sensing information and C3
channel use frequency information are calculated; identifying whether the
signal has
unicast frequency point interference, if so,
handshaking with a target node in a C3 channel on an MAC layer and replacing a high-quality frequency point; judging whether broadcast frequency point interference exists or not, and if yes, selecting a high-quality frequency point to generate broadcast channel frequency point information; judging the new and old conditions of the frequency information Fx used by the C3 channel, updating the local frequency if the frequency information Fx is new, and discarding the local frequency if the frequency information Fx is old; according to the invention, the frequency points with good channel quality are selected for communication according to the
frequency spectrum, the anti-interference purpose is achieved, and reliable communication is realized.