# Patent

## Title
System, method, and computer program product for a scalable, configurable, client/server, cross-platform browser for mobile devices

## Abstract

Described herein are systems, methods, computer program products, and combinations and sub-combinations thereof, for enabling web content (as well as other objects) to be loaded on mobile devices (as well as other types of devices), and for users of mobile devices to operate with such web content on their mobile devices in an interactive manner while in an off-line mode.

## Background
This application is a continuation-in-part application of Ser. No. 09/559,964, “System, Method, and Computer Program Product for Enabling On-Device Servers, Offline Forms, and Dynamic Ad Tracking On Mobile Devices,” filed Apr. 28, 2000 now U.S. Pat. No. 6,779,042, which is a continuation-in-part application of Ser. No. 09/393,390, “Interactive Applications for Handheld Computers,” filed Sep. 10, 1999 now abandonded, and claims the benefit of U.S. Provisional Application No. 60/173,807, “Arrangements for Providing Improved Network Services to Wireless Handheld Devices,” filed Dec. 30, 1999, and U.S. Provisional Application No. 60/189,969, “Arrangements for Providing Improved Network Services to Wireless Handheld Devices,” filed Mar. 17, 2000, all of which are incorporated by reference herein in their entireties.
CROSS-REFERENCE TO RELATED APPLICATIONS
This patent application is potentially related to the following co-pending U.S. utility patent application, which is herein incorporated by reference in its entirety:
“System, Method, and Computer Program Product for Server Side Processing in a Mobile Device Environment,” Ser. No. 09/705,914, filed concurrently herewith.


BACKGROUND OF THE INVENTION
1. Field of the Invention
The present invention relates generally to mobile communications, and more particularly relates to technology for using interactive applications while on-line and off-line on mobile devices.
2. Related Art
A variety of mobile devices (such as personal data assistants, or PDAs) exist. Such mobile devices include ones based on the Palm operating environment and the Windows CE operating environment.
A variety of software applications for those mobile devices also exist.
What does not exist prior to the invention are software applications for enabling web content (as well as other objects) to be loaded on mobile devices, and for users of mobile devices to operate with such web content on their mobile devices in an interactive manner while in an off-line mode.
SUMMARY OF THE INVENTION
Briefly stated, the invention includes systems, methods, computer program products, and combinations and sub-combinations thereof for enabling web content (as well as other objects) to be loaded on mobile devices (as well as other types of devices), and for users of mobile devices to operate with such web content on their mobile devices in an interactive manner while in an off-line mode.
These and additional features and advantages of the present invention will become more apparent from the detailed description set forth below when taken in conjunction with the drawings in which like reference characters generally identify corresponding elements throughout.



BRIEF DESCRIPTION OF THE FIGURES
The accompanying drawings, which are incorporated herein and form part of the specification, illustrate embodiments of the present invention and, together with the description, further serve to explain the principles of embodiments of the invention.
FIG. 1A is a block diagram of an embodiment of the invention;
FIG. 1B is an alternative block diagram of the invention;
FIG. 1B1 is a block diagram of an example data processing unit useful in some embodiments for implementing items from FIGS. 1A and 1B;
FIGS. 1C, 1D, 1E, 1F, 1G, 1H, 1I, and 1J are used to generally describe embodiments of the invention;
FIG. 2A is a block diagram illustrating additional modules according to an embodiment of the invention;
FIG. 2B1 is a block diagram illustrating an additional module according to an embodiment of the invention;
FIG. 2B2 is a block diagram illustrating an additional module according to an embodiment of the invention;
FIG. 2C is a diagram illustrating some processing components according to an embodiment of the invention;
FIG. 2D1 is an example flowchart relating to structuring interactive content according to an embodiment of the invention;
FIG. 2D2 is an example flowchart relating to structuring and rendering interactive content according to another embodiment of the invention;
FIG. 2E is a diagram illustrating an example of content formatting according to an embodiment of the invention;
FIG. 2F1 is a diagram illustrating the content instantiation architecture according to an embodiment of the invention;
FIG. 2F2 is a diagram illustrating the content instantiation architecture according to another embodiment of the invention;
FIG. 2F3 is a flowchart relating to a optimized data modification according to an embodiment of the invention;
FIG. 2G is a diagram illustrating an example of an architecture related to an embodiment of the invention;
FIG. 2H is a diagram illustrating the content structure according to an embodiment of the invention;
FIGS. 2I1 and 2I2 demonstrate some CSS style according to embodiments of the invention;
FIG. 2J demonstrates an example of floating images, where the text flows around the image;
FIG. 2K is an example architecture showing construction, layout, rendering, and cross-platform technology, according to embodiments of the invention;
FIG. 2L is an example operation where a future device is able to sync with a current server, according to embodiments of the invention;
FIG. 3A is an example flowchart relating to a server cache for transformed content according to an embodiment of the invention;
FIG. 3B is an example flowchart relating to a server cache for transformed content having negative caching according to an embodiment of the invention;
FIG. 3C is an exemplary fetch diagram illustrating all hits on a server occurring at the same time.
FIG. 3D is an example flow diagram representing a method for randomizing the expiration of objects set to expire at the same time according to an embodiment of the invention;
FIG. 3E is a diagram showing freshness lifetime for an object according to an embodiment of the present invention;
FIG. 3F is a block diagram illustrating a single account/profile having multiple devices according to an embodiment of the invention;
FIG. 3G shows an example screen shot for enabling a user to add multiple servers according to an embodiment of the invention;
FIG. 3H is an exemplary block diagram representing a single mobile device that connects to multiple servers according to an embodiment of the invention;
FIG. 3I is an exemplary flow diagram representing a sync process for a device connected to multiple servers according to an embodiment of the invention; and
FIG. 3J is an exemplary diagram illustrating a multiple device—multiple server configuration according to an embodiment of the invention.



It should be understood that these figures depict embodiments of the invention. Variations of these embodiments will be apparent to persons skilled in the relevant art(s) based on the teachings contained herein. For example, the flow charts contained in these figures depict particular operational flows. However, the functions and steps contained in these flow charts can be performed in other sequences, as will be apparent to persons skilled in the relevant art(s) based on the teachings contained herein.
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
1. Overview of Embodiments of the Present Invention
Embodiments of the present invention are briefly described in this section. Briefly stated, the invention is directed to placing objects such as, but not limited to, Internet or Web content on data processing devices, such as but not limited to mobile devices. Table 1 lists examples of such Internet content, although the invention is not limited to these examples.







TABLE 1





Internet Content


Internet content includes but is not limited to:







HTML


JavaScript TM


Channels


Java TM


ActiveX


Multimedia:


Images (e.g., JPEG, GIF, PNG, vector graphics, etc.)


Audio Files (e.g. MP3)


Video (e.g. AVI)


Streaming Content: Voice/Data/Video


Binary files


XML


Applications


Data Objects


Documents


Anything that can be delivered via a “browser”









Table 2 lists examples of mobile devices, although the invention is not limited to these examples.







TABLE 2





Mobile Devices


Mobile devices include but are not limited to:







Handheld Computers


Cellular Phones


Internet-enabled Phones


Pagers


Radios


TVs


Audio Devices


Car Audio Systems


Recorders


Text-to-Speech Devices


Bar-code Scanners


Net Appliances


Mini-browsers


Personal Data Assistants (PDAs)









FIG. 1C illustrates the concept of the invention of placing objects on data processing devices, such as mobile devices.
1.1. Enabling Mobile Devices to Interact With Networked Applications
The invention includes technology for using applications on mobile devices that interact with the Internet or with intranets. The invention enables applications available via a network or via an Internet/intranet to download and to run on mobile devices. Consequently, the invention includes software and methods for administering a server that manages the variables relevant to a mobile device/server environment.
The invention enables:
Mobile devices to operate in conjunction with a Web server, even when the mobile devices are not coupled directly to the PC using portable on-device servers: Web pages are loaded, viewed, cached, and deleted even when the device is not coupled to any network.
Mobile devices to operate in conjunction with the Web, Internet, or intranet via a connection mechanism and then in disconnected mode or with the Web, Internet, or intranet in wireless mode with a continuous or a discontinuous connection mechanism.
A technique for interactive connectivity between handheld computers and computer networks.
Fleet management for centrally administering information in a handheld network environment that includes, but is not limited to, user data, user groups, group channels, channel data, personal channels, commercial channels, user accounts, corporate account, software groupings, personal information management, form delivery, form management, device configuration, device databases, device contents, and devices parameters.
Obtaining updated Web pages and other network objects, for use when the mobile device is not communicating with the PC.
An example mobile device/server environment is shown in FIG. 1D.
1.2. Rapid Transfer of Web Pages to Mobile Devices
To improve efficiency of data exchange between mobile devices and networked content, the invention includes an improved communication protocol that collects requests and responses for network objects into a smaller number of protocol (such as HTTP) requests and responses. The server also determines the nature and the resources of the mobile device. This protocol is represented, for example, in FIG. 1E.
Downstream, the data is encoded in a data format called content stream (tokenized version of the data) and sent to the device. The content stream format creates a tokenized codification of HTML pages that is sent to the device. (The device receives the content stream and presents the material on the device.)
The HTML page is encoded into the content stream and sent to the device.
The encoding is a mapping of parent and child HTML elements and/or resources to alphanumeric values.
The sync operation of the invention includes various synchronization processes that can collect information from the Internet to a server, and to the client. In embodiments, the usage of the term “sync” refers to the overall operation of connecting a client to a server for the exchange, interaction, creation, and removal of data.
In one embodiment, syncing can be defined as mirroring data on a client and a server, such that the data is the same on client and server. In other embodiments, syncing can be defined as overwriting data on a client or on a server, such that the data on either a client replaces the data on a server, and vice versa.
In one embodiment, a sync operation involves a user placing a mobile device into an adapter that includes a sync button. The adapter is connected to a server. Upon pressing the sync button, the user initiates the sync operations of the present invention, which include various synchronization processes (specific delivery modes). Thus, the term sync is meant to refer to the overall operation of linking a client to a server. Synchronization is meant to refer to the specific process of copying, adding, filtering, removing, updating and merging the information between a client and a server. Any number of synchronization processes can be executed during a sync.
Before being sent downstream the data is compared to the data that is known to be on the client and then the client is updated all at once in a one-up/one-down synchronization method, which is represented in FIG. 1F. The server sets the client to preemptively prepare all device information necessary during the sync. Then the server receives the set of information in a one-up fashion. The server collates the information and sends the information in a one-down fashion. This optimizes the sync's efficiency and speed. The sync process, according to embodiments of the invention, is represented in FIGS. 1G and 1H.
1.3. Optimizing Content of Web Pages for Mobile Devices
When Web content and other network objects pass through the server they are processed to minimize their size and to optimize their delivery to mobile devices: for presentation, for ease of use, for efficiency, for size, etc.
The invention uses server logic to optimize content. The server assesses the mobile device to optimize web content for the particular device. Factors that the server logic considers when performing this optimization include, but are not limited to (it is noted that the server may consider subsets of the following, depending on the application and implementation):
Dynamic memory specifications
High memory specifications
Protected Memory
Storage Memory
Database Memory
Available storage space
Screen size
User profile(s)
Color depth
Applications on device
Buttons on-device
Data markers (e.g., cookies, tokens)
Preferences
Fonts
Font specifications
Sync type
Synchronization types
Supported data types
Supported mime types
Connection/Network profile
An example optimization process is shown in FIG. 1I.
On the server, the graphic is optimized per the state information of the device. If the device sends down the need for the graphic on a page for a device with a display that is 27 cm wide and in grayscale, the server sends its best version of a graphic optimized for that environment.
The technology of the invention is extended by tags on HTML pages that identify content that is designed for additional modifications. Any and all bytes processed by the server are potentially examined for compression/optimization. The server detects the tag and executes the necessary logic.
Table 3 illustrates example tags (the invention is not limited to the tags shown in Table 3).







