The invention provides a voice
packet loss hiding method and device,
electronic equipment and a storage medium, and the method comprises the steps: carrying out the framing
processing of a received voice
signal, and obtaining a current frame
signal and a historical
reference frame signal; based on the current frame signal, calculating an LPC coefficient through
linear predictive coding LPC analysis; performing
echo detection on the current frame signal and the historical
reference frame signal, and judging whether an echo exists in the current frame signal; if it is judged that the echo exists, echo cancellation
processing is started, and an LPC coefficient is updated based on an echo cancellation result to obtain an updated LPC coefficient; the updated LPC coefficient is used for frame reconstruction when subsequent voice
packet loss occurs. According to the invention, through real-time
echo detection and
elimination of echo components in the reconstructed voice, the core problem of echo generation due to limitation of an LPC model in a transient phase is solved in a targeted manner, so that the reconstructed voice is purer and more natural, and the voice quality is remarkably improved.