Memory space dynamic allocation optimization method, device, system, vehicle and medium

By caching memory blocks to the memory allocator queue during the initial period of task startup, and using the queue to find the closest memory block for transmission, the problem of low efficiency in dynamic memory allocation in embedded platforms is solved, and transmission efficiency is improved.

CN116841721BActive Publication Date: 2026-06-26MOMENTA (SUZHOU) TECHNOLOGY CO LTD

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
MOMENTA (SUZHOU) TECHNOLOGY CO LTD
Filing Date
2022-03-24
Publication Date
2026-06-26

Smart Images

  • Figure CN116841721B_ABST
    Figure CN116841721B_ABST
Patent Text Reader

Abstract

The application discloses a memory space dynamic allocation optimization method, device, system, vehicle, medium and equipment, and belongs to the computer field. The method comprises the following steps: serializing current frame data corresponding to a communication message to be transmitted in a communication topic, and determining a memory size required by the serialized current frame data; judging whether the meta information of a continuous memory block not smaller than the memory size required by the serialized current frame data is recorded in a memory allocator queue according to the memory size required by the serialized current frame data; and after the communication topic is completed, the accumulated recorded meta information is emptied from the memory allocator queue, and the corresponding continuous memory block is released. The application can improve the efficiency of dynamic application memory on an embedded platform.
Need to check novelty before this filing date? Find Prior Art