Registering rules for entity attributes for validation and inference
First Claim
1. In a computing device, a method comprising:
- receiving input defining one or more rules associated with a first entity, the first entity being associated with a block or a signal of an executable block diagram model, the one or more rules related to one or more attributes of the first entity;
registering the one or more rules with a graphical modeling application;
receiving input specifying a value for a first attribute of the first entity;
applying the one or more registered rules to the value to determine if the value is valid;
generating a validation result that indicates whether the value is valid based on the applied rules;
displaying the validation result; and
storing the validation result in a storage.
1 Assignment
0 Petitions
Accused Products
Abstract
The present invention provides a method and system for registering rules for attributes of an entity with an entity validation and inference unit. The entity validation and inference unit can further validate input values for an entity and/or infer attributes of an entity using the associated registered rules. The entity validation and inference unit can also provide information regarding attributes, relations, and behaviors of an entity using the associated registered rules in response to a query. The present invention also provides a mechanism for a user to query an entity or the entity validation and inference unit regarding valid values for an entity. The mechanism also allows the user to query the registered rule associated with the entity.
40 Citations
50 Claims
-
1. In a computing device, a method comprising:
-
receiving input defining one or more rules associated with a first entity, the first entity being associated with a block or a signal of an executable block diagram model, the one or more rules related to one or more attributes of the first entity; registering the one or more rules with a graphical modeling application; receiving input specifying a value for a first attribute of the first entity; applying the one or more registered rules to the value to determine if the value is valid; generating a validation result that indicates whether the value is valid based on the applied rules; displaying the validation result; and storing the validation result in a storage. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 18, 19, 20, 21, 22, 23, 24)
-
-
15. The method of 14, wherein the compile-time rule is used to validate the first entity at compile-time.
-
16. The method of 14, wherein the run-time rule is used to validate the first entity at run-time.
-
17. The method of 14, wherein the compile-time rule is related to at least one different attribute, relation, or behavior of the first entity comparing to the run-time rule.
-
25. A storage medium storing executable instructions, the medium comprising:
-
instructions for receiving input defining one or more rules associated with a first entity, the first entity being associated with a block or a signal of an executable block diagram model, the one or more rules related to one or more attributes of the first entity; instructions for registering the one or more rules with a graphical modeling application; instructions for receiving input specifying a value for a first attribute of the first entity; instructions for applying the one or more registered rules to the value to determine if the value is valid; instructions for generating a validation result that indicates whether the value is valid based on the applied rules; instructions for displaying the validation result; and instructions for storing the validation result in a storage. - View Dependent Claims (26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43)
-
-
44. A system for registering rules for attributes of an entity with a graphical modeling application, the system comprising:
a processor executing; an executable block diagram model provided in the graphical modeling application, the executable block diagram model comprising one or more blocks or one or more signals; and an entity validation and inference unit in communication with the graphical modeling application, the entity validation and inference unit configured to register one or more rules associated with a first entity associated with a first block of the executable block diagram model and infer at least one of or a combination of an attribute, a relation, and a behavior of the first entity using the registered one or more rules. - View Dependent Claims (45, 46, 47, 48, 49)
-
50. A system comprising:
-
means for receiving input defining one or more rules associated with a first entity, the first entity being associated with a block or a signal of an executable block diagram model, the one or more rules related to one or more attributes of the first entity; means for registering the one or more rules with a graphical modeling application; means for receiving input specifying a value for a first attribute of the first entity; means for applying the one or more registered rules to the value to determine if the value is valid; means for generating a validation result that indicates whether the value is valid based on the applied rules; means for displaying the validation result; and means for storing the validation result in a storage.
-
Specification