COM persistence model
US7069540B1 · kind B1 · utility
Assignee
Inventor
Key dates
| Filing date | Jul 2, 2001 |
| Grant date | Jun 27, 2006 |
| Priority date | — |
| Expiry date | Aug 31, 2023 |
Classification
- Technology area (CPC G)Physics
- CPC primaryG06F9/4493
- WIPO fieldComputer technology
- WIPO sectorElectrical engineering
Abstract
Software and methods for extending preexisting objects to support persistence. One use of the present invention is to extend component object model (COM) objects to support persistence in a simple, predefined system. COM objects may be saved to persistence storage and loaded from persistence storage using user-provided save and load methods. When objects are constructed, the objects are added to a Persistent Object Registry. Objects preferably utilize smart pointers, rather than simple pointers, in order to enable restoration of the pointer values after a save and load cycle. The smart pointers include an object ID along with the address. The object ID, together with the information stored in the Persistent Object Registry, may be used to restore a pointer value after loading. Objects may be saved by streaming the objects out and loaded by streaming the objects back into memory from a file.
Source: USPTO / EPO open patent data. Objective bibliographic and citation counts.