Conventional approaches to using and retrieving large sets of data are often problematic. Computing devices with limited memory, for example, cannot store all of a large set of data at once. Current approaches break the data into separate chunks but, in so doing, cause these computing devices to perform poorly when they retrieve new chunks of data.
Another issue with large sets of data involves distributing data intended for display. Current approaches for distributing sets of data distribute data and formatting information together, which increases the amount of information distributed. Further, these approaches, whether for large or small sets of data, also require a source of the data to know of the computing device's display capabilities and process the data into a displayable format prior to distributing the data to the computing device.
Some other approaches for displaying sets of data require the computing device to include custom script to download the data and format it into a displayable format. This custom script may require modification and maintenance and be cumbersome when the provider of the data is not the same entity as the administrator of the computing device.
This document describes tools that enable a computing device to use and retrieve large sets of data. The tools also or instead allow a computing device to receive and display data that is not combined with the data's display formatting information.
This Summary is provided to introduce a selection of concepts in a simplified form that are further described below in the Detailed Description. This Summary is not intended to identify key or essential features of the claimed subject matter, nor is it intended to be used as an aid in determining the scope of the claimed subject matter. The term “tools,” for instance, may refer to system(s), method(s), computer-readable instructions, and/or technique(s) as permitted by the context above and throughout the document.
The detailed description is described with reference to the accompanying figures. In the figures, the left-most digit of a reference number identifies the figure in which the reference number first appears. The use of the same reference number in different instances in the description and the figures may indicate similar or identical items.
Overview
This document describes tools that enable a computing device to use and retrieve large sets of data. In one embodiment, a large set of data is retrieved in a series of blocks. When a computing device uses a block of data and, while moving through data elements of the block, reaches a defined retrieval threshold, the next block in the series is retrieved prior to the computing device needing that next block. By so doing the computing device is able to more-smoothly transition between using each of the blocks.
This document also describes tools that allow a computing device to receive and display data that is not combined with the data's display formatting information. This saves memory and communication bandwidth on both the computing device and the source of the data. In one embodiment, a computing device receives markup data with one or more templates from a source of markup data. The computing device then retrieves data (which lacks display formatting information), picks a template to use, and populates the template with the data. This populated template may then be displayed to a user.
Example Environment
In some embodiments computing device 102 is configured to communicate with computing device 112, some examples of which include a server computer, a satellite uplink computer, or a personal media server to name a few. Computing device 112 includes one or more processors 114 and computer-readable media 116. Computer-readable media 116 contains or has access to a data-transmission module 118, data 120, and markup data 122. These devices may communicate through a communication network 124. Communication network 124 may include the Internet, a local-area network, a wide-area network, a wireless network, and/or a USB hub.
Data-block-retrieval module 108 is capable of retrieving data 120 from data-transmission module 118 in blocks. These blocks of data are smaller than data 120 as a whole. This allows computing device 102 to use data 120 without requiring memory with a capacity to store data 120 in its entirety. Data-block-retrieval module 108 retrieves the data blocks in a manner permitting a smooth transition between use of blocks. One such example of a smooth transition is displaying a block of data, retrieving the next block of data, and displaying that next block of data all without the display having a noticeable pause between the first and next block.
This retrieval is configurable in that an initial start index, pre-retrieve amount, and pre-retrieve threshold are configurable. The initial start index, often set to 0 for the first item in data 120, specifies the index of the first item to retrieve. The pre-retrieve amount specifies the number of items to retrieve in a single block. The pre-retrieve threshold specifies the number of items remaining to the end of retrieved items before the next block of data is retrieved (though it may also set the number moved through as well). For example, assume that the initial start index is set to 0, the pre-retrieve amount is set to 4, and the pre-retrieve threshold is set to 2. Items 0-3 of data 120 will be retrieved and be used to populate a control. When scrolling through the control's items, the next block, items 4-7, will be retrieved when the item in focus has come to within 2 items of the end of the retrieved items (the item at index 2).
Templated-data-display module 110 is capable of retrieving markup data 122 from computing device 112. Markup data 122 includes the definition for one or more controls, each of which includes one or more item templates. A control's definition may also contain values for the initial start index, pre-retrieve amount, and pre-retrieve threshold described above.
By way of example, consider a case where markup data defines a web application that can use data 120. Templated-data-display module 110 receives data 120 (without display formatting information) on its own or through data-block-retrieval module 108. Module 110 applies data 120 to the templates within markup data 122 to create one or more items to populate the control. Module 110 then displays the control and its items.
Note that one or more of the entities shown in
Generally, any of the functions described herein can be implemented using software, firmware, hardware (e.g., fixed-logic circuitry), manual processing, or a combination of these implementations. The terms “tool” and “module,” as used herein generally represent software, firmware, hardware, whole devices or networks, or a combination thereof. In the case of a software implementation, for instance, the tools or a module may represent program code that performs specified tasks when executed on a processor (e.g., CPU or CPUs). The program code can be stored in one or more computer-readable memory devices, such as computer-readable media 106 and 116. The features and techniques of the tools are platform-independent, meaning that they may be implemented on a variety of commercial computing platforms having a variety of processors.
Example Process for Receiving and Displaying Blocks of Data Using Templates
The following discussion describes ways in which the tools may operate to enable a computing device to separate display formatting from data using templates as well as break large sets of data into smaller blocks of data. Aspects of this process may be implemented in hardware, firmware, software, or a combination thereof. This process is shown as sets of blocks that specify operations performed by the tools, such as through one or more modules or devices, and are not necessarily limited to the order shown for performing the operations by the respective blocks. In portions of the following discussion reference may be made to environment 100 of
Block 202 retrieves markup data that includes definitions for controls, each control definition including templates, each of which indicates different ways in which to display elements of data. The source of this markup data may be a remote computing device, a local file or database, or a file or database located on removable storage media to name a few.
Two examples of controls that may be defined are a list control and a menu control. Each control definition includes one or more item templates. Essentially, the markup data is without actual data but includes information to format and display individual elements of data.
In one embodiment, an element of data includes one full entry of data. For example, a television program element may include the program's name, the program's air time, the program's length, a description of the program, or other pertinent information about the program. All of this information is included in one element of data. The element may be in the form of an Extensible Markup Language (XML) element named “program” that includes elements pertaining to the information above. In another embodiment, an element of data may include a single data value such as an integer, a string, or a character to name a few. The markup data may also include events and define the actions of those events. After retrieving the markup data, the markup may be parsed and the controls may be rendered without elements of data in them.
By way of example, consider
Returning to
In one embodiment, a Universal Resource Identifier (URI) to the source of the data is included in the markup data received in block 204. An example URI is:
http://server/programs.aspx?startIndex=$(startIndex)&itemCount=$(itemCount)
Both $(startIndex) and $(itemCount) are variables that are replaced prior to submitting an http request with the URI. The startIndex specifies the index of the first element within the data that is desired to be received. The itemCount specifies the number of elements within the data that are desired to be received. For example, a startIndex of 0 and an itemCount of 8 would request elements 0-7 of the data from the source of the data. The initial value of startIndex can be specified within the markup data inside the definition of a control. The value of itemCount can be specified within the control's definition.
Continuing the ongoing example, the definition for program list 304 includes an initial start index of 0 and a pre-retrieve amount of 6. In block 204, data-block-retrieval module 108 substitutes $(startIndex) with 0 and $(itemCount) with 6 and submits the http request to data-transmission module 118 on computing device 112. Data-block-retrieval module 108 then receives elements 0-5 of data 120 from data-transmission module 118.
Block 206 matches each element of data with one of the templates. One template may be used with one element within the data block and a different template used with another element within the data block. Block 208 populates each matched template with its matched element of data to provide a populated template, which can then be added as an item to a control and rendered on the display.
Continuing the ongoing example, module 108 communicates data elements 0-5 to module 110, which matches each element with a template from markup data 122. A template name or other identifier is specified within each data element, which is then compared with identifiers of the templates provided in markup data 122. In some other embodiments, however, a default template is used or a template is used that corresponds to the type of data elements expected to be received. Module 110 then populates each matched template with data from its matched element to create items (populated templates) for program list control 304.
An element can be matched to a template and that template populated with the element's data before matching the next element or some or all elements can be matched prior to populating the templates. Module 110 adds each item to program list control 304 after which they are displayed to the user.
Block 210 navigates through the items (populated templates) within the control until a pre-retrieve threshold is reached. Examples of navigating include those caused by a user scrolling through a list or menu control or by an automated control that is using the data. Responsive to reaching the pre-retrieve threshold in the data, block 212 retrieves a next block of data from the source of the data.
Continuing the ongoing example, assume a user selects up and down arrows on a remote control to move through the items in list control 304. As the user moves through the list, the current item gains focus. When that focus is within a pre-retrieve threshold from the end (or beginning) of currently-received items, module 108 retrieves the next block. This pre-retrieve threshold is defined within the control's definition in markup data 122.
A pre-retrieve threshold of 4 will cause the next block of data to be requested when focus is on an item that is 4 or less away from items that have not yet been received. In the ongoing example, items 0-5 are received so the next block will be downloaded when the user reaches item 2 in program list 304. At that time, module 108 substitutes $(startIndex) with 6 and $(itemCount) with 6 to request elements 6-11 of data 120 from module 118.
Once a user scrolls far enough in program list 304, computing device 102 and/or module 108 may delete earlier items in the list to save memory. If the user scrolls back towards these items, they may be requested again once the pre-retrieve threshold is reached. In some cases the initial start index is set to some number in the middle of data 120 and the user may begin by scrolling backwards. The tools may handle scrolling in both directions so that the user does not have to wait for more items to be received.
In more detail, the markup data may include event and/or action definitions. In the example below, markup data contains an item template for pictures to view. Inside this template is a definition of an event that is triggered when a remote control's arrow button is pressed and a new item is focused, which results in the previously focused item getting a blur event. For example note: <Event type=“onfocus” action=“showSelected”/>. Also included in this template is a definition for the action “showSelected.” Within this template, “PICTURE” is the name/id of an Image object.
To differentiate the generated item from the item template itself, the item template assigns unique ids for each id defined in the item template. References within the generated item and ids of components contained within the generated item are replaced with a new id unique to the generated item.
For example, for the 125th item generated from the item template, the generated item has references to “PICTURE” changed to “PICTURE—125” as shown below:
The “showSelected” action shows the image element having the title displayed in the text element (also in the template) when the item is focused. The “showUnselected” hides the image when the item loses focus. The action named “openPicture” is defined elsewhere in the document and opens the currently selected picture for viewing. In practice this allows a user to visibly select and unselect pictures to view by navigating them with the arrow buttons and selecting them with an enter button. In the above example, this is accomplished without custom code in the web application and without requiring the server to render the items for display.
Templates themselves may also contain replaceable fields. A template, for example, may enable extra text to be shown for an item on which a user focuses. Thus, when the user focuses on the item it may pop up a brief description of the program. This may be accomplished by using a replaceable field replaceable with a textual description when the item has focus.
Example Process for Communicating Blocks of Data for Use in a Template
Block 402 receives a request, from a computing device, for markup data. Block 404 communicates the markup data to the computing device. Continuing the example of
Block 406 receives a request, from the computing device, for a block of data. The block of data is specified by a start index and item count as described above. Block 408 extracts the requested block of data from a data store. Block 410 communicates the block of data to the computing device. Continuing the example above, data-transmission module 118 receives a request for a block of data from data-block-retrieval module 108. This request takes the form of the URI described above and module 118 uses the startIndex and itemCount to extract the elements requested from data 120. Module 118 then communicates the requested elements from data 120 to module 108.
While blocks 402-410 are depicted as being performed by the same computing device, different computing devices may perform blocks 402 and 404 and blocks 406-410.
Conclusion
This document describes tools that enable a computing device to retrieve large sets of data in smaller blocks. The tools also allow a computing device to receive and display data that does not include display formatting information through the use of templates. Although the invention has been described in language specific to structural features and/or methodological acts, it is to be understood that the invention defined in the appended claims is not necessarily limited to the specific features or acts described. Rather, the specific features and acts are disclosed as example forms of implementing the claimed invention.
Number | Name | Date | Kind |
---|---|---|---|
5999978 | Angal et al. | Dec 1999 | A |
6226692 | Miloushev | May 2001 | B1 |
6438618 | Lortz | Aug 2002 | B1 |
6446136 | Pohlmann et al. | Sep 2002 | B1 |
6505241 | Pitts | Jan 2003 | B2 |
6574630 | Augustine et al. | Jun 2003 | B1 |
6651217 | Kennedy et al. | Nov 2003 | B1 |
6704804 | Wilson | Mar 2004 | B1 |
6751665 | Philbrick et al. | Jun 2004 | B2 |
6832355 | Duperrouzel et al. | Dec 2004 | B1 |
7216292 | Snapper et al. | May 2007 | B1 |
7398473 | Stoner et al. | Jul 2008 | B2 |
7424717 | Blevins | Sep 2008 | B2 |
7437376 | Sikchi | Oct 2008 | B2 |
7441253 | Atkinson | Oct 2008 | B2 |
7460443 | Elners | Dec 2008 | B2 |
7475384 | Heath | Jan 2009 | B2 |
7483870 | Mathew | Jan 2009 | B1 |
7899370 | Nakajima | Mar 2011 | B2 |
8131676 | Pettit | Mar 2012 | B2 |
8132181 | Lenharth et al. | Mar 2012 | B2 |
20020118300 | Middleton | Aug 2002 | A1 |
20020156556 | Ruffner | Oct 2002 | A1 |
20020156840 | Ulrich et al. | Oct 2002 | A1 |
20040057348 | Shteyn | Mar 2004 | A1 |
20040218894 | Harville et al. | Nov 2004 | A1 |
20050038791 | Ven | Feb 2005 | A1 |
20050114757 | Sahota et al. | May 2005 | A1 |
20050172309 | Risan et al. | Aug 2005 | A1 |
20050188350 | Bent et al. | Aug 2005 | A1 |
20050278737 | Ma et al. | Dec 2005 | A1 |
20060021057 | Risan et al. | Jan 2006 | A1 |
20060070083 | Brunswig | Mar 2006 | A1 |
20060074981 | Mauceri | Apr 2006 | A1 |
20060143236 | Wu | Jun 2006 | A1 |
20060196950 | Kiliccote | Sep 2006 | A1 |
20060248451 | Szyperski | Nov 2006 | A1 |
20060270462 | Chi | Nov 2006 | A1 |
20070124460 | McMullen | May 2007 | A1 |
20070139441 | Lucas | Jun 2007 | A1 |
20070226353 | Ruul | Sep 2007 | A1 |
20080033806 | Howe | Feb 2008 | A1 |
20080064351 | Landschaft | Mar 2008 | A1 |
20080114810 | Malek | May 2008 | A1 |
20080134250 | Liu et al. | Jun 2008 | A1 |
20080205205 | Chiang | Aug 2008 | A1 |
20080215345 | Hollingsworth et al. | Sep 2008 | A1 |
20080282083 | Risan et al. | Nov 2008 | A1 |
20080301803 | Ontaneda et al. | Dec 2008 | A1 |
20080313650 | Arnquist et al. | Dec 2008 | A1 |
20080319856 | Zito | Dec 2008 | A1 |
20090077211 | Appleton et al. | Mar 2009 | A1 |
20090138502 | Kalaboukis et al. | May 2009 | A1 |
20090198744 | Nakamura | Aug 2009 | A1 |
20090204719 | Simongini et al. | Aug 2009 | A1 |
20090217146 | Goldfarb | Aug 2009 | A1 |
20090307212 | Ramot et al. | Dec 2009 | A1 |
20100095337 | Dua | Apr 2010 | A1 |
20100165877 | Shukla et al. | Jul 2010 | A1 |
20100241527 | McKenna et al. | Sep 2010 | A1 |
20100241669 | Pettit | Sep 2010 | A1 |
20100257216 | Pettit | Oct 2010 | A1 |
20100257540 | Schuler et al. | Oct 2010 | A1 |
20110099500 | Smith et al. | Apr 2011 | A1 |
Number | Date | Country |
---|---|---|
WO-2004027606 | Apr 2004 | WO |
2005093603 | Oct 2005 | WO |
Entry |
---|
Paging in ASP.NET by Andrew Merlino, published on Sep. 10, 2003, 4 pages. |
ASP.NET Ajax auto-complete control by Matt Berseth, published on Jan. 10, 2008, 5 pages. |
Load Content while scrolling posting at WebResourceDepot, published on Jun. 3, 2008, 3 pages. |
“DMP-6000 Network High Definition Digital Signage Media Player & Content Distribution Server (CDS) Software platform”, Retrieved at <<http://www.gctglobal.com/Products/Set—Top—Box/set—top—box.html>>, Jan. 29, 2009, pp. 1-3. |
“Set-Top Box Design Template”, Retrieved at <<http://msdn.microsoft.com/en-us/library/ms924238.aspx>>, Jan. 29, 2009, pp. 1-4. |
“SeaChange IPTV”, Retrieved at <<http://www.schange.com/en-US/Docs/Public/products/IPTV—TVNav—BR—7-11-2008.pdf>>, Jul. 11, 2008, pp. 1-16. |
“Data Binding Between Controls in Windows Forms”, Retrieved from <http://msdn.microsoft.com/en-us/magazine/cc301575.aspx>, (2009),10. |
“How to: Ensure Multiple Controls Bound to the Same Data Source Remain Synchronized”, Retrieved from <http://msdn.microsoft.com/en-us/library/ms404299.aspx>, (2009),4. |
“Manipulating Data through a Binding Source”, Retrieved from <http://my.safaribooksonline.com/032126892X/ch04lev1sec5>, (2009),2. |
“Palm Prē”, Retrieved from <<http://www.palm.com/us/products/phones/pre/>>on Apr. 24, 2009, Scroll down to Connected Calendars and Contacts and click on “See Gallery”—Images 6, 7 and 8, entitled “Contacts,” “Linked Contact” and “Linked Contact”,(Apr. 24, 2009),1-7. |
“Orban/Coding Technologies AAC/aacPlus Player Plugin™”, Retrieved at <http://www.orban.com/plugin/Read—Me.html>, (Apr. 2008),14. |
“Best Practices for NI TestStand User Interface Development”, Retrieved from: http://zone.ni.com/devzone/cda/tut/p/id/7560 on Feb. 4, 2009., (Jul. 15, 2008), 10 Pages. |
Clausen, Joern “Attaching Data to Timeline Event”, Retrieved from: http://www.mail-archive.com/general@simile.mit.edu/msg00966.html on Feb. 4, 2009., (Mar. 10, 2007),2 Pages. |
Hallberg, Aaron “Attaching Custom Data to a Build”, Retrieved from: http://blogs.msdn.com/aaronhallberg/archive/2008/05/27/attaching-custom-data-to-a-build.aspx on Feb. 4, 2009., (May 27, 2008),3 Pages. |
“Custom Event Classes”, Retrieved from: http://wiki.wxpython.org/CustomEventClasses on Feb. 4, 2009., (Mar. 11, 2008), 1 Page. |
“Non-Final Office Action”, U.S. Appl. No. 12/406,816, (Jun. 27, 2011),14 pages. |
“Non-Final Office Action”, U.S. Appl. No. 12/418,224, (Jun. 9, 2011),11 pages. |
Barton, John et al., “Sensor-Enhanced Mobile Web Clients: an XForms Approach”, In Proceedings of WWW 2003,(May 2003),pp. 80-89. |
“Non-Final Office Action”, U.S. Appl. No. 12/418,317, (Mar. 15, 2012), 10 pages. |
“Final Office Action”, U.S. Appl. No. 12/406,816, (Jan. 20, 2012),16 pages. |
“Notice of Allowance”, U.S. Appl. No. 12/418,224, (Nov. 28, 2011),8 pages. |
Faltstrom, P. “E.164 Number and DNS”, Network Working Group, Retrieved from: <http://www.ietf.org/rfc/rfc2916.txt> on Jan. 4, 2012,(Sep. 2000),7 pages. |
“Final Office Action”, U.S. Appl. No. 12/418,317, (Sep. 20, 2012), 9 pages. |
Number | Date | Country | |
---|---|---|---|
20100299620 A1 | Nov 2010 | US |