摘要 |
A method for operating and managing memory is disclosed in present invention, during the whole transmission process of uplink data in transmission plane protocol layer of General Packet Radio Service (GPRS), only the 1520-bytes global array of Subnet Dependent Convergence Protocol (SNDCP) layer and the 1560-bytes global array of Logic Link Control (LLC) layer are used, so the memory space can be saved effectively; also, because the SNDCP global array is used to store SNDCP data packets and the LLC global array is used to store the LLC data packets, so a dynamic process of memory application releasing on the transmission plane is avoided; moreover, only the data that need to be sent by the LLC are assembled with LLC frame format, thus avoiding useless work of LLC. Moreover, according to the present invention, the memory is operated and managed by way of global array without tedious memory pool operations. |