The field of the invention is data processing, or, more specifically, methods, apparatus, and products for nested pagination for presenting a data set in a graphical user interface.
Modern businesses may store large amounts of data in remote databases within cloud-based data warehouses. This data may be accessed using database query languages, such as structured query language (SQL). However, some query responses may include too much data to present efficiently in a web application.
Methods, systems, and apparatus for nested pagination for presenting a data set in a graphical user interface (GUI). Nested pagination for presenting a data set in a GUI includes receiving a request for the data set to present in a GUI, wherein the request comprises a group name identifying a nested group of rows in the data set; selecting an anchor point from the data set using the group name, wherein the anchor point is within the group of rows identified by the group name; selecting, using the anchor point, a subset of the data set for presentation in the GUI, wherein the subset of the data set comprises the anchor point; and presenting the subset of the data set in the GUI.
The foregoing and other objects, features and advantages of the invention will be apparent from the following more particular descriptions of exemplary embodiments of the invention as illustrated in the accompanying drawings wherein like reference numbers generally represent like parts of exemplary embodiments of the invention.
Exemplary methods, apparatus, and products for nested pagination for presenting a data set in a graphical user interface (GUI) in accordance with the present invention are described with reference to the accompanying drawings, beginning with
Stored in RAM (168) is an operating system (154). Operating systems useful in computers configured for nested pagination for presenting a data set in a GUI according to embodiments of the present invention include UNIX™, Linux, Microsoft Windows™, AIX™ IBM's i OS™, and others as will occur to those of skill in the art. The operating system (154) in the example of
The computing system (152) of
The example computing system (152) of
The exemplary computing system (152) of
The communications adapter (167) is communicatively coupled to a wide area network (190) that also includes a cloud-based data warehouse (192) and a client system (194). The cloud-based data warehouse (192) is a computing system or group of computing systems that hosts a database for access over the wide area network (190). The client system (194) is a computing system that accesses the database using the pagination module (126) on the computing system (152).
The GUI (200) is a user interface that presents graphical elements to a user and receives user input from the user. The GUI (200) may be presented, in part, by a pagination module and displayed on a client system (e.g., on a system display or mobile touchscreen). The GUI (200) may be an Internet application hosted on a server system communicatively coupled to both the client system and a cloud-based data warehouse.
The GUI (200) may be managed, in part, by a pagination module. The pagination module is hardware, software, or an aggregation of hardware and software configured to determine a subset of the data set to present to the GUI (200). Specifically, the pagination module (126) may determine which portion of the entire requested data set is to be requested and then loaded onto GUI (200) hosted on the client.
The pagination module (126) may be part of a database query generator that generates the database query. The database query may be auto-populated in response to various selections by the user, such as selecting columns for the hierarchical relationship, filters, and column sorting. A block of database statements may be generated for each selection made by a user. After each selection is made, the blocks of database statements may be combined to generate the database query. After the last selection is made, the blocks of database statements may be combined into a single database query. Once the database query is generated, the database query generator may send the database query over a wide area network to the cloud-based data warehouse. The database query may include a structure query language (SQL) statement. The statement or statements may be auto-populated, and multiple statements may be nested within one another.
The spreadsheet structure (202) is a graphical element and organizing mechanism for the data set. The spreadsheet structure (202) displays the data within the data set as rows of data organized by columns. The columns delineate different groups of the data in each row of the data set. Some columns may be calculations using other columns in the data set.
The data set is a collection of data from a cloud-based data warehouse presented in the spreadsheet structure (202). The data set may be a result of a database query sent by a database query generator to a database in the cloud-based data warehouse. The data set may be received by the pagination module and configured for presentation in the spreadsheet structure (202).
Some columns may be arranged in a hierarchical relationship to other columns. The term “hierarchical relationship” refers to subordinate and superior groupings of columns. For example, as shown in
Once the columns are grouped into a hierarchical relationship as shown in
In addition to the “Expand” request generator (302) option in the menu shown in
For further explanation,
Receiving (602) a request (620) for the data set to present in a GUI (200), wherein the request (620) comprises a group name identifying a nested group of rows in the data set may also be carried out by the pagination module (126) detecting that a user has scrolled to an edge of the subset of the data set. A user may scroll to the top or the bottom of a previously retrieved and presented subset of the data set. In response to detecting that the user has scrolled to the top or bottom of the subset of the data set, a request (620) may be generated that includes the group name of the nested group of rows at the edge of the subset of the data set. The request (620) may further include an indication (such as an offset) of a row at or near the edge of the previously retrieved and presented subset of the data set.
A nested group of rows in the data set is a group of rows that each include identical data in a column that is hierarchically above at least one other column. The group name identifying the nested group of rows in the data set may be the data stored in the column or another reference to the column. However, the group name does not include a reference to the location of the row in the data set, such as a row number.
The method of
Instead of defining and identifying the anchor point using a reference to a specific row (e.g., a row number), the anchor point may be defined and identified using cell values. Specifically, a group is a collection of rows that contain the same value for one column. The group name refers to the value in the common set of rows in the group. The anchor point is defined as a location (e.g., top or bottom) within the rows of the group with the matching cell values. The anchor point may therefore be identified using a group name (i.e., matching cell value) and a location (e.g., top or bottom). In the example of
The anchor point may be selected based on a selection policy, and the selection policy may be selected based on the request. For example, if the request (620) is triggered by the activation of an “Expand” option in a menu for a nested group, a selection policy may be selected that states the first row in the nested group is selected as the anchor point. As another example, if the request (620) is triggered by a user reaching an edge of the previously retrieved and presented subset of the data set, a selection policy may be selected that states the row immediately adjacent to the edge row and that is not part of the previously retrieved and presented subset of the data set is selected as the anchor point.
The anchor point may be selected without using a row number or an offset from a row in the data set. Specifically, for large data sets, using a row number or offset for an anchor point can be inefficient and a poor use of resources. Instead, the anchor point is selected using the properties of the data set such as the nested groupings of the columns. Specifically, the anchor point may be selected by the pagination module (126) based on the group name that identifies a nested group of rows. The anchor point may therefore be selected without the pagination module (126) determining or utilizing information about the relative location of the anchor point within the data set.
The method of
The selected subset of the data set may include at least one row from outside the nested group of rows. Specifically, the group of rows selected for the subset of the data set (624) may include rows from a nested group above or below the nested group that includes the anchor point. Consider the example of
The method of
The above limitations improve the operation of the computer system by efficiently selecting a subset of a data set for display in a GUI on a client system without using large row offsets. This allows a subset of the data set to be requested and displayed with minimal resource overhead. In addition, the above limitations describe a specific, structured system and graphical user interface paired with a prescribed functionality directly related to the graphical user interface's structure that is addressed to and resolves a specifically identified problem in the prior state of the art. Specifically, the presentation of a subset of the data set with additional subsets presented as necessary provides a user with the impression that the entire requested data set is presented in the GUI without the resource overhead of loading the entire requested data set.
For further explanation,
The method of
The row limit defines the maximum number of rows in the subset of the data set. The offset defines the first row, relative to the anchor point, in the data set from which rows of data are selected for the subset of the data set (up to the row limit). The offset may be positive or negative. The same subset of the data set may be defined in many different ways using different anchor points, offsets, and limits.
As shown in the example of
The subset of the data set may be contained within a single nested group. Specifically, only rows from the same nested group as the anchor point may be selected for the subset of the data set. Consequently, when expanded, only rows in the selected nested group would be presented, and rows from the nested group above and below the selected nested group would remain collapsed.
For further explanation,
The method of
The method of
In view of the explanations set forth above, readers will recognize that the benefits of nested pagination for presenting a data set in a GUI according to embodiments of the present invention include:
Exemplary embodiments of the present invention are described largely in the context of a fully functional computer system for nested pagination for presenting a data set in a GUI. Readers of skill in the art will recognize, however, that the present invention also may be embodied in a computer program product disposed upon computer readable storage media for use with any suitable data processing system. Such computer readable storage media may be any storage medium for machine-readable information, including magnetic media, optical media, or other suitable media. Examples of such media include magnetic disks in hard drives or diskettes, compact disks for optical drives, magnetic tape, and others as will occur to those of skill in the art. Persons skilled in the art will immediately recognize that any computer system having suitable programming means will be capable of executing the steps of the method of the invention as embodied in a computer program product. Persons skilled in the art will recognize also that, although some of the exemplary embodiments described in this specification are oriented to software installed and executing on computer hardware, nevertheless, alternative embodiments implemented as firmware or as hardware are well within the scope of the present invention.
The present invention may be a system, a method, and/or a computer program product. The computer program product may include a computer readable storage medium (or media) having computer readable program instructions thereon for causing a processor to carry out aspects of the present invention.
The computer readable storage medium can be a tangible device that can retain and store instructions for use by an instruction execution device. The computer readable storage medium may be, for example, but is not limited to, an electronic storage device, a magnetic storage device, an optical storage device, an electromagnetic storage device, a semiconductor storage device, or any suitable combination of the foregoing. A non-exhaustive list of more specific examples of the computer readable storage medium includes the following: a portable computer diskette, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or Flash memory), a static random access memory (SRAM), a portable compact disc read-only memory (CD-ROM), a digital versatile disk (DVD), a memory stick, a floppy disk, a mechanically encoded device such as punch-cards or raised structures in a groove having instructions recorded thereon, and any suitable combination of the foregoing. A computer readable storage medium, as used herein, is not to be construed as being transitory signals per se, such as radio waves or other freely propagating electromagnetic waves, electromagnetic waves propagating through a waveguide or other transmission media (e.g., light pulses passing through a fiber-optic cable), or electrical signals transmitted through a wire.
Computer readable program instructions described herein can be downloaded to respective computing/processing devices from a computer readable storage medium or to an external computer or external storage device via a network, for example, the Internet, a local area network, a wide area network and/or a wireless network. The network may comprise copper transmission cables, optical transmission fibers, wireless transmission, routers, firewalls, switches, gateway computers and/or edge servers. A network adapter card or network interface in each computing/processing device receives computer readable program instructions from the network and forwards the computer readable program instructions for storage in a computer readable storage medium within the respective computing/processing device.
Computer readable program instructions for carrying out operations of the present invention may be assembler instructions, instruction-set-architecture (ISA) instructions, machine instructions, machine dependent instructions, microcode, firmware instructions, state-setting data, or either source code or object code written in any combination of one or more programming languages, including an object oriented programming language such as Smalltalk, C++ or the like, and conventional procedural programming languages, such as the “C” programming language or similar programming languages. The computer readable program instructions may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the latter scenario, the remote computer may be connected to the user's computer through any type of network, including a local area network (LAN) or a wide area network (WAN), or the connection may be made to an external computer (for example, through the Internet using an Internet Service Provider). In some embodiments, electronic circuitry including, for example, programmable logic circuitry, field-programmable gate arrays (FPGA), or programmable logic arrays (PLA) may execute the computer readable program instructions by utilizing state information of the computer readable program instructions to personalize the electronic circuitry, in order to perform aspects of the present invention.
Aspects of the present invention are described herein with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the invention. It will be understood that each block of the flowchart illustrations and/or block diagrams, and combinations of blocks in the flowchart illustrations and/or block diagrams, can be implemented by computer readable program instructions.
These computer readable program instructions may be provided to a processor of a general purpose computer, special purpose computer, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions/acts specified in the flowchart and/or block diagram block or blocks. These computer readable program instructions may also be stored in a computer readable storage medium that can direct a computer, a programmable data processing apparatus, and/or other devices to function in a particular manner, such that the computer readable storage medium having instructions stored therein comprises an article of manufacture including instructions which implement aspects of the function/act specified in the flowchart and/or block diagram block or blocks.
The computer readable program instructions may also be loaded onto a computer, other programmable data processing apparatus, or other device to cause a series of operational steps to be performed on the computer, other programmable apparatus or other device to produce a computer implemented process, such that the instructions which execute on the computer, other programmable apparatus, or other device implement the functions/acts specified in the flowchart and/or block diagram block or blocks.
The flowchart and block diagrams in the Figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods, and computer program products according to various embodiments of the present invention. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of instructions, which comprises one or more executable instructions for implementing the specified logical function(s). In some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems that perform the specified functions or acts or carry out combinations of special purpose hardware and computer instructions.
It will be understood from the foregoing description that modifications and changes may be made in various embodiments of the present invention without departing from its true spirit. The descriptions in this specification are for purposes of illustration only and are not to be construed in a limiting sense. The scope of the present invention is limited only by the language of the following claims.
Number | Name | Date | Kind |
---|---|---|---|
5255356 | Michelman | Oct 1993 | A |
6526399 | Coulson | Feb 2003 | B1 |
6711715 | Grealish | Mar 2004 | B1 |
20060004794 | Pizzo | Jan 2006 | A1 |
20060085744 | Hays | Apr 2006 | A1 |
20060107196 | Thanu | May 2006 | A1 |
20060200764 | Sellers | Sep 2006 | A1 |
20070067710 | Clark | Mar 2007 | A1 |
20090031208 | Robinson | Jan 2009 | A1 |
20090187815 | Becerra, Sr. | Jul 2009 | A1 |
20090292718 | Cuneo | Nov 2009 | A1 |
20100088641 | Choi | Apr 2010 | A1 |
20140164896 | Schlereth | Jun 2014 | A1 |
20160034267 | Wetzold | Feb 2016 | A1 |
Number | Date | Country |
---|---|---|
1610231 | Dec 2005 | EP |
02057932 | Jul 2002 | WO |
Entry |
---|
International Search Report and Written Opinion, PCT/US2019/059625, dated Jan. 16, 2020, 10 pages. |
Number | Date | Country | |
---|---|---|---|
20200142551 A1 | May 2020 | US |