×

Method and system for supporting XQuery trigger in XML-DBMS based on relational DBMS

  • US 20060129575A1
  • Filed: 10/27/2005
  • Published: 06/15/2006
  • Est. Priority Date: 12/14/2004
  • Status: Active Grant
First Claim
Patent Images

1. A method for supporting an XQuery trigger in XML-DBMS based on a relational DBMS, the method comprising:

  • a first step of registering an XML schema, a relational DBMS schema, and a mapping rule of the XML schema and the relational DBMS schema through an XML database layer so as to store, manage and search XML data in the relational DBMS;

    a second step of, in case where a user creates an XQuery trigger following a statement structure of XQuery being a standard of an XML query language, automatically creating an SQL trigger having the relational DBMS schema as a query target, using the mapping rule of the first step, from the XQuery trigger having the XML schema as a query target, and returning the XML result set so that the user can access the latest result set of the automatically executed XQuery trigger; and

    a third step of, whenever the XML data is added, changed or deleted in the XML-DBMS layer, automatically changing the relational DBMS, and informing the user of the facts of the change of the XML database and the execution of the XQuery trigger so that the user can access the latest execution result of the XQuery trigger through the XML result set that is returned when the XQuery trigger is created in the second step, whereby a query is automatically executed depending on the change of the XML data, and its result is monitored.

View all claims
  • 1 Assignment
Timeline View
Assignment View
    ×
    ×