CN104462078A - XML (extensive markup language) database trigger implementing method and device and XML database - Google Patents
XML (extensive markup language) database trigger implementing method and device and XML database Download PDFInfo
- Publication number
- CN104462078A CN104462078A CN201310415274.2A CN201310415274A CN104462078A CN 104462078 A CN104462078 A CN 104462078A CN 201310415274 A CN201310415274 A CN 201310415274A CN 104462078 A CN104462078 A CN 104462078A
- Authority
- CN
- China
- Prior art keywords
- trigger
- xml
- node
- retouching operation
- xml node
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/80—Information retrieval; Database structures therefor; File system structures therefor of semi-structured data, e.g. markup language structured data such as SGML, XML or HTML
- G06F16/83—Querying
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Data Mining & Analysis (AREA)
- Databases & Information Systems (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
Abstract
The invention provides an XML (extensive markup language) database trigger implementing method and device and an XML database. The method includes: if an XML node in an XML file bears modifications, detecting whether or not the XML node has a trigger corresponding to the modifications; if yes, triggering the trigger. According to the technical scheme, a group of specified actions is set for an XML database system, trigger conditions are specified, after the fact that the XML database system meets the trigger conditions is detected, the XML database system is driven to automatically execute the preset group of specified actions so as to complete corresponding operations, users need not perform extra operations, and especially, work of maintaining data uniformity is reduced for users.
Description
Technical field
The present invention relates to computer communication field, particularly relate to the implementation method of a kind of XML data storehouse trigger, device and XML data storehouse.
Background technology
XMLDBMS(XML data base management system (DBMS)) be in recent years fast-developing a kind of novel data base management system (DBMS), it is for storing and retrieval XML document.The retrieval of XML data and more newspeak are by W3C(World Wide Web Consortium, World Wide Web Consortium) XQuery and the XQuery Update of standard that formulates.XQuery series language based on XDM(sequence data model), namely in XQuery, arbitrary data is all a sequence, and sequence is by several orderly item(projects) form; An item is a value of atom or an XDM node, and an XDM node is one of 7 kinds of nodes of XML document.Based on such data model, the most natural and efficient XML data storage scheme is stored as node XML document exactly.
In XMLDBMS, the entity of storing X ML document is called container, any number of XML document is stored in a container, and this container is made up of several tables of data, and the data of these tables of data difference storing X ML document various aspects and structural information: comprise node data, relationships between nodes, node path data, index, statistical information etc.The unit that tables of data stores is data line, containing several data lines in a tables of data, and can by index fast finding to specific data line.
After XML document is added to a container, the related system order that user can be provided by XMLDBMS operates this file: list the document attribute, the nodal information in inquiry document, upgrades document interior joint information etc.But when working as us to certain document function, we wish to complete the renewal rewards theory to other interdependent node simultaneously, thus ensure the consistance of data, if this application demand is in relational database, we can create a trigger to realize this function.But for unstructured data storehouse particularly XML data storehouse, be different from relational database due to it, be non-structured data concerning the data stored due to it XML data storehouse, cannot accomplish that picture relational database uses the trigger of row level granularity, moreover unstructured data storehouse is also very different with relational database on the support pattern of trigger and implementation.So the implementation method that The present invention gives a kind of XML data storehouse trigger has been used for above-mentioned function.
Summary of the invention
In view of this, the invention provides the implementation method of a kind of XML data storehouse trigger, device and XML data storehouse, to solve in prior art, in XML data storehouse during XML document change, user is needed to carry out extra operation with the problem of the data consistency in maintenance data base.
For achieving the above object, the invention provides the implementation method of a kind of XML data storehouse trigger, comprise: when the XML node in an XML document exists retouching operation, detect described XML node and whether there is the trigger corresponding with described retouching operation, the action that described trigger comprises trigger condition and performs after being triggered, described trigger condition is that described XML node triggers described trigger when there is described retouching operation, described in be triggered after the action that performs comprise predetermined registration operation to the interdependent node in described XML document and/or other XML document; When described XML node has the trigger corresponding with described retouching operation, trigger described trigger.
Further, described when the XML node in an XML document exists retouching operation, detect before whether described XML node have the trigger corresponding with described retouching operation, also comprise: be that described XML node creates the trigger corresponding with described retouching operation.
Further, to be describedly specially for described XML node creates the trigger corresponding with described retouching operation: obtain the trigger that specified command that user uses XML database system to provide defines and create statement; Create statement according to described trigger and create described trigger.
Further, be described XML data lab setting trigger information table; Described is that described XML node creates the trigger corresponding with described retouching operation, is specially: be stored to by trigger corresponding for the described retouching operation of described XML node in described trigger information table; Whether described detection described XML node has the trigger corresponding with described retouching operation, is specially: inquire about in described trigger information table whether there is the trigger corresponding with the described retouching operation of described XML node.
Further, be described XML data lab setting trigger switch option, described trigger switch option comprises: use trigger and do not use trigger; Described detection described XML node also comprises before whether having the trigger corresponding with described retouching operation: detect described trigger switch option and whether be provided as use trigger; When detecting that described trigger switch option is provided as use trigger, entering and detecting the step whether described XML node has the trigger corresponding with described retouching operation.
Further, described method also comprises: the trigger corresponding with described retouching operation deleting described XML node.
Further, the trigger corresponding with described retouching operation of described deletion described XML node is specially: obtain the trigger cancel statement that specified command that user uses XML database system to provide defines; Detect described XML node and whether there is the trigger that described trigger cancel statement specifies; When described XML node has described trigger, delete described trigger according to described trigger cancel statement.
The present invention also provides the implement device of a kind of XML data storehouse trigger, comprise: first detection module, for when there is retouching operation in the XML node in an XML document, detect described XML node and whether there is the trigger corresponding with described retouching operation, the action that described trigger comprises trigger condition and performs after being triggered, described trigger condition is that described XML node triggers described trigger when there is described retouching operation, described in be triggered after the action that performs comprise predetermined registration operation to the interdependent node in described XML document and/or other XML document; Trigger module, for when described XML node has the trigger corresponding with described retouching operation, triggers described trigger; Creation module, for creating the trigger corresponding with described retouching operation for XML node.
Further, described device also comprises: acquisition module, creates statement for the trigger obtaining the specified command definition that user uses XML database system to provide; Described creation module is further used for creating statement according to described trigger and creates described trigger.
Further, described device also comprises: first arranges module, for being described XML data lab setting trigger information table; Described creation module is specifically for being stored in described trigger information table by trigger corresponding for the described retouching operation of described XML node; Described first detection module is specifically for inquiring about in described trigger information table whether there is the trigger corresponding with the described retouching operation of described XML node.
Further, described device also comprises: second arranges module, and for being described XML data lab setting trigger switch option, described trigger switch option comprises: use trigger and do not use trigger; Whether the second detection module, be provided as use trigger for detecting described trigger switch option; Described first detection module specifically for there is retouching operation when the XML node in XML document and described second detection module detect described trigger switch option be provided as use trigger time, detect described XML node and whether there is the trigger corresponding with described retouching operation.
Further, described device also comprises: removing module, for deleting the trigger corresponding with described retouching operation of described XML node.
The present invention also provides a kind of XML data storehouse, comprises the implement device of XML data storehouse as above trigger.
The beneficial effect of technique scheme of the present invention is as follows:
The invention provides the implementation method of a kind of XML data storehouse trigger, device and XML data storehouse, after XML database system sets one group of action of specifying, and after specified trigger conditions, after XML database system detects and meets trigger condition, one group of required movement XML database system being performed automatically preset completes corresponding operating, user is without the need to carrying out operation bidirectional again, particularly decrease the work of user in the maintenance carrying out data consistency, enrich the system core function of XMLDBMS simultaneously.
Accompanying drawing explanation
The process flow diagram of the implementation method of the XML data storehouse trigger that Fig. 1 provides for the embodiment of the present invention 1.
The structural representation of the implement device of the XML data storehouse trigger that Fig. 2 provides for the embodiment of the present invention 1.
Embodiment
For making the technical problem to be solved in the present invention, technical scheme and advantage clearly, be described in detail below in conjunction with the accompanying drawings and the specific embodiments.
The present invention is directed in prior art, in XML data storehouse when XML document changes, user is needed to carry out extra operation with the problem of the data consistency in maintenance data base, provide the implementation method of a kind of XML data storehouse trigger, device and XML data storehouse, after XML database system sets one group of action of specifying, and after specified trigger conditions, after XML database system detects and meets trigger condition, one group of required movement XML database system being performed automatically preset completes corresponding operating, user is without the need to carrying out operation bidirectional again, particularly decrease the work of user in the maintenance carrying out data consistency.
The process flow diagram of the implementation method of the XML data storehouse trigger that Fig. 1 provides for the embodiment of the present invention 1, as shown in the figure, comprising:
Step S101, when there is retouching operation in the XML node in an XML document, detect described XML node and whether there is the trigger corresponding with described retouching operation, the action that described trigger comprises trigger condition and performs after being triggered, described trigger condition is that described XML node triggers described trigger when there is described retouching operation, described in be triggered after the action that performs comprise predetermined registration operation to the interdependent node in described XML document and/or other XML document;
Step S102, when described XML node has the trigger corresponding with described retouching operation, triggers described trigger.
In technique scheme, when certain the node generation retouching operation of the XML document stored in XML data storehouse, such as the data of described node there occurs change, or increase or delete certain node, XML database system detects the trigger whether had on described node corresponding to corresponding modify operation, described recording trigger trigger condition, such as node data as above be there occurs change as trigger condition, or using increase or delete certain node as trigger condition, the action performed after described trigger also have recorded and is triggered, the such as data of the node that amendment is relevant to described node, or increase or delete the node relevant to described node, the node relevant to described node can be in same XML document with described node, or be in different XML document.When detecting that described node has the trigger corresponding with described retouching operation, trigger described trigger, namely when the trigger corresponding with described node being detected, and when meeting the trigger condition recorded in described trigger, the action performed after performing being triggered of described recording trigger.Thus achieve when certain XML document in XML data storehouse changes, XML database system performs the one group of required movement preset automatically and completes and modify to the node in corresponding XML document, user, without the need to carrying out operation bidirectional, decreases the work of user in the maintenance carrying out data consistency.
Further, described when the XML node in an XML document exists retouching operation, detect before whether described XML node have the trigger corresponding with described retouching operation, also comprise: be that described XML node creates the trigger corresponding with described retouching operation.
Further, describedly can be specially for described XML node creates the trigger corresponding with described retouching operation: obtain the trigger that specified command that user uses XML database system to provide defines and create statement; Create statement according to described trigger and create described trigger.
In technique scheme, when XML database system creates described trigger, the trigger of the specified command definition that XML database system can be used to provide according to user creates statement and creates trigger.
The specified command that user can use system to provide is to complete the definition of trigger, XML database system is informed in its effect, the trigger that user needs definition one new, and inform the trigger condition of XML database system about this trigger, performed action, the document object in the XML database system corresponding to this trigger, and the routing information of the described XML document interior joint of correspondence, when the routing information of described node is empty, is defaulted as and creates on whole object.
Its command format can be as follows:
CREATE TRIGGER in mentioned order form, [AFTER|BEFORE] [REPLACE|INSERT|DELETE], OF, FOR [EACH NODE|SPECIFICL NODE], WHEN, DO is the key word that system retains, wherein trigname is the title of the required trigger created of user, the routing information of the document object in the XML database system corresponding to the trigger of obj/path specified by user and corresponding described XML document interior joint, condition is trigger condition, and action is the required action performed after satisfying condition.[AFTER|BEFORE] specifies trigger to perform trigger timing, AFTER shows after meeting trigger condition, BEFORE is for before meeting trigger condition, acquiescence trigger timing triggers this trigger after meeting trigger condition, [REPLACE|INSERT|DELETE] specifies and meets which kind of operation and can trigger this trigger, REPLACE represents more new data, and INSERT represents data inserting, and DELETE represents deletion data.FOR [EACH NODE|SPECIFICL NODE] indicates trigger and performs granularity for performed object: EACH NODE is that any one node in object meets after the change of trigger condition all can trigger flip-flops, SPECIFICL NODE is that the node of specifying meets trigger flip-flops after the change of trigger condition, and non-designated node then can not trigger flip-flops.After XML database system completes the syntax check of statement, after meeting trigger condition, perform the work specified by described trigger.
Certainly, XML database system also can create trigger according to other modes, the trigger condition of such as specifying according to user, be triggered after the Automatic generation of information trigger such as action, object that trigger is corresponding that performs create statement and create trigger.
Further, be described XML data lab setting trigger information table; Described is that the described XML node establishment trigger corresponding with described retouching operation can be specially: be stored to by trigger corresponding for the described retouching operation of described XML node in described trigger information table; Whether described detection described XML node has the trigger corresponding with described retouching operation can be specially: inquire about in described trigger information table and whether there is the trigger corresponding with the described retouching operation of described XML node.
In technique scheme, trigger information table is provided with in XML data storehouse, when user correct provide the definition of trigger after, XML database system can complete the establishment of trigger according to the statement of the establishment trigger of user, first XML database system parses wherein trigname, obj/path, condition, the parameters such as action, and a record can be inserted in trigger information table, for trigger in register system.When user is when performing retouching operation to certain object, XML database system can inquire about described trigger information table and check whether this object has created trigger, has trigger, according to the action executing of specifying of created trigger if created on the object.
Certainly, described trigger other mode also can be used to preserve described trigger information, such as trigger information is saved in file, when user is when performing retouching operation to certain object, the information that XML database system can read this file, to check, whether this object has created trigger.
Further, be described XML data lab setting trigger switch option, described trigger switch option comprises: use trigger and do not use trigger; Described detection described XML node also comprises before whether having the trigger corresponding with described retouching operation: detect described trigger switch option and whether be provided as use trigger; When detecting that described trigger switch option is provided as use trigger, entering and detecting the step whether described XML node has the trigger corresponding with described retouching operation.
In technique scheme, the overhead of system performance will certainly be caused when considering and use trigger, therefore in XML data storehouse, arrange one and whether use trigger option; After user is set using trigger option, all triggers in XML database system will be activated, when user is to object executable operations in database time, whether deposit trigger on the object in XML database system meeting querying triggering device information table, if had, perform trigger according to corresponding rule; After user's reset flip-flop uses option namely to arrange and do not use trigger option, show that user does not re-use the trigger in XML database system, now all in system triggers will be prohibited from using, can not trigger in activation system to the assigned operation on appointed object, even if this object also exists the trigger created.
Further, described method also comprises: the trigger corresponding with described retouching operation deleting described XML node.
Further, the trigger corresponding with described retouching operation of described deletion described XML node is specially: obtain the trigger cancel statement that specified command that user uses XML database system to provide defines; Detect described XML node and whether there is the trigger that described trigger cancel statement specifies; When described XML node has described trigger, delete described trigger according to described trigger cancel statement.
In technique scheme, when user no longer needs certain trigger, described trigger can be deleted, the system command RemoveTrigger that user can use XML database system to provide deletes the trigger of specifying, its form is as follows: RemoveTrigger triggerName, the wherein title of trigger that will delete for user of triggerName, XML database system detects whether have this trigger, when this trigger exists, XML database system is deleted in trigger information table about the record of this trigger.Certainly, XML database system also directly can provide trigger to delete option to delete trigger for user, and does not need user to use system command to carry out definition trigger cancel statement.
Present invention also offers the implement device of a kind of XML data storehouse trigger, as shown in Figure 2, comprising:
First detection module, for when there is retouching operation in the XML node in an XML document, detect described XML node and whether there is the trigger corresponding with described retouching operation, the action that described trigger comprises trigger condition and performs after being triggered, described trigger condition is that described XML node triggers described trigger when there is described retouching operation, described in be triggered after the action that performs comprise predetermined registration operation to the interdependent node in described XML document and/or other XML document;
Trigger module, for when described XML node has the trigger corresponding with described retouching operation, triggers described trigger;
Creation module, for creating the trigger corresponding with described retouching operation for XML node.
In technique scheme, described creation module creates trigger, when the XML document in XML data storehouse changes, whether first detection module detects described node according to the retouching operation that the XML node in XML document occurs has and creates corresponding trigger with described retouching operation, if described first detection module detects corresponding trigger, trigger module just can perform described trigger.Thus achieve when certain XML document in XML data storehouse changes, XML database system performs the one group of required movement preset automatically and completes and modify to the node in corresponding XML document, user, without the need to carrying out operation bidirectional, decreases the work of user in the maintenance carrying out data consistency.
Further, described device also comprises: acquisition module, creates statement for the trigger obtaining the specified command definition that user uses XML database system to provide; Described creation module is further used for creating statement according to described trigger and creates described trigger.
Further, described device also comprises: first arranges module, for being described XML data lab setting trigger information table; Described creation module is specifically for being stored in described trigger information table by trigger corresponding for the described retouching operation of described XML node; Described first detection module is for inquiring about in described trigger information table whether there is the trigger corresponding with the described retouching operation of described XML node.
Further, described device also comprises: second arranges module, and for being described XML data lab setting trigger switch option, described trigger switch option comprises: use trigger and do not use trigger; Whether the second detection module, be provided as use trigger for detecting described trigger switch option; Described first detection module specifically for there is retouching operation when the XML node in XML document and described second detection module detect described trigger switch option be provided as use trigger time, detect described XML node and whether there is the trigger corresponding with described retouching operation.
Further, described device also comprises: removing module, for deleting the trigger corresponding with described retouching operation of described XML node.
The present invention also provides a kind of XML data storehouse, comprises the implement device of XML data storehouse as above trigger.
In the embodiment of the present invention 2, store two XML document in XML database system and be respectively Name.xml and Address.xml.
The content of Name.xml is as follows:
The content of Address.xml is as follows:
The specified command that user uses XML database system to provide comes for the trigger of the person/name node definition in Name.xml document, and it can be following form that trigger creates statement:
The trigger that uses above-mentioned statement to be the person/name node definition in Name.xml document, the trigger condition of described trigger is replace, trigger timing is AFTER REPLACE, namely after renewal occurs the data in person/name node, trigger this trigger, the action performed after trigger is triggered is Find the node which in Address.xml and replace the address node inName.xml with the new node.After XML database system parses above-mentioned parameter, in trigger information table, insert a record, to record described trigger.Described record can for shown in following form:
As above have recorded described in table in the title of described trigger, trigger condition and contain trigger timing, trigger after the action, the function of movement entry reference that the perform pointer that is the address pointing to the function that performs an action, the owner user that be this trigger of establishment, object be document object that this trigger is corresponding, routing information is the routing information of the node that this trigger is corresponding.
If the <name>Pitt</name > in XML document Name.xml is updated to <name>Leo</nameG reatT.GreaT.GT, first XML database system checks that trigger uses option, when this option is for use trigger, XML database system whether the person/name node of further querying triggering device information table inspection Name.xml can create trigger, XML database system inquires in trigger information table the trigger trigger1 corresponding with the person/name node of Name.xml, and the trigger condition of trigger trigger1 is AFTER REPLACE, namely trigger after renewal occurs the person/name node of Name.xml, change now in Name.xml meets the trigger condition of trigger trigger1, trigger trigger1 will be triggered, and will the action of specifying be performed, by the address node <address>Mountain View11# in Name.xml document, CA, USA</address> is updated to <address>WestLake District11#, MD, CA.</address>.
In order to improve the efficiency of system execution further and consider that the quantity of trigger is not very large, can by trigger information table cache in the internal memory of system, after XML database system starts, the record in trigger information table is read in Installed System Memory, the trigger information table be stored in Installed System Memory can be described as trigger cache, such system needs to perform without the need to performing table lookup operation each, and change by searching in slave flipflop cache, thus further increase the efficiency of system.When XML database system according to the demand of user to trigger modify safeguard time, such as create a new trigger or delete existing trigger, need to modify maintenances to the data in trigger information table and trigger cache, with the data syn-chronization in both making simultaneously.
When user no longer needs trigger trigger1, trigger trigger1 can be deleted, the system command RemoveTrigger trigger1 that user uses XML database system to provide is to delete trigger trigger1, first described order can delete in trigger information table about the record of trigger trigger1 after performing, and the information about trigger trigger1 recorded also can be deleted in the lump in trigger cache simultaneously.
The above is the preferred embodiment of the present invention; it should be pointed out that for those skilled in the art, under the prerequisite not departing from principle of the present invention; can also make some improvements and modifications, these improvements and modifications also should be considered as protection scope of the present invention.
Claims (13)
1. an implementation method for XML data storehouse trigger, is characterized in that, comprising:
When there is retouching operation in the XML node in an XML document, detect described XML node and whether there is the trigger corresponding with described retouching operation, the action that described trigger comprises trigger condition and performs after being triggered, described trigger condition is that described XML node triggers described trigger when there is described retouching operation, described in be triggered after the action that performs comprise predetermined registration operation to the interdependent node in described XML document and/or other XML document;
When described XML node has the trigger corresponding with described retouching operation, trigger described trigger.
2. method as claimed in claim 1, is characterized in that, described when the XML node in an XML document exists retouching operation, detects before whether described XML node have the trigger corresponding with described retouching operation, also comprises:
For described XML node creates the trigger corresponding with described retouching operation.
3. method as claimed in claim 2, is characterized in that, is describedly specially for described XML node creates the trigger corresponding with described retouching operation:
The trigger obtaining the specified command definition that user uses XML database system to provide creates statement;
Create statement according to described trigger and create described trigger.
4. method as claimed in claim 2, is characterized in that, also comprise:
For described XML data lab setting trigger information table;
Described is that described XML node creates the trigger corresponding with described retouching operation, is specially:
Trigger corresponding for the described retouching operation of described XML node is stored in described trigger information table;
Whether described detection described XML node has the trigger corresponding with described retouching operation, is specially:
Inquire about in described trigger information table and whether there is the trigger corresponding with the described retouching operation of described XML node.
5. method as claimed in claim 1, is characterized in that, also comprise:
For described XML data lab setting trigger switch option, described trigger switch option comprises: use trigger and do not use trigger;
Described detection described XML node also comprises before whether having the trigger corresponding with described retouching operation:
Detect described trigger switch option and whether be provided as use trigger;
When detecting that described trigger switch option is provided as use trigger, entering and detecting the step whether described XML node has the trigger corresponding with described retouching operation.
6. the method according to any one of claim 1-5, is characterized in that, also comprises:
Delete the trigger corresponding with described retouching operation of described XML node.
7. method as claimed in claim 6, it is characterized in that, the trigger corresponding with described retouching operation of described deletion described XML node is specially:
Obtain the trigger cancel statement of the specified command definition that user uses XML database system to provide;
Detect described XML node and whether there is the trigger that described trigger cancel statement specifies;
When described XML node has described trigger, delete described trigger according to described trigger cancel statement.
8. an implement device for XML data storehouse trigger, is characterized in that, comprising:
First detection module, for when there is retouching operation in the XML node in an XML document, detect described XML node and whether there is the trigger corresponding with described retouching operation, the action that described trigger comprises trigger condition and performs after being triggered, described trigger condition is that described XML node triggers described trigger when there is described retouching operation, described in be triggered after the action that performs comprise predetermined registration operation to the interdependent node in described XML document and/or other XML document;
Trigger module, for when described XML node has the trigger corresponding with described retouching operation, triggers described trigger;
Creation module, for creating the trigger corresponding with described retouching operation for described XML node.
9. device as claimed in claim 8, is characterized in that, also comprise:
Acquisition module, creates statement for the trigger obtaining the specified command definition that user uses XML database system to provide;
Described creation module is further used for creating statement according to described trigger and creates described trigger.
10. device as claimed in claim 8, is characterized in that, also comprise:
First arranges module, for being described XML data lab setting trigger information table;
Described creation module is specifically for being stored in described trigger information table by trigger corresponding for the described retouching operation of described XML node;
Described first detection module is specifically for inquiring about in described trigger information table whether there is the trigger corresponding with the described retouching operation of described XML node.
11. devices as claimed in claim 8, is characterized in that, also comprise:
Second arranges module, and for being described XML data lab setting trigger switch option, described trigger switch option comprises: use trigger and do not use trigger;
Whether the second detection module, be provided as use trigger for detecting described trigger switch option;
Described first detection module specifically for there is retouching operation when the XML node in XML document and described second detection module detect described trigger switch option be provided as use trigger time, detect described XML node and whether there is the trigger corresponding with described retouching operation.
12. as described in any one of claim 8-11 device, it is characterized in that, also comprise:
Removing module, for deleting the trigger corresponding with described retouching operation of described XML node.
13. 1 kinds of XML data storehouses, is characterized in that, comprise the implement device of the XML data storehouse trigger according to any one of claim 8-12.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310415274.2A CN104462078A (en) | 2013-09-12 | 2013-09-12 | XML (extensive markup language) database trigger implementing method and device and XML database |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310415274.2A CN104462078A (en) | 2013-09-12 | 2013-09-12 | XML (extensive markup language) database trigger implementing method and device and XML database |
Publications (1)
Publication Number | Publication Date |
---|---|
CN104462078A true CN104462078A (en) | 2015-03-25 |
Family
ID=52908144
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201310415274.2A Pending CN104462078A (en) | 2013-09-12 | 2013-09-12 | XML (extensive markup language) database trigger implementing method and device and XML database |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN104462078A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105740129A (en) * | 2016-02-02 | 2016-07-06 | 电子信息系统复杂电磁环境效应国家重点实验室 | Warning method based on database trigger |
WO2021103969A1 (en) * | 2019-11-27 | 2021-06-03 | 中兴通讯股份有限公司 | Trigger implementing method and device |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102819585A (en) * | 2012-07-31 | 2012-12-12 | 上海方正数字出版技术有限公司 | Method for controlling document of extensive makeup language (XML) database |
US20130185281A1 (en) * | 2012-01-17 | 2013-07-18 | Microsoft Corporation | Flexible database and iterative spatial search process |
-
2013
- 2013-09-12 CN CN201310415274.2A patent/CN104462078A/en active Pending
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20130185281A1 (en) * | 2012-01-17 | 2013-07-18 | Microsoft Corporation | Flexible database and iterative spatial search process |
CN102819585A (en) * | 2012-07-31 | 2012-12-12 | 上海方正数字出版技术有限公司 | Method for controlling document of extensive makeup language (XML) database |
Non-Patent Citations (1)
Title |
---|
柳轶: "XML原生数据库的主动机制", 《中国硕士学位论文全文数据库信息科技辑》 * |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105740129A (en) * | 2016-02-02 | 2016-07-06 | 电子信息系统复杂电磁环境效应国家重点实验室 | Warning method based on database trigger |
WO2021103969A1 (en) * | 2019-11-27 | 2021-06-03 | 中兴通讯股份有限公司 | Trigger implementing method and device |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN102779185B (en) | High-availability distribution type full-text index method | |
JP2863805B2 (en) | Version management method | |
US9830327B2 (en) | Method, device, node and system for managing file in distributed data warehouse | |
EP2477355B1 (en) | Method and device for managing association of network resources | |
CN102508854A (en) | Data access device and method | |
US7844632B2 (en) | Scalable DOM implementation | |
CN101221504B (en) | Test script scheduling executing system | |
CN106844753B (en) | Method and device for constructing network element tree component | |
US11487707B2 (en) | Efficient file path indexing for a content repository | |
US10379779B2 (en) | Concurrent, incremental, and generational mark and sweep garbage collection | |
CN109684282A (en) | A kind of method and device constructing metadata cache | |
CN105373541A (en) | Processing method and system for data operation request of database | |
CN103631868A (en) | Data management system compatible with relational database | |
CN102663007A (en) | Data storage and query method supporting agile development and lateral spreading | |
CN102497286A (en) | Method and device for matching management information base (MIB) | |
CN103177094A (en) | Cleaning method of data of internet of things | |
CN103946794A (en) | Cross-reference and priority claim to related applications | |
CN103902562A (en) | Method and device for upgrading terminal databases | |
CN106326040A (en) | Method and device for managing snapshot metadata | |
CN105956041A (en) | Data model processing method based on Spring Data for MongoDB cluster | |
CN104462078A (en) | XML (extensive markup language) database trigger implementing method and device and XML database | |
CN102799583B (en) | Object-oriented access method and system | |
CN112000971B (en) | File permission recording method, system and related device | |
CN102375888A (en) | Method for deleting big files in distributed file system efficiently | |
CN113760830B (en) | Distributed file storage editable system and method |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
WD01 | Invention patent application deemed withdrawn after publication |
Application publication date: 20150325 |
|
WD01 | Invention patent application deemed withdrawn after publication |