# US 2006/0080681 A1 · Mechanism to extend functionality in a restricted computing environment

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2006/0080681 A1
- Document ID: US20060080681A1
- Status: Published application
- Kind: A1
- Application number: 10/964,315
- Filed: 2004-10-12
- Published: 2006-04-13
- Earliest claimed: 2004-10-12
- Inventors: Majid Anwar; Paul Gardiner
- Web page: https://patentgrep.com/patent/US20060080681A1

## CPC

- G06F 9/44521: {Dynamic linking or loading; Link editing at or after load time, e.g. Java class loading}
- G06F 9/44547: {Fat binaries}
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

A platform independent binary object (PIBO) operable on disparate computing environments that have a selected hardware architecture without requiring rebuilding or reloading is provided. The PIBO can be parsed to generate source-code stub file. The PIBO can be loaded and linked with a cooperating computing application by an exemplary linker/loader employing the stub file. Also, the PIBO can be used in various contexts, including but not limited to, as a mechanism for dynamically linking shared objects on platforms that do not offer such native facility; in utilizing pre-written code components on platforms that otherwise would be incompatible due to a violation of platform constraints within particular code; as a mechanism for loading non object-oriented code that circumvents restrictions of multiple execution instances and repeat execution inherent in the code; and as mechanism that allows for the use of a binary object to add on functionality on a closed platform.

## Claims

### Claim 1

A system for providing additional functionality through the use of a binary object to a computing environment that is subject to a restriction on the deployment to the computing environment of non-resident executable programs, comprising:
a dynamic library (DL);
a source-code based stub file, operating to provide a launcher application operable on the computing environment to have access to and cooperate with the DL; and
a binary executable program containing the launcher application operable to extend the functionality available to the restricted computing environment by dynamically linking the DL with the executing launcher application.

### Claim 2 (depends on 1)

The system as recited in claim 1 wherein the DL comprises any of a linked library and a platform independent code library.

### Claim 3 (depends on 2)

The system as recited in claim 2 wherein the DL comprises a object file having a selected structure.

### Claim 4 (depends on 3)

The system as recited in claim 3 wherein the DL selected structure comprises any of the executable and linking format (ELF) and the portable executable (PE) format.

### Claim 5 (depends on 3)

The system as recited in claim 3 further comprising a parser operating on the DL to generate the stub file.

### Claim 6 (depends on 5)

The system as recited in claim 5 further wherein the restricted computing environment does not allow the addition of executable programs native to the computing environment.

### Claim 7 (depends on 3)

The system as recited in claim 3 wherein the computing environment places a restriction on the maximum size of programs capable of execution on the computing environment.

### Claim 8 (depends on 3)

The system as recited in claim 3 wherein the computing environment supports a run time environment (RTE).

### Claim 9 (depends on 8)

The system as recited in claim 8 wherein the programs that run within the RTE have restricted access to one or more functions available to the native computing environment.

### Claim 10 (depends on 8)

The system as recited in claim 8 wherein the RTE restricts operation to run only programs that are authenticated by the RTE.

### Claim 11 (depends on 8)

The system as recited in claim 8 wherein the RTE comprises any of the Java 2 Mobile Edition (J2ME) RTE and the binary runtime environment for wireless (BREW) RTE.

### Claim 12 (depends on 5)

The system as recited in claim 5 wherein the native computing environment does not allow dynamic linking.

### Claim 13 (depends on 6, 8)

The system as recited in claim 6, 8, or 12 wherein a launcher application, the source code for the stub file, and source code for a dynamic linker/loader are compiled for the computing environment.

### Claim 14 (depends on 13)

The system as recited in claim 13 further comprising a dynamic linker/loader operating on the DL to load the DL onto the computing environment during the execution of the launcher application.

### Claim 15 (depends on 14)

The system as recited in claim 14 wherein the dynamic linker/loader operates on the DL to link the DL with the cooperating launcher application during the execution of the launcher application.

### Claim 16 (depends on 15)

The system as recited in claim 15 wherein the dynamic linker/loader handles symbol resolution and relocation to bind the launcher application and the DL.

### Claim 17 (depends on 16)

The system as recited in claim 16 wherein the DL comprises an object file for use by a cooperating launcher application operating on the computing environment.

### Claim 18 (depends on 17)

The system as recited in claim 17 wherein dynamic linker/loader allocates a memory block on the computing environment during the execution of the cooperating launcher application in which the DL may be loaded.

### Claim 19 (depends on 18)

The system as recited in claim 18 wherein the relocation of the variables of the DL for use by the cooperating launcher application is handled by the dynamic linker/loader.

