1. Field of the invention
The present invention relates to the field of data processing systems. Specifically, the present invention relates to a method and system for installing an application in a portable computer system.
2. Related art
As the components required to build a computer system have reduced in size, new categories of computer systems have emerged. One of the more recent categories of computer systems is the “palmtop” computer system, or personal digital assistant (PDA). A palmtop computer system is a computer that is small enough to be held in the hand of a user and is thus “palm-sized.” As a result, palmtops are readily carried about in a briefcase or purse, and some palmtops are compact enough to fit into a person's pocket. By virtue of their size, palmtop computer systems are also lightweight and so are exceptionally portable and convenient.
The portability and convenience of palmtops has made it increasingly desirable to increase the number and types of applications that can be run on them. It is advantageous to expand the capabilities of a palmtop so that it can provide many of the same, if not the same, services provided by a desktop or laptop computer system, particularly with regard to access to the World Wide Web as well as the ability to communicate with other palmtops and personal computers. As such, information currently available via the Internet over personal computers, such as on-line access to news and financial information, can also be provided via a palmtop. In addition, a palmtop can be used for electronic mail (“e-mail”) and multi-player gaming, and features such as voice recognition can also be added.
It has proven convenient to exchange data and information between a computer system and a palmtop computer using a communication interface, such as a serial or parallel input port. Many palmtop computers also include an infrared communication port for transmitting data over a wireless link (“beaming”). Thus, mechanisms exist for transferring applications and other information from a computer system to a palmtop, or from one palmtop to another. Moreover, the palmtop can be linked to traditional desktop applications such as word processing and spreadsheet programs.
However, with portability and convenience comes a tradeoff in processing power and memory space. The processing problem can be addressed using processors that are smaller and faster than preceding generations, and innovative techniques may also be available to store data and information more densely in smaller places. Still, for a given density of memory space, it is generally necessary to increase the physical size of the memory in order to increase the memory capacity. This is problematic given the preference for ever smaller palmtops or for palmtops that provide further capabilities without an increase in size and weight. Accordingly, when compared to a desktop computer system, a palmtop may be limited with regard to the amount of information it can hold, and hence with regard to the number and types of applications that can be used.
This problem can be aggravated by the size of the operating system needed to support the various applications loaded on the palmtop. As the number and, in particular, the variety of applications increases, the operating system needed to run those applications increases in complexity and correspondingly in size, further exacerbating the memory issue.
The traditional model for generic, limited resource devices such as palmtops is that a memory image is built and installed on the device. The memory image provides a certain set of abstract operating system services for the applications on the device. However, as the application set expands and becomes more diverse, the need for the operating system to grow in size and abstraction becomes more problematic in relation to the resources available in the device.
In addition, many applications today utilize the well-known Component Object Model (COM) software architecture as well as other well-known architectures such as Common Object Request Broker Architecture (CORBA), Distributed COM (DCOM), and Distributed Computing Environment (DCE). COM is based on software objects or modules that are well encapsulated and accessed through interfaces provided by services such as Object Linking and Embedding (OLE) and ActiveX. COM objects can interoperate with other COM components through their interfaces. In this way, COM allows applications to be built from different components.
Thus, with a COM-based architecture, the operating system provides services supporting the execution of an application, in essence building the application by defining and implementing interfaces and modules between its various COM components when the application is called. Accordingly, with COM applications, further complexity is added to the operating system, requiring more coding and hence more memory.
In summary, in order to keep up with consumer demands, it is desirable to expand the capabilities of palmtops and increase the number and type of applications they can execute, as well as the amount of information they can hold. However, this can put a strain on the memory resources of the palmtop. Furthermore, the number and variety of applications can increase the complexity and size of the operating system needed, also straining available memory resources. In addition, software architectures such as COM can increase the size and complexity of the operating system, further adding to the load on available memory. On the other hand, any increase in memory size is constrained by the desire to keep palmtops small and light.
Accordingly, what is needed is a system or method allowing applications to be stored and executed on a portable computer system (e.g., a palmtop) while efficiently utilizing the memory resources available on such a device. The present invention provides this advantage and others not specifically mentioned above but described in the sections to follow.
A method and system are described for installing an application or set of applications on a client device, such as a portable (or palmtop) computer system. In the present embodiment, the application(s) to be installed on the client device are identified. A host device generates an operating system for the client device that contains essentially only those software routines needed to support the applications (a “subset” of software routines). Only the application(s) and the subset of software routines needed to support the application(s) are downloaded onto the client computer system. Thus, the operating system of the client computer system contains only those software routines needed to support the application(s), thereby saving memory space in the client computer system.
In one embodiment, the subset comprises a complete set of software routines that are required to use the application(s) on the client device. In this embodiment, the application(s) and the subset are installed on the client device.
In another embodiment, the subset comprises only those software routines that, in combination with software routines already on the client device and used by the client operating system, allow the application(s) to be used on the client device. In this embodiment, the application(s) and only the incremental changes to the client operating system needed to support the application(s) are installed on the client device, and the client operating system is modified accordingly.
In the present embodiment, the application(s) and the subset of software routines are downloaded onto the client computer system at “sync time” (the time at which the client and host computer systems synchronize with each other to share information such as applications and databases).
In another embodiment, a user identifies via a graphical user interface the applications that are to be installed on the client device.
The present invention thus provides a method and system thereof in which a memory image is built at sync time and loaded onto the client device, such that the memory image includes only the specific code and resources required to support the client device and the application(s) installed on the client device. In one embodiment, the present invention includes the concept of synchronizing the presently installed operating system and installing a new application or set of applications with only the changes (“deltas”) in the operating system required by the application(s). The present invention removes the need to install code or resources not required by the specific type of client device or the application(s) installed thereon, thereby efficiently using memory resources on the client device.
In the following detailed description of the present invention, numerous specific details are set forth in order to provide a thorough understanding of the present invention. However, it will be recognized by one skilled in the art that the present invention may be practiced without these specific details or with equivalents thereof. In other instances, well known methods, procedures, components, and circuits have not been described in detail as not to unnecessarily obscure aspects of the present invention.
Some portions of the detailed descriptions, which follow, are presented in terms of procedures, steps, logic blocks, processing, and other symbolic representations of operations on data bits that can be performed on computer memory. These descriptions and representations are the means used by those skilled in the data processing arts to most effectively convey the substance of their work to others skilled in the art. A procedure, computer executed step, logic block, process, etc., is here, and generally, conceived to be a self-consistent sequence of steps or instructions leading to a desired result. The steps are those requiring physical manipulations of physical quantities. Usually, though not necessarily, these quantities take the form of electrical or magnetic signals capable of being stored, transferred, combined, compared, and otherwise manipulated in a computer system. It has proven convenient at times, principally for reasons of common usage, to refer to these signals as bits, values, elements, symbols, characters, terms, numbers, or the like.
It should be borne in mind, however, that all of these and similar terms are to be associated with the appropriate physical quantities and are merely convenient labels applied to these quantities. Unless specifically stated otherwise as apparent from the following discussions, it is appreciated that throughout the present invention, discussions utilizing terms such as “identifying” or “generating” or “installing” or “receiving” or “transferring” or “inserting” or “modifying” or “building” or “storing” or “determining” or “replacing” or the like, refer to the action and processes of a computer system (e.g., processes 1000, 1100 and 1200 of
In the present embodiment, base station 32 is both a transmitter and receiver base station, which can be implemented by coupling it into an existing public telephone network 34. Implemented in this manner, base station 32 enables portable computer system 100 to communicate with a proxy server computer system 36, which is coupled by wire to the existing public telephone network 34. Furthermore, proxy server computer system 36 is coupled to the internet 52, thereby enabling portable computer system 100 to communicate with the Internet 52. When communicating with a Web site over internet 52, protocols such as CTP (Compact Transport Protocol) and CML (Compact Markup Language) can be used by portable computer system 100 in the present embodiment.
It should be appreciated that within the present embodiment, one of the functions of proxy sewer 36 is to perform operations over the Internet 52 on behalf of portable computer system 100. For example, proxy server 36 has a particular Internet address and acts as a proxy device for portable computer system 100 over the Internet 52.
It should be further appreciated that other embodiments of a communications network, planned or envisioned, may be utilized in accordance with the present invention. For example, a wireless connection may be made from portable computer system 100 directly to the Internet 52.
The data and information which are communicated between base station 32 and portable computer system 100 are the same type of information and data that can conventionally be transferred and received over a public telephone wire network system. However, a wireless communication interface is utilized to communicate data and information between portable computer system 100 and base station 32. It should be appreciated that one embodiment of a wireless communication system in accordance with the present invention is the Mobitex wireless communication system.
Importantly, bus 54 is also coupled to a cradle 60 for receiving and initiating communication with portable computer system 100 (“handheld computer”) of the present invention. Cradle 60 provides an electrical and mechanical communication interface between bus 54 (and anything coupled to bus 54) and the computer system 100 for two-way communications. It is appreciated that, in accordance with the present invention, portable computer system 100 may instead be coupled to host computer systems 56 and 58 via a wireless (radio) connection. Computer system I00 also contains a wireless infrared communication mechanism 64 for sending and receiving information from other devices.
With reference to both
Infrared communication mechanism 64 (e.g., an infrared emitter and detector device) is for sending and receiving information from other similarly equipped devices (see
With reference still to
In one embodiment, computer system 100 includes a communication circuit 109 coupled to bus 110. Communication circuit 109 includes an optional digital signal processor (DSP) 120 for processing data to be transmitted or data that are received via signal transmitter/receiver device 108. Alternatively, processor 101 can perform some or all of the functions performed by DSP 120.
Also included in computer system 100 of
Refer now to
Continuing with reference to
Continuing with reference to
With reference still to
With reference to
In accordance with the present embodiment of the present invention, software platform 910 represents a subset of software platform 900 that can be used on a portable computer system 100. Software platform 910 includes an application software layer 912, an application program interface layer 914, and an operating system 916 comprised of a plurality of software routines or modules 906a-c. Application software layer 912 includes those applications installed on portable computer system 100. In accordance with the present embodiment of the present invention, operating system 916 is comprised of only those software routines or modules 906a-c that are needed in order to support the execution of the applications and APIs in software layer 912 and API layer 914. Thus, in accordance with the present invention, software platform 910 uses less memory than software platform 900, thereby more efficiently using the memory resources on portable computer system 100. Additional information is provided in conjunction with
Thus, in the former embodiment of the preceding paragraph] the memory image comprises the incremental changes to operating system 916 needed to support application 908, while in the latter embodiment, the memory image comprises a more complete operating system needed to support application 908 and the other applications installed on portable computer system 100. In either embodiment, operating system 916 of the portable computer system contains only those software routines needed to support the installed applications, thus efficiently using the memory resources available on the portable computer system.
In the present embodiment of the present invention] the operating system 916 is modified at sync time to incorporate the memory image comprising either software routine 906d or the memory image comprising the modified operating system 916 (that is, the memory image containing software routines 906a-d). New application 908 is also downloaded onto portable computer system 100 at sync time.
In step 1010 of
In one embodiment, application 908 is based on the well-known Component Object Model (COM) software architecture or one of the other well-known architectures such as Common Object Request Broker Architecture (CORBA), Distributed COM (DCOM), and Distributed Computing Environment (DCE). In these cases, it may be necessary for computer system 342 to build application 908; the manner in which an application is built in accordance with these software architectures is also well-known in the art. Thus, in accordance with the present invention, because application 908 is built on computer system 342, it is not necessary for portable computer system 100 to have software/code for supporting software architectures such as COM, thereby saving memory space in the portable computer system.
In step 1020 of
Accordingly, in one embodiment, the subset comprises the software routine(s) (e.g., software routine 906d ) or a portion of one or more software routines that, in combination with software routines 906a-c already used by operating system 916 on portable computer system 100, support application 908 (e.g., allow the application to be used on the portable computer system). In another embodiment, the subset comprises the entire set of software routines 906a-d that are required to use application 908 as well as the other applications installed on portable computer system 100.
It is appreciated that computer system 342 also has the capability to identify unique characteristics of portable computer system 100 that are pertinent to identifying the changes that are needed to operating system 916. That is, for example, computer system 342 can identify the type of hardware (e.g., the type of processor) being used by portable computer system 100, and consequently can tailor the application and the subset of the operating system accordingly.
In step 1030 of
In step 1040, application 908 is installed on portable computer system 100.
It is appreciated that process 1000 can be implemented with a graphical user interface (GUI) or similar mechanism that allows the user of portable computer system 100 to select applications to be installed on portable computer system 100. Thus, the present embodiment of the present invention can be automatically performed at sync time, or it can be implemented under the direction of and at the discretion of the user.
The present embodiment of the present invention, in particular process 1000, has been described in a context in which a new application is to be installed onto portable computer system 100. However, it is appreciated that the present embodiment of the present invention can also be used to update or delete one or more applications on portable computer system 100, or to install a new API, update an existing API, or delete an API from portable computer system 100.
For example, a GUI can be used to select applications to be removed from portable computer system 100. In this latter case, those portions of operating system 916 of portable computer system 100 that are no longer needed because, for example, the applications they support have been removed can also be removed from portable computer system 100 during the synchronization process.
In step 1110 of
In step 1120, with reference also to
In step 1130 of
In step 1140 of
Thus, the present embodiment of the present invention provides a method and system thereof in which a memory image is built at sync time and loaded onto the client device (e.g., portable computer system 100), such that the memory image includes only the specific code and resources required to support the client device and the application(s) installed on the client device. In another embodiment, the present invention includes the concept of synchronizing the presently installed operating system and installing a new application or set of applications with only the changes (“deltas”) in the operating system required by the new application. The present embodiment of the present invention removes the need to install software/code or resources not required by the specific type of client device or the applications installed thereon, thereby saving memory space on the client device.
Component object 1320 comprises a plurality of different functions that may be used by applications 1310 and 1330. For example, during the execution of application 1310, if a particular function (e.g., a “draw line” function) needs to be performed, the execution is transferred to component object 1320 for that function. Upon completion of the function, the execution is transferred back to application 1310. Similarly, application 1330 can also be connected with component object 1320 for the draw line function or for some other function. It is appreciated that an application can have multiple calls.
In accordance with the present embodiment of the present invention, a call in an application (e.g., application 1310) to a specific function in component object 1320 is made with reference to a specific memory address in component object 1320 where that function is located (e.g., a physical memory location or a line number). In this embodiment, a line of code in application 1310 (the line of code at which the call is located) is linked to a line of code where the function being called is located; this process is referred to as “binding.”For example, the previous reference to the function (e.g., a library or system call to “draw line”) is replaced with a function call to a memory address (e.g., line 1504). Specifically, a “dispatch” to a particular component object and function is linked to a particular line number. For example, if component object 1320 is component object “#3” and the draw line function is function “#5,” then dispatch (#3,#5) is linked to line 1504. In this manner, application 1310 is “bound” to component object 1320; specifically, a draw line call in application 1310 is bound to line 1504. It is appreciated that an application can be bound to multiple physical memory locations in more than one component objects. Similarly, component objects can be bound to other component objects.
By binding an application to a specific memory address in a component object in accordance with the present embodiment of the present invention, the call to the referenced function occurs more quickly, improving the overall processing efficiency of the device executing the application. In addition, there is a potential memory space benefit when the function call is smaller than the library call and the code is rearranged to eliminate this unneeded space.
In step 1210 of
In step 1220 of
In step 1230 of
If the threshold criterion is satisfied, binding is performed during the synchronization currently being performed (step 1240). Otherwise, the binding is not performed but is performed at a later sync time. The threshold criterion is checked each time synchronization is performed (step 1235).
The threshold criterion is utilized because, once an application is bound to component object 1320 in portable computer system 100, it may be difficult to share the application with another portable computer system. For example, it is popular to beam an application from one palmtop computer to a second palmtop using an infrared signal (see discussion pertaining to
In one embodiment, the threshold criterion is based on the elapsed time since application 1310 was installed on portable computer system 100 (in step 1220). In another embodiment, the threshold criterion is based on the elapsed time since the last time application 1310 was beamed from portable computer system 100 to another computer system. In these embodiments, the purpose of the threshold criterion is to allow a user a period of time to beam application 1310 to another user before the application is bound, or to delay binding until it appears that the application will no longer be beamed. It is appreciated that other threshold criterion may be utilized for other purposes in accordance with the present invention. For example, the threshold criterion can be based on the number of times the application is beamed from portable computer system 100 to other portable computer systems.
In the present embodiment, if binding, is not performed during the current synchronization, a copy of application 1310 is maintained on computer system 342. This copy of the application can be bound by computer system 342 when the threshold criterion is satisfied, and the bound copy can be used to replace the unbound version of the application on portable computer system 100 at a later sync time. Thus application 1310 does not have to be transferred back and forth between portable computer system 100 and computer system 342 in order to be bound.
In step 1240 of
In step 1250 of
The present embodiment of the present invention is described in the context of installing an application from a host computer device (e.g., computer system 342) to a portable computer system 100. However, it is appreciated that the present embodiment of the present invention may be utilized in other types and combinations of computer systems. Furthermore, the present embodiment of the present invention may be utilized to bind an application, a component object or a line of code to another application, component object or line of code in any type of single storage system (egg., a memory unit such as ROM, RAM, etc.), or in two different storage systems on the same or on different devices.
Thus, the present embodiment of the present invention provides a method and system thereof for binding an application to a specific physical memory location (e.g., a line number) that corresponds to a line or section of code for performing a particular function. Accordingly, when the application makes a call to that function, the execution of the application can proceed directly to the physical location where that function is located, instead of having to search out the location of the function. As such, the call is completed more quickly, thereby speeding up the execution of the application.
The preferred embodiment of the present invention is thus described. While the present invention has been described in particular embodiments, it should be appreciated that the present invention should not be construed as limited by such embodiments, but rather construed according to the below claims.
This application is a continuation application of application Ser. No. 09/572,563, entitled “Sync-Time Read Only Memory Image Binding For Limited Resource Devices,” filed May 16, 2000, to be issued as U.S. Pat. No. 6,959,330, and assigned to the assignee of the present application. The subject matter in the above-identified co-pending and commonly owned application is incorporated herein by reference.
Number | Date | Country | |
---|---|---|---|
Parent | 09572563 | May 2000 | US |
Child | 11258599 | Oct 2005 | US |