The present invention relates to databases, and more particularly to a method and system for providing user-friendly access to a database.
Database systems are used to store data and to allow users to access such data. Database systems can include a database server and one or more databases. The database system manages access to the databases. Today's database management systems also allow the user systems to be run by the database application. Examples of such functions are user-defined functions, triggers, and stored procedures. It is now possible to build non-trivial database applications.
A user typically accesses a database using an application program, which includes a database interface, often referred to as a browser interface. The database interface has access to the database system. More specifically, the database interface connects to the database system and can send queries to the database server to obtain information from one or more of the databases. Typically, the database interface includes fields to allow the user to enter such queries. The database interface also displays the data to the user.
The database system, which includes the database server and the database interface, is managed and maintained by database application programmers. For example, if the user requires one or more new fields to be added to the database interface, the database application programmers can modify the database interface to include the new fields. Similarly, if the user requires a particular new feature, e.g., a special sort function, the database application programmers can modify the database interface to include the new feature.
Because there are typically multiple users who access a given database, a database application programmer attempts to design a database interface that can accommodate the needs of many users. When needs change, the database application programmer make the required modifications to the database interface.
A problem with conventional database systems is changes to the database interface are administratively burdensome. Typically, as the number of users increases, the number of modifications also increases. The database interface should ideally change as the users' needs change. Also, the users of the database system may not agree as to how the database interface should be modified. As a result, databases interfaces are typically not very user friendly. Accordingly, access to databases is not user-friendly.
Accordingly, what is needed is a method and system for providing user-friendly access to a database. The method and system should be able to provide an interface that can be conveniently adapted to specific needs of the user. The present invention addresses such a need.
A system for providing user-friendly access to a database is enclosed. More particularly, embodiments of the present invention provide a database server. There is at least one database coupled to the database server, wherein the database server enables access to the at least one database. A user-defined interface configured to have access to the at least one database, wherein the user-defined interface is customized to have functionality to suit specific needs of a user.
The present invention relates to databases, and more particularly to a method and system for providing user-friendly access to a database. The following description is presented to enable one of ordinary skill in the art to make and use the invention and is provided in the context of a patent application and its requirements. Various modifications to the preferred embodiment and the generic principles and features described herein will be readily apparent to those skilled in the art. Thus, the present invention is not intended to be limited to the embodiment shown but is to be accorded the widest scope consistent with the principles and features described herein.
Generally, the embodiments of the present invention provide user-friendly access to a database. A user-defined interface is configured to have access to one or more databases, and the user-defined interface is customized with functionality to suit specific needs of a user. The user-defined interface can be customized by the user, a system administrator, even the database application programmer, etc. There can be more than one user-defined interface so that multiple users can each have a customized user-defined interface with which to access one or more databases.
Note that the present invention is not limited to NetDB2 database systems and may apply to other databases systems and still remain within the spirit and scope of the present invention.
The database interface 62 allows access to the database system 50 and its databases 54-60. Alternatively, a user can create a user-defined interface 68. The user-defined interface 68 and the database server 52 are linked via the HTTP server 64 and the servlet engine 66.
The user-defined interface 68 is customized with functionality to suit specific needs of the user, and the functionality of the user-defined interface can change as the user's needs change. Hence, a benefit of the user-defined interface 68 being customized is that it will be much more user friendly than the database interface 62.
In a preferred embodiment, the user-defined interface is created and managed by a user. This user is different from a database application programmer who manages the database system 50. The user merely has access to the database system 50, and more specifically one or more databases, via the user-defined interface. However, there can be multiple user-defined interfaces created by different users. Accordingly, in a specific embodiment, a manager of the database system, such as a database application programmer, can also create a user-defined interface to suit the manager's specific needs.
Because there can be multiple user-defined interfaces that access the databases, the specific mapping between user-defined interfaces to databases can vary and will depend on the specific application. For example, in one embodiment, a particular user-defined interface can be coupled to one or more databases uniquely associated with that user-defined interface. In another embodiment, multiple user-defined interfaces can share one or more databases.
In another embodiment, the user can not only create and manage a customized interface, but the user can also create and manage one or more databases. The user who created the database can define the access and control of such databases. In a specific embodiment, both a database application programmer and a user can create and manage a database. In a specific embodiment, only the user who created a particular user-defined database can manage it. Because the database application programmer manages the database system, the database application programmer controls the protocols for enabling connection between a user-defined database and the database system.
A system and method in accordance with the present invention allow the users to implement their own interfaces and communicate to the database system using such interfaces. Because the user interface design and functionality are driven by users, a system and method in accordance with the present invention provide full functionality with ease of use and performance, consistency, and simplicity. This is advantageous considering that most if not all of the users of the system are remote users accessing the service over the Internet.
The different metadata can be queried by a single selection of MyThings 80. They include a list of tables, stored procedures, and user-defined functions.
Referring back to
The script center 82 allows users to send more than one SQL query to the data base system in one click. SQL queries can be separated by a delimiter character. The script center is particularly useful, for example, when an activity that is repeatedly performed against a database requires more than one SQL statement. Examples include the creation and population of a table or when users share scripts.
The bulk data Load utility 88 (link shown on
Because the user manages the user-defined interface, the user can modify it as often as the user desires. This benefit is important because as such the user need not be required to consult with or seek authorization from another user or the database application programmer. Accordingly, the user-defined interface can be modified by the user when necessary to include functions and features meet any new needs of the user. In a specific embodiment, any particular user-defined interface can be modified by other authorized users. Such authorized users can be authorized by the user who created the user-defined database.
A user initially accesses the database system 50 via the database interface 62. During an initial setup session, the user can configure the database system 50 to allow access via a user-defined interface 68. Thereafter, during subsequent sessions, a connection between the user-defined interface 68 and the database server 52. The steps described below and shown in
Note that while some embodiments of the present invention disclosed herein are described in the context of NetDB2 database systems, the present invention also applies to other database systems and still remains within the spirit and scope of the present invention.
Referring back to
Referring back to
In step 110, the database system receives user information. The user information can include user identification (ID) and a user password, for example. The user information is associated with a particular user-defined interface. In a specific embodiment, when the database system receives the user information, the database system creates an ID object. The ID object includes a session ID, which itself can include information such as a browser ID and a user ID. The session ID corresponds to a user database. The browser ID is associated with a user-defined interface and the user ID is associated with a particular user system. If the user information is valid, the database system recognizes the user information, e.g., session ID, and fetches one or more databases. The database system then connects the user-defined interface to at least one of the databases.
Referring back to
Each database can be managed by a user via a user-defined interface corresponding to each database. In a specific embodiment, each database can also be accessed by multiple user-defined interfaces, whether or not a given database is managed by an accessing user-defined interface.
When the user-defined interface is coupled to the database system, the database system passes structured query language (SQL) between the uniform resource locator (URL) of the user-defined interface and the database system.
According to the method and system disclosed herein, the present invention provides numerous benefits. For example, it enables a user to access a database system via a customized interface.
Multiple user-defined interfaces access one or more databases. As such, user-friendly access to one or more databases is allowed.
Although the present invention has been described in accordance with the embodiments shown, one of ordinary skill in the art will readily recognize that there could be variations to the embodiments and those variations would be within the spirit and scope of the present invention. Accordingly, many modifications may be made by one of ordinary skill in the art without departing from the spirit and scope of the appended claims.
Under 35 USC §120, this application is a continuation application and claims the benefit of priority to U.S. patent application Ser. No. 10/280,306 filed Oct. 25, 2002, entitled “Method and System for Providing Access to A Database”, all of which is incorporated herein by reference.
Number | Name | Date | Kind |
---|---|---|---|
5655077 | Jones et al. | Aug 1997 | A |
5787418 | Hibbetts et al. | Jul 1998 | A |
5924089 | Mocek et al. | Jul 1999 | A |
5950190 | Yeager et al. | Sep 1999 | A |
6108651 | Guha | Aug 2000 | A |
6122741 | Patterson et al. | Sep 2000 | A |
6223239 | Olarig | Apr 2001 | B1 |
6401216 | Meth et al. | Jun 2002 | B1 |
6496833 | Goldberg et al. | Dec 2002 | B1 |
6499026 | Rivette et al. | Dec 2002 | B1 |
6513047 | Talley | Jan 2003 | B1 |
6665304 | Beck et al. | Dec 2003 | B2 |
6738077 | Wendker et al. | May 2004 | B1 |
6760720 | De Bellis | Jul 2004 | B1 |
6850252 | Hoffberg | Feb 2005 | B1 |
6854034 | Kitamura et al. | Feb 2005 | B1 |
6880086 | Kidder et al. | Apr 2005 | B2 |
6952714 | Peart | Oct 2005 | B2 |
6965911 | Coffman et al. | Nov 2005 | B1 |
7023811 | Pinto | Apr 2006 | B2 |
7080070 | Gavarini | Jul 2006 | B1 |
7315847 | Hacigumus et al. | Jan 2008 | B2 |
20040024616 | Spector et al. | Feb 2004 | A1 |
20050149542 | Cosic | Jul 2005 | A1 |
20050229154 | Hiew et al. | Oct 2005 | A1 |
Number | Date | Country | |
---|---|---|---|
20070294213 A1 | Dec 2007 | US |
Number | Date | Country | |
---|---|---|---|
Parent | 10280306 | Oct 2002 | US |
Child | 11851319 | US |