Patent Document ID: 9176951
Application ID: 13851168

Base Claim:
1. A method executed by one or more processors, for processing activity models, contained locally or remotely on one or more processor readable storage devices, wherein, rules called Knowledge Base Modeler (KBM) rules, which were devised to depict complex processing scenarios, are obtained by, augmenting the method of the system called Knowledge Base System (KB), for representing and processing static and dynamic information, wherein the improvement comprises: a) a new set of colors called reference colors, which are devised for augmenting reference mechanisms of entities, wherein, a type of reference color called “Data Set” color, can be assigned to terms of KBM rules, which implies, that entity references restricted to a partition or logical grouping implied by the data set color, are sought for the term of the KBM rule; and the absence of the said “Data Set” color, implies a default partition; Said entity references of the terms of KBM rules are stored in a container, capable of providing said partitions or logical groupings; b) a new set of colors called complex colors, which are used for depicting complex processing notions; c) a new set of colors called process colors, which are used for depicting effects of process structures on entities; d) a new set of colors called conceptual colors, which are used for depicting rule graphs, in an abstract form; e) new specialized structural rules called KBM Structural rules, for structuring the integration of said KBM rules; f) an enhanced Object Context (O-Context), wherein each entity type, can hold a plurality of entity references, segregated into partitions, called data sets; g) an extensible framework for creating new color types, and mapping these colors to said KBM rules; said reference colors, complex colors, process colors, and conceptual colors are collectively referred to as KBM colors; and rules of said KB system, can be further enhanced by utilizing said KBM colors; said KBM rules, are further integrated into larger process structures, by a framework called KBM “Desired Special Complex” (DSC) framework, which facilitates integration of process structures of lower order to process structures of higher order, recursively, until higher level process structures called “KBM Rule Graphs”, “KBM Gears”, and “KBM Activities” are progressively generated; said KBM activities, can be configured for execution by generic workflow engines, which comprises: h) Associating a queue called workflow queue, and a record called “Activity Failure record”, with each of said KBM activities, based on the state reached by the activity upon execution, for integration with workflow engines, and storing these associations as metadata in a file called configuration file of the activity; i) Associating a plurality of controls called “process controls”, with each of said KBM activities, and storing these associations, in the configuration files of the activities, such that an activity is invoked, using one of the configured process controls, called default process control, or re-executed with a different process control after a previous failure; such that, said KBM activities grouped into a set of sequential or concurrent activity blocks, called KBM workflow, depicts the activity flow of a complex application system or subsystem, which could be executed, to accomplish the goals of the application system or subsystem, by any generic workflow engine, specialized to process the said KBM activity meta data, in said activity configuration files, or by a pre-supplied module called KBM work flow coordinator.

---