TABLE 3







Sample Markup Language








Tag
Effect





<META NAME=“Handheld-
This tag enables several HTML


Friendly” content=“True”>
features that are normally turned off.



Most notably, The invention does not



try to display TABLE tags or the



HSPACE and VSPACE attributes of



IMG tags unless the page is marked as



“HandheldFriendly”. Most TABLEs



or H/VSPACEs are designed for much



larger screens.


<AGIGNORE></AGIGNORE>
Used in a wireless channel. Use the



AGIGNORE tag to surround content



within an HTML page that may be



inappropriate or unattractive on



Internet-enabled phones.


<AGPAGEBREAK TITLE=“your
Used in a wireless channel. Breaks up


title”>
pages on request. When processing



pages for devices other than WAP



phones, the server ignores the



AGPAGEBREAK tag.









Web Content Aggregation, Web Channel Development, and Web Content Delivery for Users of the Internet and of Mobile Devices

The invention is extended by the coupling of devices to the content available at the server web site (see the example shown in FIG. 1J).
These and other embodiments of the present invention are described in greater detail below.
Structural Embodiments of the Present Invention
FIG. 1A is a block diagram of a data processing environment 102 according to an embodiment of the invention. The data processing environment 102 includes a server 104 (although only one server 104 is shown, in practice the data processing environment 102 may include a plurality of servers), one or more devices 106, one or more adapters 118, and one or more providers 128.
Generally, the server 104 maintains a collection of channels. In an embodiment, a channel comprises a collection of objects. An object is any entity that can be transferred to a client 108, such as but not limited to content, applications, services, images, movies, music, links, etc.
A channel includes a number of properties. At least some of these properties define the objects that the channel includes. Such properties include, but are not limited to, the following (properties of channels may vary depending on the application and/or implementation):
A name of the channel.
A location of a root object (such as but not limited to a URL). In an embodiment, this root object is included in the channel. An indication of the number of levels below the root object, for which to include objects in the channel. For example, in an embodiment, if this property is equal to “1 level,” then all objects that are 1 level down from the root object (reached by traversing links in the root object), are included in the channel. If this property is equal to “2 levels,” then all objects that are 1 level down from the root object (reached by traversing links in the root object), and all objects that are 1 level down from those objects (reached by traversing links in those objects), are included in the channel. Embodiments of the invention allow “uneven” trees, where some branches of the tree extent to a greater number of levels than other branches of the tree. In other embodiments, the trees are even or balanced.
A maximum size of the channel. For example, if this is set to 500 Kbytes, then the aggregate size of the objects in the channel cannot be greater than 500 Kbytes. If the aggregate size of the objects in the channel is greater than this value, then embodiments of the invention may delete objects from the channel and/or delete portions of objects in the channel.
An indication of which resource objects are enabled for the channel:
An indication of whether or not images are to be included in or excluded from objects in the channel; and
An indication of whether or not scripts are enabled in objects in the channel.
A refresh methodology.
It is noted that the properties associated with channels may vary from implementation to implementation. Also, implementations may employ combinations of the above properties, and/or properties in addition to the following, as will be appreciated by persons skilled in the relevant art(s).
The invention includes processes for managing channels, including but not limited to adding channels to the collection of channels maintained by the server 104.
The server 104 offers channels to clients 108. A user associated with or on behalf of a client 108 may access the server 104 and view the collection of channels. The client 108 (via the user, for example) may then select any combination of the channels in the collection. The server 104 maintains a list of the channels associated with each of the clients 108.
During a synchronization process, the server 104 loads a device 108 with the channels associated with the client 108. Generally, the server 104 does this by obtaining from providers 128 the objects defined by the channels, and causing those objects to be stored on the client 108. Thus, during the synchronization process, the server 104 will load the client 108 with the selected channels. More particularly, the server 104 will load the client 108 with the objects associated with the channels.
The client 108 may process and use those objects when not connected to the server 104. The invention enables the client 108 to actively interact with the objects and channels.
In one embodiment, the client 108A directly interacts with the server 104 via some transmission medium 120B, which may be any wired or wireless medium using any communication protocol.
In another embodiment, the client 108B indirectly interacts with the server 104 via an adapter 118. For example, the client 108B may be a mobile device (such as a Palm device) and the adapter 118 may be a cradle and a computer coupled to the cradle (the mobile device is inserted into the cradle). In this instance, the adapter 118 presents itself to the server 104 as a client 108B (via client communications module 110C). When the server 104 sends objects to the adapter 118, the adapter interface module 116 writes those objects to client 108B. In embodiments, adapter interface module 116 can be a Hot SyncTM Manager, an Active SyncTM, etc. It is noted that the invention is not limited to any of the implementation examples discussed herein.
The components shown in FIG. 1A shall now be described in greater detail.
The server 104 includes an administration module 122, a database module 126, a user interface 130, a web synchronization module 124, a server extension module 156, a fleet management module 154, a notification module 132, and a server communication module 114. Other embodiments of server 104 may include a subset of these modules, and/or may include additional modules.
The administration module 122 controls and manages the states of the server 104 and the clients 108. For example, the administration module 122 manages and controls groups of clients 108, permissions assigned to clients 108, groups, and channels. For example, the administration module 122 administers the users/clients 108 assigned to groups, and the channels associated with users. These and additional functions performed by the administration module 122 are described herein.
The database module 126 controls access to databases associated with the server 104. The database module 126 maintains information relevant to the clients 108, as well as information relevant to the modules contained in the server 104. The database module 126 manages information on the collection of channels maintained by server 104. These and additional functions performed by the database module 126 are described herein.
The user interface 130 is, in an embodiment, a graphical user interface (GUI) that enables users and clients 108 to access functions and modules offered by the server 104. More generally, the user interface 130 within server 104 provides access to server 104 and the modules and resources contained therein.
The invention supports various server web sites that are available through any communication medium, such as but not limited to the Internet, intranets, direct dial up links, etc. The UI 130 enables such web sites.
These and additional functions performed by the user interface 130 are described herein.
The web synchronization module 124 is an application/instance of server extension module 156, and controls synchronization of web content to client 108. The invention may include other synchronization modules (which are application/instances of server extension module 156) that control synchronization of other types of objects to clients 108. For example, the server 104 may administer a calendar that may be installed on clients 108. The synchronization of appointments, events and/or dates on this calendar between clients 108 and the server 104 may be performed by a calendar synchronization module. These and additional functions performed by the server extension module 156 are described herein.
The fleet management module 154 performs functions associated with fleets of clients 108, which are groups of clients 108. For example, fleet management module 154 may perform global or mass operations on groups (fleets) of clients 108, such as loading or updating an application on groups (fleets) of clients 108. Another example of a mass operation is retrieval of information on clients 108 in a fleet, such as the free memory in clients 108 in a fleet (this would help an organization determine if its clients 108 need a memory upgrade). These and additional functions performed by the fleet management module 154 are described herein.
The server extension interface/module 156 enables modules, such as third party modules, to operate in or work with the server 104 (and modules contained in the server 104). The server extension module 156 presents an API (application programming interface). Modules in the server 104 may operate with other devices in the server 104 by conforming to the server API.
For example, the web synchronization module 124 and the fleet management module 154 (as well as other types of synchronization modules, not shown in FIG. 1A) may interact with databases on the server 104 via the database module 126 by going through the server extension module 156. The web synchronization module 124 and the fleet management module 154 may not be able to interact directly with the database module 126 for a number of reasons. For example, they may support different data formats, or simply “speak different languages.” However, they can interact via the server extension module 156 as well as other server modules as long as they conform to the API of the server extension module 156. This is true of any modules in the server 104, or that interact with the server 104.
Server communication module 114 enables communication between the server 104 and entities external to the server 104, such as clients 108, adapters 118, providers 128, work stations, etc. The server 104 communicates with these entities via communication mediums 120, which may be any type of wireless or wired communication using any protocol. It is noted that multiple server communication modules 114 may execute in a single server 104. For example, in one embodiment, server communication module 114 is a TCP/IP stack. In another embodiment, server communication module 114 is a secure socket layer stack or a compression stack. The invention is not limited to any implementation examples discussed herein. These and additional functions performed by the server communication module 114 are described herein.
The notification module 132 sends objects to clients 108 beyond objects related to channels associated with clients 108. Such objects could be requested by client 108 in advance. For example, a client 108 could ask for a notification when an event happens, such as when a stock reaches a target price. When the event occurs, the notification module 132 would cause an appropriate notification(s)/object(s) to be sent to the client 108. Alternatively, the notification module 132 may send objects to clients 108 without any prior explicit request from the client 108. For example, the notification module 132 might send channels to clients 108 when such channels are identified to be similar to those already selected by the clients 108. Also, the notification module 132 might send appropriate notifications/objects to the clients 108 when such clients 108 receive email or faxes at the server 104. In embodiments, the notification module 132 transmits such objects to the client 108 immediately when the event occurs, during the next synchronization with the client 108, or at some other future synchronization.
An alternative representation of server 104 is shown in FIG. 1B. FIG. 1B illustrates, for example, that messages from entities outside of server 104 are received by server extension interface/module 156 via server communications modules 114. Generally, such messages represent requests for the server 104 to perform various functions. The server extension module 156 conceptually operates as a dispatcher who routes such messages to other modules contained in the server 104, such as web synchronization module 124 (who handles requests to synchronize with web content), notification module 132, fleet management module 154 (who handles fleet related requests), and/or third party modules 155 (such as other synchronization modules). Thus, the invention supports modules 155 generated by third parties to perform various functions. Such modules 155 “plug-in” to the server 104 via the server extension module 156.
Referring again to FIG. 1A, the devices 106 may be any type of data processing device. In embodiments of the invention, the devices 106 are mobile computing devices, although the invention is not limited to these embodiments. In such example embodiments, the devices 106 may include, but are not limited to, handheld computers, cellular phones, internet-enabled phones, pagers, radios, tvs, audio devices, car audio systems, recorders, text-to-speech devices, bar-code scanners, net appliances, mini-browsers, personal data assistants (PDAs), etc.
In embodiments of the invention, the devices 106 include software, hardware, and/or combinations thereof related to client functionality (such client functionality is described herein). When a device 106 includes such software, hardware, and/or combinations thereof; the device 106 is referred to herein as a client 108. Accordingly, it can be said that the data processing environment 102 includes one or more clients 108.
Clients 108 each may include a layout and rendering module 134, a forms module 136, a control module 142, a user interface 144, a client extension interface 138, a client interface module 112, a client communications module 110, a JavaScriptTM engine 140, and a database module 146. Other embodiments of clients 108 may include a subset of these modules, and/or may include additional modules.
Layout and rendering module 134 controls the processing of data objects on client 108, such as the layout and rendering of data objects on client 108. For example, the layout portion of module 134 obtains information from databases of the client 108 (via the database manager 146) and determines where such information should be rendered on the display of the client 108. Such information may include anything that can be rendered, such as but not limited to images, text, links, etc. The rendering portion of module 134 is responsible for drawing items on the display (thawing bits to the screen). These and additional functions performed by the layout and rendering module 134 are described herein.
The forms module 136 controls and manages forms. For example, in embodiments the forms module 136 manages aspects of off-line forms, such as HTML forms and/or multi-page forms. The forms module 136 enables access to and user interaction with forms (in some embodiments, the forms module 136 via UI 144 enables users of client 108 to directly access forms). The forms module 136 maintains the status of forms. Forms module 136 can also include a forms manager (not shown) to provide added functionality. These and additional functions performed by the forms module 136 are described herein.
The user interface 144 is preferably a graphical user interface that enables users to interact with client 108 and functions and modules provided by the client 108. More generally, UI 144 controls how functions presented by modules of the client 108 are presented to users. The UI 144 controls how users interact with such functions and modules. It is noted that the functionality of the UI 144 may be distributed. For example, portions of the UI 144 may reside in the forms module 136, as well as other modules of client 108. These and additional functions performed by the user interface 144 are described herein.
The client extension interface 138 enables modules, such as third party modules, to operate in or work with the client 108 (and modules contained in the client 108). The client extension interface 138, also known as an on-device server, presents an API (application programming interface) that is, in embodiments, common to clients 108 on many architectures.
Modules in the client 108 can work together via the client extension interface 138. For example, the JavaScriptTM engine 140 may decide that it wishes to display a message to the user. To do this, the JavaScriptTM engine 140 would work through the client extension interface 138 to cause the UI 144 to display the message to the user. The JavaScriptTM engine 140 may not know how to directly interact with the UI 144. However, as long as both the JavaScriptTM engine 140 and the UI 144 conform to the API of the client extension interface 138, then they can operate together.
Similarly, the control module 142 may decide that it needs to store some data in a database. The control module 142 would do this by working with the client extension interface 138 to access the database module 146 to effect such a modification to the databases in the client 108. These and additional functions performed by the client extension interface 138 are described herein.
The JavaScriptTM engine 140 executes objects written in the JavaScriptTM language that operate on client 108. As noted, the JavaScriptTM engine 140 conforms to the API of the client extension interface 138, and works with the client extension interface 138 to work with other modules in client 108. These and additional functions performed by the JavaScriptTM engine 140 are described herein.
Although not shown in FIG. 1A, embodiments of the invention include other engines for executing other types of scripts on client 108. These other engines can interact with other modules on client 108 as long as the engines conform to the API of the client extension interface 138.
The database module 146 controls access to databases associated with client 108. More generally, the database manager 146 controls access to resources on the client 108. For example, the control module 142 may interact with the database manager 146 to open an address book in the databases, and to write a record to the address book. Alternatively, the forms module 136 can interact with the database module 146 to access forms that are stored in the databases. These and additional functions performed by the database module 146 are described herein.
Client communications module 110 enables the client 108 to interact with external entities, such as server 104. In embodiments, the client communications module 110 enables TCP/IP traffic, although the invention is not limited to this example. More generally, the client communications module 110 enables communication over any type of communication medium 120, such as wireless, wired, etc., using any communication protocol, such as a pager protocol. These and additional functions performed by the client communications module 110 are described herein. The client interface module 112 enables the client 108 to communicate with adapters 118. Client interface module 112 optionally links to client communications module 110 in some embodiments to provide functionality (for example, when the client communications module 110 uses a wireless modem's drivers, which are accessed via client interface module 112). In embodiments, the client interface module 112 may be Hot SyncTM Manager in the Palm operating environment, or Active SyncTM in the Windows CETM operating environment, or Pilot LinkTM in the Unix operating environment. It is noted that these implementation examples are provided for illustrative purposes only. The invention is not limited to these examples. These and additional functions performed by the client interface module 112 are described herein.
The control module 142 coordinates the activities of the other modules in client 108 so that all the modules share resources properly. For instance, control module 142 can determine priorities for shared resources such as processing time, accessing memory, etc.
Providers 128 are sources of various types of objects, such as but not limited to content (content providers 128A), applications (application providers 128B), services (service providers 128C), etc. Providers 128 may also include servers 104′ (similar to server 104), which may provide objects such as but not limited to content, applications, services, etc. For example, and without limitation, the application providers 128B may provide objects relating to (without limitation) operating system updates/changes, system upgrades, application updates/changes, etc.
Adapters 118 include an adapter interface module 116, a user interface 148, a database module 150, an adapter synchronization module 152, and a client communications module 110. Other embodiments of adapters 118 may include a subset of these modules, and/or may include additional modules.
Client communications module 110 is the same as similarly named modules in clients 108.
The adapter interface module 116 enables the adapter 118 to communicate with clients 108.
The adapter synchronization module 152 is involved with synchronization operations between server 104 and clients 108.
The UI 148 enables users to interact with modules and functions of adapter 118.
The database module 150 controls access to databases associated with adapter 118. The database module 150 manages information needed for clients 108 to remain in sync with server 104. In some embodiments, the adapter 118 does not include the database module 150 or the UI 148 (i.e., in embodiments where the adapter 118 operates essentially as a pipe, as in some embodiments on Unix).
These and additional functions performed by modules of the adapter 118 are described herein.
Additional modules and features of embodiments of the invention are described below.
1.4 Example Implementation Embodiments
FIG. 1B1 illustrates a block diagram of a data processing unit 103A that can be used to implement the entities shown in FIGS. 1A and 1B. It is noted that the entities shown in FIGS. 1A and 1B may be implemented using any number of data processing units 103A, and the configuration actually used is implementation specific.
Data processing unit 103A may represent laptop computers, hand held computers, lap top computers, and/or any other type of data processing devices. Which type of data processing device used to implement entities shown in FIGS. 1A and 1B is implementation specific.
Data processing unit 103A includes a communication medium 103B (such as a bus, for example) to which other modules are attached.
Data processing unit 103A includes one or more processor(s) 103C, and a main memory 103D. Main memory 103D may be RAM, ROM, or any other memory type, or combinations thereof.
Data processing unit 103A may include secondary storage devices 103E, such as but not limited to hard drives 103F or computer program product interfaces 103G. Computer program product interfaces 103G are devices that access objects (such as information and/or software) stored in computer program products 103. Examples of computer program product interfaces 103G include, but are not limited to, floppy drives, ZIPTM drives, JAZTM drives, optical storage devices, etc. Examples of computer program products 10311 include, but are not limited to, floppy disks, ZIPTM and JAZTM disks, memory sticks, memory cards, or any other medium on which objects may be stored.
The computer program products 103H include computer useable mediums in which objects may be stored, such as but not limited to optical mediums, magnetic mediums, etc.
Control logic or software may be stored in main memory 103D, secondary storage device(s) 103E, and/or computer program products 103H.
More generally, the term “computer program product” refers to any device in which control logic (software) is stored, so in this context a computer program product could be any memory device having control logic stored therein. The invention is directed to computer program products having stored therein software that enables a computer/processor to perform functions of the invention as described herein.
The data processing unit 103A may also include an interface 103J which may receive objects (such as data, applications, software, images, etc.) from external entities 103N via any communication mediums including wired and wireless communication mediums. In such cases, the objects 103L are transported between external entities 103N and interface 103J via signals 103K, 103M. In other words, such signals 103K, 103M include or represent control logic for enabling a processor or computer to perform functions of the invention. According to embodiments of the invention, such signals 103K, 103M are also considered to be computer program products, and the invention is directed to such computer program products.
2. a Cross-Platform Browser and Client/Server Software Innovation for Mobile Devices
As described above, the technology uses a cross-platform strategy for serving and obtaining content requests on and across platforms and processors available to mobile devices. In some embodiments, the client enables desktop personal computer (PC) functionality on mobile devices. For example, the client can support dynamic hypertext mark-up language (DHTML) on mobile devices; it can support device-side interpretation of JavaScriptTM; and it can provide secure client/secure protocol/secure server interaction. It is noted that these examples are mentioned for illustrative purposes only, and are not limiting. Addition functions and capabilities are within the scope and spirit of the present invention, as will be appreciated by persons skilled in the relevant art(s) based on the teachings contained herein.
Additionally, the client 108 of the invention enables per channel (and/or per page) username and password authentication for transactions (e.g. in e-commerce applications and/or channels), digital notarization, content hold and deliver technology in connected and disconnected modes, and bookmarks. Furthermore, the clients 108 (i.e., client 108A and 108B) of the invention enable support for multiple protocols such as mailto and dial to interfaces, and DHTML. It is noted that these examples are mentioned for illustrative purposes only, and are not limiting. The invention is applicable to other protocols, as will be appreciated by persons skilled in the relevant art(s) based on the teachings contained herein.
In an embodiment, the client 108 of the invention integrates with other mobile device applications through methods such as but not limited to: cut and paste, domain integration of Find and/or Search methods, and mobile device communication between on-device applications and their separate tables of data. For example, the client 108 of the invention can invoke a vector graphics display or a word processor or spreadsheet file synced to the device. In one embodiment, these features correspond and extend the functionality of pluggable MIME types on server 104.
In embodiments, the client 108 is designed to support the additional Internet document standards: HTML 4.0, XHTML 1.0, CSS (Cascading Style Sheets), and the W3C DOM (Document Object Model). It is noted that these examples are mentioned for illustrative purposes only, and are not limiting. The invention is applicable to other standards, as will be appreciated by persons skilled in the relevant art(s) based on the teachings contained herein.
Referring to FIG. 2A, a block diagram, illustrating additional modules according to an embodiment of the invention, is shown.
Server 104 can include parser module 201A, layout module 201B, and/or proxy rendering module 201C. Modules 201A-201C can be implemented in server 104 alone or in combination with other elements or modules, such as in combination with clients (such functionality can also be performed completely by clients). It is noted that the functionality associated with modules may vary from implementation to implementation. The specific functionality and implementation described herein represent an example embodiment of the invention. Other embodiments will be apparent to persons skilled in the relevant art(s) based on the teachings contained herein.
Also, implementations may employ combinations of the above modules, and/or employ the functionalities of the above modules as sub-modules to other modules of server 104, as will be appreciated by persons skilled in the relevant art(s).
In one embodiment, parser module 201A reads the objects on a page, such as a Web page. The parser module 201A separates out the description of each object on the page and generates a tree of objects based on their descriptions and the inherent relationship defined by the descriptions. In one embodiment, the tree of objects is compatible with the W3C DOM. Thus, in the case of HTML, the Web page is a description of content objects using tags, attributes, and styles. In the case of WML, the page is a description of content object using binary data.
In one embodiment, layout module 201B maps the parsed objects of a page and determines how the objects can be positioned and sized (or laid out) in order to provide a page with similar substance on the mobile device to which it is going to be transmitted. As with the other embodiments of the layout module described herein, the layout module 201B receives display, font color, and other device configuration information from the proxy render module 201C.
In a server-side layout embodiment, layout module 201B receives the display configuration of the mobile device from proxy render module 201C. Proxy render module 201C provides server 104 with the functionality of layout and rendering module 134 (in this case, either of modules 134A or 134B) for any number of clients 108. In one embodiment, the proxy render module 201C provides configuration information from a database, which stores previously obtained configuration information. In embodiments described herein, the server 104 receives the configuration information from the client 108. For example, server 104 receives the configuration information from layout and rendering module 134. From this information, server 104 is able to operate proxy render module 201C accordingly and provide data in the proper format. For example, in one embodiment, the proxy render module 201C is able to produce byte code in the form of a content stream compatible with the display hardware of device 106.
As such, proxy rendering module 201C determines the display capabilities of the device 106 to which the content stream is going to be transmitted. Furthermore, in one embodiment, proxy rendering module 201C determines information about how particular objects can appear (i.e., are positioned) on the display of a mobile device from device information stored in database module 126, rather than for a specific device 106 from information provided by client 108.
Furthermore, the functionality of these modules can be implemented on clients 108. For example, the rendering functionality of layout and rendering module 134 can provide the configuration information directly to the layout functionality of the same module. In embodiments, modules implemented on the client 108 are designed to operate on relatively small computers and/or mobile devices such as those described herein as well as those similarly designed. The combination of functionalities in one module 134 is for illustrative purposes. The combination may be separated and implemented in two separate modules as discussed with respect to server 104 above. These implementations are discussed in more detail below.
Referring to FIG. 2B1, a block diagram, illustrating an additional module according to an embodiment of the invention, is shown.
Client 108A can include client parser module 202A. Client parser module 202A provides functionality similar to parser module 201A as described herein.
Referring to FIG. 2B2, a block diagram, illustrating additional modules according to an embodiment of the invention, is shown.
Client 108B can include client parser module 202B and client interface module 112B. Client parser module 202B provides functionality similar to parser module 201A as described herein. Client interface module 112B is capable of connecting with providers 128 via communication medium 120E. Providers 128, as described herein, are content providers, such as Web sites. Communications medium 120E may be implemented to augment the connection with server 104 via adapter 118. For example, communications medium 120E, as shown, could connect directly to providers 128 via a wireless link in order to obtain updated content from providers 128 or to transmit data to providers 128.
In one embodiment, the parsing functionality added to client 108 via client parser modules 202A and 202B allows clients 108 to obtain content directly from providers 128 without server 104 transformation. Some embodiments of this distribution of functionality is discussed below with respect to FIG. 2C.
Referring to FIG. 2C, a diagram, illustrating some processing components according to embodiments of the invention, is shown.
Content 203A from a page in the form of objects is parsed by parser module 203B, laid out by layout module 203C, rendered by rendering module 203D, and sent to mobile devices for display in the form of pixel data 203E. These objects can include but are not limited to tags, attributes, and style information.
The modules 203B, 203C, and 203D are similar to the modules discussed in FIGS. 2A, 2B1, and 2B2. FIG. 2C illustrates the feature of the invention where the method, system and computer program product can be configured such that the operations of modules can be performed on server 104 and/or clients 108, as well as on adapter 118 as well as combinations thereof.
In the examples of FIG. 2C, the operational processes of each of modules 203B, 203C, and 203D are delineated by marker 203F for parser module 203B. Similarly, marker 203G delineates the operational processes of layout module 203C. Marker 203H shows the operational processes for rendering module 203D.
In embodiments of the invention, the operational processes of these modules, as well as the modules themselves, can be implemented on either or both the server 104 or the client 108 (or adapter 118). This flexibility allows the invention to optimize the transformation and delivery of content to mobile devices based on the capabilities of the devices and/or requirements of users.
Line 203I illustrates an example implementation where modules 203B and 203C are operating on server 104 to perform the functions of parsing and layout. The asterisk of line 2031 shows the transition to client 108 (or adapter 118) and thus the operations of module 203D are performed on client 108.
Similarly, lines 203J, 203K, and 203L illustrate other possible apportioning of the operational tasks. The markers between the arrows of lines 203J, 203K, and 203L similarly showing the transition from one of the server 104 to client 108 (and/or adapter 118).
In additional embodiments, modules on both server 104 and client 108 (and adapter 118) can operate in parallel or series on the objects of content 203A.
Referring to FIG. 2D1, an example flowchart 204 relating to structuring interactive content, according to an embodiment of the invention, is shown.
In step 204A, server 104 receives a request for pages. In one embodiment, the client 108 sends the request.
In step 204B, server 104 receives mobile device and client information describing the capabilities of the client 108 and the device 106. In one embodiment, client 108 sends information regarding the display and memory specifications of the mobile device upon which it is operating.
In step 204C, server 104 parses the pages into a mutable document of content according to the device and client information of step 204B. In one embodiment, parser module 201A parses the pages into discrete objects.
In step 204D, server 104 determines the rendering parameters of the client and mobile device according to the information obtained in step 204B. In one embodiment, proxy rendering module 201C provides the rendering parameters of the client and mobile device.
In step 204E, server 104 lays out the document content according to the rendering parameters determined in step 204D. In one embodiment, the parsed objects of a page are assembled and formatted such that the page displayed by the client on the mobile device has the same functional display or presentation as on any other device. In an embodiment, layout module 201B provides common layout services for the server 104. Similarly, layout and rendering module 134A of FIG. 1A provides these services on client 108A.
In step 204F, server 104 determines the document table and document content to be sent to client 108 so that the client 108 can use the content of the page(s). The structure and format of the document table and document content (according to embodiments) are discussed below.
In step 204G, server 104 compresses the document content, preferably on a discrete object-by-object basis (although other embodiments are possible). For example, the discrete objects obtained from the parsing of step 204C are compressed individually in step 204G.
In step 204H, server 104 encrypts the document content, preferably on a discrete object-by-object basis. For example, the discrete objects obtained from the parsing of step 204C are encrypted individually in step 204H.
In step 204I, server 104 serializes the document content according to the discrete basis. For example, the document content is placed in ordered blocks or sections. In one embodiment, the discrete basis may prioritize index or home pages and place them in places in the serialized chain of objects so that they may be readily recalled.
In step 204J, server 104 serializes the document attributes related to the document content according to the discrete basis. In one embodiment, the document attributes are placed in a similar order as the document objects in step 204I. In another embodiment, the document attributes are serialized based on the type of objects they respectively identify.
In step 204K, server 104 transmits the serialized document to client 108A and/or adapter 118 for delivery to client 108B. In one embodiment, the serialized document is a content stream transmitted to the device for client 108. The serialized document can provide an optimized format for delivering content to mobile devices that may not be designed to accommodate the relatively large file formats, which PCs are used to handling.
In the above description, server 104 is discussed as performing the operations of flowcharts 204. This is just one embodiment of the invention. Variations of this embodiment will be apparent to persons skilled in the relevant art(s) based on the teachings contained herein. For example, client 108 can perform some or all of the operations of flowchart 204, as discussed below.
Referring to FIG. 2D2, an example flowchart 204M relating to structuring interactive content according to another embodiment of the invention is shown.
In step 204N, client 108 (as discussed above, client 108 is used to refer generically to client 108A and/or client 108B, unless stated otherwise) sends a request for pages.
In step 204Q, client 108 receives the requested pages. In one embodiment, client 108B receives the pages directly from providers 128, as shown in FIG. 2B2. In another embodiment, client 108 receives the requested pages from the server 104.
In step 204R, client 108 parses the pages into a mutable document of content. As described above, the mutable document allows for better access and storage for the client.
In step 204S, client 108 determines the rendering parameters according to the local render module, such as layout and rendering module 134.
In step 204T, client 108 lays out the document of content according to the rendering parameters determined by the local render module, such as layout and rendering module 134. Such parameters include, for example, colors supported, device screen size, font characteristics, etc.
In step 204U, client 108 displays the data on the screen. In one embodiment, the render module of client 108 puts the pixel data on the screen.
For example, the client communications module 110A receives the pages from server 104. Client parser module 202A parses the pages. Layout and rendering module 134A determines the rendering and layout parameters and forwards the pixel data to the screen. Other examples and embodiments are discussed in detail below.
2.1 Serialized Document Model
Similar to the PODS described herein, the document (data object) assembled through the steps of flowcharts 204 and 204M includes a structure that is advantageous for mobile devices. The document object models (DOM) of an embodiment of the invention supports Copy-On-Write which is usually only implemented in hardware. This enables the creation of discretely compressed read-only documents (for example, the pre-processed content stream as described herein) that can be modified and saved and then loaded and modified incrementally on a discrete basis.
This embodiment allocates data in its final form. In an embodiment, read-only data in the content stream is, as best can be achieved, in its final, usable form. The data does not have to be duplicated for use as with other types of models. This aspect of the invention is important given the relatively limited resources of mobile devices.
2.2 Memory Allocation
Furthermore, this model has a tight memory allocation scheme. In an embodiment, memory is allocated in Pools and Arenas that are scoped to the lifetime of the object being allocated. For example, documents have a memory scope. When an object whose lifetime is that of a document is allocated, it is allocated from the owner document's memory scope.
When the document is destroyed, the associated memory scope can be freed immediately. Objects that will exist for the life of a memory scope will be allocated from the scope Arena (in an embodiment, arena allocated objects cannot be individually freed). In an embodiment, objects whose lifetimes are more volatile will be allocated from the scope pool (where they can be later freed). This allocation is but an example and others can be implemented depending on the device's memory structure (and also possibly depending on other factors) as one skilled in the relevant art would recognize. As in the above example, when both arena and pool memory types exist, content can be stored in a read-only (arena) and/or in a writeable (pool). Further embodiments using this type of memory allocation are discussed below.
Referring to FIG. 2E, a diagram illustrating an example of content formatting according to an embodiment of the invention is shown. In this embodiment, an example button is shown within the document 205A. The button object includes a header 205B and the parameter information stored as data 205C. Header 205B can include type information which provides a mechanism whereby there is a pointer or pointers to the type of functions which operate on the data 205C.
Referring to FIG. 2G, a diagram illustrating an object model related to those shown in FIGS. 2F1 and 2F2 is shown. FIG. 2G shows a button object 207A that includes object pointers 207K. Object pointers 207K comprise a vtable pointer 207B and a data object 207C. Vtable pointer 207B points to a vtable 207D that contains header 207E and function pointers 207F for accessing instance methods 207H of functions 207G.
Button object 207A and data 207C can be placed in writeable memory. Qualitative data can be read and written (thus, modified) by instance methods 20711, which are designed to read and manipulate data 207C.
There are drawbacks to this object model. They include, but are not limited to:
1) Data 207C is in writeable memory. Data 207C is relatively large. If data 207C is first available in read-only form, then it must first be copied into writeable memory.
2) Writeable memory is often scarce on mobile devices (as well as other devices).
3) Data 207C cannot easily be maintained in compressed form as the size of data 207C will change as it is modified. This requires additional writeable memory.
Additionally, the lack of a document table effectively means that any changes to the data 207C or the type information in header 207B requires a change to the table 207D which is used to operate on data 207C. These changes have to be made globally so that the entire document is recreated.
FIGS. 2F1 and 2F2 illustrate content instantiation architectures according to embodiments of the invention.
Referring to FIG. 2F2, a diagram illustrating the content instantiation architecture according to an embodiment of the invention is shown. FIG. 2F2 differs from FIG. 2G in that data 206K2 is separated from document table 206A. The addition of attribute pointer 206C, which points to data 206K2, serves as a link so that changes do not have to be made globally as in FIG. 2G.
Referring to FIG. 2F1, a diagram illustrating the content instantiation architecture according to an embodiment of the invention is shown. FIG. 2F1 is differs from FIG. 2F2 in that data 206K can be read only and compressed. Instance methods 206H are designed to read the compressed data.
The architectures of FIGS. 2F1 and 2F2 have advantages over the architecture of FIG. 2G. Unlike the architecture of FIG. 2G, data does not have to be decompressed or copied to writeable memory for initial use. Data can be read, and/or displayed immediately. The architectures of FIGS. 2F1 and 2F2 are very efficient for mobile devices (as well as other devices), which can have relatively limited memory or processing capabilities, because they use compressed read-only data. Additionally, the architectures of FIGS. 2F1 and 2F2 are useful for applications where memory and processing requirements need to be optimized, as well as for other applications as will be appreciated by persons skilled in the relevant art(s) based on the teachings contained herein.
Referring to FIG. 2F1, for example, document table 206A provides two pointers: Vtable pointer 206B and attribute pointer 206C. Vtable pointer 206B points to a vtable 206D which includes header 206F and function pointers 206G. Header 206F includes information pertaining to the class and type of functions being called. Function pointers 206G includes global, user, and low-level function pointers that provide access to the instance methods 206H of functions 206E.
Attribute pointer 206C points to the specific object in the content stream 206I similar to that discussed with respect to FIG. 2E. Header 206J and data 206K provide specific information about how to perform the functions pointed to in the vtable.
The use of document table 206A allows the entire document to be incrementally altered as may be required without having to totally restructure the document.
It is noted that the data 206K can be compressed. Content stream 206I, header 206J, and data 206K can be in read-only memory. Instance methods 206H can be designed to interpret the compressed data 206K so that instance methods 206H can read, display and process data 206K properly.
According to embodiments of the invention, modifications to data 206K are possible, but any modified data 206K objects are stored in writeable memory. Attribute pointer 206C is updated to reflect the modification so that future use of the specific data 206K object is directed to the modified object. The embodiments of FIGS. 2F1 and 2F2 therefore provide for relatively less use of writeable memory on the mobile device.
Software Modification on Write Method and Example
The embodiments of FIGS. 2F1 and 2F2 offer important advantages to browsers. For example, mobile devices typically are designed around several different operating systems and/or hardware standards. The use of a client that enhances access helps to assure compatibility. Furthermore, the general features of mobile devices are relatively limited compared to their PC counterparts. As such, mobile devices benefit from enhanced content storage, retrieval and modification techniques.
In an embodiment, data can be transformed as shown in FIGS. 2F1 and 2F2. In an example embodiment, the objects 206A in FIG. 2F1 and 2F2 share the same form, i.e., a compressed, read-only form. The read-only objects 206A of FIG. 2F1 can be transformed by instance method 206H into the writeable form shown in FIG. 2F2. In one embodiment, when instance method 206H is called, a software exception similar to a hardware exception occurs.
Referring to FIG. 2F3, a flowchart 206P, relating to an enhanced data modification process according to an embodiment of the invention, is shown. For illustrative purposes, FIG. 2F3 is described with reference to FIG. 2F1. However, the operations of FIG. 2F3 are applicable to other embodiments, such as the example embodiment of FIG. 2F2.
In an embodiment, control module 142 performs the steps of routine 206P.
In step 206Q, client 108 accesses an object pointer 206L in a document (object) table 206A. The object pointer is an element of the document table, which in one embodiment, is placed at the beginning of the content stream.
In step 206R, client 108 accesses a vtable pointer 206B for access to the vtable's function pointers 206G.
In step 206S, client 108 accesses an attribute pointer 206C for access to data in a content stream 2061.
In step 206T, client 108 uses the vtable pointer 206B to read function pointers 206G for access to instance methods 206H.
In step 206U, client 108 reads the content stream 2061 for access to data 206K pointed to by attribute pointer 206C.
In step 206V, client 108 determines the requirements for the data 206K. In one embodiment, client 108 determines the amount of writeable memory that the data 206K will take up.
In step 206W, client 108 allocates writeable memory according to the requirements determined in step 206V.
In step 206X, client 108 decompresses and copies the data 206K into writeable memory. In one embodiment, the client 108 access portions of hardware and operating system software of device 106 to decompress and copy the decompressed data. In another embodiment, the client 108 internalizes the decompression and copying step.
In step 206Y, client 108 updates attribute pointer 206C to point to the data 206K in writeable memory.
In step 206Z, client 108 updates vtable pointer 206B to point to instance methods 206H for non-compressed, writeable data.
For example, referring also to FIG. 2F2, a routine can allocate writeable memory for data 206K2. It decompresses the data 206K and copies the data 206K into writeable memory, shown as data 206K2. Data 206K2 follows header 206J2. The method then changes the attribute pointer 206C to point to data 206K2. It also changes the vtable pointer 206B to point to the non-compressed, writeable instance functions vtable 206D2. Vtable 206D2 includes header 206F2 and function pointers 206G2. Function pointers 206G2 provide access to instance methods 206H2 of functions 206E2.
With the modification complete, the instance method 206H calls an equivalent instance method 206H2 to actually perform the required write operation of the data 206K2.
A feature of this embodiment is that the operations of FIGS. 2F1 and 2F2 occur invisibly (transparently) to the application calling the pointers. An additional feature is that the operation is performed once on a per object basis. Once performed, the object stays in writeable memory for the life of the document(s)/object(s).
A result of these embodiments is that object pointer 206L is preserved. This is important as many other objects may already have a reference to object 206A via object pointer 206L.
2.3 Detailed Object Model Embodiments
In an example application of the embodiment of FIG. 2F1, every object in the tree has an 8 byte (two pointers) entry in the Document Object Table (DOT). The entry consists of a pointer to the object's class vtable (table of function pointers for instance methods), and a pointer to the object's data. In the case of content stream formatted documents, the object's data pointer points into the content stream. It is noted that the invention is not limited to this example embodiment.
Inter-object references are via Object Identifiers (OID), which are unique 16 bit identifiers for each object in the document. Unlike pointers, OIDs support relocation and transmission between server and client. Entries in the DOT are ordered in OID order. That is, the OID is also the index into the DOT. Thus, an OID can quickly be translated into an Object pointer (which is desirable at runtime) by performing array arithmetic (object=&dot[oid]). By using OIDs and pointers in the DOT approach, a number of advantages are achieved: relocatability and transmittability from the OIDs, and ease of use, and a rational runtime model from the Object model.
The DOT is created when the document is being loaded, as shown in FIG. 2F1 and 2F2. An example scenario is as follows: The content stream is interrogated to see how many objects are in the document. A DOT large enough to accommodate that number of objects is created. An application quickly scans through the content stream, which has objects in OID order. For each object the application checks the type, ensures that the class and vtable 206D for that type is created, writes the vtable pointer 206B in the DOT entry, then writes in the data pointer 206C, pointing back to the content stream data 206K. Then, the application skips to the next object in content stream (each entry has a length prefix stored in header 206J). When the application is done it has a fully populated DOT, with a number of objects that are writeable. If more objects are added to the document (via scripting requests), they are dynamically added to the end of the DOT in the form of FIG. 2F2, for example.
Like the PODS object model, the invention's Object Model, while implemented in C, is compatible with C++. Objects can be represented as abstract classes (pure virtual member functions), where the base class has no data slots. On most C++ compilers, this will guarantee that the C++ vtable entry will be forced to offset zero in the class. The benefit: both C [i.e., ADOM setValue(object, “xxx”)] and C++[i.e., object->setValue(“xxx”);] bindings (APIs) to the same object are provided.
Referring to FIG. 2H, a diagram illustrating content structure according to an embodiment of the invention is shown.
Document stream 208A illustrates at a high level the structure of the document that includes header 208B, string table 208C, and object table 208D. Header 208B includes the document table information, which can include object size, number of objects and string sizes. String table 208C includes string identifiers (SIDs) 208E that are ordered based on the SID in a manner similar to OIDs, as discussed above. String identifiers 208E include lists of word identifiers 208F, which are ordered word tables 208G. Each word table contains characters 208H that are represented by a certain code 208I.
The structure embodied in stream 208A provides the compressed and ordered nature described herein. Object table 208D includes the type and size and other attribute information for each object in the document as in FIG. 2E. String objects in these objects are string identifiers referring to 208C.
2.4 CSS Style Sheet Technology on Mobile Devices
Style Sheets represent a mechanism for setting and holding style attributes. HTML elements have a number of attributes that are stylistic in nature (dimensions, colors, font information, list bullet styles, etc.). Style Sheets are just a formalized scheme of setting, getting, and most importantly sharing these attributes. An advantage of Style Sheets is that they make it very easy to make global or semi global stylistic changes to a document.
For example, if one wants all the image borders to be 4 pixels wide, one can do that easily in one place. An advantage of supporting styles is it will make it easier for the content developer to share HTML between desktop and mobile devices—without recoding the HTML.
Also, style sheets represent a useful abstraction for attribute information. In an embodiment, the HTML Element super class of HTML/DOM is aware of style sheets. HTML Element provides the interface to get all attribute information for each object in the document. In one embodiment, HTML Element obtains most of this information from the style sheet that is associated with the object. As style sheets tend to be shared by like objects, the memory hit is not substantial.
FIGS. 2I1 and 2I2 demonstrate the effect of example style sheets. In FIGS. 2I1 and 2I2, note the borders around Product List. The top and left borders are lighter, while the bottom and right borders are darker than the background—creating a stand-out 3D effect.
The tree is made up of a three element list, where each item is a title label and an embedded list. The embedded list is hidden by setting the top level display property to none, then shown again by setting the property to block.
FIG. 2J demonstrates floating images, where the text flows around the image. The example of FIG. 2J may represent a page created as a HTML source file, compiled on the server, and loaded onto the device for viewing.
2.5 Overview to the Architecture of the Technology
According to an embodiment, the architecture of the invention is designed so that a majority of the code is in the cross platform core pieces. A component that cannot be easily made cross platform is graphics code that draws bits on the screen. According to an embodiment, an approach is to break this component out as the Render abstraction, define a strict interface between Render and the rest of the code, and then utilize platform specific graphics subsystems capable of plugging back into the rest of the system.
The Draw code module deals with the semantic and programmatic level of graphics, leaving the Render module with only the responsibility of putting bits on the screen, such as bits in the form of strings, rectangles, border frames, etc. By keeping the abstraction level low, more functionality is maintained in the cross platform code, leaving the platform specific Render engine author with less code to write and maintain.
2.6 Classes and Relationships Within the Technology
The relationship between the render modules and the rest of the system is defined by a render interface. In one embodiment, an example header file can be implemented. Such an example header file can includes one or more of three interfaces: ARenderMgr, ADrawCtx, and ARenderFont.
In one embodiment, ARenderMgr is the render engine. In a given executable based on this technology, one can have 0, 1, or N objects that implement an ARenderMgr interface. In order to do a layout or draw on a DOM tree, one must have an ARenderMgr instance (actually one needs a DrawCtx which is created by a RenderMgr object—see the discussion below). The render engine for a given platform's graphics subsystem is created by a factory method on the object subclass implemented by that platform.
In one embodiment, ARenderFont is a font in the world of this technology. ARenderFont basically defines a logical abstraction of the kinds of questions the core code (especially layout) needs to ask of a font, without locking down to the (very) platform specific details of any platform's font subsystem. ARenderFont only defines font metrics, such as “in one font, how many pixels wide is this string,” but most platform specific render engines may sub class and add drawing behavior to the ARenderFont class.
In one embodiment, ADrawCtx is a drawing context and includes many rendering and drawing capabilities. ADrawCtx provides methods for getting bits on the screen (drawString( ) drawRectangle( ) etc), it provides the abstraction for the logical thawing surface (the Window, Form, or Port) that drawing occurs on, and also acts as memo pad for coordinate information during drawing.
2.7 Example Features
Cross-Platform Construction, Layout, and Rendering Technology for DOM Application Browsers or Viewers for Mobile Devices and DHTML Layout and Cascading Style Sheets
According to an embodiment of the invention, the cross-platform construction, layout, and rendering technology first parses HTML and then constructs a document object model based on HTML tags. It then lays out those objects in the tree that represent those tags in their logical pattern relative to their parent and children including details such as an x/y location and width and height attributes. After the layout is complete, the invention serializes the data and transmits it to the client in the case of the client/server browser embodiment.
FIG. 2D1 and 2D2 (described above) illustrate example diagrams showing an embodiment of the rendering of the client and/or server.
Rendering functionality can reside on device or on the server. All of the processes can be present on the server, leaving only the device specific reader to complete the pixelation of the objects, or all of the processes can be present on the device including the parser. Thus, in some embodiments, the device can receive HTML and parse it appropriately.
FIG. 2K illustrates an example construction, layout, rendering and cross-platform technology architecture according to embodiments of the invention (see also FIGS. 2D1 and 2D2).
The diagram 227 includes server 104 and device 106. As discussed above, content 227A in the form of HTML, CSS, wireless markup language (WML), or other format enters the system.
Parser module 227B receives the content and formats it into discrete objects. Parser 227B assembles the objects into DOM 227F. Here, DOM 227F is simply a placeholder for the content stream as it is being assembled. Layout module 227C reads configuration information from proxy render module 227E. Proxy render module 227E obtains this information from the device, shown here as device configuration 227D.
Once the content stream has been assembled, emitter and compressor module 227G forwards the content stream via communications medium 227H to client 108.
The client 108 receives the content stream in DOM 227L. Loader 227J forwards the content stream to render module 227M for display on screen 227N.
Additionally, client 108 can also include optional parser module 2271, and optional layout module 227K. In embodiments that include these modules, client 108 is capable of receiving content 227A and parsing it into a content stream. Furthermore, layout module 227K can provide the proper configuration information directly from the device on which it is operating.
In an embodiment, the above-described processes begin with a user account and device specific sync to server 104, where the server 104 preemptively gathers enough information to represent the requirements of device 106.
If the device is capable of layout (i.e., includes a layout and rendering module 134), then the server may sync to the device only the DOM in content stream format. Layout operations are then performed on the device for the document.
If the device does not have a layout module, or if the server is configured to perform the layout operations, then the server will layout the document and then sync the document content and layout information to the device.
Another feature of this embodiment is that HTML is sent to the server. There a parser communicates with the document object model that creates a collection of objects (including the ability to generate objects based on invalid HTML). From these objects, a tree of objects is generated that includes their layout attributes such as x/y coordinates and their width and height. This layout is based on a proxy of the device on the server.
Another feature is that the level of the technology that is synced or loaded to the device can be preemptively determined. The device, known or unknown to the server, will sync a proxy, or map, of the device requirements to the server. At the server, objects are rendered to the specifications of that proxied device before the device syncs. This involves parsing, rendering, and laying out of document objects using the proxy map of the device.
For example, suppose that a future device syncs to a current server. The invention enables the device to inform the server of enough information to represent its requirements. In other words, the device provides enough information to enable the server to create a proxy of the device. The server then proxy-renders the objects to the device based on the proxy of the device. Then, the server may send the parsed and laid out objects or the parsed only objects to the device. In the case of raw HTML being sent to the device, the server may not need to participate in the parsing process or other processes performed by the client.
FIG. 2L illustrates an example process where a future device is able to sync with a current server. The loader, layout, and rendering modules (as described above with respect to FIG. 2K) of the client employ an incremental and/or on-demand approach. To view the first page of the document, only the first few objects (those visible) are loaded from the content stream. Content stream layout and rendering operations stop after the visible set of objects has been handled.
On-device pages are not necessarily created in their entirety (although they can be). They may be viewed as instantiated objects as they are needed. The content stream is rendered based on the need for the elements on a page. Compressed (in content stream format) objects are instantiated based on deltas against a default set of attributes (such as found in HTML) coded into the client application.
For example, if a document sent to the device needs to be viewed, it is quickly rendered as a set of objects rather than as a rebuilt page of HTML.
In addition, if the page needs to change, the relevant objects are incrementally decompressed from the content stream as described above with respect to FIGS. 2F1 and 2F2. Thus, the decompressed versions of only the required objects are created. When a value in an attribute is changed by a user (for example, the name of a button is lengthened or a paragraph of text is added to the page), only the objects that must be changed are decompressed.
For each instance of these objects, there is a table of objects providing an efficient way of making a byte stream into a data model. The tables are heuristic tables for matching calls to data. The objects viewed are seen through the laid out objects. When the objects are changed, a duplicate is created or morphed from the original object or set of objects and thus expanded based on a set of deltas. The result is a fully rendered copy of the object that is now writeable. A key to this functionality is how small the viewable objects are (as they need to be on mobile devices) until they need to be writeable. They become writeable when they are uncompressed or inflated to a fully rendered version.
The document object table that enables the content stream to be rendered by the invention is variable and customizable. The table may map to a function that calls data as easily as it maps to tables of data as easily as it maps to strings of code.
Another feature is that of on-device HTML authoring. Rendered HTML and resources can be redrawn and the HTML can be sent back in a content stream via a sync for storage in a database or posting on a network, intranet, or Internet.
Another feature is that the proxy-rendered nature of the invention enables a sync process to “take-over” a device. The result may be a single function device with a browser or application lock that can only be reset by another sync to the server, based on new server preferences. This means the client in conjunction with the object renderer and via a sync or other “install” mechanism, can “take over” a device for a use as a single function/single application device.
3.0 Server-Side Preparation of Data, HTML, and Other Network Resources and Objects for Ease-of-Use on Mobile Devices
3.1 Server Cache Operations
As previously stated, in embodiments the invention uses server logic to optimize content for delivery on mobile devices. Server 104 also stores optimized content in a cache. The optimized content is based on the type of mobile device that requested the content. Thus, the invention stores device specific versions of content requested by mobile devices. For example, suppose a first Palm device requests document A from provider 128A. Provider 128A controls page caching using relative or absolute date-time stamps. Server 104 may optionally override the page caching from Provider 128A. Document A is retrieved from provider 128A and optimized by web synchronization module 124 for use on the first Palm device. The optimized content is then cached for the first Palm device. Next a Windows CE device requests document A from provider 128A. Document A is retrieved from provider 128A, optimized for use by the Windows CE device, and cached for the Windows CE device. If, sometime later, a second Palm device with identical or similar characteristics (depending on the implementation) as the first Palm device requests document A from provider 128A, document A, specific to the first Palm device, is immediately retrieved from the cache. The web synchronization module 124 does not have to retrieve document A from provider 128A for the second Palm device. As the number of users increases, the cache hit ratio increases, resulting in fewer fetches from providers 128. As the need for web synchronization module 124 to retrieve an object from provider 128 decreases, server bandwidth requirements also decrease.
FIG. 3A is a flow diagram representing an exemplary server cache operation of transformed content. The process begins with step 302. In step 302, a data object request is made by a mobile device. The mobile device may be, but is not limited to, any mobile device listed in Table 2. The process proceeds to step 304.
In step 304, web synchronization module 124 checks to see if the data object specific or applicable to the requesting mobile device is found in the cache associated with the server. If the data object specific or applicable to the requesting mobile device is found in the cache and is still valid, the process proceeds to step 306.
In step 306, web synchronization module 124 retrieves the optimized data object from cache. The process then proceeds to step 314.
Returning to step 304, if the data object specific or applicable to the requesting mobile device is not found in the cache or is no longer valid, the process proceeds to step 308.
In step 308, web synchronization module 124 retrieves the data object from provider 128. The retrieved data object may include a date-time stamp and/or other information indicating when the data object will expire. The process then proceeds to step 310.
In step 310, web synchronization module 124 transforms the data object to a form suitable for use and/or display on the requesting mobile device. For example, an address book entry will differ for Palm and Windows CE devices. The process then proceeds to step 312.
In step 312, the transformed data object is stored in the cache with device specific information, along with information on how long the data object can remain in the cache (such information may include the date-time stamp information of step 308). Note that the transformed data object is only stored in the cache if information retrieved from provider 128A indicates that the data object is cacheable or if server 104 is set to override the information from provider 128A. The process then proceeds to step 314.
In step 314, the transformed data object is sent to the requesting mobile device.
3.1.1. Special Case of Optimization for Mobile Devices: Negative Caching of Compressed Error Messages
In one embodiment, negative caching is implemented. Negative caching involves caching errors that result when web synchronization module 124 is unable to retrieve the requested data object from provider 128. This eliminates the need to subsequently access the provider 128. For example, if provider 128 is down, negative caching may lessen the number of negative hits that would otherwise result if attempts were made to retrieve data objects from provider 128. When web synchronization module 124 subsequently checks the cache for the irretrievable requested data, it will see the cached error message and will make no attempt to retrieve the data from provider 128.
For example, suppose device A requests a page. The web synchronization module 124 requests the page from provider 128. However, when web synchronization module 124 requests the page from provider 128, an error is returned indicating that the page is unavailable. Web synchronization module 124 caches the error, setting configurable expiration information. Later, another device (device B) with characteristics similar to device A requests the same page. Web synchronization module 124 will see the cached error (assuming that this cached error is still valid) indicating that the page is irretrievable. Therefore, web synchronization module 124 will not have to make an attempt to retrieve the page from provider 128.
FIG. 3B is an exemplary flow diagram representing negative caching of error messages. The process begins with step 322. In step 322, a data object request is made by a mobile device. The process proceeds to step 324.
In step 324, web synchronization module 124 checks to see if the data object specific or applicable to the requesting mobile device is found in the cache associated with the server. If the data object specific or applicable to the requesting mobile device is found in the cache, the process proceeds to step 326.
In step 326, web synchronization module 124 retrieves the optimized data object from the cache. The process then proceeds to step 336.
Returning to step 324, if the data object specific or applicable to the requesting mobile device is not found in the cache, the process proceeds to step 328.
In step 328, web synchronization module 124 attempts to retrieve the data object from provider 128. The retrieved data object may include a date-time stamp and/or other information indicating when the data object will expire. The process then proceeds to decision step 330.
In decision step 330, it is determined whether an error indicating that the requested data object was irretrievable occurred as a result of step 328. If an error message occurred, the process proceeds to step 333. If no error message occurred, the process proceeds to step 332.
In step 332, web synchronization module 124 transforms the retrieved data object to a form suitable for use and/or display on the requesting mobile device. The process then proceeds to step 334.
Returning to decision step 330, if an error message occurred, web synchronization module 124, in step 333, transforms the error message to a form suitable for display on the requesting mobile device. The process then proceeds to step 334.
In step 334, the transformed data object or the error message is stored in the cache with device specific information, which may include an indication of how long such information may be cached (as explained above). Note that the transformed data object or error message is only stored in the cache if information retrieved from provider 128A indicates that the data object is cacheable or if server 104 is set to override the information from provider 128A. Server 104 may provide special overrides for negative caching of error messages. The process then proceeds to step 336.
In step 336, the transformed data object or the error message is sent to the mobile device.
3.1.2 Stochastic Cache Expiration Algorithm
Normally, when a large group of users sync daily, at least some of the users are syncing the same version of a set of pages all of which will expire at the same time. For example, if server 104 has a million users with a page on each user's device that expires at 12 midnight on Sep. 9, 2000, every single device connected to server 104 at that moment (which in a wireless world may be all of the mobile devices) will request server 104 to provide those pages. An example diagram illustrating all hits on a server occurring at the same time is shown in FIG. 3C for the above example. As seen in FIG. 3C, the diagram shows all of the hits on server 104 occurring at once, that is, 12 midnight. This causes slow serving of new pages to all devices and puts excess stress on server 104 and provider 128.
To prevent the above scenario from occurring, an embodiment of the invention randomizes the expiration of the objects. This results in fast serving of new objects to all devices and puts less stress on server 104 and provider 128.
Server 104 sets a freshness lifetime for each object (or, in some embodiments, for groups of objects) stored in the cache. If the age of an object stored in the cache is within some % of the freshness lifetime (e.g. if it is about to expire), otherwise known as Server FL or server freshness lifetime, then server 104 will vary the expiration of the cached object to determine whether the cached object should expire. The % of the freshness lifetime is usually set at the startup of server 104 using server preferences set by an administrator. Alternatively, the % of the freshness lifetime may be configurable.
Server 104 uses freshness lifetime for determining whether or not to modify the expiration of the cached object. Server 104 determines whether the cached object is close to expiring and then in an embodiment it uses a stochastic function to determine whether or not to expire the cached objects. The stochastic function is used if the current age of the cached object is within some percentage of the freshness lifetime.
FIG. 3D is an example flow diagram representing a method for randomizing the expiration of objects set to expire at the same time according to an embodiment of the invention. The process is performed for any given object in the cache (called the cached object). The process begins with step 342. In step 342, server 104 determines the cached object's freshness lifetime. The cached object's freshness lifetime (FL) is the time of expiration (Texp) of the cached object minus the time in which the object was placed in the cache (Tin-cache). In embodiments, the time of expiration is given when the object is retrieved from the provider 128. If the time of expiration is not given, server 104 may set a time of expiration for the object, or this may be configurable. The cached object's freshness lifetime is:

