Schema-based application model validation in a database
First Claim
Patent Images
1. A method, implemented by a computing device, for validating application models within a database environment, the method comprising:
- receiving an application schema, wherein the application schema defines constraints for validating application models that are associated with the application schema;
storing the application schema within the database environment;
receiving an application model, wherein the application model defines operation of an application, and wherein the application model is associated with the application schema;
validating the application model, wherein the validating comprises performing validation of the application model against the application schema;
upon successful validation of the application model, storing the application model within the database environment, wherein validation is successful when the application model satisfies all constraints of the application schema, wherein a constraint is satisfied when the constraint is consistent with the application model; and
when the validation of the application model is unsuccessful, outputting a result of the validation that indicates the application model will not be stored within the database environment, wherein validation is unsuccessful when the application model fails at least one constraint of the application schema;
wherein the application schema remains available within the database environment, and cannot be removed from the database environment, while there are any application models stored within the database environment that are associated with the application schema and that were validated against the application schema, wherein the application schema remains available for review and evaluation within the database environment.
2 Assignments
0 Petitions
Accused Products
Abstract
Technologies are provided for validating application models within a database environment. For example, an application model can be provided to a database environment and validated against a meta-schema and/or an application schema stored within the database environment. Successful validation can be required before the application model is allowed to run within the database environment (e.g., before the application model can be stored within the database environment).
38 Citations
15 Claims
-
1. A method, implemented by a computing device, for validating application models within a database environment, the method comprising:
- receiving an application schema, wherein the application schema defines constraints for validating application models that are associated with the application schema;
storing the application schema within the database environment; receiving an application model, wherein the application model defines operation of an application, and wherein the application model is associated with the application schema; validating the application model, wherein the validating comprises performing validation of the application model against the application schema; upon successful validation of the application model, storing the application model within the database environment, wherein validation is successful when the application model satisfies all constraints of the application schema, wherein a constraint is satisfied when the constraint is consistent with the application model; and when the validation of the application model is unsuccessful, outputting a result of the validation that indicates the application model will not be stored within the database environment, wherein validation is unsuccessful when the application model fails at least one constraint of the application schema; wherein the application schema remains available within the database environment, and cannot be removed from the database environment, while there are any application models stored within the database environment that are associated with the application schema and that were validated against the application schema, wherein the application schema remains available for review and evaluation within the database environment. - View Dependent Claims (2, 3, 4, 5, 6, 7)
- receiving an application schema, wherein the application schema defines constraints for validating application models that are associated with the application schema;
-
8. A database environment comprising:
-
one or more computer servers; and one or more databases; the database environment configured to perform operations for validating application models, the operations comprising; receiving an application schema, wherein the application schema defines constraints for validating application models that are associated with the application schema; storing the application schema within the database environment; receiving an application model, wherein the application model defines operation of an application, and wherein the application model is associated with the application schema; validating the application model, wherein the validating comprises performing validation of the application model against the application schema; when the validating the application model is successful; transforming the application model into a runtime model for execution within the database environment and storing the application model within the database environment; and when the validating the application model is unsuccessful; outputting a result of the validation that indicates the application model cannot be run within the database environment; wherein validation is successful when the application model satisfies all constraints of the application schema, wherein a constraint is satisfied when the constraint is consistent with the application model, and wherein validation is unsuccessful when the application model fails at least one constraint of the application schema; wherein the application model is stored within the database environment only when the application model has been successfully validated; wherein the application schema remains available within the database environment, and cannot be removed from the database environment, while there are any application models stored within the database environment that are associated with the application schema and that were validated against the application schema. - View Dependent Claims (9, 10, 11, 12)
-
-
13. A computer-readable storage medium storing computer-executable instructions for causing a computing device to perform a method for validating application models within a database environment, the method comprising:
-
receiving an application schema, wherein the application schema defines one or more application-specific constraints for validating application models that are associated with the application schema; storing the application schema within the database environment; receiving an application model, wherein the application model defines operation of an application, and wherein the application model is associated with the application schema; validating the application model, wherein the validating comprises determining whether the application model satisfies the one or more application-specific constraints defined by the application schema, wherein validation is successful when the application model satisfies all of the one or more application-specific constraints defined by the application schema, wherein a constraint is satisfied when the constraint is consistent with the application model; upon successful validation of the application model, storing the application model within the database environment, wherein successful validation of the application model is required before the application model is stored within the database environment, and wherein successful validation of the application model is required before an application based on the application model is executed within the database environment; and when the validation of the application model is unsuccessful, outputting a result of the validation that indicates the application model will not be stored within the database environment, wherein validation is unsuccessful when the application model fails at least one of the application-specific constraints defined by the application schema; wherein the application schema remains available within the database environment, and cannot be removed from the database environment, while there are any application models stored within the database environment that are associated with the application schema and that were validated against the application schema. - View Dependent Claims (14, 15)
-
Specification