Claim 2:
2. The method of claim 1 , comprises: a) Assigning a type of reference color called “Instance Id” color, to terms of KBM rules, which implies, that an entity reference having the unique identification token, specified in the color value, is sought for the term of the KBM rule; b) Assigning a type of reference color called “local reference” color, to terms of KBM rules, which implies that entity references held dynamically in a cache or special storage mechanism, of the parent entity, are sought for the term of the KBM rule, for which the color value is specified; Said parent entity is capable of holding several said cache storages simultaneously, and said local reference color, provides identification of the cache to be used for retrieving the entity references of the term of the KBM rule; c) Assigning a type of complex color called “category color” to terms of KBM rules, which implies, that an entity reference possessing a predefined set of features, and/or relations or bindings with other entities, and/or a pre-specified rank or metric among a plurality of entity references, which are applicable or available for the term of the KBM rule, is sought for the term; and the requirement said features, relations, bindings, rank, or metric must satisfy is encoded as a kbm rule, which is associated with the said category color; d) Assigning a type of complex color called “form color”, which implies, that an entity reference possessing a predefined set of features, and/or relations or bindings with other entities, is sought for the term; and the requirement said features, relations, bindings, must satisfy is encoded as a kbm rule, which is associated with the said form color; e) Assigning a type of complex color called “model color”, which implies, that the an entity reference, whose sub entities have a predefined arrangement with respect to each other and with respect to their parent, identified by their features, characteristics, relations and bindings, is sought for the term; and the requirement said arrangements, must satisfy is encoded as a kbm rule, which is associated with the said model color; f) Assigning a type of complex color called “capability color”, which implies, that an entity reference, which has a set of capabilities, is sought for the term; Said capabilities are defined directly as features or attributes of the entity, or defined indirectly as meta data or via a token called taxonomy identification; and the requirement said capabilities must satisfy is encoded as a kbm rule, which is associated with the said capability color; g) Assigning a type of complex color called “characteristics color”, which implies, that an entity reference possessing a predefined set of dynamic characteristics, is sought for the term; and the requirement said characteristics, must satisfy is encoded as a kbm rule, which is associated with the said characteristics color; h) Assigning a type of complex color culled “binding color”, which implies, that an entity reference possessing a set of bindings, with a predefined target entity, is sought for the term; Said bindings, could possess parameters, which are stored in the entity configuration files; Said bindings can be further constrained by binding parameters, features, relations, characteristics of the source and the target of the binding, and these requirements are encoded as a kbm rule, which is associated with the said binding color; i) Assigning a type of complex color called “procedure color”, which depicts the source for entity references of the entity type specified for the term of a rule; Said source is typically encoded as a class, method, and method color, and the mapping is stored in a mapping document called “Entity Maps”, which is provided as part of configuration of the entity bearing the said color; j) Mapping a path of execution of a process structure to a type of color called “process execution color”, which depicts the runtime state of the process structure; k) Assigning a color value of color type called “functional color” to entity references participating in a process structure, based on process execution color of the process structure and optionally the previous color values for the functional color type, already acquired by the entities; Said functional color type implies a map from old functional color values and current process execution color to new functional color values; l) Assigning a color value of color type called “transformational color” to entity references participating in a process structure, which implies, that said entity reference, acquired a set of predefined functional colors, in succession; m) Assigning a color value of color type called “disposition color” to a process structure, which implies, that the entities of the said process structure possess a characteristic called plasticity, which guides the entities towards a particular path, among a plurality of possible execution paths for the process stricture; n) Assigning a type of color called “mode of processing” to process structures, which implies that the process structure defined with a predefined set of process control values, is to utilize one of the process controls, identified by the mode of processing color; o) Mapping said complex colors like “category color”, “form color”, “model color”, “capability color”, “binding color”, and “characteristic color” to KBM rules, by a mapping document called “Entity Maps”, which is provided as part of configuration of the entity bearing the said colors; Said KBM rules associated with said colors are called colored rules, and can in turn contain terms having said complex colors, and so on in a recursive manner; p) Applying a set of operators called KBM operators, to terms of said KBM rules, for determining existence of entities, assigning characteristics, for binding entities, and for assigning colors; Said characteristics, bindings, and colors are stored in internal caches of the entity and are accessible via predefined interfaces of the KBM System; q) Assigning a type called Type-7A to said KBM rules, wherein the terms of said Type-7A rule, could represent fields with or without method invocations and KBM colors or any of Type-1 thru Type-9 rules of KB/KBM, with or without KBM colors, and any of said KBM operators; r) Assigning a type called Type-7C to said KBM rules, wherein the terms of said Type-7C rule, could represent fields with or without method invocations and KBM colors or any of Type-1 thru Type-9 rules of KB/KBM, with or without KBM colors, and employ logical operators and return Boolean values as output; s) Assigning a type called Type-7E to said KBM rules, wherein the terms of said Type-7E rule, could represent fields with or without method invocations and KBM colors or any of Type-1 thru Type-9 rules of KB/KBM, with or without KBM colors, and any of said KBM operators; Said Type-7E rules can receive the process execution color of another kbm rule, for which this rule is configured as effect rule; t) Assigning a type called Type-8 to said KBM rules, wherein said Type-8 rule comprises of two terms, which are Type-7A rules, wherein the terms of the first Type-7A rule, are depicted by Type-4 or Type-5 KB rules, and the terms of the second Type-7A rule are depicted by Type-7A rules, such that the arrangement represents a case block; u) Assigning a Type called Type-9 to said KBM rules, wherein the said KBM rule is assigned a group rule id, and all such kbm rules possessing the same group rule id, is invoked by the group rule id; The execution of the Type-9 kbm rule, comprises of selecting one of the kbm rules of the group, whose terms on the RHS side of the expression are satisfied by the current state of the application contexts, and returning the LHS as the result of execution of the rule; v) Assigning a structural rule called horizontal structural rule to a kbm rule, which defines the order of determination of the entity references and their dependencies in a “nested-for”, format; w) Assigning a structural rule called vertical structural rule for each term of the said rule, which defines the order of evaluation of the said colored rules and their dependencies in a “nested-for”, format; The dependencies of said colored rules are defined as source-colored-rule, term-of-source-colored-rule, and target-colored-rule, term-of-target-colored-rule; x) Said Type-7A/7C/7E, 8, 9 KBM rules, along with said Type-1 thru Type-6 KB rules employing KBM colors, are collectively regarded as KBM rules.