Object's FL=Texp−Tin-cache  (1)

The process then proceeds to step 344.

In step 344, server 104 determines the cached object's age. The cached object's age is the total time that the object has been stored in the cache. The cached object's age is

Object's Age=Tnow−Tin-cache  (2)

where Tnow is the current time. The process then proceeds to step 346.

In step 346, server 104 determines the % of the object's freshness lifetime. The % of the object's freshness lifetime is the object's age divided by the object's freshness lifetime. The % of the object's freshness lifetime is:

% of the Object's FL=Object's Age/Object's FL  (3)

The process then proceeds to decision step 348.

In decision step 348, it is determined whether the % of the Object's FL<% of the server FL. As previously stated, the % of the server FL is the % of the freshness lifetime set at the startup of server 104 using server preferences set by an administrator. Alternatively, the % of the server FL may be configurable. If it is determined that the % of the Object's FL is less than the % of the Server FL, then the process proceeds to step 350.
In step 350, the object is determined not to have expired. The process then proceeds to step 352.
In step 352, the object is retrieved from the cache and processed in an implementation or application dependent manner.
Returning to decision step 348, if it is determined that the % of the Object's FL is greater than or equal to the % of the Server FL, then the process proceeds to step 354.
In step 354, in an embodiment, a random number is generated using a random number generator. In one embodiment, the random number generator may be normally distributed. In another embodiment, the random number generator may be uniformly distributed. One skilled in the relevant arts would know that other distributions may be used without departing from the scope of the present invention. The process then proceeds to decision step 356.
In decision step 356, it is determined whether the random number generated in step 354 is less than the % of the Object's FL. If the random number is greater than or equal to the % of the Object's FL, then the process proceeds to step 350, where the object is determined not to have expired, and is then retrieved from the cache in step 352.
Returning to decision step 356, if it is determined that the random number generated in step 354 is less than the % of the Object's FL, then the process proceeds to step 358.
In step 358, it is determined that the object has expired. The process then proceeds to step 360.
In step 360, server 104 attempts to retrieve the object from provider 128.
The following is an example of how the above method works according to an embodiment of the invention. As previously stated, if the % of the Object's FL is within the % of the FL set by the server, the stochastic process is implemented. If, for example, an object's age is 190 and the object's freshness lifetime is 200, the object's age is 95% of the object's freshness lifetime. Suppose server 104 was set for a threshold of 90% of the freshness lifetime. When a decision is made to vary the expiration for determining whether the object is fresh or expired, the probability that the object is expired is determined by figuring out what percentage of the vary range (90-100%) the current age of the object has covered. The vary range is 90-100 percent, and since the age of the object is 95%, 50% is the probability that the object is expired. If the age were 92% of the freshness lifetime, the probability would be 20%, if 98, 80%, etc. Similarly, if the range were 80-100, and the age is 95%, the probability would be 75%. Then the random number is generated, and compared to the probability in order to determine if the object is fresh or expired. Table 3 shows the age of the object, the object's % of freshness lifetime, and the probability that the object will expire for the above example.









