Reference management method and garbage collection method

By introducing a reference address table into the embedded operating system to manage unrecorded application data references, the problem of accidental deletion of application data in the prior art is solved, and the stability of the application and garbage collection performance are improved.

CN119088561BActive Publication Date: 2026-06-02BEIJING TONGFANG MICROELECTRONICS

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
BEIJING TONGFANG MICROELECTRONICS
Filing Date
2024-08-29
Publication Date
2026-06-02

AI Technical Summary

Technical Problem

Existing reference data management methods cannot identify whether application data not recorded in the reference data is referenced, leading to its mistaken deletion as garbage data and causing an application null exception.

Method used

By introducing a reference address table in the embedded operating system, the reference relationships of application data not recorded in the reference data are recorded. This includes writing the logical address of the target application data into the physical address of the target variable, and writing the logical address corresponding to the physical address of the target variable as the reference address into the reference address table.

Benefits of technology

This avoids mistakenly deleting unrecorded application data as garbage data, prevents null exceptions, and improves application execution efficiency and garbage collection performance.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119088561B_ABST
    Figure CN119088561B_ABST
Patent Text Reader

Abstract

The application discloses a kind of application data reference management and garbage collection.The application data reference management method includes: when detecting that target application data is referenced by target variable, and target variable belongs to target variable type, the logical address of the target application data is written into the physical address of the target variable;The logical address corresponding to the physical address of target variable is written into the reference address table as a reference address.The technical scheme of the embodiment of the application uses the reference address table to manage the application data reference not recorded in the reference array, avoids mistaking such application data as garbage data and being deleted, thereby avoiding the empty exception caused by referencing non-existent application data, the reference address table records reference address instead of the logical address of application data, avoids the need to modify application data reference counter or the content in reference address table when reference relationship is cleared, and ensures application execution efficiency.
Need to check novelty before this filing date? Find Prior Art