Method for transmitting audio-data via UDP network

2005 
The present invention relates to the field of data transmission, particularly to a method of transmitting acoustic frequency data by a UDP network, which can accurately and conveniently transmit the acoustic frequency data. The acoustic frequency data is divided into data packages with equal length for transmission. The present invention is characterized in that the method comprises the following procedures: a. the receiving end is built with a storage buffer zone with continuous addresses in a storage space; the length L of the storage buffer zone conforms to the following formula: L=m*2n, wherein m is the length of an acoustic frequency data package; n is a whole number; b. a sending end is an order code mark of each acoustic frequency data package which is sent out by the transmission protocol of the UDP network; c. the receiving end makes the acoustic frequency data packages put in the specific position of the storage buffer zone according to the code mark; the specific position of the storage buffer zone can be obtained by the following formula: I=N MOD L, wherein N is a serial number of the current receiving acoustic frequency data package. The present invention can guarantee effective management for the acoustic frequency data packages which are transmitted by the UDP network. A method for transmitting audio data on UDP network includes setting up storage buffer area with continuous address in storing space , setting length L of storage buffer area in consistence to formula of L = m x 2 n where n - audio data packet length and n - positive integer , setting transmission end to be audio data packet order number and applying UDP network for transmitting , placing audio data packet on position of assigned storage buffer area as per said number , solving out position of assigned storage area by formula of I = N MODL where L - series number of audio data packet being received currently.
    • Correction
    • Source
    • Cite
    • Save
    • Machine Reading By IdeaReader
    0
    References
    0
    Citations
    NaN
    KQI
    []