TABLE 3





Age
% of Freshness Lifetime/100
Probability of Expiring

















179
.895
0% (not considered)


185
.925
25%


190
.95
50%


195
.975
75%


200
1.0
100% 









FIG. 3E is a diagram showing freshness lifetime for the object described in the above example. The shaded area indicates the vary range in which it is determined if the object is fresh or expired.
3.2 Syncing Mobile Devices
3.2.1 Single Account/Profile-Multiple Devices
Server 104 enables a single account/profile user to sync multiple devices and obtain device specific content on each device. FIG. 3F is an example block diagram 362 illustrating a single account/profile having multiple devices. Block diagram 362 comprises a user account/profile 364, a first mobile device 366, a second mobile device 368, a third mobile device 370, server 104, and providers 128. First mobile device 366 may be a Palm device. Second mobile device 368 may be a cell phone. Third mobile device 370 may be Windows CE device. Although FIG. 3F shows three mobile devices associated with a single account/profile, one skilled in the relevant art(s) would know that more devices or one less device could be added or subtracted, respectively, without departing from the scope of the invention. User account/profile 364 is associated with each mobile device 366-370. Each mobile device 366-370 interacts with server 104 via a transmission medium which may be any wired or wireless medium using any communication protocol. Server 104 may also connect to providers 128.
When any one of mobile devices 366-370 initially connects to server 104, each device 366-370 will provide its device characteristics to server 104. Server 104 will store the device characteristics in database module 126 and send the device characteristics to web synchronization module 124 and/or server extension module 156. For subsequent connections with server 104, each mobile device 366-370 will identify itself to server 104 and server 104 will retrieve the device's characteristics from database module 126. In one embodiment, as long as the user continues to sync devices 366-370 with server 104, server 104 will maintain each device's information on database module 126. If any one of devices 366-370 are not synced within some predetermined period, server 104 may optionally delete that device's information from database module 126. If a user syncs devices 366-370, one right after the other, each device 366-370 will have the same content, but the content will be optimized for each specific device 366-370.
An embodiment of the invention also provides a common link to share and sync data objects between disparate user devices. For example, if user account/profile 364 has a personal digital assistant and a cell phone, neither the PDA nor the cell phone may have the ability to communicate directly with each other. Assume an address book exists on both the cell phone and the PDA. The address book must be separately updated since the two devices do not have the ability to communicate with each other. However, by using server 104 of the present invention, the PDA and the cell phone may sync up with server 104 to provide the same information on both devices. In this example, the address book of both devices may sync up with server 104 to enable the address book on both the PDA and cell phone to contain the same information. Thus, the invention syncs disparate user devices by providing server 104 as a common link to share and sync data objects.
3.2.2 Single Device—Multiple Servers
The invention also enables a single device to connect to multiple servers. FIG. 3G shows an example screen shot for enabling a user to add multiple servers. FIG. 3H is an exemplary block diagram 363 representing a single mobile device that connects to multiple servers. Diagram 363 comprises single user account/profile 364 connected to mobile device 366, which, in turn, can be connected to a plurality of servers 365, 367, and 369 that may be connected to any variety of providers 128, such as the Web, a database, such as LOTUS Notes, or a network, respectively. Although FIG. 3H shows three servers 365-369, one skilled in the relevant art(s), based on the teachings contained herein, would know that more servers or less servers could be implemented without departing from the scope of the invention. When a user initiates a sync, in an embodiment, device 366 will be synced to each enabled server on device 366, one at a time.
FIG. 3I is an exemplary flow diagram representing a sync process for a device connected to multiple servers. The process begins with step 374. In step 374, a user initiates a sync. The process proceeds to step 376.
In step 376, a list of sync servers and accounts per server are retrieved. The process then proceeds to step 378.
In step 378, device 366 is synced to each server, one at a time.
3.2.3 Multiple Devices—Multiple Servers
The invention also allows multiple devices for a single user account/profile to be connected to a plurality of servers. A multiple device—multiple server scenario is shown in FIG. 3J. Although three mobile devices and three servers are shown in FIG. 3J, one skilled in the art would know that more or less devices and servers could be used without departing from the scope of the invention. In one embodiment, user account/profile 364 can cache a variety of device characteristics 366, 368, and 370 used to access a variety of servers 365, 367, and 369. In one embodiment, the user can store the device profiles on a desktop and store the multi-server connections on devices 366, 368, and 370. When the user initiates a sync for any one of devices 366, 368, and 370, a list of sync servers and accounts per server is retrieved for the device and the device is synced to each server in the list, one at a time. The user may then sync the next device, as described above in section 3.2.1.
4. Conclusion
While various embodiments of the present invention have been described above, it should be understood that they have been presented by way of example only, and not limitation. It will be understood by those skilled in the art that various changes in form and details may be made therein without departing from the spirit and scope of the invention as defined in the appended claims. Thus, the breadth and scope of the present invention should not be limited by any of the above-described exemplary embodiments, but should be defined only in accordance with the following claims and their equivalents.