### Claim 20 (depends on 3)

The system as recited in claim 3 wherein the DL comprises a platform independent dynamic library that is operable on a plurality of disparate computing environments without requiring to be rebuilt or recompiled for each of the plurality of disparate computing environments.

### Claim 21 (depends on 1)

The system as recited in claim 1 wherein the launcher module is written to operate as a native computing application on the computing environment.

### Claim 22 (depends on 8)

The system as recited in claim 8 wherein the launcher is written to operate as a computing application within the run time environment of the computing environment.

### Claim 23 (depends on 21)

The system as recited in claim 21 further comprising at least two launcher modules.

### Claim 24 (depends on 21)

The system as recited in claim 21 further comprising a launcher module operating to provide access to at least two disparate DLs.

### Claim 25 (depends on 21)

The system as recited in claim 21 further comprising at least two launcher modules operating to provide access to at least two disparate DLs.

### Claim 26 (depends on 1)

The system as recited in claim 1 wherein the DL is stored on a storage media physically separate from the computing environment comprising any of a flash memory unit, a fixed memory unit, and a micro-drive.

### Claim 27 (depends on 1)

The system as recited in claim 1 wherein the launcher application is stored on a storage media physically separate from the computing environment comprising any of a flash memory unit, a fixed memory media unit, and a micro-drive.

### Claim 28 (depends on 1)

The system as recited in claim 1 wherein the DL is used in a digital rights management scheme to promote the secure distribution of content to the closed computing environment.

### Claim 29

A method providing additional functionality through the use of a binary object to a closed computing environment that is subject to a restriction on the deployment to the computing environment of non-resident executable programs, comprising:
providing a code library (CL);
providing a source code stub file that allows a launcher module within a binary executable program executing on the computing environment to have access to and cooperate with the CL; and
providing the executable program with a dynamic linker/loader to extend the functionality available to the restricted computing environment by dynamically linking the CL during execution of the program.

### Claim 30 (depends on 29)

The method as recited in claim 29 further comprising providing an executable program having a launcher application onto a computing device having a run time environment (RTE).

### Claim 31 (depends on 30)

The method as recited in claim 30 wherein the programs that run within the RTE have restricted access to one or more functions available to the native computing environment.

### Claim 32 (depends on 30)

The method as recited in claim 30 wherein the RTE restricts operation to run only programs that are authenticated for the RTE.

### Claim 33 (depends on 30)

The method as recited in claim 30 wherein the launcher application is provided through a download onto the computing device.

### Claim 34 (depends on 30)

The method as recited in claim 30 wherein the computing device is a mobile phone or wireless enabled handset.

### Claim 35 (depends on 29)

The method as recited in claim 29 further comprising generating the CL as a object file having a selected structure.

### Claim 36 (depends on 35)

The method as recited in claim 35 further comprising selecting the object file as a file comprising any of the executable and linking format (ELF) and portable executable (PE) file structures.

### Claim 37 (depends on 29)

The method as recited in claim 29 further comprising providing at least two launcher modules operable to provide access to at least two disparate CLs.

### Claim 38 (depends on 35)

The method as recited in claim 35 further comprising parsing the CL to generate the stub file.

### Claim 39 (depends on 29)

The method as recited in claim 29 further comprising providing a dynamic linker/loader,
wherein the dynamic linker/loader is compiled with a cooperating computing application at the build time of the binary executable program.

### Claim 40 (depends on 39)

The method as recited in claim 39 further comprising operating on the CL to load the CL onto the computing environment during loading of a cooperating binary executable program containing the cooperating launcher application by the dynamic linker/loader.

### Claim 41 (depends on 40)

The method as recited in claim 40 further comprising linking the CL with the cooperating launcher application during the loading of the binary executable program.

### Claim 42 (depends on 41)

The method as recited in claim 41 further comprising handling resolution and relocation of CL symbols by the dynamic linker/loader.

### Claim 43 (depends on 42)

The method as recited in claim 42 further comprising allocating a block of memory on the computing environment by the dynamic linker/loader.

### Claim 44 (depends on 43)

The method as recited in claim 43 further comprising loading the CL into the allocated memory block by the dynamic linker/loader.

### Claim 45 (depends on 44)

The method as recited in claim 44 further comprising providing a CL for use by the cooperating launcher application operable on a restricted computing environment wherein the restricted computing environment behaves in a manner comprising one or more of,
wherein the restricted computing environment does not allow the addition of native executable,
wherein the computing environment imposes a size restriction on the size of programs capable of executing under the computing environment, and
wherein the restricted computing environment does not allow dynamic linking.

