Plug-in association scheduling method based on topological sorting
The invention discloses a plug-in association scheduling method based on topological sorting, which relates to the technical field of computers, and comprises the following steps: S1, dividing plug-ins into integration plug-ins and business plug-ins; s2, obtaining a service plug-in needing to be loa...
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 a plug-in association scheduling method based on topological sorting, which relates to the technical field of computers, and comprises the following steps: S1, dividing plug-ins into integration plug-ins and business plug-ins; s2, obtaining a service plug-in needing to be loaded; s3, obtaining all integrated plug-ins dependent on each business plug-in from each business plug-in to construct a mapping relation; s4, creating a mapping table, and importing the mapping relation into the mapping table; s5, traversing each mapping relation in the mapping table, creating directed edges, and connecting all the directed edges to finally form a directed acyclic graph; s6, sorting the generated directed acyclic graphs according to a topological sorting algorithm; s7, forward traversing a topological sorting result to obtain registration information, and constructing a plug-in scheduling chain table; s8, reversely traversing a topological sorting result, and initializing each plug-in according to |
---|