Reclaiming memory from deleted applications

Electrical computers and digital processing systems: memory – Storage accessing and control – Specific memory composition

Reexamination Certificate

Rate now

  [ 0.00 ] – not rated yet Voters 0   Comments 0

Details

C711S170000, C711S005000, C707S793000, C365S185110, C365S189090

Reexamination Certificate

active

06581133

ABSTRACT:

FIELD OF THE INVENTION
The present invention is directed to the area of memory management in computer systems with segmented memory space, such as embedded devices, and specifically provides a system for safely reclaiming memory and realigning the remaining applications contiguously in non-volatile, erasable “flash”-type memory.
BACKGROUND OF THE INVENTION
This application is particularly useful in embedded systems with memory constraints, but is applicable in any environment in which applications may be removed from a machine and it is desirable to compact the remaining applications stored in memory, in order to provide the maximum amount of contiguous free space for new applications.
In embedded systems, total system memory may be in the order of 1 to 4 megabytes. Ideally, half of the system memory should be devoted to read-only memory (ROM), for storing applications and data which persist between sessions. Applications can be loaded, in sequential order, until the memory limits of the system are reached.
For the purposes of this invention, reference will be made to “flash” type memory. Technically, flash is a form of ROM in that it is non-volatile, but it is also erasable, generally in 64K byte blocks, according to current technology.
Particularly in the rapidly developing area of wireless communications, it may be necessary or desirable to delete existing applications in a device before a new application can be downloaded, either to free adequate memory to accommodate the new application(s) or to avoid incompatibility with newer versions of an application.
SUMMARY OF THE INVENTION
The present invention is directed to a system for safely removing applications from ROM, and then compacting the ROM to remove any “holes” left by application removal. This ensures that the maximum amount of contiguous free memory is made available for new application download.
In one embodiment, the present invention is directed to an improvement in a device's non-volatile memory. This flash memory is characterized by having multiple memory segments adapted to receive and store application code and data. The improvement consists of having at least one memory segment reserved for use during memory compaction, which is adapted to receive code and/or data copied from another memory segment of the read-only memory. A mechanism for correcting pointers within the code to reference the new memory location of the code and/or data copied from another memory segment of the read-only memory is also provided.
According to another aspect, the present invention provides a method for removing a defined body of code from a read-only memory with multiple memory segments and at least one memory segment reserved for use during compaction. In the method, if it is determined that the defined body of code overlaps into a memory segment shared with other code, the other code is copied into a memory segment reserved for use during compaction, the memory segment reserved for compaction is swapped with the memory segment shared with other code, and the memory segment containing a portion of the defined body of code is erased.


REFERENCES:
patent: 4511964 (1985-04-01), Georg et al.
patent: 5438573 (1995-08-01), Mangan et al.
patent: 5544356 (1996-08-01), Robinson et al.
patent: 5592669 (1997-01-01), Robinson et al.
patent: 5603001 (1997-02-01), Sukegawa et al.
patent: 5737742 (1998-04-01), Achiwa et al.
patent: 5860082 (1999-01-01), Smith et al.
patent: 6038636 (2000-03-01), Brown et al.
patent: 0745939 (1996-05-01), None
patent: 745939 (1996-12-01), None
patent: WO 9420906 (1994-02-01), None
patent: WO 9420906 (1994-09-01), None
patent: WO 0058838 (2000-03-01), None

LandOfFree

Say what you really think

Search LandOfFree.com for the USA inventors and patents. Rate them and share your experience with other people.

Rating

Reclaiming memory from deleted applications does not yet have a rating. At this time, there are no reviews or comments for this patent.

If you have personal experience with Reclaiming memory from deleted applications, we encourage you to share that experience with our LandOfFree.com community. Your opinion is very important and Reclaiming memory from deleted applications will most certainly appreciate the feedback.

Rate now

     

Profile ID: LFUS-PAI-O-3157011

  Search
All data on this website is collected from public sources. Our data reflects the most accurate information available at the time of publication.