## Claims

1. A method of structuring interactive content for hardware devices, comprising the steps of:
determining display and memory parameters of a device based on device information;
parsing requested content including a plurality of pages into a document having a plurality of objects;
laying out said document according to said display and memory parameters of said device;
generating a document table for said document;
inputting said document and said document table into a content stream, wherein said document table includes object pointers corresponding to respective objects of the plurality of objects, wherein each object pointer includes an attribute pointer that points to a respective object in said content stream and a vtable pointer for accessing an instance method associated with the respective object; and
transmitting said content stream to said device;
wherein said device receives said content stream and uses an attribute pointer that points to an object of said document included in said content stream to selectively access and copy said object from said content stream to a writable memory of said device, thereby enabling notification of said object without copying said entire document to said writable memory of said device, and wherein said attribute pointer is part of an object pointer from said document table in said content stream.

2. The method of claim 1, wherein said generating step comprises generating the document table on an object by object basis for said document and wherein said object-by-object basis corresponds to distinguishable pieces of said requested content.

3. The method of claim 1, whereby said document table provides points of reference to the objects of said document.

4. The method of claim 1, further comprising the steps of:
compressing said document and encrypting said document.

5. The method of claim 1, wherein said device is a hardware device.

6. The method of claim 1, wherein said content stream is stored on said device, further comprising modifying said object, comprising the steps of:
accessing said object pointer corresponding to said object,
copying said object to writeable memory space;
altering said copied object with an instance method accessed using a vtable pointer of said object pointer; and
updating said attribute pointer to point to the writeable memory space of said object that has been altered.

