This invention relates generally to a software interface for a mobile device. More particularly, the invention provides an extendable software interface enabling forward compatibility in a mobile device, such that new applications may be easily integrated into the mobile device. This invention is particularly well-suited for use in Personal Digital Assistants, mobile communication devices, cellular phones, and wireless two-way email communication devices (collectively referred to herein as “mobile devices”).
2. Description Of The Related Art
Typical mobile device interfaces are constrained by resource limitations on the mobile device as compared to those of a desktop system. As a result of these constraints, known mobile device interfaces are generally either hard-wired or hard-coded. In either case, the known mobile device interfaces are immutable once the mobile device has been manufactured. For instance, in a hard-wired mobile device, physical components, such as push buttons and displays, are generally integrated into a user interface by control logic wired into a printed circuit board. Consequently, a hard-wired mobile device is not capable of being upgraded to support new applications. In a hard-coded mobile device, a programmable device is typically used for the control logic, and the user interface is generally controlled by the firmware and/or operating system of the mobile device. New applications can generally be added to a hard-coded mobile device, but this process typically involves replacing or upgrading the interface software, which often involves a risk of breaking compatibility with legacy features of the mobile device. In addition, neither hard-wired nor hard-coded mobile devices typically allow a user to seamlessly interface between an application program and data types associated with other application programs.
A system and method for an extendable software interface includes a software architecture for use in a mobile device having a processor and a memory device. The software architecture comprises a plurality of application programs stored in the memory device and executed by the processor, and at least one controller module for interfacing the plurality of application programs with a data model configured to interact with a particular type of data object. Each controller module utilizes one or more generic interfaces with the plurality of application programs, and also utilizes a specific interface with the data model.
Referring now to the drawing figures,
Operationally, the software interface of the mobile device 10 is extended using the software modules 30 and 32, and the generic interfaces 18. The software modules 30 and 32 are executed by the virtual machine 28, which is preferably an object oriented run-time environment such as Sun Micro System's J2ME (JAVA® 2 Micro Edition). The software modules 30 and 32 are preferably constructed using a JAVA® compiler capable of enforcing a software application interoperation architecture that takes on the form of a collection of compiled classes and objects along with an application programming interface (API).
Data models 32 are classes that represent the various types of data stored on the mobile device 10. The types of data may include, for example, e-mail messages, address book entries, calendar items, tasks, and memos. In addition, next-generation mobile devices may store data such as SMS messages, phone call logs, voice mail indicators, WAP requests, multiple e-mail sources, HTML content exchanges, specialized banking services, financial services, field server and customer service offerings, or downloads from corporate databases.
The data models 32 are preferably stored on the mobile device 10 in the form of Java objects for execution in the J2ME run time environment. Each data model 32 is designed for a particular type of data object, and includes specialized functions for retrieving information associated with the data type. For example, an e-mail message model may have specialized functions for retrieving the subject of the e-mail object and for retrieving the body of the e-mail object. A calendar entry model, on the other hand, may include specialized functions specific to a calendar entry object, such as a function capable of retrieving the duration of an appointment.
Each type of data model 32 has an associated controller 30 capable of interacting with the specific functions of the data model 32 type and representing the data model 32 in a uniform way to the rest of the software interface system. Operationally, the controllers 30 isolate the data models 32 from the generic interfaces 18, and implement the generic interfaces 18 such that each controller 30 can be easily hosted by any application program 34 that supports the generic interfaces 18. In this manner, the controllers 30 present a common, standard interface to any application 34; and each application that supports the generic interfaces 18 is able to interact with any arbitrary controller 30. For example, an e-mail application using one or more of the generic interfaces 18 can interface with an address book controller to retrieve an e-mail address from an address book data model. Moreover, existing controllers 30 can be used to interface with any new applications supporting the generic interfaces 18. In this manner, a mobile device user is able to install new applications without having to upgrade his or her operating system 26 or interface software 28. The flexibility provided by the interoperability of the controllers 30 may also enable the mobile device user to expand the functionality of his or her mobile device 10 by interacting with third party applications, such as banking or other commercial services.
The interaction between an application program 34 and any arbitrary controller 30 is primarily made possible by generic interfaces 18 that are implemented each controller 30. The generic interfaces 18 are generic in the sense that they are object-oriented as opposed to being specific to a certain type of data. Put another way, each generic interface 18 is preferably programmed to perform a certain operation regardless of the data type. Operationally, each application 34 is preferably programmed to query any controller 30 to determine if the controller 30 supports one or more generic interfaces 18 required to perform a given operation. If so, the application 34 then interacts with the controller 30 and its associated data model 32 to complete the operation. For instance, an application 34 may query a controller 30 to determine whether it supports a generic interface 18 capable of painting an object (such as the body of an e-mail message) onto a screen, and if so, then interface with an controller 30 to display the object. In this manner, the same type of generic interface 18 that is used by an application 34 to display the body of an e-mail message could also be used, for example, to display a clipping from a lengthy SMS message. In another example, the same generic interface 18 used to display the e-mail message may also be used to receive an e-mail address from an e-mail controller and interface with an address book application to paint the address into an address file. Preferably, new controllers could also be implemented that support new generic interfaces. Therefore, new controllers can easily be designed to interface with upgraded applications supporting new functions, and still be compatible with older applications as long as the new controller includes the older generic interfaces.
Three exemplary generic interfaces that may be implemented by a controller 30 are briefly described below. It should be understood, however, that these are just a few examples of the many types of generic interfaces that could be used within the system shown in
In a preferred embodiment, however, the persisted list should not identify a controller 92, 94 or 96 for each data object. Rather, the appropriate controller 92, 94 or 96 is preferably identified as some action is taken with a data model 98, 100, 102, 104, 106 or 108. When an application 34 needs to access a data model, the application 34 preferably (1) queries the data model for the correct controller, (2) calls the controller, and then (3) passes in the data model as the first parameter. In this manner, the controllers 92, 94 and 96 are stateless objects such that only one instance of a controller 92, 94 or 96 is capable of handling all of the data models of a certain type that are executing in the system. For example, in
For instance, with reference to
In step 650, the second-order controller preferably provides a list of functions that may be performed on the second-order object. Once a function associated with a second-order object has been selected by the mobile device user (step 660), the second-order controller preferably establishes whether the function (1) relates to the current application, or (2) requires access to another application installed on the mobile device (step 670). For instance, if an address is selected as a second-order object within an e-mail message, then the user may be given the option to (1) insert the address into the “To:” line of a new message, or (2) insert the address into an address book. If the user chooses to compose a new message using the selected address in the “To:” line, then the second-order (address) controller preferably knows that the selected operation relates to the e-mail messaging application that is already executing. Then, the first and second-order controllers may interface with the currently executing application to perform the selected function (step 700). If, however, the user chooses to insert the object into an address book file, then the e-mail message controller and second-order address controller need access to an address book application before the function can be completed. Therefore, when another application installed on the mobile device is required to perform the selected function, the new application is preferably launched by either the first or second-order controller (step 680). Then, because the first and second-order applications utilize generic interfaces, both can interface with the new application to perform the selected function (steps 690 and 700).
The embodiments described herein are examples of structures, systems or methods having elements corresponding to the elements of the invention recited in the claims. This written description may enable those skilled in the art to make and use embodiments having alternative elements that likewise correspond to the elements of the invention recited in the claims. The intended scope of the invention thus includes other structures, systems or methods that do not differ from the literal language of the claims, and further includes other structures, systems or methods with insubstantial differences from the literal language of the claims.
This application is a continuation of U.S. patent application Ser. No. 11/237,010, filed on Sep. 28, 2005, which is a continuation of U.S. patent application Ser. No. 09/897207, filed on Jul. 2, 2001, (now U.S. Pat. No. 6,990,672), which claimed priority from U.S. Provisional application No. 60/215,605, filed Jun. 30, 2000. These prior applications, including their entire written descriptions and drawing figures, are hereby incorporated into the present application by reference.
Number | Date | Country | |
---|---|---|---|
60215605 | Jun 2000 | US |
Number | Date | Country | |
---|---|---|---|
Parent | 11237010 | Sep 2005 | US |
Child | 12887758 | US | |
Parent | 09897207 | Jul 2001 | US |
Child | 11237010 | US |