Patent ID: 6947887

Claim:
A low speed speech encoding method based on Internet protocol (IP), comprising: (1) according to the sampling rate, sequentially inputting speech data obtained by sampling and quantizing a speech signal; (2) in a duration (TN), wherein TN=30 ms, determining fundamental tone characteristic parameters according to inputted speech data as follows: taking 5 ms as a fundamental tone period, and respectively calculating the variance D 10 , D 15 , D 20 , D 25 , and D 30 of the fundamental tone periods, 10 ms, 20 ms, 25 ms, and 30 ms; (3) determining an optimized frame length (T) for subsequent processing of speech data according to the fundamental tone characteristic parameters obtained at step (2) as follows: when D 30 <Threshold, then T=30; when D 25 <Threshold, then T=25; when D 20 <Threshold, then T=20; when D 15 <Threshold, then T=15; when D 10 <Threshold, then T=10; otherwise T=5, where the Threshold is a comparative value of the variance for the fundamental tone period and represents a compromise between encoding efficiency and encoding quality; (4) making compressed encoding for speech data in every frame with the optimized frame length (T); and (5) for compressed encoded speech data bits of every optimized length frame, first, assembling a packet with TCP protocol or UDP protocol, the assembling the packet with IP protocol, and finally outputting the packet assembled with TCP or UDP and IP protocols.