The invention relates to the technical field of
impedance matching, and discloses an
impedance matching method and device, external line gateway equipment, a storage medium and a
computer program product, the method is applied to the external line gateway equipment, the external line gateway equipment is connected with a
telephone network for use, and the method comprises the following steps: sending a multi-
frequency detection signal to the
telephone network based on a preset period,
echo signal attributes corresponding to the collected echo signals are obtained;
feature extraction is carried out according to the
echo signal attribute to obtain a
feature vector, the normalized
feature vector is input into a preset neural network prediction model to obtain a prediction impedance value, and the preset neural network prediction model is obtained by training the sample impedance value and the sample
feature vector; and obtaining a target impedance value based on a preset smooth transition
algorithm and the predicted impedance value, and performing
impedance matching according to the target impedance value. Since the corresponding target impedance value is generated in real time for impedance matching, the equipment can adapt to different
telephone network line characteristics for impedance matching.