The application relates to the technical field of digital
information transmission, and discloses a
Morse code encoding and decoding method and
system based on
artificial intelligence, which comprises the following steps: converting text information into an initial dot-
dash symbol sequence according to a standard
Morse code mapping table, and collecting channel characteristic parameters to input a light
decision tree model to determine a
time sequence characteristic weight vector; optimizing the initial dot-
dash symbol sequence to generate an optimized dot-
dash symbol sequence; calculating an absolute sending time length, combining a multipath
fading coefficient of a channel to dynamically adjust sending power and waveform envelope parameters, and generating an encoding
signal; demodulating a received
signal to obtain a
time sequence characteristic weight vector used by a sending end, performing envelope detection on a
baseband signal, and obtaining a dot-dash symbol sequence according to the
time sequence characteristic weight vector, and converting to obtain decoded text information according to a standard
Morse code mapping table. The application solves the encoding and decoding problems of the Morse code in a dynamic environment, and can run on an
edge device.