7. A computer system of structuring interactive content for hardware devices, comprising:
a module to determine display and memory parameters of a device based on device information;
a module to parse requested content including a plurality of pages into a document having a plurality of objects;
a module to lay out said document according to said display and memory parameters of said device;
a module to generate a document table for said document;
a module to input said document and said document table into a content stream, wherein said document table includes object pointers corresponding to respective objects of the plurality of objects, wherein each object pointer includes an attribute pointer that points to a respective object in said content stream and a vtable pointer for accessing an instance method associated with the respective object; and
a module to transmit said content stream to said device;
wherein said device receives said content stream and uses an attribute pointer that points to an object of said document included in said content stream to selectively access and copy said object from said content stream to a writable memory of said device, thereby enabling notification of said object without copying said entire document to said writable memory of said device, and wherein said attribute pointer is part of an object pointer from said document table in said content stream.

8. The system of claim 7, wherein said generating module generates the document table on an object by object basis for said document and wherein said object-by-object basis corresponds to distinguishable pieces of said requested content.

9. The system of claim 7, whereby said document table provides points of reference to the objects of said document.

10. The system of claim 7, further comprising:
a module to compress said document; and
a module to encrypt said document.

11. The system of claim 7, wherein said device is a hardware device.

12. The method of claim 1, wherein said content stream is stored on said device, further comprising modifying said object, comprising the steps of:
a module to access said object pointer corresponding to said object,
a module to copy said object to writeable memory space;
a module to alter said copied object with an instance method accessed using a vtable pointer of said object pointer; and
a module to update said attribute pointer to point to the writeable memory space of said object that has been altered.

