This disclosure generally relates to data access and presentation and, more specifically, to systems, methods, and software utilizing a common layout for a plurality of database tables.
Many current software applications provide database interconnectivity to populate an application framework with dynamic information to users that is retrieved upon command from a back-end database. Many of these applications work with data from multiple database tables simultaneously. Current standard database design may call for normalization—the process of organizing information into a plurality of database tables—in order to increase efficiency and performance. Normalization is often meant to eliminate redundant data and to ensure that data dependencies are logically created. Even where normalization is not present, related data is frequently located in multiple database tables of various structures. In many situations, in order for an application to retrieve desired information from one or more of the database tables, the coding used to access each database table is written or created for each database table's specific structure. Accordingly, each time a database table is added, modified, or deleted, the coding for accessing that specific database table would be adapted or rewritten.
This disclosure provides various embodiments of software for utilizing a common database layout. In one aspect, a first database table having a first layout and a generic index is accessed using a first instance of a query, and a second database table having a second layout and the generic index is accessed using a second instance of the query. Some implementations may have a generic index that consists of a globally unique identifier. Other implementations may have a generic index that is a combination of database table fields. In some implementations, the first and second database tables may be resident in a first data repository, and the software may access a third database table having a third layout and the generic index using a third instance of the query, wherein the third database table is resident in a second data repository.
The foregoing example software—as well as other disclosed processes—may also be computer implementable methods. Moreover, some or all of these aspects may be further included in respective systems or other devices for utilizing a common database layout. The details of these and other aspects and embodiments of the disclosure are set forth in the accompanying drawings and the description below. Other features, objects, and advantages of the various embodiments will be apparent from the description and drawings, as well as from the claims.
In other alternate or complimentary embodiments, environment 100 provides, processes, or otherwise utilizes a generic query 170 for database tables 210 located in database 200. At a high level, query 170 is constructed such that any database table 210 will be accessible to query 170 regardless of the database table layout. For example, after having associated query 170 with database table 210 having a first database table layout, the table layout may change such that a second database layout is created. After database table 210 changes to a second layout, query 170 will not require additional coding or modification in order to access data records of database table 210. Additionally, multiple instances of query 170 may be used to access a plurality of database tables 210 having a plurality of database layouts without modifying query 170 for each database table 210 accessed. In other words, a particular application, database manager 108, or other software may utilize a first instance of query 170 to access a first table 210 and second instance of query 170 to access a second table 210 without relevant redesign, new or changed fields, or new structure. In some situations, query 170 may be designed prior to its association with a database table 210. Accordingly, query 170 is such that prior knowledge of a database table 210 and its structure is unnecessary to successfully access the data records of the table.
Environment 100 may be a distributed client/server system that allows clients 104 to submit requests to store and/or retrieve information from database 200 maintained on server 102. But environment 100 may also be a standalone computing environment or any other suitable environment, such as an administrator accessing data stored on server 102, without departing from the scope of this disclosure. When the database is stored in relational format, environment 100 may allow access to database 200 using a structured query language (SQL), which may include any of the plurality of versions of the SQL relational database query and manipulation language such as, for example, SEQUEL, ANSI SQL, any other proprietary or public variant of SQL, or other suitable or generic query language (such as eXtensible Markup Language (XML)).
In the illustrated embodiment, server 102 includes memory 120 and processor 125 and comprises an electronic computing device operable to receive, transmit, process and store data associated with environment 100. For example, server 102 may be any computer or processing device such as a mainframe, a blade server, general-purpose personal computer (PC), Macintosh, workstation, Unix-based computer, or any other suitable device. Generally,
Memory 120 may include any memory or database module and may take the form of volatile or non-volatile memory including, without limitation, magnetic media, optical media, random access memory (RAM), read-only memory (ROM), removable media, or any other suitable local or remote memory component. In this embodiment, illustrated memory 120 includes database 200 and a database manager 108, which may be any set of logical instructions executed by processor 125 to perform tasks associated with database management and/or responding to queries, including storing information in memory 120, searching database 200, generating responses to queries using information in database 200, and numerous other related tasks. In particular embodiments, database manager 108 accesses database tables 210 in response to queries from clients 104. Database manager 108 is typically software and may be written or described in any appropriate computer language including, for example, C, C++, Java, Visual Basic, assembler, Perl, ABAP, any suitable version of 4GL, or any combination thereof. As used herein, software generally includes any appropriate combination of software, firmware, hardware, and/or other logic. It will be understood that while database manager 108 is illustrated in
Server 102 also includes processor 125. Processor 125 executes instructions and manipulates data to perform the operations of server 102 such as, for example, a central processing unit (CPU), a blade, an application specific integrated circuit (ASIC), or a field-programmable gate array (FPGA). In particular, processor 125 performs any suitable tasks associated with database manager 108. Although
Server 102 may also include interface 117 for communicating with other computer systems, such as client 104, over network 112 in a client-server or other distributed environment. In certain embodiments, server 102 receives requests 150 for data access from local or remote senders through interface 117 for storage in memory 120 and/or processing by processor 125. Generally, interface 117 comprises logic encoded in software and/or hardware in a suitable combination and operable to communicate with network 112. More specifically, interface 117 may comprise software supporting one or more communications protocols associated with communications network 112 or hardware operable to communicate physical signals.
Server 102 may also include or reference a local, distributed, or hosted business application 130. In certain embodiments, business application 130 may request access to retrieve, modify, delete, or otherwise manage the information of one or more databases 200 in memory 120. Specifically, business application 130 may use query 170 to retrieve or modify data records stored in the database tables 210 that are requested by the user and/or application. Business application 130 may be considered business software or solution that is capable of interacting or integrating with databases 200 located, for example, in memory 120 to provide access to data for personal or business use. An example business application 130 may be a computer application for performing any suitable business process by implementing or executing a plurality of steps. One example of a business application 130 is one that may provide interconnectivity with one or more database tables 210 containing inventory or employee information such that records may be dispersed among a plurality of database tables 210. As a result, business application 130 may provide a method of accessing requested data and presenting it in a common layout such that users are provided information through a GUI interface 116 in a centralized and uniform display. Business application 130 may also provide the user with a computer implementable method of updating the information contained in the plurality of database tables 210 such that users may update, delete, and/or add database records for a plurality of database tables 210 while presented with a logical common database layout representing a plurality of database tables 210 or database tables with generic indices.
Business application 130 may provide one or more instances of query 170 to the databases 200, perhaps via database manger 108, for accessing database tables 210 stored therein. As mentioned above, environment 100 may allow access to database 200 using SQL, which may include any of the plurality of versions of the SQL relational database query and manipulation language such as, for example, SEQUEL, ANSI SQL, any other proprietary or public variant of SQL, or other suitable or generic database query language. Query 170 may be a generic query in which the query itself is independent of any particular database layout. As will be described further with respect to
Network 112 facilitates wireless or wireline communication between computer server 102 and any other local or remote computer, such as clients 104. Indeed, while illustrated as two networks, 112a and 112b respectively, network 112 may be a continuous network without departing from the scope of this disclosure, so long as at least portion of network 112 may facilitate communications between senders and recipients of requests 150 and results. In other words, network 112 encompasses any internal and/or external network, networks, sub-network, or combination thereof operable to facilitate communications between various computing components in environment 100. Network 112 may communicate, for example, Internet Protocol (IP) packets, Frame Relay frames, Asynchronous Transfer Mode (ATM) cells, voice, video, data, and other suitable information between network addresses. Network 112 may include one or more local area networks (LANs), radio access networks (RANs), metropolitan area networks (MANs), wide area networks (WANs), all or a portion of the global computer network known as the Internet, and/or any other communication system or systems at one or more locations.
Client 104 is any local or remote computing device operable to receive requests from the user via a user interface 116, such as a GUI, a CLI (Command Line Interface), or any of numerous other user interfaces. Thus, where reference is made to a particular interface, it should be understood that any other user interface may be substituted in its place. In various embodiments, each client 104 includes at least GUI 116 and comprises an electronic computing device operable to receive, transmit, process and store any appropriate data associated with environment 100. It will be understood that there may be any number of clients 104 communicably coupled to server 102. For example, illustrated clients 104 include one local client 104 and two clients external to the illustrated portion of enterprise 100. Further, “client 104” and “user” may be used interchangeably as appropriate without departing from the scope of this disclosure. Moreover, for ease of illustration, each client 104 is described in terms of being used by one user. But this disclosure contemplates that many users may use one computer or that one user may use multiple computers to submit or review queries via GUI 116. As used in this disclosure, client 104 is intended to encompass a personal computer, touch screen terminal, workstation, network computer, kiosk, wireless data port, wireless or wireline phone, personal data assistant (PDA), one or more processors within these or other devices, or any other suitable processing device. For example, client 104 may comprise a computer that includes an input device, such as a keypad, touch screen, mouse, or other device that can accept information, and an output device that conveys information associated with the operation of server 102 or clients 104, including digital data, visual information, or GUI 116. Both the input device and output device may include fixed or removable storage media such as a magnetic computer disk, CD-ROM, or other suitable media to both receive input from and provide output to users of clients 104 through the display, namely GUI 116.
GUI 116 comprises a graphical user interface operable to allow the user of client 104 to interface with at least a portion of environment 100 for any suitable purpose. Generally, GUI 116 provides the user of client 104 with an efficient and user-friendly presentation of data provided by or communicated within environment 100. GUI 116 may provide access to the front-end of business application 130 executing on client 104 that is operable to submit SQL queries 150 to one or more databases 200, accessing the database tables 210 of each database 200 through the generic indexes contained in each database table 210. In another example, GUI 116 may display output reports such as summary and detailed reports. GUI 116 may comprise a plurality of customizable frames or views having interactive fields, pull-down lists, and buttons operated by the user. In one embodiment, GUI 116 presents information associated with queries 150 and buttons and receives commands from the user of client 104 via one of the input devices. Moreover, it should be understood that the term graphical user interface may be used in the singular or in the plural to describe one or more graphical user interfaces and each of the displays of a particular graphical user interface. Therefore, GUI 116 contemplates any graphical user interface, such as a generic web browser or touch screen, that processes information in environment 100 and efficiently presents the results to the user. Server 102 can accept data from client 104 via the web browser (e.g., Microsoft Internet Explorer or Mozilla Firefox) and return the appropriate HTML or XML responses using network 112. For example, server 102 may receive such an SQL query from client 104 using the web browser and then execute the parsed query to store and/or retrieve information in database 200.
One implementation of a common database layout is presented in
For example, illustrated method 400 shows query 170 accessing a first database table 440, a second database table 445, and a third database table 450. Three database tables are shown in
The design view of query 600 has a “Status” field 660 accompanying each field name. This “Status” field 600 value may be changed from “active” to “inactive” depending on the query parameters requested by the user and/or application. In the current example where query 600 is used to access database table 210 as shown in
Having entered the additional fields and criteria into the query dialog box 800, processing of information from the dialog box 800 may occur and the data fields and criteria specified in
Once the generic query 600 is embedded in the business application 130, the process determines whether the structure of database table 210 is such that modifications need be made to the generic query 600. For example, in some cases the decision would be based on whether additional data fields have been added to the structure via APPEND or JOIN operations. In others, the decision is made based on whether the generic query 600 was created independent of the database table 210 such that the fields and criteria included in query 600 must be defined. If database table 210 has a structure compatible with the generic query 600 identified at step 905, no modifications may be required and the process will continue on to step 930. However, if the generic query 600 needs to be modified or updated, the process details above regarding
In many instances, the business application 130 may be programmed to run a plurality of queries. At 940, the process chooses whether more queries will be run. If more queries are unnecessary or unwanted, the process ends. However, if additional queries are desired, the process moves to step 945 wherein the modifications to the generic query 600 may be removed. The generic query 600 may be returned to its initial state that it was in originally after step 905 of the flowchart. This may ensure that the modifications made to the generic query 600 are not carried though multiple instances and database accessing. Once the modifications are removed, the process returns to step 920. Throughout the process of 900, the structure of database table 210 may be modified a plurality of times both before and after any generic queries 600 are run. These table modifications, however, do not require users and/or applications to modify generic query 600. Therefore, multiple instances of the generic query may be used to access a plurality of database table layouts.
The preceding flowcharts and accompanying description illustrate example methods. Environment 100 contemplates using or implementing any suitable technique for performing these and other tasks. It will be understood that these methods are for illustration purposes only and that the described or similar techniques may be performed at any appropriate time, including concurrently, individually, or in combination. In addition, many of the steps in these flowcharts may take place simultaneously and/or in different orders than as shown. Moreover, environment 100 may use methods with additional steps, fewer steps, and/or different steps, so long as the methods remain appropriate. In short, although this disclosure has been described in terms of certain embodiments and generally associated methods, alterations and permutations of these embodiments and methods will be apparent to those skilled in the art. Accordingly, the above description of example embodiments does not define or constrain the disclosure. Other changes, substitutions, and alterations are also possible without departing from the spirit and scope of this disclosure, and such changes, substitutions, and alterations may be included within the scope of the claims included herewith.
Number | Name | Date | Kind |
---|---|---|---|
5129082 | Tirfing et al. | Jul 1992 | A |
5555403 | Cambot et al. | Sep 1996 | A |
5584024 | Shwartz | Dec 1996 | A |
5701453 | Maloney et al. | Dec 1997 | A |
5701460 | Kaplan et al. | Dec 1997 | A |
5806075 | Jain et al. | Sep 1998 | A |
5809497 | Freund et al. | Sep 1998 | A |
5895465 | Guha | Apr 1999 | A |
5907846 | Berner et al. | May 1999 | A |
5917965 | Cahill et al. | Jun 1999 | A |
5974421 | Krishnaswamy et al. | Oct 1999 | A |
6023696 | Osborn et al. | Feb 2000 | A |
6035294 | Fish | Mar 2000 | A |
6035300 | Cason et al. | Mar 2000 | A |
6067552 | Yu | May 2000 | A |
6078926 | Jensen et al. | Jun 2000 | A |
6085189 | Pirahesh et al. | Jul 2000 | A |
6108651 | Guha | Aug 2000 | A |
6151602 | Hejlsberg et al. | Nov 2000 | A |
6160796 | Zou | Dec 2000 | A |
6181837 | Cahill et al. | Jan 2001 | B1 |
6243709 | Tung | Jun 2001 | B1 |
6356901 | MacLeod et al. | Mar 2002 | B1 |
6374235 | Chen et al. | Apr 2002 | B1 |
6405209 | Obendorf | Jun 2002 | B2 |
6434558 | MacLeod et al. | Aug 2002 | B1 |
6460052 | Thomas et al. | Oct 2002 | B1 |
6516326 | Goodrich et al. | Feb 2003 | B1 |
6601071 | Bowker et al. | Jul 2003 | B1 |
6609123 | Cazemier et al. | Aug 2003 | B1 |
6636846 | Leung et al. | Oct 2003 | B1 |
6668263 | Cranston et al. | Dec 2003 | B1 |
6721754 | Hurst et al. | Apr 2004 | B1 |
6763352 | Cochrane et al. | Jul 2004 | B2 |
6820076 | Bailey et al. | Nov 2004 | B2 |
6829606 | Ripley | Dec 2004 | B2 |
6895412 | Hutchinson | May 2005 | B1 |
6938029 | Tien | Aug 2005 | B1 |
7085757 | Dettinger et al. | Aug 2006 | B2 |
7085784 | Krishna et al. | Aug 2006 | B2 |
7152073 | Gudbjartsson et al. | Dec 2006 | B2 |
7225177 | Wu et al. | May 2007 | B2 |
7249118 | Sandler et al. | Jul 2007 | B2 |
7373393 | Sonoda et al. | May 2008 | B2 |
7383284 | Heinrichs et al. | Jun 2008 | B2 |
7383288 | Miloushev et al. | Jun 2008 | B2 |
7406457 | Kaiser | Jul 2008 | B2 |
7409387 | Dietel | Aug 2008 | B2 |
7424685 | Behrens et al. | Sep 2008 | B2 |
7496596 | Li et al. | Feb 2009 | B2 |
20020087558 | Bailey et al. | Jul 2002 | A1 |
20020111960 | Irons et al. | Aug 2002 | A1 |
20020147725 | Janssen et al. | Oct 2002 | A1 |
20030120665 | Fox et al. | Jun 2003 | A1 |
20030204450 | Heinrichs et al. | Oct 2003 | A1 |
20030204480 | Heinrichs et al. | Oct 2003 | A1 |
20030208417 | Heinrichs et al. | Nov 2003 | A1 |
20040036719 | Van Treeck | Feb 2004 | A1 |
20040093344 | Berger et al. | May 2004 | A1 |
20040153469 | Keith-Hill | Aug 2004 | A1 |
20040163041 | Engel | Aug 2004 | A1 |
20040193087 | Albus et al. | Sep 2004 | A1 |
20040216030 | Hellman et al. | Oct 2004 | A1 |
20050010606 | Kaiser et al. | Jan 2005 | A1 |
20050019854 | Gross et al. | Jan 2005 | A1 |
20050060286 | Hansen et al. | Mar 2005 | A1 |
20050076023 | Wu et al. | Apr 2005 | A1 |
20050086201 | Weddeling et al. | Apr 2005 | A1 |
20050097568 | Behrens et al. | May 2005 | A1 |
20050108237 | Sonoda et al. | May 2005 | A1 |
20050108272 | Behrens et al. | May 2005 | A1 |
20050114318 | Dettinger et al. | May 2005 | A1 |
20050147300 | Dresevic et al. | Jul 2005 | A1 |
20050149484 | Fox et al. | Jul 2005 | A1 |
20050149584 | Boubonnais et al. | Jul 2005 | A1 |
20050198003 | Duevel et al. | Sep 2005 | A1 |
20050256852 | McNall et al. | Nov 2005 | A1 |
20050278395 | Sandaire | Dec 2005 | A1 |
20050284934 | Ernesti et al. | Dec 2005 | A1 |
20050289020 | Bruns et al. | Dec 2005 | A1 |
20060020578 | Hood | Jan 2006 | A1 |
20060047622 | Folkert et al. | Mar 2006 | A1 |
20060047638 | Dettinger et al. | Mar 2006 | A1 |
20060074914 | Kaiser | Apr 2006 | A1 |
20060074979 | Kaiser | Apr 2006 | A1 |
20060085372 | Kaiser | Apr 2006 | A1 |
20060136354 | Bell et al. | Jun 2006 | A1 |
20060136481 | Dehn et al. | Jun 2006 | A1 |
20060224487 | Galdi | Oct 2006 | A1 |
20060253470 | Friedman et al. | Nov 2006 | A1 |
20060288036 | Sadovsky et al. | Dec 2006 | A1 |
20060294120 | Li et al. | Dec 2006 | A1 |
20070005552 | Klein et al. | Jan 2007 | A1 |
20070005599 | Klein et al. | Jan 2007 | A1 |
20070005640 | Klein et al. | Jan 2007 | A1 |
20070005666 | Klein et al. | Jan 2007 | A1 |
20070016596 | Fabret et al. | Jan 2007 | A1 |
20070097076 | Gross | May 2007 | A1 |
20070100868 | Hackmann | May 2007 | A1 |
20070162468 | Dentzer et al. | Jul 2007 | A1 |
20070174309 | Pettovello | Jul 2007 | A1 |
20070271161 | Kaiser | Nov 2007 | A1 |
20070282858 | Arner et al. | Dec 2007 | A1 |
20080033907 | Woehler et al. | Feb 2008 | A1 |
20080086409 | Moorman et al. | Apr 2008 | A1 |
20080098003 | Dias et al. | Apr 2008 | A1 |
20080126969 | Blomquist | May 2008 | A1 |
20080154950 | Gross | Jun 2008 | A1 |
20080162205 | Gross | Jul 2008 | A1 |
20080162207 | Gross et al. | Jul 2008 | A1 |
20080162457 | Dehn et al. | Jul 2008 | A1 |
20080162492 | Dehn et al. | Jul 2008 | A1 |
20080162563 | Gross et al. | Jul 2008 | A1 |
20080162616 | Gross et al. | Jul 2008 | A1 |
20080162777 | Kaiser et al. | Jul 2008 | A1 |
Number | Date | Country | |
---|---|---|---|
20080162415 A1 | Jul 2008 | US |