US 20080028335 A1
Apparatus, methods and software for creating resolution-independent vector display of Internet (Web) content to allow Web pages to be scaled (zoomed) and panned for better viewing and/or to fit any resolution or screen size. According to one aspect, novel client-side processing of Web content is provided that translates portions of Web content requested by a user from an original format to scalable content including scalable page layout information. The scalable content enables the Web page to be rendered by the client such that the rendered display substantially retains an original page layout defined by the original format, while supporting scaling and panning of the Web content. Thus the user is enabled to easily view and navigate entire Web pages in their original and familiar format on various devices having various screen sizes and resolutions.
1. A mobile device, comprising:
a wireless communications device operatively coupled to the processor, to facilitate communication with a network via which Web content may be accessed;
memory, operatively coupled to the processor; and
storage means, operatively coupled to the processor, in which a plurality of instructions are stored that when executed by the processor enable the mobile device to perform operations including,
rendering a browser interface via which a user is enabled to request access to a Web page, the Web page including associated HTML-based Web content having an original format defining an original width and height of the Web page and an original page layout and attributes of content on the Web page;
retrieving, via the wireless communication device, at least a portion of the HTML-based Web content associated with the Web page;
translating the at least a portion of the HTML-based Web content to produce scalable page layout information; and
employing the scalable page layout information and/or data derived therefrom to,
render the Web page on the display such that the width of the Web page is rendered to fit substantially across the display; and
re-render the Web page in response to associated user inputs to enable a user to zoom in and out a display of the Web page.
2. The mobile device of
3. The mobile device of
4. The mobile device of
5. The mobile device of
enabling the user to select the hyperlink; and, in response thereto,
retrieving, via the wireless communications device, and translating HMTL-based Web content associated with the hyperlink to produce additional scalable page layout information; and
employing the additional scalable page layout information and/or data derived therefrom to render the Web content associated with the hyperlink on the display.
6. The mobile device of
generating scalable content via use of the scalable page layout information; and
scaling the scalable content to re-render the display in response to associated user inputs.
7. The mobile device of
8. The mobile device of
9. The mobile device of
10. The mobile device of
11. The mobile device of
12. The mobile device of
13. The mobile device of
14. The mobile device of
15. A mobile device, comprising:
wireless communications means to facilitate communication with a network via which Web content may be accessed;
storage means in which a plurality of instructions are stored that when executed by the processor enable the mobile device to perform operations including,
rendering a browser interface via which a user is enabled to request access to a Web page, the Web page including associated HTML-based Web content having an original format defining an original page layout and attributes of content on the Web page;
retrieving, via the wireless communication means, at least a portion of the HTML-based Web content associated with the Web page;
parsing HTML-based code corresponding to the retrieved HTML-based Web content to determine the original page layout of display content within the Web page, wherein the original page layout defines a layout location for a plurality of objects, including text objects, graphic layout objects, and/or graphic image objects included in the Web page;
defining a primary datum corresponding to the original page layout; and, for each object,
defining an object datum corresponding to the layout location for the object;
generating an object vector from the primary datum to the object datum for the object; and
creating a reference that links the object to its corresponding vector; and employing the object vectors to,
render the Web page on the display such that a width of the Web page is rendered to fit substantially across the display; and
re-render the Web page in response to associated user inputs to enable the user to zoom in and out a display of the Web page.
16. The mobile device of
generating a bounding box for each object, the bounding box representing a portion of a rendered display page occupied by the object's associated group of content; and
mapping the object vectors and associated bounding boxes to a virtual display in memory.
17. The mobile device of
determining a first scale factor and offset in response to one or more corresponding user inputs defining a user-selectable zoom level and pan corresponding to a rendered display of the Web page desired by a user;
determining a virtual display bounding box for the virtual display associated with the first scale factor and offset;
identifying object bounding boxes having at least a portion falling within the virtual display bounding box; and,
for each of such object bounding boxes,
retrieving content associated with that object bounding box;
scaling the content associated with that object bounding box to produce scaled content; and
rendering the portion of scaled content within the virtual display bounding box to render the content on the display.
18. The mobile device of
19. The mobile device of
generating a display list derived, at least in part, via use of the object vectors; and
employing the display list to re-render the display of the Web page.
20. A wireless handheld device, comprising:
a wireless communications interface operatively coupled to the processor, to facilitate communication with a network via which Web content may be accessed;
random access memory, operatively coupled to the processor; and
flash memory, operatively coupled to the processor, in which a plurality of instructions are stored that when executed by the processor enable the mobile device to perform operations including,
rendering a browser interface via which a user is enabled to request access to a Web page, the Web page including associated HTML-based Web content having an original format defining an original width and height of the Web page and an original page layout and attributes of content on the Web page;
retrieving, via the wireless communication interface, HTML-based Web content associated with the Web page;
translating the retrieved HTML-based Web content to produce scalable page layout information; and
employing the scalable page layout information and/or data derived therefrom to,
render the Web page on the display such that the width of the Web page is rendered to fit substantially across the display;
re-render the Web page in response to associated user inputs to enable the user to zoom in on user-selected areas of the web page; and
re-render the Web page in response to associated user inputs to enable the user to pan a display of the web page while in a zoomed or non-zoomed state.
21. The wireless handheld device of
22. The wireless handheld device of
23. The wireless handheld device of
24. The wireless handheld device of
25. The wireless handheld device of
This application is a divisional of U.S. Non-provisional application Ser. No. 11/045,757, entitled “SCALABLE DISPLAY OF INTERNET CONTENT ON MOBILE DEVICES,” which is a divisional of U.S. Non-provisional application Ser. No. 09/878,097, filed Jun. 8, 2001, entitled “RESOLUTION INDEPENDENT VECTOR DISPLAY OF INTERNET CONTENT,” which is a Continuation-in-Part of U.S. Non-provisional application Ser. No. 09/825,511, filed Apr. 7, 2001, entitled “RESOLUTION INDEPENDENT VECTOR DISPLAY OF INTERNET CONTENT,” the benefit of the filing date of which is claimed under 35 U.S.C. §120. This application further claims the benefit of the filing dates of U.S. Provisional Application No. 60/211,019, filed Jun. 12, 2000, entitled “METHOD AND SYSTEM FOR RESOLUTION INDEPENDENT DISPLAY OF HTML AND XML CONTENT” and U.S. Provisional Application No. 60/217,345, filed Jul. 11, 2000, entitled “METHOD AND SYSTEM FOR SELECTION, RETRIEVAL, AND CONVERSION OF COMPUTER CONTENT TO VECTOR FORMAT FOR RESOLUTION INDEPENDENT DISPLAY,” under 35 U.S.C. §119(e).
This application also contains subject matter related to divisionals U.S. Non-provisional application Ser. No. 11/045,649, entitled “RESOLUTION INDEPENDENT VECTOR DISPLAY OF INTERNET CONTENT,” filed Jan. 28, 2005, U.S. Non-provisional application Ser. No. 11/735,477, entitled “RESOLUTION INDEPENDENT VECTOR DISPLAY OF INTERNET CONTENT,” filed Apr. 15,2007, U.S. Non-provisional application Ser. No. 11/735,482, entitled “SCALABLE DISPLAY OF INTERNET CONTENT ON MOBILE DEVICES,” filed Apr. 15,2007, U.S. Non-provisional application Ser. No. 11/738,486, entitled “SCALABLE DISPLAY OF INTERNET CONTENT ON MOBILE DEVICES,” filed Apr. 21, 2007, and U.S. Non-provisional application Ser. No. 11/738,486, entitled “RESOLUTION INDEPENDENT VECTOR DISPLAY OF INTERNET CONTENT,” filed Apr. 23, 2007.
Contained herein is material that is subject to copyright protection. The copyright owner has no objection to the facsimile reproduction of the patent disclosure by any person as it appears in the Patent and Trademark Office patent files or records, but otherwise reserves all rights to the copyright whatsoever.
1. Field of the Invention
The invention relates generally to techniques for supporting resolution-independent display of Internet (Web) content to allow Web pages to be scaled (zoomed) and panned for better viewing and/or to fit any resolution or screen size. More particularly, the invention relates to apparatus and methods for zoom enabling the display of content in an Internet information browser (i.e., Web browser) by retrieving and translating HyperText Markup Language (HTML), eXtensible Markup Language (XML), and other Internet content to scalable representations of that content.
2. Description of the Related Art
Text only Internet information browsers began as a project at the CERN, European Organization for Nuclear Research, facility in Geneva Switzerland. From its inception the intent was to provide a mesh or web of access to data with a common user interface. Browsers moved from the academic environment when NCSA, the National Center for Supercomputing Applications at the University of Illinois in Urbana-Champaign developed Mosaic, an Internet information browser and World Wide Web client.
Internet content is stored in multiple file formats. These formats include HTML (Hyper Text Markup Language) and XML (eXtended Markup Language) as well as graphic file format GIF (Graphics Interchange Format) and JPEG (Joint Photographic Experts Group). These four file formats constitute the majority of Internet content. Font size and resizing display area for content can alter the size of the display of Internet content in existing browsers. The majority of Internet content displays as a flat single resolution with no browser support for zoom.
Much of the Internet content has been designed for display on desktop computers with a single target resolution. Even though HTML has the ability to adapt to changes in screen resolution, major Internet content providers have chosen to create their Web pages using fixed resolution structures, such as tables. This gives them the ability to control the look and feel of their Web sites. This fixed resolution approach has evolved to the point that the fixed resolution layout of Web pages has become the most common method to brand or uniquely identify Web sites. While this fixed resolution approach is good for site branding and product differentiation it does present a daunting technical problem for display of Internet content (designed for desktop computers) on small screen, low resolution, or different aspect ratio devices, such as cell phones and hand held computers.
Techniques for supporting resolution-independent display of Internet (Web) content to allow Web pages to be scaled (zoomed) and panned for better viewing and/or to fit any resolution or screen size. According to one aspect, novel client-side processing of Web content is provided that translates portions of Web content requested by a user from an original format to scalable content including scalable page layout information. The scalable content enables the Web page to be rendered by the client such that the rendered display of the Web page substantially retains an original page layout defined by the original format, while supporting scaling and panning of the Web page. According to another aspect, browser software is provided for implementation on various types of mobile and/or wireless devices having various screen sizes and resolutions to facilitate aspects of the techniques. Thus, users of such devices are enabled to easily view and navigate entire Web pages in their original and familiar format.
Other features of the present invention will be apparent from the accompanying drawings and from the detailed description that follows.
The appended claims set forth the features of the invention with particularity. The invention, together with its advantages, may be best understood from the following detailed description taken in conjunction with the accompanying drawings of which:
Apparatus and methods are described for creating resolution independent vector display of Internet content to allow it to be scaled (zoomed) larger and smaller for better viewing or to fit any resolution or screen size. In addition, infrastructure and methods are provided for delivering such content to clients.
In the following description, for the purposes of explanation, numerous specific details are set forth in order to provide a thorough understanding of the present invention. It will be apparent, however, to one skilled in the art that the present invention may be practiced without some of these specific details. In other instances, well-known structures and devices are shown in block diagram form.
The present invention includes various operations, which will be described below. The operations of the present invention may be performed by hardware components or may be embodied in machine-executable instructions, which may be used to cause a general-purpose or special-purpose processor or logic circuits programmed with the instructions to perform the operations. Alternatively, the operations may be performed by a combination of hardware and software.
The present invention may be provided as a computer program product that may include one or more machine-readable mediums having stored thereon instructions, which may be used to program a computer (or other electronic devices) to perform a process according to the present invention. The machine-readable medium may include, but is not limited to, floppy diskettes, optical disks, CD-ROMs, and magneto-optical disks, ROMs, RAMs, EPROMs, EEPROMs, magnetic or optical cards, flash memory, or other type of media/machine-readable medium suitable for storing electronic instructions. Moreover, the present invention may also be downloaded as a computer program product, wherein the program may be transferred from a remote computer (e.g., a server) to a requesting computer (e.g., a client) by way of data signals embodied in a carrier wave or other propagation medium via a communication link (e.g., a modem or network connection). Accordingly, herein, a carrier wave shall be regarded as comprising a machine-readable medium.
According to one embodiment, an ultra-thin client-side viewer provides the graphics, linking, caching, and function handling capabilities necessary for extending the web to almost any platform. It is designed as a lightweight browser (micro-browser) running directly on device operating systems. In alternative embodiments, the client-side viewer may be deployed as a standard browser plug-in, or Java applet for extending browser functionality. In one embodiment, the client-side viewer attains its small size and efficiency by taking advantage of the power of SVF (Simple Vector Format) to describe almost any current web content. SVF files can be handled with a tiny fraction of the client code required by normal web browsers because current browsers must interpret a large and growing number of file types and their idiosyncrasies. SVF was originally designed to handle a superset of the most commonly used file formats in the complex world of CAD. It can accommodate not only new graphical functions, but the storage and transfer of almost any foreseeable new functional capability. SVF has been under consideration by the W3C (World Wide Web Consortium) for adoption as a standard for vector content on the World Wide Web.
By working tightly with a server-side content translator, web content and functionality can be passed seamlessly to the end user platform without any degradation in the look or feel of the output. In addition, because the resulting file graphics are handled as vectors, the end user can control real time changes in the size of text and graphics as well as what portion of the file is viewable in the display. This “zoom and pan” capability, familiar to CAD and other vector content software users, adds dramatically to the usability of non-standard display sizes. For very small displays, real time zooming and panning allows the user to see graphics and text at sizes that make them easily readable, and then “back up” to view an entire page for context or pan in any direction for navigation. Because the client-side viewer manipulates vectors, there is no loss in quality as the display is zoomed. The graphics rendering engine within the client is so efficient that file manipulation happens in a fraction of a second. There is no perceptible wait for the user as the file is resized, or the window is repositioned. Content created for one display resolution now can be sized, real time, for any other display without degradation. Besides making small displays eminently usable, this technology extends web content into some surprising new arenas. For example, it enables normal desktop displays to be effective for individuals with visual impairment, or for content designed for 640×480 standard PC monitors to be shown without degradation on web billboards now appearing in cities like Seattle and San Francisco.
With a client of such extraordinary power packed in a tiny footprint, end user device manufacturers can free up valuable memory space for pre-fetching, caching and pre-loading content, dramatically improving performance for use in low bandwidth and portable applications. In the example of a wireless handheld device where expensive flash memory must be used instead of more cost effective bulk storage technology, the difference between consuming 10's of megabytes of flash memory with a standard browser versus running the client-side viewer described herein is dramatic.
Those “saved” megabytes of memory are now available for impressive interfaces, caching of often used content, and pre-fetching of intelligently selected linked files or pre-loading of content for targeted applications. For example, in a mapping application, the map tiles surrounding the viewed map could be downloaded and stored while the user was working with the initial tile, enabling an experience remarkably free from the current frustrations of waiting for a new map to be transferred for even the smallest change in magnification or coverage. If the user knows ahead of time what city they will visit on a business trip, maps and additional travel information in great detail could also be pre-loaded using a high bandwidth connection at home or in the office before heading out to shop or conduct business in the city. Additionally, SVF is a more efficient way to store web content. Resulting content files are reduced in size by anywhere from 20 to 80 percent over their source. SVF is also very compressible. With target file size reduction in the range of 90%, SVF files can take up as little as 1/10th the space of the web files in current use. This means that pre-translated content can be moved up to 10 times the rate of current web pages, and as much as 10 times as many pages, maps, stock charts, etc. can be stored for instant retrieval on the hand held platform as can be handled with current web technology.
When used on content created natively in SVF, additional capability can be extended to the client-side viewer.
Graphing the performance of stocks over time is only one use of SVF's ability to handle streams of data. Handling the output from financial systems, transactional systems, ERP packages, and CRM systems becomes easier and more flexible. Of course, systems integrators don't have to use these powerful capabilities to start with. If the target system provides web interfaces, these can be viewed, as designed, with no additional software to write, and no changes to the design or layout of the interface.
Enabling the client-side viewer to be so small and powerful is the server-side content translator. The server-side content translator rapidly translates Web content to SVF, compresses and encrypts the SVF results if desired, and transfers the vector formatted results to the client-side viewer. Alternatively, SVF files can be cached or stored in a file system for fetching and transfer at a later time. Pre-translated or cached content transfers are significantly faster as no conversion overhead is incurred, and file sizes are reduced using the more efficient SVF. Combine that with standard compression algorithms selectable for use with the client-side viewer for additional performance improvements.
All operational modes may be controlled through an administrative interface or accessible through a straightforward API (Application Program Interface). Furthermore, the system works with existing firewalls and within standard security protocols. In more secure modes, the server-side content converter and the client-side viewer may operate using Public/Private key authentication and encryption.
Exemplary System Infrastructures
In the following paragraphs, a description of three exemplary system infrastructures is provided. Schematic illustrations of these system infrastructures are shown in
A first exemplary system infrastructure 10A for implementing the invention is shown in
With reference to the flowchart of
Next, in a block 102, the request is received by the proxy server and the proxy server checks its cache to see if it already has the request content in its cache. If it does, it sends this cached content back to the client. If it does not have the requested content cached, the proxy server sends out a request to retrieve the content from the network resource. For illustrative purposes, it will be assumed for the present example that the desired content comprises a web page that is stored on web server 26. Typically, when the requested content comprises a web page, the content may be retrieved using conventional web content retrieval techniques, such as that employed by various modern browser clients, including Netscape Navigator and Internet Explorer. This generally comprises providing routing information, such as the URL for the web page (URL 38) to routing services provided by Internet 24, which routes the request to an appropriate network resource (e.g., web server 26), as depicted by a transfer path 40.
Typically, the URL will correspond to a web page whose content is stored by the web server in an HTML (HyperText Markup Language) document comprising HTML code and embedded text content, in addition to other optional content languages, that may contain references to other objects (e.g., HTML documents and graphic image files) stored locally to the server or stored on a remote server. For example, the HTML content corresponding to a single-frame web page is often stored in a single file, while multiple-frame web pages may comprise content that is stored in a single file or in multiple files. These files may be stored locally on the web server (e.g., on one of the server's hard disks), or on a local storage device connected to the web server via a local area network (LAN), such as a network attached storage (NAS) filer. Optionally, some of the web page's content may comprise one or more documents that are stored at remote locations that may be accessed via a WAN (wide area network) or the Internet.
In addition to HTML and other markup and scripting language content, it is very common for web pages to include graphical content. In general, graphical content is usually stored in an image file or files that are external from the parent HTML document for the web page. For example, the parent HTML document may contain one or more embedded image tags that reference the location where those images are stored. As before, the graphic images may be stored locally, or may be stored on remote servers that are accessed by the web server via a WAN, or the Internet. These files will typically comprise data stored in one of several well-known graphic formats, including bitmap files (BMP), GIF (Graphics Interchange Format) files, and JPEG (Joint Photographic Experts Group) files.
In response to receiving the request for content, web server 26 begins sending a parent HTML document 42 back to proxy server 32 in a block 104. In a block 106, the HTML content of the parent HTML document is parsed to search for references to external objects such as HTML frames and graphics. In a decision block 108, a determination is made to whether any references are found. For each reference to an external object that is found, proxy server 32 requests to have the object retrieved from an appropriate network resource (e.g., a web server) in a block 110, and data corresponding to the object is transmitted back to the proxy server, as depicted by locally accessible HTML documents 44 and graphic images 46, as well as remotely accessible HTML documents 48 and graphic images 50, which may be accessed via web server 28. If the external object is a graphic image, there is no further processing of the object at this point. If the object is an HTML document, the functions provided by blocks 106 and 108 are repeated. Generally, this set of processing functions is repeated iteratively until all of the external objects are retrieved. However, as described below, there will be some instances in which certain objects will be retrieved at a later point in time. In addition to content stored on web servers that are accessed using HTTP, content may also be retrieved from various network sites using the File Transfer Protocol (FTP), such as FTP documents 51, which are accessed via FTP server 30.
In general, HTML documents and graphic files will be sent as packetized data streams using HTTP over one or more TCP/IP network connections, wherein the data streams will usually be asynchronous. Retrieval of HTML documents and graphic files corresponding to the embedded references will usually require additional transfer time. Furthermore, graphic content oftentimes comprises significantly larger file sizes than HTML content, leading to significant transfer times in some instances. For simplicity, the transfer of the various HTML documents and graphic files for the content request are depicted by HTML documents 52 and graphic documents 54, which are transferred over a transfer path 56.
When the HTML documents and graphic content are received by proxy server 32, a scalable vector representation of the web page is generated in a block 114 by an HTML translator 58. In brief, HTML translator 58 translates HTML, XML, and cascaded style sheet (CSS) layout content into a scalable vector representation, such as SVF. Details of the HTML translation process are contained below. In addition, the graphic images are converted into a compressed bitmap format in a block 116 by a graphics translator 60. The vectorized content 62 and compressed bitmaps 64 are then streamed back to the client (i.e., computer 18) in a block 118, as depicted by a transfer path 66. In one embodiment, the content portions are sent in separate streams using multiple connections. In another embodiment, the content portions are sent via a multiplexed stream using a single connection. As the vectorized content and compressed bitmap data are received by the client device, they are processed by a thin client 68 running on the client device, whereby a representation of the original web page content may be rendered on the client device's display screen at various user-selectable scaled resolutions and pan offsets in a block 120, thereby enabling a user to more clearly see an overview or details in the web page. Further details of the client side processing are provided below.
As discussed above, wireless clients may also access the vectorized network (e.g., web site) content provided via proxy server 24. The majority of this process is identical to that described above for land-line clients (e.g., computers 18, 20, and 22), except for provisions required for sending data to and receiving data from wireless devices. In general, most wireless devices will access the Internet via a wireless service provider (i.e., a wireless telecommunications carrier) that is particular to that wireless device. Accordingly, a portion of the transmission path to and from proxy server 24 will comprise infrastructure provided by that service provider and/or shared with other service providers. For simplicity, this infrastructure is shown as a cellular tower 70 and a service provider data center 72, although it will be understood by those skilled in the art that the connection path may comprise additional infrastructure components, including appropriate gateways and routers, that enable wireless devices to access proxy server 24.
In some implementations, there will be no special formatting/protocol services that need to be performed by proxy service 24—from the viewpoint of the proxy service, it will be immaterial whether the client is a land-based or wireless client; the special handling provisions for wireless devices will be handled entirely by the service providers infrastructure transparently at both ends of the communications path. In other instances, it may be desired or necessary to reformat the data content delivered to the wireless device at the proxy service. This will generally be dependent on the particular wireless protocol used, and what services are provided by the service provider for the wireless client.
Currently, in the United States, wireless clients generally access Internet 24 by using the Wireless Application Protocol (WAP). In Japan, the most popular access means is NTT DoCoMo's i-Mode wireless protocol. In addition to these wireless standards, new standards are anticipated to be in force in the near future, including NTT DoCoMo's FOMA (Freedom of Mobile Multimedia Access), which is transported over W-CDMA (Wideband Code Division Multiple Access), and CDMA-2000. For the purposes of the invention herein, it will be understood that those skilled in the mobile telecommunications arts will be knowledgeable about any particular format and/or transport protocol requirements that pertain to the particular protocol that is to be used.
A second exemplary system infrastructure 10B for implementing the invention is shown in
The logic implemented by the invention when providing content to a client using infrastructure 10B is illustrated in the flowchart of
As before, the retrieved HTML documents are translated into scalable vector representations by HTML translator 58 in a block 114, while the graphic images are translated into a compressed bitmap format by image translator 60 in a block 116, as depicted by vectorized content 62 and bitmap content 64. The vectorized content and bitmap content are then streamed from the web server to the client in a block 119, as depicted by a transfer path 67. Upon arriving at the client, the vectorized content and bitmap content are processed, scaled, and rendered on the client in a block 120.
A third exemplary system infrastructure 10C for implementing the invention is shown in
Attention now is focused on the functionality provided by proxy server 24 in system infrastructure 10A of
The proxy server responds to client content requests by delivering content in one of the requested formats, by retrieving the content in an appropriate format from its cache, or from an upstream content source (again using standard HTTP content negotiation features), or by translating upstream content from a supported original format to SVF or the client bitmap format.
Requests from the server installation to its cache and from the cache to upstream content sources are made in HTTP carried over TCP using simple straightforward Web content requests. For example, requests from clients to the proxy server comprise HTTP proxy requests (e.g., “GET http://www/xyz.com/some_page.html HTTP/1.0 . . . ”) carried over TCP or over a lightweight multiplexing protocol over TCP. The multiplexing protocol allows the server to push image thumbnails to the client before the SVF stream is available, as well as offering a channel for control and status information, more simultaneous channels than the client operating system may support, and a mechanism for prioritizing information flow from server to client under loose client control. In addition to HTTP requests, the proxy server architecture supports other user-level protocols, such as FTP and Gopher.
Details of some of the primary components of the proxy server architecture are shown in
The various content translators used by the proxy server accept (via HTTP PUT) or request (driven by HTTP proxy GET/POST) content in supported, but client-unsupported, formats; and return (via HTTP PUT or GET/POST response) one or more representations of that content in a client-supported format. In the embodiments illustrated in
Managers at the proxy server coordinate the operations of other components. Two managers are presently defined; a client manager 73 that handles client proxy requests, and a request manager 75 that handles unproxied HTTP requests from other services. The managers accept requests, attempt to service them from HTTP cache 74, and drive HTML translator 58 and image translator 60 when content does not match the clients' requirements. Managers also handle translator requests for inline content (e.g., image dimensions for page layout), and push translated content into HTTP cache 74. Additionally, the client manager coordinates delivery of primary and inlined content, and provides process and status information to the clients.
As discussed above, HTML translator 58 creates a scalable vector representation of the original HTML content of a requested web page. In order to better explain how translation of HTML content is performed, one embodiment of a translation process is described below as applied to an exemplary web page. In addition, details of conventional web page client and server-side processing are provided so as to clarify how web content is laid out during a pre-rendering process on the client.
A horizontal group of links 236 is disposed at the top of frame 214, and includes a “QUOTES” link 238A, a “HOT PICKS” link 240A, a “CALENDARS” link 242A, and a “NEWS” link 244A. An advertisement banner 246A is displayed just below the horizontal group of links and just above a “NEWS SPARKS MARKET” headline 248A. Frame 214 also includes a pair of graphic image objects, including a DOW chart 250A and a NASDAQ chart 252A. A set of user input objects is disposed adjacent to DOW chart 250A within a graphic object 254A, including an “ACCOUNT #” input box 255A, an “ACCESS CODE” input box 256A, and a “LOGIN” button 257A. In addition to the foregoing objects, frame 214 also includes text objects 258A and 260A.
An HTML listing corresponding to web page 210 is presented below as LISTING 1. Note that LISTING 1 sometimes refers to object descriptions and link paths rather than the text or path location of actual objects for simplicity, and that other elements commonly found in HTML pages, such as META entries, are omitted for clarity.
Web page documents comprise HTML code that is parsed, interpreted, and rendered by a browser. An HTML document comprises a plurality of HTML “markup” elements (tags) with corresponding attributes, that are used to describe the layout and formatting of various objects, including plain text and graphic objects, embedded between tag pairs. Exemplary elements include text tags (e.g., <b></b> for bolding text), links (e.g., <a href=“URL”></a>), formatting (e.g., <p></p> for creating a new paragraph, graphical (e.g., <img src=“name”>), wherein “name” defines an absolute or relative location at where an image is stored, tables (e.g., <table></table>) creates a table, and forms (e.g., <form></form> creates all forms).
As of Netscape Navigator 3.0 (and other later browsers), web pages could include frames. When using frames, the display page is divided into multiple framed areas. Framing enables a single display page to include source code from several HTML documents (one for each frame) or optionally, enables a single document to include more complicated grouping of contents whereby different content groups are contained in separate frames. Frames are commonly found on the web pages at sites that display a great deal of text and graphical content, such as MSN.com, ESPN.com, and USAToday.com.
With reference to the flowchart of
Next, in a block 152, the content is separated into objects based on logical groupings of content portions and a page layout is built using bounding boxes that are produced for each object. As the primary HTML document is parsed, logical groupings of content will emerge. For instance, text content contained within paragraph tags <p></p> forms a logical grouping of text content. In essence, a logical grouping means the content should appear together as a logical group, such as within a substantially rectangular outline, in the rendered page. Other logical groupings include frames, table content, row content, single line entries such as headlines and headers, and user-interface objects, as well as graphic layout objects, such as separator bars, and graphic images. In addition to logically grouping content into objects, a “bounding box” is defined for each object. In general, the bounding box defines an outlined shape within which the content (text or graphic image) will appear. In most instances, the bounding box will be substantially rectangular in shape. However, bounding boxes comprising more complex shapes may also be produced.
In further detail, the following explains how objects corresponding to graphic images are produced. In HTML, objects comprising graphic content are identified by an <img src=“/local directory path/graphic image file” (for a local graphic image) or “URL” (for a remote graphic image)> or <object> or other tags. In the foregoing tag, local graphic images are typically stored on the same server as the web page, or another computer that is local to the site's server, and generally are located through a local directory path (absolute or relative to the location of the present page) that points to the graphic image file. Remote images are those images that are stored on servers at sites that are remote to the web server. For example, with reference to LISTING 1, when the parser encounters line 9, the browser identifies that data comprising a graphic image corresponding to logo graphic object 1 will be arriving (or may have already been received), and the displayed image is to have a height of 80 pixels and a width of 100 pixels. The location of each object on a display page will be dependent on previous HTML layout elements, such as tables, paragraphs, line breaks, and other graphic objects. The size and location of the other graphic objects (i.e., graphic objects #2-12) on the page are determined in a similar manner. The HTML code for these objects are shown in lines 16, 19, 22, 25, 34, 37, 40, 59, 67, 78 and 96, respectively. As identified in the HTML code, data corresponding to graphic objects #9 (advertisement banner 46A) is forwarded to the browser from an external site (as indicated by the URL to GRAPHIC #9), while graphic objects 1-8 and 10-12 are sent from the web site the parent HTML document is sent from.
In a similar manner, the foregoing technique is applied to the HTML code in the primary document to identify other types of objects as well. In addition to parsing the primary HTML document, similar processing is performed on referenced documents, such as documents that include frame content that is defined and stored separate from the primary HTML document.
A representation of the results of the functions performed in block 152 are shown in
Next, in a block 154, the page layout is defined based on the bounding boxes. In actuality, generation of the page layout information is performed in conjunction with defining the boundary boxes for the objects, wherein the location of a given object is based on the location of other related (e.g., if within a table) or non-related objects corresponding to HTML content that have been previously parsed. For example, the location of a given paragraph will depend on the other content for the page that are listed prior to the definition for the paragraph in the primary HTML document or referenced document, if applicable. As the HTML content of the primary and any referenced HTML documents are parsed, the page layout is generated based on the various HTML tags and the content embedded between tag pairs and/or referenced by a tag pair statement (e.g., graphic images).
As will be recognized by those skilled in the art, the functions performed in blocks 150, 152, and 154 are commonly performed by conventional browsers during a pre-rendering process. In some browsers, these functions are performed by the Mozilla rendering engine, which comprises open source software that is readily available for use by developers. At present, the software for the Mozilla rendering engine may be accessed via the Internet at www.mozilla.org. Accordingly, in one embodiment, the present invention uses core functionality provided by the Mozilla rendering engine source code to perform the functions of block 150, 152, and 154.
At this point, the present invention deviates substantially from the prior art by using the various object layout data generated during the pre-rendering process to generate a scalable vector representation of the original page content. First, in a block 156, a datum point is defined for the page and the bounding box for each object. For example, as shown in
In general, the datum points for each object may also be located any place on the object, as long as the object datum points are used in a predictable manner. For example, as depicted in
Once the page's datum point and an object's datum point are known, a vector between these points is generated for each object in a block 158. With reference to
The scalable vector representation is completed in a block 160, wherein a reference is created for each object that includes or links an object's content and attributes, such as object type (e.g., text, image), object typeface, and boundary box parameters, to the object's vector. For example, object 250B is a graphic image having a vector 250D and a bounding box that is 180 pixels high and 350 pixels wide, while object 252B is a graphic image having a vector 252D and a bounding box that includes a height of 200 pixels and a width of 350 pixels. This enables client-side operations to be performed that only initially consider the vectors, wherein if it is determined that a vector's endpoint (and/or the bounding box corresponding to the object the vector points to) would appear off of a display, there is no need to retrieve the content and attribute data linked to the vector. This concept is explained in further detail in the following section.
It is noted that a portion of the display content produced on a client device will never contain any rendered content, as this portion is reserved for the browser's user interface. In WINDOWS™ environments, this portion will include the browser's window frame, as well as the pulldown and icon menus provided in the browser's user interface, which are depicted by a box 264 in the Figures herein.
Client-Side Software and Processing
As discussed above, the present invention supports a wide variety of clients, including land-based clients and wireless clients. Each client requires some client-side software that enables the scalable vector content data provided to it to be rendered at a user-selectable scale factor and offset on the client's display, such as a monitor or built-in LCD screen.
By enabling original content from a web site to be displaced in such a resolution-independent manner, users will be able to view content in a manner that did not previously exist, greatly enhancing the user experience. For example, in some implementations the client may be a personal computer (PC). Using a least-common denominator approach, many web pages are designed for a smaller resolution (for example 640×480 pixels, a minimum resolution commonly supported by nearly all PC's, including legacy PC's) than the resolution provided by the video output capabilities available with many of today's PC's, such as 1024×768 pixels, 1280×1024 pixels, and even 1600×1200 pixels. As a result, when these web pages are displayed on a high-resolution display, they occupy only a portion of the display, making portions of the pages, especially those portions containing small text, difficult to read. By enabling users to selectively magnify the entire page, these design flaws are easily overcome. Alternatively, the client may be a small device, such as a hand held computer or a cell phone, which has a smaller display resolution than common Web pages are designed for. As explained below, through use of the invention's scalable vector representation and client-side processing, users are enabled to view the entire content of billions of existing Web pages using hand-held devices in a simple and reasonable way.
In one embodiment, the client software may be a plug-in to a Web browser, such as Netscape Navigator or Microsoft Internet Explorer. Such a plug-in might have the browser download the data and display it in a sub-window of the browser. Alternatively, the client software may be a Java applet running in a browser. As another option, the client software may be a stand-alone program that interfaces with the proxy server or proxy software directly. The client software may bypass the proxy when requesting information that won't be translated to vectors, such as bitmaps.
With reference to
Next, in a block 166, the vectors and boundary boxes are processed based on the scale and offset, and a bounding box defining the limits of the display content is determined. The results of this step are shown in
As shown in
This foregoing process establishes a starting point (the new datum) for where the content in each object's bounding box will be rendered. At this point, each object's bounding box is then drawn from its new datum using the scaling factor. For example, in the original web page 210D (
Returning to the flowchart of
The process is completed in a block 172, wherein those portions of the scaled content falling within the display limit bounding box are rendered on the client device's display.
As discussed above, it is foreseen that the invention will be used with client devices having small, low resolution displays, such as PDAs and pocket PCs. Examples of various views of an exemplary web pages obtained from the YAHOO™ web site are shown in FIGS. 7A-B, 8A-B and 9A-B. For instance,
In addition to directly scaling and offsetting content, the client user-interface software for PDA's provides additional functionality. For instance, a user may select to view a column (results represented in
It is further noted that that different scaling factors can be applied to the X and Y axis so as to change the aspect ratio of the display. For example, a Web page may be designed to be displayed on a computer having a resolution of 800×600 pixels, or a 4X to 3Y aspect ratio. In this case, the display corresponds to a “landscape” layout, wherein there are more pixels along the X axis than along the Y axis. Conversely, many handheld devices display images having a “portrait” layout, wherein there are more pixels along the Y axis than the X axis. By enabling different scaling factors to be applied to the X and Y axes, the present invention enables the aspect ratio of a rendered display image to be adjusted to better fit the aspect ratio of the client device.
An Exemplary Computer Architecture
An exemplary machine in the form of a computer system 500 in which features of the present invention may be implemented will now be described with reference to
A data storage device 507 such as a magnetic disk or optical disc and its corresponding drive may also be coupled to bus 501 for storing information and instructions. Computer system 500 can also be coupled via bus 501 to a display device 521, such as a cathode ray tube (CRT) or Liquid Crystal Display (LCD), for displaying information to an end user. Typically, an alphanumeric input device 522, including alphanumeric and other keys, may be coupled to bus 501 for communicating information and/or command selections to processor 502. Another type of user input device is cursor control 523, such as a mouse, a trackball, or cursor direction keys for communicating direction information and command selections to processor 502 and for controlling cursor movement on display 521.
A communication device 525 is also coupled to bus 501. Depending upon the particular presentation environment implementation, the communication device 525 may include a modem, a network interface card, or other well-known interface devices, such as those used for coupling to Ethernet, token ring, or other types of physical attachment for purposes of providing a communication link to support a local or wide area network, for example. In any event, in this manner, the computer system 500 may be coupled to a number of clients and/or servers via a conventional network infrastructure, such as a company's Intranet and/or the Internet, for example.
Importantly, the present invention is not limited to having all of the routines located on the same computer system. Rather, individual objects, program elements, or portions thereof may be spread over a distributed network of computer systems. Additionally, it is appreciated that a lesser or more equipped computer system than the example described above may be desirable for certain implementations. Therefore, the configuration of computer system 500 will vary from implementation to implementation depending upon numerous factors, such as price constraints, performance requirements, and/or other circumstances. For example, according to one embodiment of the present invention, a cell phone or a hand held computer may comprise only a processor or a micro controller and a memory, such as a micro code ROM or RAM, for storing static or dynamically loaded instructions and/or data.
In the foregoing specification, the invention has been described with reference to specific embodiments thereof. It will, however, be evident that various modifications and changes may be made thereto without departing from the broader spirit and scope of the invention. The specification and drawings are, accordingly, to be regarded in an illustrative rather than a restrictive sense.