System and method for filtering XML files
First Claim
1. A system for filtering XML files, the system comprising a task control computer, a scheduling server, a processing server, and a database, the database storing XQuery scripts of each of the tasks, the task control computer comprising:
- a task setting module configuring the XQuery scripts of each of the tasks and a scheduled time to perform each of the tasks, and storing the XQuery scripts in the database, each of the XQuery scripts contains names of elements in the XML files that need to be retrieved; and
a scheduling module scheduling the tasks in the scheduling server;
the scheduling server comprising;
a sending module sending a task request to the processing server when the scheduled time is reached; and
the processing server comprising;
a script invoking module invoking the XQuery scripts of each of the tasks from the database when the task request is received;
a file filtering module filtering each of the XML files, and obtaining an XQuery result; and
a merging module merging the XQuery result of the XQuery scripts of each of the tasks, and storing a merged result of each of the tasks in the database.
2 Assignments
0 Petitions
Accused Products
Abstract
A computer-based method for filtering XML files is disclosed. The method includes: configuring XQuery scripts of each of the tasks and a scheduled time to perform each of the tasks, and storing the XQuery scripts in a database; scheduling the tasks in a scheduling server; sending a task request by the scheduling server to a processing server when it is time to perform the task; invoking the XQuery scripts of each of the tasks from the database when the processing server receives the task request; processing each of the XML files, and obtaining a XQuery result; merging the XQuery result of the XQuery scripts of each of the tasks, and storing a merged result of each of the tasks in the database. A related system is also disclosed.
-
Citations
8 Claims
-
1. A system for filtering XML files, the system comprising a task control computer, a scheduling server, a processing server, and a database, the database storing XQuery scripts of each of the tasks, the task control computer comprising:
-
a task setting module configuring the XQuery scripts of each of the tasks and a scheduled time to perform each of the tasks, and storing the XQuery scripts in the database, each of the XQuery scripts contains names of elements in the XML files that need to be retrieved; and a scheduling module scheduling the tasks in the scheduling server; the scheduling server comprising; a sending module sending a task request to the processing server when the scheduled time is reached; and the processing server comprising; a script invoking module invoking the XQuery scripts of each of the tasks from the database when the task request is received; a file filtering module filtering each of the XML files, and obtaining an XQuery result; and a merging module merging the XQuery result of the XQuery scripts of each of the tasks, and storing a merged result of each of the tasks in the database. - View Dependent Claims (2)
-
-
3. A computer-based method for filtering XML files, the method comprising the steps of:
-
configuring XQuery scripts of each of the tasks and a scheduled time to perform each of the tasks, and storing the XQuery scripts in a database, each of the XQuery scripts contains names of elements in the XML files that need to be retrieved; scheduling the tasks in a scheduling server; sending a task request by the scheduling server to a processing server when the scheduled time is reached; invoking the XQuery scripts of each of the tasks from the database when the processing server receives the task request; filtering each of the XML files, and obtaining an XQuery result; merging the XQuery result of the XQuery scripts of each of the tasks, and storing a merged result of each of the tasks in the database; and at least one processor for executing the aforementioned steps. - View Dependent Claims (4, 5, 6, 7, 8)
-
Specification