Abstract: An automatic task generation mechanism provides generation of tasks such as maintenance task for a computer system. A set of tasks is set up along with rules for performing the tasks. The rules may be associated with metadata that allow the tasks to be mapped to the tasks. Events may be detected that are related to database operations such as a create, modify, delete or add command. Upon event detection by the system, the system may store the event and associate metadata. Another process may query the event and metadata storage and compare those items to the rules previously set up. If there is a match between the rules and the event, one or more tasks may be established which correspond to an action that is desired to be taken. The task may then be inserted into a computer system for subsequent execution.
PATENT
AUTOMATIC TASK GENERATOR METHOD AND SYSTEM
FIELD OF THE INVENTION
(0001] The invention relates generally to the field of computer databases and more
specifically to the field of automatic task generation for objects in database management
systems.
BACKGROUND OF THE INVENTION
(0002] Computer system administrators are under constant pressure to perform a variety
of tasks within a short amount of time. These tasks include everything from routine maintenance
tasks such as performing a database backup, to more critical issues such as hardware failure.
There are some events requiring subsequent system maintenance, such as the creation of a new
database by a user that may go unnoticed by a system administrator. Therefore some
maintenance tasks such as a backup of a newly created file may not be immediately recognized
for the maintenance tasks it may require. In addition, each system environment and installation
into an enterprise environment directs a unique set of rules for performing maintenance tasks.
But since such maintenance efforts are unique, system administrators often spend time and
energy resources generating their own tailored set of maintenance tasks based on the rules or
policy ofthe computing environment and utilization.
(0003] Thus, there is a need for a way to automatically invoke tasks concerning
automatic maintenance tasks and other related functions on a computer system. It would be
useful if such automatic tasks were to utilize metadata as well as event data to trigger the
development and deployment of such tasks. The invention addresses the aforementioned needs
and solves them with various systems, methods and techniques to generate tasks that can act
within a computer system. The invention is valid for all automatic task generation functions and,
for example, may be embodied in the form of an auto task enlistment function applicable to
database management.
SUMMARY OF THE INVENTION
[0004] The invention includes an automatic task generation mechanism to generate tasks
such as maintenance tasks for a computer system. The invention includes the setup of a set of
tasks and rules for performing the tasks. The rules may be associated with metadata that allow
- 1 -
PATENT
the tasks to be mapped to the rules. When an event is detected by the system, the system may
store the event and the associated metadata. Another string may query the event and metadata
storage and compare those items to the rules previously set up. If there is a match between the
rules and the event, one or more tasks may be established which correspond to an action that is
desired to be taken.
(0005] For example, if a database is created, an event is triggered along with metadata
and is compared to a set of rules, should the rules indicate that the event is one which should be
subsequently backed up for maintenance purposes, then a series of commands is generated to
implement the rule.
BRIEF DESCRIPTION OF THE DRAWINGS
(0006] The foregoing summary, as well as the following detailed description of preferred
embodiments, is better understood when read in conjunction with the appended drawings. For
the purpose of illustrating the invention, there is shown in the drawings exemplary constructions
of the invention; however, the invention is not limited to the specific methods and
instrumentalities disclosed. In the drawings:
(0007] Figure I is a block diagram showing an exemplary computing environment in
which aspects of the invention may be implemented;
(0008) Figure 2 depicts an exemplary block diagram in which aspects of the invention
may be implemented;
(0009] Figure 3 illustrates an exemplary flow diagram applicable to an embodiment of
the invention; and
(001 0] Figure 4 illustrates an exemplary flow diagram applicable to an embodiment of an
aspect of the invention.
DETAILED DESCRIPTION OF ILLUSTRATIVE EMBODIMENTS
Overview
(0011] The invention involves a task generator which may operate automatically to
generate commands to a computer system, specifically to a database management system. The
automatic task generator receives an indication that a database-related operation has occurred.
The invention compares the database operation and related metadata with a set of stored rules to
determine if an automatic task need be generated. If an automatic task is desired, it may be
formed from stored tasks relating to the rules which correspond to the database operation which
-2-
PATENT
was originally detected. Such tasks are generally object related and corresponding object
metadata may be used in the task comparison and generation steps.
[0012] This invention may be rebidcnt as part of one or more computer systems or
components. As such, a description of an exemplary computer device and its environment is
provided hereinbelow.
Exemplary Computing Device
[0013] Figure I and the following discussion are intended to provide a brief general
description of a suitable computing environment in which the invention may be implemented. It
should be understood, however, that handheld, portable and other computing devices and
computing objects of all kinds are contemplated for use in connection with the invention. Thus,
while a general purpose computer is described below, this is but one example, and the invention
may be implemented with other computing devices, such as a client having network/bus
interoperability and interaction. Thus, the invention may be implemented in an environment of
networked hosted services in which very little or minimal client resources are implicated, e.g., a
networked environment in which the client device serves merely as an interface to the
network/bus, such as an object placed in an appliance, or other computing devices and objects as
well. In essence, anywhere that data may be stored or from which data may be retrieved is a
desirable, or suitable, environment for operation according to the invention.
(0014] Although not required, the invention can be implemented via an operating system,
for use by a developer of services for a device or object, and/or included within application
software that operates according to the invention. Software may be described in the general
context of computer-executable instructions, such as program modules, being executed by one or
more computers, such as client workstations, servers or other devices. Generally, program
modules include routines, programs, objects, components, data structures and the like that
perform particular tasks or implement particular abstract data types. Typically, the functionality
of the program modules may be combined or distributed as desired in various embodiments.
Moreover, those skilled in the art will appreciate that the invention may be practiced with other
computer configurations. Other well known computing systems, environments, and/or
configurations that may be suitable for use with the invention include, but are not limited to,
personal computers (PCs), automated teller machines, server computers, hand-held or laptop
devices, multi-processor systems, microprocessor-based systems, programmable consumer
electronics, network PCs, appliances, lights, environmental control elements, minicomputers,
mainframe computers and the like. The invention may also be practiced in distributed computing
- 3 -
PATENT
environments where tasks are performed by remote processing dev:Ces that are linked through a
communications network/bus or other data transmission medium. In a distributed compu!ing
environment, program modules may be located in both local and remote computer storage media
including memory storage devices, and client nodes may in turn behave as server nodes.
[0015] Figure 1 thus illustrates an example of a suitable computing system environment
I 00 in which the invention may be implemented, although as made clear above, the computing
system environment 1 00 is only one example of a suitable computing environment and is not
intended to suggest any limitation as to the scope ofuse or functionality of the invention.
Neither should the computing environment I 00 be interpreted as having any dependency or
requirement relating to any one or combination of components illustrated in the exemplary
operating environment 100.
[0016] With reference to Figure I, an exemplary system for implementing the invention
includes a general purpose computing device in the form of a computer system II 0.
Components of computer system II 0 may include, but are not limited to, a processing unit 120, a
system memory I30, and a system bus I21 that couples various S)Stem components including
the system memory to the processing unit 120. The system bus 121 may be any of several types
of bus structures including a memory bus or memory controller, a peripheral bus, and a local bus
using any of a variety of bus architectures. By way of example, and not limitation, such
architectures include Industry Standard Architecture {ISA) bus, Micro Channel Architecture
(MCA) bus, Enhanced ISA (EISA) bus, Video Electronics Standards Association (VESA) local
bus, and Peripheral Component Interconnect (PCI) bus (also known as Mezzanine bus).
[0017] Computer system 110 typically includes a variety of computer readable media.
Computer readable media can be any available media that can be accessed by computer system
110 and includes both volatile and nonvolatile media, removable and non-removable media. By
way of example, and not limitation, computer readable media may comprise computer storage
media and communication media. Computer storage media includes volatile and nonvolatile,
removable and non-removable media implemented in any method or technology for storage of
information such as computer readable instructions, data structures, program modules or other
data. Computer storage media includes, but is not limited to, Random Access Memory (RAM),
Read Only Memory (ROM), Electrically Erasable Programmable Read Only Memory
(EEPROM), flash memory or other memory technology, Compact Disk Read Only Memory
(CDROM), compact disc-rewritable (CDRW), digital versatile disks (DVD) or other optical disk
storage, magnetic cassettes, magnetic tape, magnetic disk storage or other magnetic storage
devices, or any other medium which can be used to store the desired information and which can
-4-
PATENT
accessed by computer system 110. Communication media typically embodies computer readable
instructions, data structures, program modules or other data in a modulated data sigrtal such as a
carrier wave or other tran&port mechanism and includes any information delivery media. The
term "modulated data signal" means a signal that has one or more of its characteristics set or
changed in such a manner as to encode information in the signal. By way of example, and not
limitation, communication media includes wired media such as a wired network or direct-wired
connection, and wireless media such as acoustic, RF, infrared and other wireless media.
Combinations of any of the above should also be included within the scope of computer readable
media.
[0018) The system memory 130 includes computer storage media in the form of volatile
and/or nonvolatile memory such as read only memory (ROM) 131 and random access memory
(RAM) 132. A basic input/output system 133 (BIOS), containing the basic routines that help to
transfer information between elements within computer system 110, such as during startup, is
typically stored in ROM 131. RAM 132 typically contains data and/or program modules that are
immediately accessible to and/or presently being operated on by processing unit 120. By way of
example, and not limitation, Figure 1 illustrates operating system 134, application programs 135,
other program modules 136, and program data 137.
[0019] The computer system 110 may also include other removable/non-removable,
volatile/nonvolatile computer storage media. By way of example only, Figure 1 illustrates a hard
disk drive 141 that reads from or writes to non-i"emovable, nonvolatile magnetic media, a
magnetic disk drive 151 that reads from or writes to a removable, nonvolatile magnetic disk 152,
and an optical disk drive 155 that reads from or writes to a removable, nonvolatile optical disk
156, such as a CD ROM, CDRW, DVD, or other optical media. Other removable/nonremovable,
volatile/nonvolatile computer storage media that can be used in the exemplary
operating environment include, but are not limited to, magnetic tape cassettes, flash memory
cards, digital versatile disks, digital video tape, solid state RAM, solid state ROM, and the like.
The hard disk drive 141 is typically connected to the system bus 121 through a non-removable
memory interface such as interface 140, and magnetic disk drive 151 and optical disk drive 155
are typically connected to the system bus 121 by a removable memory interface, such as
interface 150.
[0020] The drives and their associated computer storage media discussed above and
illustrated in Figure 1 provide storage of computer readable instructions, data structures, program
modules and other data for the computer system 110. In Figure 1, for example, hard disk drive
141 is illustrated as storing operating system 144, application programs 145, other program
- 5 -
PATENT
modules 146, and program data 147. Note that these components can either be the same as or
different from operating system 134, application programs 135, other program modules 136, and
program data 137. Operating system i4~, application programs 145, other program modules
146, and program data 147 are given different numbers here to illustrate that, at a minimum, they
are different copies. A user may enter commands and information into the computer system 110
through input devices such as a keyboard 162 and pointing device 161, commonly referred to as
a mouse, trackball or touch pad. Other input devices (not shown) may include a microphone,
joystick, game pad, satellite dish, scanner, or the like. These and other input devices are often
connected to the processing unit 120 through a user input interface 160 that is coupled to the
system bus 121, but may be connected by other interface and bus structures, such as a parallel
port, game port or a universal serial bus (USB). A monitor 191 or other type of display device is
also connected to the system bus 121 via an interface, such as a video interface 190, which may
in tum communicate with video memory (not shown). In addition to monitor 191, computer
systems may also include other peripheral output devices such as speakers 197 and printer 196,
which may be connected through an output peripheral interface 195.
(0021] The computer system 110 may operate in a networked or distributed environment
using logical connections to one or more remote computers, such as a remote computer 180. The
remote computer 180 may be a personal computer, a server, a router, a network PC, a peer
device or other common network node, and typically includes many or all of the elements
described above relative to the computer system 110, although only a memory storage device
181 has been illustrated in Figure 1. The logical connections depicted in Figure 1 include a local
area network (LAN) 171 and a wide area network (WAN) 173, but may also include other
networks/buses. Such networking environments are commonplace in homes, offices, enterprisewide
computer networks, intranets and the Internet.
(0022] When used in a LAN networking environment, the computer system 110 is
connected to the LAN 171 through a network interface or adapter 170. When used in a WAN
networking environment, the computer system 110 typically includes a modem 172 or other
means for establishing communications over theW AN 173, such as the Internet. The modem
172, which may be internal or external, may be connected to the system bus 121 via the user
input interface 160, or other appropriate mechanism. In a networked environment, program
modules depicted relative to the computer system 110, or portions thereof, may be stored in the
remote memory storage device. By way of example, and not limitation, Figure 1 illustrates
remote application programs 185 as residing on memory device 181. It will be appreciated that
- 6-
PATENT
the network connections shown are exemplary and other means of establishing a
communications link between the computers may be used.
[0023] Various distributed computing frameworks have been and are being developed in
light of the convergence of personal computing and the Internet. Individuals and business users
alike are provided with a seamlessly interoperable and Web-enabled interface for applications
and computing devices, making computing activities increasingly Web browser or networkoriented.
(0024] For example, MICROSOFT®'s .NE'fTM platform, available from Microsoft
Corporation, One Microsoft Way, Redmond, Washington 98052, includes servers, buildingblock
services, such as Web-based data storage, and downloadable device software. While
exemplary embodiments herein are described in connection with software residing on a
computing device, one or more portions of the invention may also be implemented via an
operating system, application programming interface (API) or a "middle man" object between
any of a coprocessor, a display device and a requesting object, such that operation according to
the invention may be performed by, supported in or accessed via all of .NE'fTM's languages and
services, and in other distributed computing frameworks as well.
Exemplary Embodiments of the Invention
[0025] The invention provides automatic task enlistment systems and methods that
alleviate some of the burden on administrators by performing intelligent routine maintenance
tasks based on user-defined policies or rules and object meta-data. The ability to automatically
enlist an object into a routine maintenance task based on a set of rules would allow
administrators to spend more time handling the more active portions of their systemrelated work
rather than performing the mundane tasks of maintenance.
(0026] A database management system automatic task generator may automatically
perform maintenance tasks, among other tasks, by automatically detecting maintenance-related
commands and relating those tasks to commands through the use of object metadata andpolicy
rules.
[0027] In one embodiment, the invention is implemented in conjunction with a SQL
database. The invention may be described in terms of its general applicability as well as in terms
of the SQL environment embodiment. An example of the task command output is a TransactSOL
command set. The automatic task generator may use operations that are implemented by
the database management system.
-7-
PATENT
[0028) For example, the structured query language (SQL) is an American National
Standards Institute (ANSI) standard used to communicate with a relational database. SQL is the
standard language for relational database management systems. SQL statements are used to
perform tasks such as update data or retrieve data from a relational database. Although many
database systems use SQL, many of them also have their own additional proprietary extensions
that are usually only used on their system. However, the standard SQL commands sum as
"Select", "Insert", "Update", "Delete", "Create", and "Drop" can be used to accomplish many
things that one desires to do with a relational database. Additionally, such command statements
may lead to the introduction of data structures within a database that require system
maintenance. Therefore, it may be possible to utilize such commands as event triggers for the
construction of tasks for maintenance or other required or desired system functions.
(0029] Figure 2 is a block diagram showing exemplary interconnections between
elements of an exemplary automatic task generator 200. A user or program interface 210 allows
either a user or a programmatic type interface to generate and enter 215 tasks into a storage crea
220. The tasks may be a set of operations to be performed on specific database related objects.
These tasks could be built from the ground up or derived from samples or templates.
[0030] Examples of such tasks are backup a file, defragment a hard disk, or rebuild a
database. Tasks may be useful in the performance of maintenance on database systems or of
operations related to objects while the system is being used. Examples of objects are a database,
a table, a column, an index, a view, a trigger, a stored procedure, and a user program. An
example of a task operating on an object may be to perform a full backup entitled "midnight
backup" on a database daily starting at midnight.
[0031] Rules may be generated and entered via the user/program interface 210 and
placed into the task and rule storage area 220. Rules may be generated that leverage the tasks in
conjunction with database object metadata. Examples of object metadata for a database object
are size, location, users, language, number of files, free space and custom attributes to name a
few.
[0032) An example of a rule which uses this metadata is that if a database is creaed on
the G drive and is larger than 100 MB and if the database has no backups relating to it then a
new instance of the defined and stored task "midnight backup" is to be executed. The object
metadata for this task is the drive letter G:, the size of greaer than 100 MB, and the fact that no
backups exist.
[0033] The block diagram of Figure 2 also includes a server 230 containing a database
management system 236, such as a SQL relational database and its related management system
- 8-
PATENT
and a separate program for the detection of server events 232 and an event queue 234. The
database management system 236, such as SQL Server™, available via Microsoft Corporation in
Redmond, Washington, is capable of fun ac.:.ess to the li:liderlying database (not shown). The
server event detector 232 is able to detect events relevant to the operation of the database
management system. For example, events referred to in as data definition language (DDL)
events, such as CREATE, ALTER and DROP commands may be detected by the server event
detector 232. Additionally, other more generic events such as CREATE DATABASE commands
may also trigger the server event detector 232 to respond. The server event detector 232 responds
to these database related events by registering the event in at event queue 234. This queue
allows the server to retain a record of the events that have occurred in response to the database
management system 236 operations. The server event detector 232 also stores in the event queue
234 relevant metadata concerning the event detected. An example of a detected event and its
related metadata is as follows:
(0034]
Event: Database NEW created
Metadata: time/date= 11:30 AM 11/01/2003;
Drive G;
Size 200MB;
Collation Default
A server agent 240, which may be running independently from the server 230,
samples 245 the event queue in an effort to discover relevant database management system 236
activity. The event queue 234 responds to the server agent request for new event nformation by
sending 245 a payload of information. The payload may contain an identification of the event as
well as the metadata stored corresponding to the detected event. The payload information may be
transferred 245 from the event queue 234 to the server agent 240 as an extensible markup
language (XML) payload. This XML payload is easily identified and deciphered by the server
agent because of the clearly tagged information contained therein.
(0035] The server agent 240, upon receipt of the XML payload, attempts to determine if
the XML payload contains information that matches any of the rules previously stored. The
server agent 240 thus reads 225 the task and rule storage 220 to access rules compatible with the
present content ofthe XML payload. The comparison of the XML payload information and the
recovered rules may be accomplished within the server agent 240.
(0036] In one embodiment, the server agent 240 may be a service that runs constantly
and contains a series of dedicated threads. One of these threads is dedicated to listening to the
- 9 -
PATENT
event queue 234. Another thread is dedicated to the comparison ofXML payload data and
retrieved rule data.
(0037] In one embodiment, the access of the correct rule for comparison may be
accomplished by using at least some ofthe data in the XML payload. For example, the XML
payload may contain the identification of the operation occurring in the database management
system as being CREATE DATABASE. In addition, the payload may include some relevant
metadata. This operation identifier command and metadata may be used by the server agent to
query the task and rule storage device to return all rules associated with the CREATE
DATABASE command identifier. The returned rules from the task and rule storage device 220
are then compared in the server agent 240 using some or all of the XML payload information
obtained from the event queue 234.
(0038] If there is no match, then the server agent takes no action relative to the XML
payload. If there is a match with the XML payload and the information retrieved from the task
and rule storage module 220, then the server agent accesses the tasks associated with the rules
which were matched and assembles those tasks in a command generator 250. The command
generator may produce commands which can be entered 260 into the database management
system 236.
(0039] In an example flow, if the server agent 240 accessed the event queue 236 to
discover an XML payload that contained an event of CREATE DATABASE had occurred
within a SQL Server™, it would compare that command with command rules from the task and
storage module 220. If the command and accompanying metadata from the XML payload
corresponded to a stored rule, then the server agent would access the task data associated with
the rule data in the storage module 220. The task data may indicate that a "midnight backup" task
should be invoked. The task command generator 250 would assemble the task, place the
appropriate constraints on the task as to what command, what parameters and when to execute
the task and then deliver 260 the task to the SQL Server™ database management system 236 as a
Transact-SQL command for system maintenance.
(0040] There may be many embodiments of the invention as it relates to the location of
the various elements of Figure 2. For example, in one embodiment, the server queue 234 may be
embodied inside SQL Server™ program code manifested as a database table wherein entries in
the server queue become rows in the table.
(0041] In another embodiment, the server agent 240 may be a program running on the
server 230 as opposed to on a separate computer. In yet another embodiment, the task generator
- 10-
PATENT
250 may be a function located inside the server agent 240. The functional structure of Figure 2 is
not a barrier to implementation combinations of the invention.
[0042] In another embodiment, the invention may generate task commands that are directed
towards hardware or software commands that may or may not be a part of a database
management system (not shown in Figure 2). Although the event generated may be a result of a
database management system event such as a create, delete, or update of an object within the
database, the task commands generated by the event may include acts seemingly unrelated to the
triggering database event. For example, a database event, such as an object create, may occur
that triggers examination of metadata indicating that a disk drive is full. As a result, an
immediate backup of the database may be desired. The invention may generate a command
which activates a hardware or software command that may can a third party hardware or
software module to assist with the backup function. The command generated may be executed
outside of the database management system and be seemingly unrelated to the database
management function. However, the command actua1Iy serves database management function
use by making available more system resources for the database function.
(0043] Figure 3 is a flow diagram of an exemplary method of an exemplary embodiment
of the invention. The task generation process 300 may be setup by a1lowing an input for the
definition and storing of tasks 310 that may occur in the operation of a database management
system. Such tasks may be utilized as maintenance tasks or as other active tasks which may be
desired to be performed with a database management system. The tasks may be built from the
ground up or may be derived from samples or templates.
[0044] The process 300 continues setup by accepting an input of rules 320 which
leverage upon the tasks earlier defined. Such rules also accommodate the use of object metadata
to define the requirements for the utilization of the earlier defined rules. The rules are thereafter
stored 330 such that both tasks and rules are available for subsequent use. It is noted that the
tasks and rules stored in this procedure can be generated at any time prior to the need for
accessing such items and there is no need to generate such tasks andrules immediately prior to
their use.
[0045] The process of automatic task generation 300 continues by awaiting for a database
management system event 340 such as a creation or change of a database object. When such an
event occurs, the event is logged along with relevant metadata. The event occurrence of the event
triggers the next steps which are to read the event payload (metadata) 350 and compare the
payload and event 360 with the rules earlier generated and stored. If there is not a match 370,
then the process returns to await the next notification of an event 340. If there is a match 3 70
- 11 -
PATENT
between the event detected and the stored rules, then the tasks that are associated with the
matched rules are collected and organized 380. Typically, the tasks may then be sent 390 to the
database management system for subsec;uent execution.
[0046] Figure 4 is a flow diagram of an exemplary method 400 involved in step 340 of
Figure 3. In one embodiment of the invention, the step of waiting for an event notification 340
may involve the occurrence of an event in a database management system 410. The occurrence
of the event may then trigger the generation ofmetadata 420 corresponding to the event. This
metadata may be generated by the process 400 or it may be copied or transferred from the
generation source within the database management system or the agent that would provide such
event detection. The event and corresponding metadata are stored in a queue 430. Subsequently,
the queue may be queried or the queue may get the attention of another process. This subsequent
process checks the queue and reads the event data 440. At this point, the process of Figure 4 may
be resumed as part of Figure 3 step 350 wherein the event payload metadata is read as described
hereinabove.
(0047] As mentioned above, while exemplary embodiments of the invention have been
described in connection with various computing devices and network architectures, the
underlying concepts may be applied to any computing device or system in which it is desirable to
implement an automated task generator. Thus, the methods and systems of the present invention
may be applied to a variety of applications and devices. While exemplary programming
languages, names and examples are chosen herein as representative of various choices, these
languages, names and examples are not intended to be limiting. One of ordinary skill in the art
will appreciate that there are numerous ways of providing object code that achieves the same,
similar or equivalent systems and methods achieved by the invention.
[0048] The various techniques described herein may be implemented in connection with
hardware or software or, where appropriate, with a combination ofboth. Thus, the methods and
apparatus of the invention, or certain aspects or portions thereof, may take the form of program
code (i.e., instructions) embodied in tangible media, such as floppy diskettes, CDROMs, hard
drives, or any other machine-readable storage medium, wherein, when the program code is
loaded into and executed by a machine, such as a computer, the machine becomes an apparatus
for practicing the invention. In the case of program code execution on programmable computers,
the computing device will generally include a processor, a storage medium readable by the
processor (including volatile and non-volatile memory and/or storage elements), at least one
input device, and at least one output device. One or more programs that may utilize the signal
processing services ofthe present invention, e.g., through the use of a data processing API or the
- 12-
PATENT
like, are preferably implemented in a high level procedural or object oriented programming
language to communicate with a computer. However, the program(s) can be implemented in
assembly or machine language, if desired. In any case, the language may be a compiled or
interpreted language, and combined with hardware implementations.
(0049] The methods and apparatus of the present invention may also be practiced via
communications embodied in the form of program code that is transmitted over some
transmission medium, such as over electrical wiring or cabling, through fiber optics, or via any
other form of transmission, wherein, when the program code is received and loaded into and
executed by a machine, such as an EPROM, a gate array, a programmable logic device (PLD), a
client computer, a video recorder or the like, or a receiving machine having the signal processing
capabilities as described in exemplary embodiments above becomes an apparatus for practicing
the invention. When implemented on a general-purpose processor, the program code combines
with the processor to provide a unique apparatus that operates to invoke the functionality of the
discussed invention. Additionally, any storage techniques used in connection with the invention
may invariably be a combination of hardware and software
(0050) While the present invention has been described in connection with the preferred
embodiments of the various figures, it is to be understood that other similar embodiments may be
used or modifications and additions may be made to the described embodiment for performing
the same function of the present invention without deviating therefrom. Furthermore, it should
be emphasized that a variety of computer platforms, including handheld device operating
systems and other application specific operating systems are contemplated, especially as the
number of wireless networked devices continues to proliferate. Therefore, the invention should
not be limited to any single embodiment, but rather should be construed in breadth and scope in
accordance with the appended claims.
PATENT
What is Claimed:
1. A method for generating tasks for a database management system, the method
comprising:
detecting an event that operates on the database management system;
storing an event indicator with associated metadata wherein the event indicator
corresponds to the detected event;
matching the event indicator and the associated metadata with rules which utilize
database object metadata, the rules referencing system tasks; and
generating specific tasks based on the rules matching to the event indicator.
2. The method of claim 1, further comprising defining the system tasks using at least one of
a user interface and a programmatic interface.
3. The method of claim 1, wherein the database object metadata comprises one or more of
size, location, users, language, number of files, fee space, and custom attributes.
4. The method of claim 1, wherein storing an event indicator comprises storing the event
indicator with associated metadata in a queue.
5. The method of claim 1, wherein the matching comprises:
retrieving the event indicator with associated metadata;
retrieving the rules; and
comparing the event indicator and associated metadata with the rules to detect a match
between the event indicator and the rules.
6. The method of claim 1, wherein the specific tasks comprise at least one database
management system command that corresponds to at least one of the system tasks.
- 14-
PATENT
7. The method of claim 1, wherein the database management system is a SQL-based
database management system.
8. The method of claim 1, wherein the specific tasks are Transac~SQL commands for
directing operations on a SQL database.
9. The method of claim 1, wherein the specific tasks comprise at least one of a hardware
command and a software command directed towards at least one of a database management
function and a non-database management function.
10. A system for generating tasks for a database management system, the system comprising:
a first computer for executing software for generating the tasks,
at least one memory media wherein rules and system tasks for operation on database
objects are stored; and
software media having computer-executable instructions stored thereon for performing
operations comprising:
detecting an event that operates on the database management system;
storing an event indicator with associated metadata wherein the event indicator
corresponds to the detected event;
matching the event indicator and the associated metadata with rules which utilize
database object metadata, the rules referencing system tasks; and
generating specific tasks based on the rules matching to the event indicator.
11. The system of claim 10, wherein the software comprises a first module for performing
the detecting and storing acts and a second module for performing the comparing and generating
acts.
12. The system of claim 11, wherein the first module and the second module are resident on
the first computer and a second computer respectively.
- 15 -
PATENT
13. The system of claim 10, further comprising at least one of a user interface and a
programmatic interface to provide an input for the ruJes and the system tasks.
14. The system of claim 10, wherein the specific tasks comp:ise at least one of a database
management system command and a non-database system command.
15. The system of claim 10, further comprising a second compmer for execution of the
matching and generating acts.
16. The system of claim 10, wherein the database management system is aSQL based
database management system.
17. The system of claim 10, wherein the specific tasks are Transact-SQL commands for
directing operations on a SQL database.
18. The system of claim 10, wherein the specific tasks comprise activating at least one ofa
hardware function and a software function.
19. A computer-readable medium, having computer-executable instructions, for performing a
method of generating specific tasks, the method comprising:
detecting an event that operates on a database management system;
storing an event indicator with associated metadata wherein the event indicator
corresponds to the detected event;
matching the event indicator and the associated metadata with rules which utilize
database object metadata, the rules referencing syS:em tasks; and
generating the specific tasks based on the rules corresponding to the event indicator.
20. The computer-readable medium of claim 19, wherein the database object metadata
comprises one or more of size, location, users, language, number offiles, fee space, and custom
attributes.
- 16-
PATENT
21. The computer-readable medium of claim 19, wherein storing the event comprises storing
the event and associated metadata in a queue.
22. The computer-readable medium of claim 19, wherein matching the event indicator
comprises:
retrieving the stored event indicator and the associated metadata;
retrieving the rules; and
comparing the event indicator and associated metadata with the rules to detect a match
between the event indicator and the rules.
23. The computer-readable medium of claim 19, wherein the specific tasks comprise at least
one of a database management system command and a non database management system
command.
24. The computer-readable medium of claim 19, wherein the database management system is
a SQL based database management system.
25. The computer-readable medium of claim 19, wherein the specific tasks are Transact-SQL
commands for directing operations on a SQL database.
26. A system for generating tasks for a database management system, the system comprising:
a computer comprising a database management system;
an interface to receive at least one system task and at least one rule related to the at lest
one system task;
a memory to store the at least one system task and the at least one rule;
an event detector to detect a database event;
an event queue to register a database event indictor and related metadata wherein the
event indicator corresponds to the database event;
- 17-
PATENT
a server agent to sense a registration of the database event indicator and the related
metadata and to compare the registration with the at least one rule; and
a task generator to produce commands;
wherein if the server agent matches the registration of the database event indicator with
the at least one rule, the task generator generates commands based on the at least one rule
wherein the at least one rule corresponds to the at least one system task.
27. The system of claim 26, wherein the database management system is a SQL database
management system.
28. The system of claim 26, wherein the commands are Transact-SQL commands directed
towards execution within the database management system.
29. The system of claim 26, wherein the commands comprise at least one of a hardware
command and a software command directed towards at least one of a database management
function and a non-database management function.
- 18 -
19
30 A system for generating tasks for a database management system
substantially as hereinbefore described with reference to the accompanying
drawings.
31 A computer-readable medium substantially as hereinbefore
described with reference to the accompanying drawings.
| # | Name | Date |
|---|---|---|
| 1 | 932-del-2004-Other-Documents-(24-05-2004).pdf | 2004-05-24 |
| 2 | 932-del-2004-Correspondence-others-(24-05-2004).pdf | 2004-05-24 |
| 3 | 932-del-2004-Correspondence-PO-(01-06-2004).pdf | 2004-06-01 |
| 4 | 932-del-2004-Correspondence-others-(24-06-2004).pdf | 2004-06-24 |
| 5 | 932-del-2004-Correspondence-others-(15-10-2004).pdf | 2004-10-15 |
| 6 | 932-del-2004-Form-13-(09-08-2007).pdf | 2007-08-09 |
| 7 | 932-del-2004-Correspondence-others-(09-08-2007).pdf | 2007-08-09 |
| 8 | 932-del-2004-Form-18-(19-05-2008).pdf | 2008-05-19 |
| 9 | 932-del-2004-Correspondence-others-(19-05-2008).pdf | 2008-05-19 |
| 10 | 932-del-2004-priority document.pdf | 2011-08-20 |
| 11 | 932-del-2004-form5.pdf | 2011-08-20 |
| 12 | 932-del-2004-form3.pdf | 2011-08-20 |
| 13 | 932-del-2004-form2.pdf | 2011-08-20 |
| 14 | 932-del-2004-form1.pdf | 2011-08-20 |
| 15 | 932-del-2004-drawing.pdf | 2011-08-20 |
| 16 | 932-del-2004-description.pdf | 2011-08-20 |
| 17 | 932-del-2004-correspondence.pdf | 2011-08-20 |
| 18 | 932-del-2004-claims.pdf | 2011-08-20 |
| 19 | 932-del-2004-assignment.pdf | 2011-08-20 |
| 20 | 932-del-2004-abstract.pdf | 2011-08-20 |
| 21 | MTL-GPOA - MLK1.pdf ONLINE | 2015-03-05 |
| 22 | MS to MTL Assignment.pdf ONLINE | 2015-03-05 |
| 23 | FORM-6-1-100.75.pdf ONLINE | 2015-03-05 |
| 24 | MTL-GPOA - MLK1.pdf | 2015-03-13 |
| 25 | MS to MTL Assignment.pdf | 2015-03-13 |
| 26 | FORM-6-1-100.75.pdf | 2015-03-13 |
| 27 | Examination Report Reply Recieved [13-08-2015(online)].pdf | 2015-08-13 |
| 28 | Description(Complete) [13-08-2015(online)].pdf | 2015-08-13 |
| 29 | Correspondence [13-08-2015(online)].pdf | 2015-08-13 |
| 30 | OTHERS [24-09-2015(online)].pdf | 2015-09-24 |
| 31 | Examination Report Reply Recieved [24-09-2015(online)].pdf | 2015-09-24 |
| 32 | Description(Complete) [24-09-2015(online)].pdf | 2015-09-24 |
| 33 | Correspondence [24-09-2015(online)].pdf | 2015-09-24 |
| 34 | Claims [24-09-2015(online)].pdf | 2015-09-24 |
| 35 | Abstract [24-09-2015(online)].pdf | 2015-09-24 |
| 36 | 932-DEL-2004_EXAMREPORT.pdf | 2016-06-30 |
| 37 | 932-DEL-2004-Response to office action (Mandatory) [06-02-2019(online)].pdf | 2019-02-06 |
| 38 | 932-DEL-2004-Correspondence to notify the Controller (Mandatory) [06-08-2019(online)].pdf | 2019-08-06 |
| 39 | 932-DEL-2004-PA [13-08-2019(online)].pdf | 2019-08-13 |
| 40 | 932-DEL-2004-ASSIGNMENT DOCUMENTS [13-08-2019(online)].pdf | 2019-08-13 |
| 41 | 932-DEL-2004-8(i)-Substitution-Change Of Applicant - Form 6 [13-08-2019(online)].pdf | 2019-08-13 |
| 42 | 932-DEL-2004-HearingNoticeLetter16-08-2019.pdf | 2019-08-16 |
| 43 | 932-DEL-2004-Written submissions and relevant documents (MANDATORY) [30-08-2019(online)].pdf | 2019-08-30 |
| 44 | 932-DEL-2004-PETITION UNDER RULE 137 [30-08-2019(online)].pdf | 2019-08-30 |
| 45 | 932-DEL-2004-FORM 3 [30-08-2019(online)].pdf | 2019-08-30 |
| 46 | 932-DEL-2004-OTHERS-130919.pdf | 2019-09-18 |
| 47 | 932-DEL-2004-Correspondence-130919.pdf | 2019-09-18 |