Patent US5805899A successfully refreshed from Google Patents.
← Back to Patent Explorer
US5805899A Expired / Lapsed US ⏱️ 0.0 years remaining

Method and apparatus for internal versioning of objects using a mapfile

Assignee: Sun Microsystems Inc
•
Filing: 1995-07-06
•
Granted: 1998-09-08
•
Expires: 2015-07-06
📄 Original PDF 🌐 Google Patents 🔄 Sync Now

Abstract

Abstract A method and apparatus for providing versioning information for a plurality of software objects. When an object is compiled and linked, at build time, the link-editor creates a version definition section and a version symbol section in the object that specify the global symbols defined in various versions of the object. The object can be a shared object, a relocatable object, or a dynamic executable object. When an application software program is linked with the versioned object, at build time, the linker-editor creates a version dependency section in the resulting dynamic executable object that specifies which version of the object is required for execution of the software application program. At runtime, the runtime-linker determines whether all required versions of the object are present before the program is executed. The invention allows the definition of "weak" versions that do not contain new global symbols. The invention also allows the explicit specification of the version of an object to which the software application program should be linked.

Inventors

  • 👤 Rodrick I. Evans
  • 👤 Robert A. Gingell

Bibliographic Details

Application Number —
Jurisdiction US
Data Source google_patents
Last Synchronized 2026-10-29 22:46
CPC Classifications
G; G06; G06F; G06F8/00; G06F8/40; G06F8/54; G06F8/70; G06F8/71

Claims Analysis

