Memory space allocation method and device and storage medium

A technology of memory space and memory allocation, applied in the direction of memory address/allocation/relocation, memory system, program control device, etc., can solve the problems of memory space occupation, affect memory allocation efficiency, and cannot guarantee mutual exclusion of memory space, etc., to achieve The effect of reducing space size, improving practicality and scope of application, and improving memory allocation efficiency

Pending Publication Date: 2022-05-27
SZ DJI TECH CO LTD
View PDF0 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Among them, when using the memory linked list method for memory allocation operations, due to the existence of the internal linked list structure, part of the memory space to be allocated is occupied. In addition, the internal allocation, release, and merging algorithms themselves will also have certain operating costs. Therefore, the above memory allocation method cannot be applied to resource-sensitive systems, which will greatly affect the efficiency of memory allocation.
However, the memory allocation method of Bitmap is mainly for memory allocation in continuous space, and there is no guarantee that the allocated memory spaces are mutually exclusive. At this time, when using the above-mentioned allocated memory space for data calculation, it is easy to report data calculation errors. It is even impossible to realize normal data operation

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 storage medium
  • Memory space allocation method and device and storage medium
  • Memory space allocation method and device and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0030] The following will clearly describe the technical solutions in the embodiments of the present invention with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only some of the embodiments of the present invention, not all of them. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the protection scope of the present invention.

[0031] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the technical field of the invention. The terms used herein in the description of the present invention are for the purpose of describing specific embodiments only, and are not intended to limit the present invention.

[0032] "Include" mentioned throughout the specification and claims is an open term, so it sh...

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 a storage medium. The method comprises the following steps: acquiring a memory allocation request for a discretized memory space; in the discretized memory space, at least one target memory space corresponding to the memory allocation request is determined, the target memory space is in an unallocated state, and any two target memory spaces in the at least one target memory space are mutually exclusive; according to the memory allocation request, at least one target subspace of the lower layer of each target memory space in the at least one target memory space is determined, the target subspace is in an unallocated state, and any two subspaces in the at least one target subspace are mutually exclusive. According to the technical scheme provided by the embodiment of the invention, memory allocation can be effectively and flexibly performed on the discrete memory space, and the obtained target memory space and the target subspace are mutually exclusive, so that the size of the space occupied by data resources is effectively reduced, and the memory allocation efficiency is favorably improved.

Description

technical field [0001] Embodiments of the present invention relate to the technical field of memory allocation, and in particular, to a memory space allocation method, device, and storage medium. Background technique [0002] In the prior art, when performing memory allocation operations, memory allocation may be performed in the form of a memory linked list or in the form of a bit-map relationship (Bit map). Among them, when using the memory linked list method for memory allocation operations, due to the existence of the internal linked list structure, part of the memory space to be allocated is occupied. In addition, the internal allocation, release, and merging algorithms themselves will also have certain operating costs. Therefore, the above memory allocation method cannot be applied to resource-sensitive systems, which will greatly affect the efficiency of memory allocation. However, the memory allocation method of Bitmap is mainly for memory allocation in continuous 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): G06F12/02
CPCG06F12/023G06F12/02G06F9/44G06F12/06
Inventor 沈桂旭刘延昭董岚
Owner SZ DJI TECH CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products