### Claim 46

A computer readable medium having computer readable instructions to instruct a computing environment to perform a method comprising:
providing a code library (CL);
providing a source code stub file cooperating with a binary executable program that that allows the binary executable program executing on the computing environment to have access to the CL; and
providing a launcher module operable to provide access to the CL to the closed computing environment.

### Claim 47

A computer readable medium having computer readable instructions to instruct a 20 restricted computing environment to allow additional functionality through the use of a binary object comprising:
generating a platform independent dynamic library (PIDL) having an object file comprising any of executable and linking format (ELF) and portable executable (PE) file structure;
parsing the PIDL to generate a stub file generated as source code;
executing a cooperating computing application to allow access to the closed computing environment to the PIDL; and
linking the PIDL with a cooperating computing application by a dynamic loader/linker for execution on the computing environment.

### Claim 48 (depends on 47)

The computer readable medium as recited in claim 47 further comprising compiling source code of the stub file, a source code for the dynamic loader/linker, and source code of a cooperating computing application for the computing environment.

### Claim 49 (depends on 48)

The computer readable medium as recited in claim 48 wherein the dynamic linker/loader operates to perform symbol resolution and look up for PIDL symbols during run-time of a cooperating computing application operating on the computing environment.

### Claim 50 (depends on 47)

The computer readable medium as recited in claim 47 wherein the restricted computing environment comprises a restriction on the deployment to the computing environment of non-resident executable programs.

### Claim 51 (depends on 47)

The computer readable medium as recited in claim 47 further comprising allowing concurrency of operations by instructing multiple PIDL libraries to operate concurrently with a binary executable program running on a single computing environment process.

### Claim 52

A method to distribute a computing library for use in a computing environment subject to one or more constraints comprising any one or more of the computing environment being closed to the addition of native executable programs, the computing environment limiting execution to programs that fall within a program size limit, the computing environment having a run time environment (RTE) in which programs that run within the RTE have restricted access to one or more functions available to the native computing environment, the computing environment having a RTE which restricts operation to run only programs that are authenticated for the RTE, and the computing environment does not allow dynamic linking, comprising:
creating a dynamic library (DL) operable with a source-code based stub file,
wherein the DL is linked with a cooperating computing application as part of the execution of the cooperating computing application operable on the computing environment; and
communicating the DL to the computing environment independently from the cooperating application.

### Claim 53 (depends on 52)

The method as recited in claim 52 further-comprising providing a loader/linker operable with the cooperating computing application to relocate the variables of the DL for use by the cooperating computing application.

### Claim 54 (depends on 53)

The method as recited in claim 53 further comprising compiling source code of the stub file, a source code for the dynamic loader/linker, and source code of a cooperating computing application for the computing environment.

### Claim 55 (depends on 52)

The method as recited in claim 52 further comprising providing one or more of the DL and cooperating computing application from a storage media memory card.

### Claim 56 (depends on 52)

The method as recited in claim 52 comprising providing one or more of the DL and cooperating application over a communications network.

### Claim 57 (depends on 52)

The method as recited in claim 52 further comprising processing the DL as part of a digital rights management (DRM) scheme.

### Claim 58 (depends on 52)

The method as recited in claim 52 further comprising employing one or more DLs to allow concurrency of execution of one or more binary objects.

### Claim 59 (depends on 53)

The method as recited in claim 53 further comprising downloading a launcher application on a computing device operable as a proxy to allow access by the launcher program to dynamic libraries available to the computing device from an input source comprising any of a communications network and storage media.

### Claim 60 (depends on 59)

The method as recited in claim 59 further comprising extending the scope of the launcher application to include additional functions of a cooperating dynamic library when a dynamic library becomes available to the computing device.

### Claim 61 (depends on 52)

The method as recited in claim 52 wherein the cooperating computing application is deployed to the computing environment on a computing device prior to shipment for sale of the computing device to an end user.

### Claim 62 (depends on 52)

The method as recited in claim 52 wherein the cooperating computing application is deployed to the computing environment on a computing device after the shipment for sale of the computing device to the end user.

### Claim 63 (depends on 61, 62)

The method as recited in claim 61 or 62 wherein the computing device is a mobile phone or wireless enabled handset.

### Claim 64 (depends on 55, 56)

The method as recited in claim 55 or 56 further comprising providing a new version of the DL cooperating with the computing application.

### Claim 65 (depends on 55, 56)

The method as recited in claim 55 or 56 further comprising providing a new version of the computing application cooperating with at least one DL.