13. A tangible, computer program product comprising a computer usable medium having control logic embodied in said medium that, when executed by a computer, causes the computer to perform operations to structure interactive content for hardware devices, said operations comprising:
determining display and memory parameters of a device based on device information;
parsing requested content including a plurality of pages into a document having a plurality of objects;
laying out said document according to said display and memory parameters of said device;
generating a document table for said document;
inputting said document and said document table into a content stream, wherein said document table includes object pointers corresponding to respective objects of the plurality of objects, wherein each object pointer includes an attribute pointer that points to a respective object in said content stream and a vtable pointer for accessing an instance method associated with the respective object; and
transmitting said content stream to said device;
wherein said device receives said content stream and uses an attribute pointer that points to an object of said document included in said content stream to selectively access and copy said object from said content stream to a writable memory of said device, thereby enabling notification of said object without copying said entire document to said writable memory of said device, and wherein said attribute pointer is part of an object pointer from said document table in said content stream.

14. The computer program product of claim 13, wherein said generating comprises generating the document table on an object by object basis for said document and wherein said object-by-object basis corresponds to distinguishable pieces of said requested content.

15. The computer program product of claim 13, whereby said document table provides points of reference to the objects of said document.

16. The computer program product of claim 13, said operations further comprising:
compressing said document; and
encrypting said document.

