Implementation method and device of state machine engine, computer equipment and storage medium
The invention discloses an implementation method and device of a state machine engine, computer equipment and a storage medium, and belongs to the technical field of state machines. The method comprises the steps that a state machine engine receives a state machine instance creation request sent by...
Gespeichert in:
Hauptverfasser: | , , , , |
---|---|
Format: | Patent |
Sprache: | chi ; eng |
Schlagworte: | |
Online-Zugang: | Volltext bestellen |
Tags: |
Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
|
Zusammenfassung: | The invention discloses an implementation method and device of a state machine engine, computer equipment and a storage medium, and belongs to the technical field of state machines. The method comprises the steps that a state machine engine receives a state machine instance creation request sent by a service system for a target service; the state machine engine loads a rule configuration file corresponding to the target service according to the state machine instance creation request; the state machine engine analyzes the rule configuration file into a state migration table, initializes the context of the engine, and returns the generated state machine instance to the service system; and the state machine engine pre-compiles the conditional expression in the state migration table by usingthe expression engine in combination with the engine context, and caches a compiling result. According to the embodiment of the invention, decoupling separation of the business process and the state can be realized, the compl |
---|