Unlock instant, AI-driven research and patent intelligence for your innovation.

Memory management method and device for communication between protocol layers

A technology of memory management and protocol layer, which is applied in the field of wireless communication, can solve the problems of consuming storage space and repeated copying of memory, and achieve the effect of saving memory space

Active Publication Date: 2021-02-12
NSFOCUS INFORMATION TECHNOLOGY CO LTD +1
View PDF11 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] The embodiment of the present application provides a memory management method and device for communication between protocol layers, which is used to solve the problem in the prior art that when communication between protocol layers is performed through skb, the memory needs to be copied repeatedly and consumes storage space

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Memory management method and device for communication between protocol layers
  • Memory management method and device for communication between protocol layers
  • Memory management method and device for communication between protocol layers

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0037] In order to better understand the above technical solution, the above technical solution will be described in detail below in conjunction with the accompanying drawings and specific implementation methods. It should be understood that the embodiments of the present application and the specific features in the embodiments are detailed descriptions of the technical solution of the present application. To illustrate, rather than limit, the technical solutions of the present application, the embodiments of the present application and the technical features in the embodiments can be combined without conflict.

[0038] The embodiments of the present invention will be further described in detail below in conjunction with the accompanying drawings.

[0039] Communication between communication devices is actually carried out by transferring data packets at various protocol layers, and each protocol layer constitutes a protocol stack. Among them, in order to complete the transmis...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention discloses a memory management method and device for communication between protocol layers. The method comprises the following steps: the communication equipment distributes a first memory space through a long term evolution protocol stack message processing mechanism LTE-pmpm structure; the LTE-pmpm structure comprises a data field and a primitive field; the data field of the LTE-pmpm structure is used for storing data packets interacted between protocol layers; the primitive domain of the LTE-pmpm structure is used for storing parameters of a protocol interlayer interaction rule; the communication device stores a first data packet generated by a first protocol layer entity in the first memory space according to the data field and the primitive field of the LTE-pmpm structure; When determining that the first data packet needs to be acquired, a second protocol layer entity of the communication equipment reads the first data packet from the first memory space according to the data field and the primitive field of the LTE-pmpm structureThe method comprises the following steps that: communication equipment processes messages through a long term evolution protocol stack message processing mechanism LTE-; The pmpm structure is used for distributing a first memory space; LTE Wherein the pmpm structure comprises a data domain and a primitive domain; LTE Wherein the datafield of the pmpm structure is used for storing data packets interacted between protocol layers; LTE Wherein the primitive domain of the pmpm structure is used for storing parameters of a protocol interlayer interaction rule; Communication device according to the LTE- Storing a first data packet generated by a first protocol layer entity in the first memory space by using a data domain and a primitive domain of a pmpm structure; When the second protocol layer entity of the communication device determines that the first data packet needs to be acquired, the second protocol layer entity of thecommunication device determines that the first data packet needs to be acquired according to the LTE-; And reading the first data packet from the first memory space by using the data field and the primitive field of the pmpm structure.

Description

technical field [0001] The invention relates to the field of wireless communication, in particular to a memory management method and device for communication between protocol layers. Background technique [0002] In the Long Term Evolution (LTE) protocol stack architecture, when entities of various protocol layers communicate with each other, it is necessary for the communication device to allocate memory to transfer data packets for inter-layer interaction. In the prior art, when the communication device communicates between the protocol layers through the socket buffer (Socket Buffer, skb) in the Linux system, it first allocates a block of memory for transmitting data packets in the kernel space, and then allocates this memory Copy to user space. Obviously, this repeated copying method wastes a certain amount of storage space. [0003] Therefore, when communication between protocol layers is performed through skb in the prior art, the memory needs to be copied repeatedly...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Patents(China)
IPC IPC(8): G06F12/02H04L29/06
CPCG06F12/023H04L69/08
Inventor 胡政权张江伟
Owner NSFOCUS INFORMATION TECHNOLOGY CO LTD