Memory address allocation method and apparatus

The embodiment of the invention provides a method and device for memory address assignment. The method comprises the steps of: receiving the memory address assignment request; bi-directionally searching the second bit map in the classified bit map; outputting a free bit according to bi-directionally...

Ausführliche Beschreibung

Gespeichert in:
Bibliographische Detailangaben
Hauptverfasser: HAN XINWEI, NING NAIDONG, LIN YUN
Format: Patent
Sprache:chi ; eng
Schlagworte:
Online-Zugang:Volltext bestellen
Tags: Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
Beschreibung
Zusammenfassung:The embodiment of the invention provides a method and device for memory address assignment. The method comprises the steps of: receiving the memory address assignment request; bi-directionally searching the second bit map in the classified bit map; outputting a free bit according to bi-directionally searched result of the second bit map; according to the output free bit, obtaining the corresponding memory address and assigning. The device comprises a first receiving module for receiving the memory address assignment request; a classified bit map comprising N first bit maps and second bit maps; a first searching module for bi-directionally searching the second bit map in the classified bit map to obtain a free bit; an assigning module for obtaining the corresponding memory address and assigning according to the output free bit. The method and device provided by the embodiment of the invention can improve the memory address management speed and reduces the consumption of the memory address management to the mem