摘要 |
<p>The invention includes a state engine system, the system including: a CPU; a memory operatively connected to the CPU, the memory containing a program adapted to be executed by the CPU and the CPU and memory cooperatively adapted for managing a plurality of objects stored in a database, whose behavior can be modeled by means of a state diagram reacting on external events which occur in a non-deterministic order. The program contained in the memory includes a code segment embodied on a computer-readable medium configured and adapted for creating, storing and maintaining state diagram templates in a database, the database including all states available for the object, the possible state transitions, the events which cause state transitions, and the actions which occur upon state transitions: where there is at least one event causing each state transition; and where the actions which occur upon a state transition is dependent upon the event that caused the transition; a code segment embodied on a computer-readable medium configured and adapted for creating a new instance of a state diagram for each new object and maintaining its current state in the running state diagram; a code segment embodied on a computer-readable medium configured and adapted for receiving notification of an event and applying it to the relevant running state diagram; a code segment embodied on a computerreadable medium configured and adapted for causing a state transition upon receiving notification of a event; and a code segment embodied on a computer-readable medium configured and adapted for causing the occurrence of one or more pre-determined actions triggered by a state transition, where one of the pre-determined actions is the initiation of a timer, where the timer is configured to cause an event to occur after a predetermined time.</p> |