Claims
- 1. A method for accessing data within a relational database, the method comprising the steps of:
receiving, at a database server, a request that includes information in XML syntax, wherein the information specifies target data that resides in one or more portions of the relational database; determining, based on the information, the one or more portions of the relational database that correspond to the target data; and retrieving the target data from the one or more portions of the relational database.
- 2. The method of claim 1, further comprising the step of, prior to receiving the request, providing an XML visualization of portions of the relational database based on access privileges of a user who is issuing the request.
- 3. The method of claim 1, further comprising providing an XML visualization of portions of the relational database in response to the request.
- 4. The method of claim 1, further comprising performing operations on the target data after retrieving the target data and wherein the operations on the target data are performed by issuing an Xpath notation to traverse an XML visualization of the one or more portions of the relational database.
- 5. The method of claim 4, wherein the operations on the target data comprise updating, deleting, reading, and inserting.
- 6. The method of claim 2, wherein providing the XML visualization comprises dynamically generating one or more XML schema based on the access privileges that the user has at a time of generating the one or more XML schema.
- 7. The method of claim 1, wherein the request is an Xpath query.
- 8. The method of claim 7, wherein the Xpath query is mapped into a SQL query.
- 9. The method of claim 7, wherein a translator of the Xpath query directly generates execute-time structures without being mapped into an SQL query.
- 10. The method of claim 1, further comprising the step of creating a reference to the one or more objects of the relational database by using uniform resource identifier reference within the relational database.
- 11. A method for accessing data in a relational database, the method comprising the steps of:
establishing a mapping between Uniform Resource Locators (URLs) and data items within the relational database based on where said data items reside within a schema of the relational database; and locating the data items within the relational database based on the Uniform Resource Locators and the mapping.
- 12. The method of claim 11, wherein the step of locating includes:
a database server receiving a URL that is mapped to a particular data item; and the database server determining where the data item resides in the schema based on the URL and the mapping.
- 13. The method of claim 11, wherein the step of locating includes:
an entity that resides outside a database server receiving a URL that is mapped to a particular data item; the entity determining where the data item resides in the schema based on the URL and the mapping; and the entity sending a message to the database server to cause the database server to access the data item, wherein the message includes information about where said data item resides in said schema.
- 14. The method of claim 11, further comprising the step of storing the URLs in a column of a table that stores the data items, wherein the URL that maps to a particular data item is stored in said column within a row associated with that particular data item.
- 15. The method of claim 14, wherein one or more of the URLs include information indicating a data type of the data item associated with the URLs.
- 16. The method of claim 14, wherein:
one or more of the URLs stored in the column do not have portions that indicate certain information about where the corresponding data items reside; the method further includes a database server adding the portions to said one or more URLs prior to providing said one or more URLs to any entity outside said database server; and the database server determines data type information of data items that are associated with the one or more URLs by accessing auxiliary information that is stored with the corresponding URL.
- 17. The method of claim 11, wherein:
the step of locating is performed by a database server; and the method further includes the step of the database server generating output in a form XML documents that include said data items.
- 18. A method for accessing a data item stored in a relational database, the method comprising the steps of:
generating, within a database server that manages the relational database, a Uniform Resource Locator (URL) for the data item based on where the data item resides within the relational database; providing the URL to an entity that resides outside the database server; receiving, at the database server, the URL; and in response to receiving the URL, resolving the URL within the database server to locate the data item.
- 19. The method of claim 18, wherein the step of generating the URL includes adding to the URL data that indicates a data type associated with the data item.
- 20. A computer-readable medium carrying instructions for accessing data within a relational database, the computer-readable medium comprising instructions for performing the steps of:
receiving, at a database server, a request that includes information in XML syntax, wherein said information specifies target data that resides in one or more portions of the relational database; determining, based on the information, the one or more portions of the relational database that correspond to the target data; and retrieving the target data from the one or more portions of the relational database.
- 21. The computer-readable medium of claim 20, further comprising instructions for performing the step of, prior to receiving the request, providing an XML visualization of portions of the relational database based on access privileges of a user who is issuing the request.
- 22. The computer-readable medium of claim 20, further comprising instructions for providing an XML visualization of portions of the relational database in response to the request.
- 23. The computer-readable medium of claim 20, further comprising instructions for performing operations on the target data after retrieving the target data and wherein the operations on the target data are performed by issuing an Xpath notation to traverse an XML visualization of the one or more portions of the relational database.
- 24. The computer-readable medium of claim 23, wherein the operations on the target data comprise updating, deleting, reading, and inserting.
- 25. The computer-readable medium of claim 21, wherein providing the XML visualization comprises dynamically generating one or more XML schema based on the access privileges that the user has at a time of generating the one or more XML schema.
- 26. The computer-readable medium of claim 20, wherein the request is an Xpath query.
- 27. The computer-readable medium of claim 26, wherein the Xpath query is mapped into a SQL query.
- 28. The computer-readable medium of claim 26, wherein a translator of the Xpath query directly generates execute-time structures without being mapped into an SQL query.
- 29. The computer-readable medium of claim 20, further comprising instructions for performing the step of creating a reference to the one or more objects of the relational database by using uniform resource identifier reference within the relational database.
- 30. A computer-readable medium carrying instructions for accessing data in a relational database, the computer-readable medium comprising instructions for performing the steps of:
establishing a mapping between Uniform Resource Locators (URLs) and data items within the relational database based on where said data items reside within a schema of the relational database; and locating the data items within the relational database based on the Uniform Resource Locators and the mapping.
- 31. The computer-readable medium of claim 30, wherein the step of locating includes:
a database server receiving a URL that is mapped to a particular data item; and the database server determining where the data item resides in the schema based on the URL and the mapping.
- 32. The computer-readable medium of claim 30, wherein the step of locating includes:
an entity that resides outside a database server receiving a URL that is mapped to a particular data item; the entity determining where the data item resides in the schema based on the URL and the mapping; and the entity sending a message to the database server to cause the database server to access the data item, wherein the message includes information about where said data item resides in said schema.
- 33. The computer-readable medium of claim 30, further comprising instructions for performing the step of storing the URLs in a column of a table that stores the data items, wherein the URL that maps to a particular data item is stored in said column within a row associated with that particular data item.
- 34. The computer-readable medium of claim 33, wherein one or more of the URLs include information indicating a data type of the data item associated with the URLs.
- 35. The computer-readable medium of claim 33, wherein:
one or more of the URLs stored in the column do not have portions that indicate certain information about where the corresponding data items reside; the method further includes a database server adding the portions to said one or more URLs prior to providing said one or more URLs to any entity outside said database server; and the database server determines data type information of data items that are associated with the one or more URLs by accessing auxiliary information that is stored with the corresponding URL.
- 36. The computer-readable medium of claim 30, wherein:
the step of locating is performed by a database server; and the computer-readable medium further includes instructions for performing the step of the database server generating output in a form XML documents that include said data items.
- 37. A computer-readable medium carrying instructions for accessing a data item stored in a relational database, the computer-readable medium comprising instructions for performing the steps of:
generating, within a database server that manages the relational database, a Uniform Resource Locator (URL) for the data item based on where the data item resides within the relational database; providing the URL to an entity that resides outside the database server; receiving, at the database server, the URL; and in response to receiving the URL, resolving the URL within the database server to locate the data item.
- 38. The computer-readable medium of claim 37, wherein the step of generating the URL includes adding to the URL data that indicates a data type associated with the data item.
RELATED APPLICATIONS; PRIORITY CLAIM
[0001] This application is related to and claims domestic priority under 35 U.S.C. §119(e) from prior U.S. Provisional Patent Application Serial No. 60/230,878 filed on Sep. 7, 2000 entitled “XML DATA STORAGE, QUERY REWRITES, VISUALIZATION, MAPPING AND REFERENCING”, by inventors Muralidhar Krishnaprasad, Vishwanathan Krishnamurthy, and Ravi Murthy, the entire disclosure of which is hereby incorporated by reference as if fully set forth herein.
Provisional Applications (1)
|
Number |
Date |
Country |
|
60230878 |
Sep 2000 |
US |