Packaging memory image files

Data processing: software development – installation – and managem – Software program development tool – Programming language

Reexamination Certificate

Rate now

  [ 0.00 ] – not rated yet Voters 0   Comments 0

Details

C717S118000, C717S165000

Reexamination Certificate

active

06446254

ABSTRACT:

BACKGROUND OF THE INVENTION
1. Field of the Invention
The present invention is directed to the field of managing memory use in run time environments in interpreted programming language environments. In particular, the invention provides a structure for a file of one or more Java™
1
classes that can be stored and accessed at runtime from non-volatile memory such as read only memory (ROM).
1
Java is a trademark of Sun Microsystems, Inc.
2. Description of the Related Art
Portable devices, including cellular telephones, pagers and personal digital assistants (PDAs), are operated by embedded processing systems. Similar embedded systems are used in other types of devices, including automotive navigational systems found in the new generation of so called “smart” cars and household electrical management systems for remotely controlling home lighting, alarm and other systems.
A feature of embedded systems, particularly in portable devices, is that the memory available is constrained, generally of the order of one to four megabytes. Further, the memory of a system is a subdivided between read only memory (ROM) which can hold permanent data from which the volatile elements are constructed or instantiated in random access memory (RAM) at runtime. The ROM and RAM are fixed during manufacture of the device, although they may be augmented to a limited extent by the addition of PCMCIA cards.
Because of these memory constraints, embedded systems do not contain layers of software between a running application and the hardware components typically found in larger systems. Many embedded applications are designed to run on thin realtime operating systems or with only some interface code (a memory manager and graphics driver) directly on the hardware.
Interpreted language environments, such as Java and Smalltalk, make good runtime operating systems. Typically, the code is stored in ROM in a semi-processed state, class files containing byte codes. When the device is turned on, a virtual machine (VM) resolves references and links the class file to permit desired applications to be run.
One problem with the conventional approach is that the copying of all runtime code to RAM reduces the amount of RAM available for application use. In an environment in which there are limitations on total memory, the assignment of increasingly large portions to RAM reduces the amount of RAM available for application use.
A more general problem is that the time it takes to translate the semi-processed class files to a runtime state delays start up of applications in the device when powering on.
SUMMARY OF THE INVENTION
It is therefore an object of the present invention to provide a means for a directly accessing data stored in ROM in order to be able to maximize the amount of memory available in devices, particularly those with constrained resources.
The invention provides the structure of the portion of data stored in ROM that permits it to be accessed at run time. This is accomplished by prelinking data elements and writing them to files that are stored in ROM. These files are then directly accessible in ROM by the virtual machine at run time.
The invention also provides a process for designing in advance those portions of an application that will change and those that won't, and building the application so that the portions that will not change are accessible directly from ROM at runtime.
One advantage of providing ROM-accessible files is that the RAM requirements for running applications can be reduced. More RAM memory, in a constrained memory environment, is available, thereby permitting more and/or more complex applications to be run on the device at the same time.
In maximizing ROM usage, a further object of the invention is to avoid sacrificing performance due to excessive indirection.
Another advantage realized by prelinking or prereferencing the .class files is that run time files are immediately available from ROM on powering up a device, effectively providing “instant on” capability.
According to these and other objects, the present invention provides a system for use in an interpreted programming environment, in which files are pre-processed to a semi-processed state for linking and execution by a virtual machine at runtime on a target device. The improvement of the invention is a builder which is adapted to analyze the semi-processed files to select data that will not change, and to construct files to be run by the virtual machine from read-only memory on the target device including the selected data and internal pointers from the selected data.
The present invention also provides a data file adapted to be accessed by a virtual machine from read-only memory at runtime. The data file consists of class definitions and byte code data required to run an application, and internal pointers pre-linking the data.
Finally, the invention provides a method for constructing a memory image file for storage in read-only memory of a target device. A maximal set of objects is defined for inclusion in the image file. The maximal set of objects is reduced to remove unused code. Each object of the reduced maximal set is converted to image format, and each image format is written to the memory image file.


REFERENCES:
patent: 6006231 (1999-12-01), Popa
patent: 6012068 (2000-01-01), Boezeman et al.
patent: 6025826 (2000-02-01), Hung et al.
patent: 6026405 (2000-02-01), Arda et al.
patent: 6061057 (2000-05-01), Knowlton et al.
patent: 6083279 (2000-07-01), Cuomo et al.
patent: 6112304 (2000-08-01), Clawson
patent: 6121903 (2000-09-01), Kalkstein
patent: 6144992 (2000-11-01), Turpin et al.
patent: 6161107 (2000-12-01), Stern
patent: 6166729 (2000-12-01), Acosta et al.
patent: 6230184 (2001-05-01), White et al.
patent: 6281874 (2001-08-01), Sivan et al.
patent: 6301582 (2001-10-01), Johnson et al.
patent: 6330709 (2001-12-01), Johnson et al.
patent: 6349344 (2002-02-01), Sauntry et al.
patent: 6349404 (2002-02-01), Moore et al.
Kniesel et al, “JMangler a framework for load time and transformation of Java class files”, IEEE SCAM, pp. 98-108, 2001.*
Jackson et al, “Lightweight extraction of object models from bytecode”, IEEE Software Engineering, vol. 27, No. 2, pp, 158-169, Feb. 2001.*
Dourish et al, “A programming language model for active documents”, ACM UIST, vol. 2,2 pp. 41-50, 2000.*
Dietrich et al. “A reusable graphical user interface for manipulating object oriented database using Java and XML”, ACM SIGCSE, pp. 362-366, Feb. 2001.*
Goldberg, “A specification of Java loading and bytecode verification”, ACM CCCS, pp. 49-58, Apr. 1998.

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

Packaging memory image files does not yet have a rating. At this time, there are no reviews or comments for this patent.

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

Rate now

     

Profile ID: LFUS-PAI-O-2860292

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