Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Memory space allocation method and device and computer equipment

A memory space and allocation method technology, applied in the computer field, can solve the problem that the memory allocation method cannot meet the real-time requirements, and achieve the effect of reducing fragmentation

Inactive Publication Date: 2021-04-30
AUTOMOTIVE INTELLIGENCE & CONTROL OF CHINA CO LTD
View PDF7 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] In view of this, the embodiment of the present invention provides a memory space allocation method, device and computer equipment to solve the problem that the existing memory allocation method cannot meet the real-time requirements

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 space allocation method and device and computer equipment
  • Memory space allocation method and device and computer equipment
  • Memory space allocation method and device and computer equipment

Examples

Experimental program
Comparison scheme
Effect test

Embodiment approach

[0041] As an optional implementation of the present invention, the method also includes:

[0042] When the size of the remaining subspaces in the circular memory space queue is smaller than the size of the new message acquired again, each subspace in the circular memory space queue is released according to the size of the remaining subspaces and the new message. In this embodiment, when the remaining capacity of the circular memory space queue cannot meet the storage requirements of the newly arrived target message, at this time, according to the size of the newly arrived target message and the number of remaining subspaces of the current circular memory space queue, The subspace that has stored other target messages is released to meet the storage requirements of newly arrived target messages.

[0043] As an optional implementation of the present invention, release each subspace in the circular memory space queue according to the size of the remaining subspace and the new mes...

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 space allocation method and device and computer equipment, and the method comprises the steps: determining a target memory space and the initial position and tail position of the target memory space according to a target message queue; constructing an end-to-end circular memory space queue according to the initial position and the end position of the target memory space; and according to the size of the target message, sequentially allocating the subspaces in the circular memory space queue to the target message. By implementing the method and the device, the problem that the requirement of an automatic driving system on real-time performance cannot be met in related technologies is solved. In combination with the constructed circulating memory space queue, a new message can be directly stored in a section of memory at the end of the memory where the previous message is located, data in transmission can be stored in the memory space in time, the data storage requirement of the automatic driving system can be responded in real time, memory space fragments can be fully utilized, and fragmentation of the system memory is reduced.

Description

technical field [0001] The invention relates to the technical field of computers, in particular to a memory space allocation method, device and computer equipment. Background technique [0002] Autonomous driving technology is mainly composed of nodes such as perception, planning, decision-making, and control. Through the storage and transmission of data or information, the perception algorithm, decision-making algorithm, and control algorithm are completed. When data is transferred between the acquisition unit and the algorithm unit, and between every two algorithm nodes, it needs to go through two steps of data caching and data release. The traditional method is that the data release unit applies for memory from the operating system, and releases the memory after the data is released. [0003] In the process of applying for memory and releasing memory, the related technology is to search for the smallest continuous and free memory allocation unit when allocating memory s...

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 Applications(China)
IPC IPC(8): G06F9/50G06F9/54G06F12/02
CPCG06F9/5016G06F9/546G06F12/023G06F2209/548G06F2212/1044
Inventor 苏向阳孟宪刚
Owner AUTOMOTIVE INTELLIGENCE & CONTROL OF CHINA CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products