Java card system and space distribution processing method thereof
A space allocation and space technology, applied in the field of smart cards, can solve the problems of scattered system garbage occupying storage space, Java card embedded system storage space is limited, ordinary SIM cards do not have the function of application download, etc., to increase access speed, The effect of efficient system space allocation
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0057] like figure 1 As shown, the Java Card system memory space is a kind of EEPROM (Electrically Erasable Programmable Read-Only Memory, Electrically Erasable Programmable Read-Only Memory) space, including three parts: configuration area, MAP table and heap. The configuration area stores some information about the system configuration (including two important configuration variables USED_ADDR_NO and MAX_ENTRY_COUNT_IN_MAP); the heap stores entities such as application data and user information; and each entity has corresponding data items in the MAP table (such as figure 2 shown).
[0058] The size of the configuration area is fixed. In fact, it is allocated from the bottom of the EEPROM, and the remaining space is dominated by the heap and the MAP table. The size of the MAP table and the heap space is not fixed, and the space of the MAP table can be changed dynamically. Specifically, the MAX_ENTRY_COUNT_IN_MAP variable in the configuration area stores the size of the MAP...
Embodiment 2
[0060] Provide a kind of space allocation processing method based on the memory space of the Java Card system described in Embodiment 1, which includes a space allocation method, a garbage collection method and a heap defragmentation method;
[0061] The space allocation method includes the following steps:
[0062] S11, calling the space allocation realization function by the Java card system;
[0063] S12. Search the MAP table for a reusable entry mark heap entity, if the MAP entry mark heap entity is not dynamically created at the end of the MAP table;
[0064] S13. Allocate space in the heap to the entity;
[0065] S14. Establish a relationship between the heap entity and the MAP entry.
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com