IL157959A - Dynamically downloading and executing system services on a wireless device - Google Patents

Dynamically downloading and executing system services on a wireless device

Info

Publication number
IL157959A
IL157959A IL157959A IL15795903A IL157959A IL 157959 A IL157959 A IL 157959A IL 157959 A IL157959 A IL 157959A IL 15795903 A IL15795903 A IL 15795903A IL 157959 A IL157959 A IL 157959A
Authority
IL
Israel
Prior art keywords
virtual machine
wireless device
application
determining
loaded
Prior art date
Application number
IL157959A
Original Assignee
Qualcomm Inc
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Qualcomm Inc filed Critical Qualcomm Inc
Publication of IL157959A publication Critical patent/IL157959A/en

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/445Program loading or initiating
    • G06F9/44521Dynamic linking or loading; Link editing at or after load time, e.g. Java class loading
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/445Program loading or initiating
    • G06F9/44521Dynamic linking or loading; Link editing at or after load time, e.g. Java class loading
    • G06F9/44526Plug-ins; Add-ons

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Stored Programmes (AREA)
  • Information Transfer Between Computers (AREA)

Description

·ϋΐη?Ν ipnrn γηκι j s n mnno rrrnrf? η,ηνη DYNAMICALLY DOWNLOADING AND EXECUTING SYSTEM SERVICES ON A WIRELESS DEVICE QUALCOMM INCORPORATED C: 49783 DYNAMICALLY DOWNLOADING AND EXECUTING SYSTEM SERVICES ON A WIRELESS DEVICE BACKGROUND
[0001] Typically, system services, including virtual machines, viewers and plug-ins, need to be installed on a device in order to be used by other objects or applications that require them. For example, Java applets run on a device that has a Java virtual machine loaded. Consequently, a device that intends to execute the Java applet will install the Java virtual machine on the device. Typically, because the virtual machine, or other system service, needs to be integrated into the device it is executing on, the installation is performed in advance of trying to download or execute applet or other application wanting to take advantage of the system service.
[0002] Some devices, particularly wireless devices, however, have a constrained environment.
Memory, including secondary storage and primary for active programs and data, and processing is more scarce than on other larger computer systems. Consequently, it is advantageous to only download or install some system services, such as virtual machines, on an as needed basis. ? Unfortunately, on these constrained devices, system services are required to be installed or loaded into memory and take up valuable resources even when not used. Furthermore, users who want to use applications on devices that do not already have the application's supporting system services are hampered or prevented from doing so because the system services were not already installed on the device.
SUMMARY OF THE INVENTION
[0003] The present invention satisfies the shortcomings in the art by providing a system and method for dynamically downloading and installing system services, such as virtual machines, viewers, plug-ins, flash-players, other executable content or data, in a device based on the needs of the application running on the device.
[0004] In one embodiment, the present invention involves downloading a system service onto a wireless device to be used with an application also being downloaded. The system service may be downloaded automatically when the application is downloaded without user intervention.
[0005] In yet another embodiment, the present invention also detects whether a virtual machine is present when an application is loaded into the device's memory for execution and loads and executes the virtual machine, if necessary, so the application may run in the virtual machine's environment. 157959/2 2 BRIEF DESCRIPTION OF THE DRAWINGS
[0006] Reference will now be made in detail to the presently exemplary and preferred embodiments of the invention as illustrated in the accompanying drawings, in which like reference characters designate like or corresponding parts throughout the several drawings. The nature, objectives and advantages of the present invention will become more apparent to those skilled in the art after considering the following detailed description in connection with the accompanying drawings.
[0007] The accompanying drawings, which are incorporated in and constitute a part of the specification, illustrate presently preferred embodiments of the invention and, together with the general description given above and the detailed description of the preferred embodiments given below, serve to explain the principles of the invention. In the drawings:
[0008] Figure 1 depicts one exemplary embodiment of the environment in which the present invention may be practiced;
[0009] . Figure 2 depicts the process, involved with downloading an application which uses a system service consistent with an exemplary embodiment of the present invention; and
[0010] Figure 3 depicts the process of loading and executing a virtual machine installed on the wireless device in response to loading an application, which uses the virtual machine.
DESCRIPTION OF AN EXEMPLARY EMBODIMENT
[0011] Figure 1 depicts one exemplary embodiment of the environment in which the present invention may be practiced. In this embodiment, the device 100 communicates with the server 105 using a wireless network 125. The device 100 may be a wireless device that may transmit and/or receive data and/or voice. The wireless device 100 may request various pieces of information from the server, including applications 110 and system services 115, such as a virtual machine 120, used by the wireless device.
[0012] The wireless device 00 may contain a processor and memory, primary and secondary, (not shown) used to store, load and execute the applications 110 and system services 115 downloaded from the server. These applications 110 and system services 115 may also interact with a software platform located on the wireless device used to simplify interfacing with the wireless device, such as by providing generalized calls for device specific resources. Such a software platform is the Binary Runtime Environment for Wireless™ (BREW™) software developed by QUALCOMM, Inc., San Diego, California.
[0013] It will be recognized by those skilled in the art that the wireless device's 100 architecture may also contain an assortment of other components (either not shown or specifically indicated). Such components include, but are not limited to: a display, speaker, microphone, and buttons allowing alphanumeric and symbol inputs. The wireless device may also contain a battery, multiple storage mechanisms, such as ROMs, RAMs, and flash memory, an operating system and a compilation component to aid in the execution of applications, system services, other executable code and manipulation of data, on the device.
[0014] While the system services and applications are depicted as being located on the server 105, it will be recognized by those skilled in the art that the applications and software may not be physically located at the server. In this case, the server may make a request for the applications and system services for the wireless device from other systems and then download the requested files or may transfer the request to another system for direct transfer of requested files to the wireless device.
[0015] As is recognized by those skilled in the . art, Fig. 1 is one exemplary environment for the present invention. I The device may include other types of systems, including wireless andnori÷ wireless devices. In addition, the device may communicate with the server and other systems by a multiple of network types and communication architectures, including wireless and non- wireless, private and public, switched and non-switched, direct links, and any combination thereof.
[0016] Figure 2 depicts the process involved with downloading an application which uses a system service consistent with an exemplary embodiment of the present invention. A device, such as the wireless device 100, requests an application from the server 105 (Step 200). This request may have been initiated because a user requests a specific application, such as a game, from the wireless device. The device may be configured such that the applications available to the user are not all resident on the device itself, but a representation of those applications that the user may access.
[0017] This request, however, may be non-user initiated and may include those tasks for system maintenance and for tasks not involving direct user interaction. In addition, the request may be for types of files other than applications, including data, system services, or other types of information.
[0018] The device then receives the application from the server and stores it (Step 205). In one embodiment, the server sends the requested application to the device. As stated above, however, the application may not be physically stored at the server; yet, the server may receive the request and initiate the application download to the device.
[0019] The device then checks the application to determine whether the application uses a system service (Step 210). The application may include a reference, or some identifier, indicating that a systems service is used with the application. This reference may be included with the application or associated with the application in some other manner.
[0001] In one embodiment, the application is a Java applet and requires the use of a Java virtual machine (a system service) to execute. The device may contain a software platform, such as Brew™, described above. The device, using the software platform, determines that a Java virtual machine is used by the applet by checking whether there are any references by the applet to an object class indicating a Java virtual machine. In one embodiment, each object class is represented by a unique 32-bit identifier and this identifier can be used to determine which object classes are referenced.
[0021] The device then determines if the system service is already installed on the device (Step . ! 215). In one embodiment, this is performed by checking the: internal tables listing the object - classes installed on the device. Using the 32-bit identifier referenced by the downloaded application, the internal tables are checked to determine if the referenced object class is installed, or using the above example, whether the Java virtual machine is already installed on the device.
[0022] If the system service is not installed, then the "no" branch is followed and the system proceeds to download the system service (Step 220). Following the above example, if the Java virtual machine used by the downloaded application is not installed in the device, then the device makes a request to the server to download the Java virtual machine. Additionally, if other system services are needed, they may also be downloaded to the device.
[0023] It will be recognized by those skilled in the art that the downloading of system service(s) used by the downloaded application can be performed without any action by the user. Other than some possible transmission delays or indications, the user may be completely unaware that these downloads are occurring. It may, however, be desirable to inform the user that additional downloads are taking place. This is an implementation preference left to those practicing the present invention.
[0024] It will be further recognized by those skilled in the art that the downloading of a system service may be independent of whether the application was downloaded or not (i.e., the downloading of the system service may be initiated because of applications installed at the factory or otherwise transferred onto the device). 157959/2
[0025] If the system service is already installed in Step 210 or after it is downloaded in Step 220, then the system service is available for when the application is executed (step 225). It will be recognized by those skilled in the art that the system service may be downloaded onto the device but not loaded in the device for execution.
[0026] While the above description incorporates the use of the device making the determination of whether the system services are needed and downloading the system service in response to a request from the device, the invention also embodies the process where the server, or other system, performs the determination as to whether system services are needed and downloads the system service based on whether the device already has the system service installed or not.
[0027] Figure 3 depicts the process of loading and executing a virtual machine installed on the wireless device in response to loading an application which uses the virtual machine.- The process begins by having an application selected from those applications available to the wireless device (Step 300). This selection may be performed by a user wishing to execute the application. The selection, however, may be performed without user intervention by the device or in some other automated manner.
[0028] After the application is selected, the device loads the application into memory (Step 305) for execution. (Depending on the environment in which the application is executing, the loading of the application may be considered part of the application's execution). During this loading phase, the loader (the component loading the application for execution) requests the virtual machine services (Step 310). In one embodiment, the loader may perform this using an Applications Programming Interface (API) mechanism built in the software platform, described above, identifying the virtual machine using a unique class identifier.
[0001] For example, the application may be a Java applet requiring the use of a Java virtual machine to execute on the wireless device. A loader loading the Java applet on the device for execution may request Java virtual machine services by using a Brew™ API mechanism identifying the Java virtual machine by a unique identifier. In one embodiment, this identifier is a 32 bit class identifier.
[0030] The device then determines whether the virtual machine system service is loaded into memory (Step 315). The device may do this by checking the object classes loaded into memory. It is preferable that an identifier associated with each object class be used in order to track those system services, applications, executable files, data, other data types or object classes that are loaded.
[0031] The device, or specifically in one embodiment the Brew software platform, makes the determination as to whether the virtual machine requested by the loader is in memory already.
[0032] If the virtual machine is not already loaded into memory as determined in Step 315, the "no" branch is followed and the device loads the virtual machine (Step 320). If the virtual machine is not already installed on the wireless device, the virtual machine may be downloaded onto the wireless device from an external source, such as a server or other computer system which has access to the virtual machine software.
[0033] Depending on the device and operating platform the present invention is implemented on as well as the system service, the system service may require an additional execution or start step following its loading. The system service, or virtual machine in this embodiment, should be in a state in the device that is accessible to the downloaded application when executed or possibly other processes.
[0034] Following step 320 or if the determination is made after Step 315 that the virtual machine . is already loaded, the application then runs in the virtual machine environment (Step 325). If the system 'service is. not: a virtual machine, the application can now use the system service downloaded for the application. In the Java virtual machine example, the Java applet executes in the Java virtual machine environment.
[0035] If the device contains a software platform, such as the Brew™ software, to simplify the interface from the application to the wireless device, the virtual machine passes system services' requests made by the application or the virtual machine to the software platform (Step 330).
[0036] It will be recognized that while figure 3 discusses an application using a virtual machine during execution, that this is for exemplary purposes and the dynamic loading of other system services, other than the virtual machine, other executable content, and data used with applications, are considered within the scope of the present invention.
CONCLUSION
[0037] The present invention allows for the dynamic download and execution of system services on a device. In one embodiment, an applet requiring a virtual machine is downloaded to a wireless device. A software platform on the device determines that a virtual machine is used by the applet during execution. Without additional user interaction, the virtual machine is downloaded to the wireless device. This allows those applets requiring a virtual machine to be used with devices that don't have the virtual machine already installed.
[0038] Another embodiment of the present invention allows the dynamic loading of a system service, such as a virtual machine, when an application is being loaded that uses the system service. In this embodiment, it is performed using a unique identifier associated with the system service that allows the device to determine if the system service is loaded.
[0039] The foregoing description of an implementation of the invention has been presented for purposes of illustration and description. It is not exhaustive and does not limit the invention to the precise form disclosed. Modifications and variations are possible in light of the above teachings or may be acquired from practicing of the invention. For example, the described implementation includes software but one embodiment of the present invention may be implemented as a combination of hardware and software or in hardware alone. The invention may be implemented with both object-oriented and non-object-oriented programming systems. Additionally, although aspects of the present invention are described as being stored in memory, those skilled in the art will appreciate that these aspects can also be stored on other types of computer-readable media, such as, secondary storage devices, like hard disks, floppy disks, or GDrROM;va carrier wave from the Internet or Other propagation medium; or other forms, of RAM or ROM. The scope of the invention is defined by the claims and their equivalents.
We claim:

Claims (4)

157959/2 8 C!hums
1. A method for supporting a download of an application from a server to a wireless device, comprising: downloading from the server the application and an associated reference; first determining, prior to execution of the application, based upon the associated reference, whether execution of the application requires a virtual machine to be loaded on the wireless device; if said first determining step determines that the virtual machine is required for the execution of the application, performing the step of second determining whether the virtual machine is loaded on the wireless device; if said second determining step determines that the virtual machine is not loaded on the wireless device, sending a second download request to the server for the virtual machine, and making the virtual machine available to the application after the virtual machine has been received from the server in response to the second download request; wherein said steps of first determining, second determining, sending a second download request, and making the virtual machine available are performed automatically on the wireless device without interaction with a user of the wireless device.
2. The method of claim 1, wherein the application is Java code and the virtual machine is a Java virtual machine.
3. A wireless device readable medium including instructions stored thereon that when executed by a processor of a wireless device, causes the wireless device to perform operations, the instructions comprising: instructions to download from a server an application and an associated reference; instructions to first determine, prior to execution of the application, based upon the associated reference, whether an execution of the application requires a virtual machine to be loaded on the wireless device; if said first determining step determines that the virtual machine is required for execution of the application, performing the step of second determining whether the virtual machine is loaded on the wireless device; instructions to automatically download from the server the virtual machine, and making the virtual machine available to the application when it is determined the application requires the virtual machine.
4. A wireless device, comprising: means for downloading an application and an associated reference; first means for automatically determining, prior to execution of the application and without interaction with a user of the wireless device, based upon the associated reference, whether execution of the application requires a virtual machine to be loaded on the wireless device; second means for automatically determining without interaction with the user of the wireless device whether the virtual machine is loaded on the wireless device when said first means for determining has determined that the application requires a virtual machine; and 157959/2 means for automatically sending without interaction with the user of the wireless device, a second download request for the virtual machine when said second means for determining has determined that the virtual machine is not loaded on the wireless device. i rJhe-Aepferant, Sanford T. Colb & Co. C: 49783
IL157959A 2001-03-19 2003-09-16 Dynamically downloading and executing system services on a wireless device IL157959A (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
US27760701P 2001-03-19 2001-03-19
PCT/US2002/008394 WO2002075527A2 (en) 2001-03-19 2002-03-18 Dynamically downloading and executing system services on a wireless device

Publications (1)

Publication Number Publication Date
IL157959A true IL157959A (en) 2008-07-08

Family

ID=23061612

Family Applications (2)

Application Number Title Priority Date Filing Date
IL15795902A IL157959A0 (en) 2001-03-19 2002-03-18 Dynamically downloading and executing system services on a wireless device
IL157959A IL157959A (en) 2001-03-19 2003-09-16 Dynamically downloading and executing system services on a wireless device

Family Applications Before (1)

Application Number Title Priority Date Filing Date
IL15795902A IL157959A0 (en) 2001-03-19 2002-03-18 Dynamically downloading and executing system services on a wireless device

Country Status (15)

Country Link
EP (1) EP1421484A2 (en)
JP (1) JP2004537086A (en)
KR (1) KR100587749B1 (en)
CN (1) CN1256666C (en)
AR (1) AR035784A1 (en)
AU (1) AU2002254289B2 (en)
BR (1) BR0208206A (en)
CA (1) CA2441870C (en)
HK (1) HK1068981A1 (en)
IL (2) IL157959A0 (en)
MX (1) MXPA03008532A (en)
NZ (1) NZ528277A (en)
PE (1) PE20030003A1 (en)
TW (1) TWI246833B (en)
WO (1) WO2002075527A2 (en)

Families Citing this family (25)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8737981B2 (en) * 2002-12-19 2014-05-27 Qualcomm Incorporated Downloadable configuring application for a wireless device
FR2849704A1 (en) * 2003-01-02 2004-07-09 Thomson Licensing Sa Conditional decision device for e.g. Internet decoder, has program obtaining module to start downloading if programs are not available, and decision obtaining module to allow or prevent downloading based on information
US20050060704A1 (en) * 2003-09-17 2005-03-17 International Business Machines Corporation Managing processing within computing environments including initiation of virtual machines
US7552433B2 (en) * 2003-11-12 2009-06-23 Hewlett-Packard Development Company, L.P. Non-platform-specific unique indentifier generation
US7509658B2 (en) 2004-01-30 2009-03-24 Research In Motion Limited System and method for adaptable provisioning of generic application content
US8387039B2 (en) 2004-01-30 2013-02-26 Research In Motion Limited System and method for customized provisioning of application content
EP1560114A1 (en) * 2004-02-02 2005-08-03 Research In Motion Limited Computer system and method for customized provisioning of application content
EP1560115A1 (en) * 2004-02-02 2005-08-03 Research In Motion Limited Computer system and method for adaptable provisioning of generic application content
US8549166B2 (en) * 2004-03-01 2013-10-01 Qualcomm Incorporated Execution of unverified programs in a wireless, device operating environment
CN100498711C (en) * 2004-07-20 2009-06-10 明星游戏株式会社 Automatic translation program and program translation server
WO2006090612A1 (en) * 2005-02-25 2006-08-31 Sharp Kabushiki Kaisha Data management system, data management method, server device, reception device, control program, and computer-readable recording medium containing the same
WO2006094117A2 (en) * 2005-03-01 2006-09-08 Mfoundry Application program update deployment to a mobile device
JP2006260440A (en) * 2005-03-18 2006-09-28 Nomura Research Institute Ltd Application system for portable terminal
WO2007081163A1 (en) * 2006-01-11 2007-07-19 Samsung Electronics Co., Ltd. Security management method and apparatus in multimedia middleware, and storage medium therefor
EP2053504A1 (en) * 2007-08-09 2009-04-29 France Telecom System and method for managing processing resources
US8811968B2 (en) 2007-11-21 2014-08-19 Mfoundry, Inc. Systems and methods for executing an application on a mobile device
KR20090132374A (en) * 2008-06-20 2009-12-30 삼성전자주식회사 Display apparatus, server, and method for updating system control program of display apparatus
KR200453971Y1 (en) * 2009-07-10 2011-06-09 (주)아모레퍼시픽 Ball feeding appratus for producing cosmetics
CN102487380B (en) * 2010-12-01 2016-09-07 中兴通讯股份有限公司 Desktop virtual terminal entrusting method and system
US9275162B2 (en) 2011-03-22 2016-03-01 Blackberry Limited Pre-caching web content for a mobile device
US9401917B2 (en) 2011-06-03 2016-07-26 Blackberry Limited Pre-caching resources based on a cache manifest
US9317689B2 (en) * 2012-06-15 2016-04-19 Visa International Service Association Method and apparatus for secure application execution
JP5814889B2 (en) * 2012-08-27 2015-11-17 株式会社コナミデジタルエンタテインメント GAME SELECTION CONTROL METHOD, GAME SOFTWARE DISTRIBUTION CONTROL METHOD, AND GAME SOFTWARE DISTRIBUTION SERVER
CN104714890A (en) * 2015-04-13 2015-06-17 东信和平科技股份有限公司 Method and system for detecting intelligent card in cross-platform way
US10255092B2 (en) * 2016-02-09 2019-04-09 Airwatch Llc Managed virtual machine deployment

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5630066A (en) * 1994-12-20 1997-05-13 Sun Microsystems, Inc. System and method for locating object view and platform independent object
US6349408B1 (en) * 1998-03-23 2002-02-19 Sun Microsystems, Inc. Techniques for implementing a framework for extensible applications
US6571389B1 (en) * 1999-04-27 2003-05-27 International Business Machines Corporation System and method for improving the manageability and usability of a Java environment

Also Published As

Publication number Publication date
BR0208206A (en) 2006-02-21
MXPA03008532A (en) 2004-06-30
TWI246833B (en) 2006-01-01
CN1526096A (en) 2004-09-01
CA2441870C (en) 2010-02-23
KR20030084886A (en) 2003-11-01
AR035784A1 (en) 2004-07-14
EP1421484A2 (en) 2004-05-26
PE20030003A1 (en) 2003-01-21
JP2004537086A (en) 2004-12-09
CA2441870A1 (en) 2002-09-26
IL157959A0 (en) 2004-03-28
WO2002075527A9 (en) 2004-06-17
WO2002075527A2 (en) 2002-09-26
KR100587749B1 (en) 2006-06-09
CN1256666C (en) 2006-05-17
NZ528277A (en) 2007-06-29
WO2002075527A3 (en) 2004-04-01
AU2002254289B2 (en) 2006-12-07
HK1068981A1 (en) 2005-05-06

Similar Documents

Publication Publication Date Title
US7165099B2 (en) Dynamically downloading and executing system services on a wireless device
CA2441870C (en) Dynamically downloading and executing system services on a wireless device
AU2002254289A1 (en) Dynamically downloading and executing system services on a wireless device
EP3128421B1 (en) Method, device, and system for achieving java application installation by cloud compilation
EP1584007B1 (en) System to automatically process components on a device
RU2339076C2 (en) Execution of non-verified programs in radio communication device
JP5248657B2 (en) System for registry-based automated installation and component handling on devices
JPH1083308A (en) Subsystem, method, and recording medium for stab retrieval and loading
US7617273B2 (en) Method and apparatus for providing a unified component architecture for client-side and server-side components
JP2001522113A (en) Distributed web application server
JP4931343B2 (en) System, method, program, and apparatus for providing self-installing software components for performing network services
CN110045998A (en) Load the method and device of dynamic base
JP3242376B2 (en) System and method for automatically localizing access to remote network components using implicit agent relocation
CN117170723A (en) Java code heat treatment method and device, medium and equipment
JP2008521111A (en) Safe program interpretation method in electronic devices
JP2001318794A (en) Program control method, execution device therefor and recoding medium recorded with processing program therefor

Legal Events

Date Code Title Description
MM9K Patent not in force due to non-payment of renewal fees