Incorporating technical computing into a DBMS
First Claim
1. A method of inserting a software function into a database, said method comprising:
- providing a software function that is implemented in a technical computing environment;
storing the software function in a memory of a computing device having a processor coupled to the memory;
selecting a target database where the software function is desired to be stored, wherein the target database is managed by a database management system that implements a database query language that differs from the technical computing environment;
automatically identifying, by the processor, an interface type associated with the database management system of the selected target database;
in response to a single action being performed, automatically generating in the technical computing environment by the processor;
a first component containing the software function, anda second component acting as an interface between the target database and the first component, the second component using the interface type identified automatically by the processor as being associated with the database management system; and
storing the first component and the second component in the target database, whereinthe second component is used by the database management system to invoke the first component as at least one of;
a stored procedure, anda database trigger of the target database.
1 Assignment
0 Petitions
Accused Products
Abstract
The present invention enables customized technical computing within a database. The present invention provides a method and system to insert a software function implemented in a technical computing environment into a database to manipulate data and use the software function as a database procedure. Once the software function is generated, in response to a single action being performed, two components are generated and stored in the database. The two components working together allow the software function to be invoked as a database procedure. The present invention offloads a user'"'"'s burden to learn the often complicated database query language and decreases the amount of network traffic between a client computer and a database.
23 Citations
25 Claims
-
1. A method of inserting a software function into a database, said method comprising:
-
providing a software function that is implemented in a technical computing environment; storing the software function in a memory of a computing device having a processor coupled to the memory; selecting a target database where the software function is desired to be stored, wherein the target database is managed by a database management system that implements a database query language that differs from the technical computing environment; automatically identifying, by the processor, an interface type associated with the database management system of the selected target database; in response to a single action being performed, automatically generating in the technical computing environment by the processor; a first component containing the software function, and a second component acting as an interface between the target database and the first component, the second component using the interface type identified automatically by the processor as being associated with the database management system; and storing the first component and the second component in the target database, wherein the second component is used by the database management system to invoke the first component as at least one of; a stored procedure, and a database trigger of the target database. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10)
-
-
11. In a computing device, a storage medium storing a method for inserting a software function into a database, the method comprises:
-
providing a software function that is implemented in a technical computing environment; selecting a target database where the software function is to be stored, wherein the target database is managed by a database management system that has an Application Programming Interface (API) and implements a database query language that is different from the technical computing environment; automatically identifying, by a processor, the API of the database management system of the selected target database; in response to a single action being performed, automatically generating in the technical computing environment; a first component containing the software function, and a second component acting as an interface between the target database and the first component, the second component using the API that was identified automatically by the processor as being associated with the database management system; and storing the first component and the second component in the target database, wherein the second component is used by the database management system to invoke the first component as at least one of a stored procedure and a database trigger of the target database. - View Dependent Claims (12, 13, 14, 15, 16, 17, 18, 19, 20)
-
-
21. A system for inserting a software function into a database, the system comprises:
-
a technical computing program including a technical computing environment; a software function that is stored on a memory and implemented in the technical computing environment; a target database; a database management system for managing the target database, the database management system using an Application Programming Interface (API) and implementing a database query language that is different from the technical computing environment; and a software module executable by a processor coupled to the memory that in response to a single action being performed, causes the processor to; automatically identify the API used by the database management system of the target database, automatically generate in the technical computing environment; a first component containing the software function, and a second component acting as an interface between the target database and the first component, the second component utilizing the API that was identified automatically by the processor as being used by the database management system, and store the first and second component in the target database, wherein the second component is used by the database management system to invoke the first component as at least one of a stored procedure and a database trigger of the target database. - View Dependent Claims (22, 23, 24, 25)
-
Specification