The invention discloses an
underwater acoustic communication
codebook generation method, device and equipment and a readable storage medium, and the method comprises the steps: normalizing the characteristics of candidate
signal segments through preprocessing, and weakening the inherent correlation influence caused by a stable line spectrum and a similar envelope in real
ship noise; a similarity evaluation index between candidate
signal segments is defined, and similarity misjudgment caused by similar segment characteristics is avoided; based on the similarity, a
simulated annealing optimization
algorithm is adopted to screen a
target signal segment from a candidate
signal set, the
algorithm does not adopt a simple random or
greedy selection mode, and low-cross-correlation segments are screened in a targeted mode through
heuristic search logic, so that the defect that random or
greedy selection is easy to select high-cross-correlation segments is effectively avoided, and the selection accuracy of the
target signal segment is improved. Further, the
codebook separability is improved, and the problem that the
codebook separability is poor due to the fact that real
ship noise contains stable line spectrums and similar envelopes is solved; meanwhile, in the screening process of the method, a low-correlation starting
point set is obtained through farthest point sampling, and a traditional exhaustion or
global optimization mode does not need to be adopted.