17. The computer program product of claim 13, wherein said device is hardware device.

18. The computer program product of claim 13, wherein said content stream is stored on said device, said operations further comprising modifying said object of said content stream, wherein said modifying comprises:
accessing said object pointer corresponding to said object,
copying said object to writeable memory space;
altering said copied object with an instance method accessed using a vtable pointer of said object pointer; and
updating said attribute pointer to point to the writeable memory space of said object that has been altered.

19. A method of structuring interactive content for mobile devices, comprising:
determining display and memory parameters of a device based on mobile device information;
parsing requested content into a document having a plurality of discrete objects, each discrete object having a format based on at least said display and memory parameters;
laying out said document according to said display and memory parameters of said device;
generating a document table based on an object-by-object basis for said document;
compressing said document according to said object-by-object basis;
encrypting said document according to said object-by-object basis;
inputting said document into a content stream according to said object-by-object basis;
inputting said document table into said content stream according to said object-by-object basis, wherein said document and said document table form said content stream according to said mobile device information, wherein said document table includes object pointers corresponding to respective objects of the plurality of objects and wherein each object pointer includes an attribute pointer that points to a respective object in said content stream; and
modifying an object of the plurality of objects, wherein said object corresponds to distinguishable pieces of said requested content, wherein said modifying comprises:
accessing an object pointer in said document table within said content stream, wherein the object pointer is an object pointer of the document table, and wherein said object pointer contains a vtable pointer for accessing instance methods and an attribute pointer for accessing said object within said content stream,
selectively copying said object to a writeable memory thereby enabling modification of said object without copying said entire document to said writable memory of said device,
altering said copied object with said instance methods, and
updating an attribute pointer of said object pointer to the writeable memory space of said object that has been altered.

20. A computer system of structuring interactive content for mobile devices, comprising:
a module to determine display and memory parameters based on mobile device information;
a module to parse requested content into a document having a plurality of discrete objects, each discrete object having a format based on at least said layout and rendering parameters;
a module to generate a document table based on an object-by-object basis for said document;
a module to compress said document according to said object-by-object basis;
a module to encrypt said document according to said object-by-object basis;
a module to input said document into a content stream according to said object-by-object basis, wherein said document table includes object pointers corresponding to respective objects of the plurality of objects and wherein each object pointer includes an attribute pointer that points to a respective object in said content stream;
a module to input said document table into said content stream according to said object-by-object basis, wherein said document and said document table form said content stream according to said mobile device information, wherein said device uses an attribute pointer of an object pointer corresponding to an object of said document included in said content stream to access said object in said content stream and wherein said object pointer is one of said object pointers of said document table; and
a module to modify said object, wherein said content stream is stored on said device, wherein said object corresponds to distinguishable pieces of said request content, wherein means for modifying comprises:
a module to access said object pointer in said document table within said content stream, wherein said object pointer contains a vtable pointer for accessing instance methods and an attribute pointer for accessing said object within said content stream,
a module to selectively copy said object to a writeable memory space thereby enabling modification of said object without copying said entire document to said writable memory of said device,
a module to alter said copied object with said instance methods, and
a module to update an attribute pointer of said object pointer to the writeable memory space of said object that has been altered.

21. The method of claim 1, wherein each vtable pointer points to a respective entry in a vtable, wherein each entry in the vtable comprises at least one function pointer that points to an instance method associated with the corresponding object, further comprising:
modifying said object of the plurality of objects, comprising:
accessing a vtable pointer associated with the object; and
using the vtable pointer to access an instance method associated with the object.

22. The method of claim 21, wherein modifying further comprises:
copying the object into writeable memory.

23. The method of claim 22, wherein the modifying step is executed after the inputting said document step.

24. The method of claim 22, wherein the object is in a compressed form in the content stream, wherein the modifying further comprises:
decompressing the object before the copying step.

25. The method of claim 1, further comprising: receiving a synchronization token from the hardware device; wherein at least a portion of data included in the content stream is determined based on the synchronization token.

26. The method of claim 25, wherein the synchronization token is a data marker representative of data stored on the hardware device.

27. The method of claim 25, further comprising: determining whether a previous transmission to the hardware device was successful based on the synchronization token.

28. A method for receiving and modifying data at a device, comprising:
receiving a content stream including a document and a document table,
wherein the document includes a plurality of objects laid out according to display and memory parameters of the device, wherein the document table includes a plurality of pointers corresponding to respective objects of the plurality of objects, wherein each object pointer includes an attribute pointer that points to a respective object of the plurality of objects and a vtable pointer for accessing an instance method associated with the respective object;
storing at least said document in a first memory, and wherein said document cannot be modified from said first memory;
accessing an object pointer from said document table corresponding to an object of said document;
accessing an attribute pointer of said object pointer that points to said object; selectively copying said object from said first memory to a second memory using said attribute pointer, wherein the second memory is a writeable memory;
modifying said copied object in said second memory; and
updating said attribute pointer to point to said copied object in said second memory.