Total Claims: 22
Claim 1
Independent Claim 139 words
A method for providing versioning information in a software program, comprising the steps performed by a data processing system, of: providing first object code for a first software program; providing a mapfile, separate from the object code, specifying a version name associated with a version of the first software program, the mapfile further specifying global symbols that form an interface of the version of the first software program; and linking the first object code, so that an addition is made to the first object code, in accordance with the mapfile, of information identifying the version name of the first software program, to yield a versioned object, the linking step further including the step of adding information to the first object code, in accordance with the mapfile information, the information identifying the global symbols forming the interface of the version.
Claim 2
Independent Claim 139 words
A method for providing versioning information in a software program, comprising the steps performed by a data processing system, of: providing first object code for a first software program; providing a mapfile, separate from the object code, specifying a version name associated with a version of the first software program, the mapfile further specifying global symbols that form an interface of the version of the first software program; and linking the first object code, so that an addition is made to the first object code, in accordance with the mapfile, of information identifying the version name of the first software program, to yield a versioned object, the linking step further including the step of adding information to the first object code, in accordance with the mapfile information, the information identifying the global symbols forming the interface of the version.
Claim 3
Dependent Claim 75 words
The method of claim 1, further comprising the steps of: providing second object code for a second software program; and linking the second object code to the versioned object, wherein the linking step further includes the steps of: determining a version of the first software program needed by the second software program, and adding to the second object code, information specifying the version needed by the second software program, to yield a dynamic executable program.
Claim 4
Dependent Claim 54 words
The method of claim 2, further comprising the steps of: prior to executing the dynamic executable program, determining whether the needed version in the dynamic executable program matches the version identified in the versioned object; and executing the dynamic executable program, wherein the dynamic executable program calls the needed version of the versioned object.
Claim 5
Dependent Claim 58 words
The method of claim 2, wherein the determining step further includes the step of determining a version of the first software program needed by the second software program, by determining which global symbols are needed by the second software program and determining, by checking the information in the versioned object, which versions the needed global symbols are in.
Claim 6
Dependent Claim 19 words
The method of claim 2, wherein the information added to the second object code is a version dependency section.
Claim 7
Dependent Claim 19 words
The method of claim 1, wherein the information added to the first object code is a version definition section.
Claim 8
Dependent Claim 19 words
The method of claim 1, wherein the information added to the first object code is a version symbol section.
Claim 9
Dependent Claim 13 words
The method of claim 1, wherein the versioned object is a relocatable object.
Claim 10
Dependent Claim 14 words
The method of claim 1, wherein the versioned object is a dynamic executable object.
Claim 11
Dependent Claim 13 words
The method of claim 1, wherein the versioned object is a shared object.
Claim 12
Independent Claim 132 words
An apparatus for providing versioning information in a software program, comprising: a storage medium holding object code for a first software program; a storage medium holding a mapfile, separate from the object code, specifying a version name associated with a version of the first software program, the mapfile further specifying global symbols that form an interface of the version of the first software program; and a linker configured to provide additional information in the first object code, in accordance with the mapfile, the additional information defining the version name of the version of the first software program, to yield a versioned object, the linker further configured to add information to the first object code, in accordance with the mapfile information, the information identifying the global symbols forming the interface of the version.
Claim 13
Independent Claim 132 words
An apparatus for providing versioning information in a software program, comprising: a storage medium holding object code for a first software program; a storage medium holding a mapfile, separate from the object code, specifying a version name associated with a version of the first software program, the mapfile further specifying global symbols that form an interface of the version of the first software program; and a linker configured to provide additional information in the first object code, in accordance with the mapfile, the additional information defining the version name of the version of the first software program, to yield a versioned object, the linker further configured to add information to the first object code, in accordance with the mapfile information, the information identifying the global symbols forming the interface of the version.
Claim 14
Dependent Claim 57 words
The apparatus of claim 11, further comprising: a storage medium holding second object code for a second software program; and a linker configured to link the second object code to the versioned object to yield a dynamic executable program, by adding additional information to the second object code specifying the version needed by the second software program.
Claim 15
Dependent Claim 42 words
The apparatus of claim 12, further comprising: a run-time linker configured to provide execution of the dynamic executable program if the run-time linker determines that the needed version specified in the dynamic executable program matches the version defined in the versioned object.
Claim 16
Dependent Claim 13 words
The apparatus of claim 11, wherein the versioned object is a relocatable object.
Claim 17
Dependent Claim 14 words
The apparatus of claim 11, wherein the versioned object is a dynamic executable object.
Claim 18
Dependent Claim 13 words
The apparatus of claim 11, wherein the versioned object is a shared object.
Claim 19
Dependent Claim 201 words
A computer program product, comprising: a computer usable medium having computer readable code embodied therein for causing a determination that a version of an object required by a dynamic executable program is present during execution of the dynamic executable program, the computer program product comprising: computer readable program code devices configured to cause a computer to effect provision of first object code for a first software program; computer readable program code devices configured to cause a computer to effect provision of a mapfile, separate from the object code, specifying a version name associated with a version of the first software program, the mapfile further specifying global symbols that form an interface of the version of the first software program; and computer readable program code devices configured to cause a computer to effect linking the first object code so that an addition is made to the first object code, in accordance with the mapfile, of information identifying the version name of the version of the first software program, to yield a versioned object, and further configured to add information to the first object code, in accordance with the mapfile information, the information identifying the global symbols forming the interface of the version.
Claim 20
Dependent Claim 201 words
A computer program product, comprising: a computer usable medium having computer readable code embodied therein for causing a determination that a version of an object required by a dynamic executable program is present during execution of the dynamic executable program, the computer program product comprising: computer readable program code devices configured to cause a computer to effect provision of first object code for a first software program; computer readable program code devices configured to cause a computer to effect provision of a mapfile, separate from the object code, specifying a version name associated with a version of the first software program, the mapfile further specifying global symbols that form an interface of the version of the first software program; and computer readable program code devices configured to cause a computer to effect linking the first object code so that an addition is made to the first object code, in accordance with the mapfile, of information identifying the version name of the version of the first software program, to yield a versioned object, and further configured to add information to the first object code, in accordance with the mapfile information, the information identifying the global symbols forming the interface of the version.
Claim 21
Dependent Claim 91 words
The computer program product of claim 17, further comprising: computer readable program code devices configured to cause a computer to effect provision of second object code for a second software program; and computer readable program code devices configured to cause a computer to effect linking the second object code to the versioned object, by determining a version of the first software program needed by the second software program, and adding to the second object code, information specifying the version needed by the second software program, to yield a dynamic executable program.
Claim 22
Dependent Claim 67 words
The computer program product of claim 18, further comprising: computer readable program code devices configured to cause a computer to effect a determination of whether the version needed by the dynamic executable program to effect execution of program matches the version defined in the versioned object; and configured to execute the dynamic executable program, wherein the dynamic executable program calls the needed version of the versioned object.

USPTO Annuity & Maintenance Windows

Annuity Stage Window Opens Payment Deadline Surcharge Period Until Estimated Fee Status
3.5 Years (Year 4) 2001-09-07 2002-03-09 2002-09-08 $2000.00 Window Closed / Lapsed
7.5 Years (Year 8) 2005-09-07 2006-03-09 2006-09-08 $3760.00 Window Closed / Lapsed
11.5 Years (Year 12) 2009-09-07 2010-03-09 2010-09-08 $7700.00 Window Closed / Lapsed

Assigned Categories & Tags

No categories assigned to this patent yet.

Assign Category Tag