Interface multi-implementation method and device, equipment and storage medium
The invention discloses an interface multi-implementation method and device, equipment and a storage medium, and relates to the technical field of computers. The method comprises the following steps: a target micro-service performs interface registration by reading a public warehouse, and synchroniz...
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 interface multi-implementation method and device, equipment and a storage medium, and relates to the technical field of computers. The method comprises the following steps: a target micro-service performs interface registration by reading a public warehouse, and synchronizes interface implementation information to the target service; the public warehouse comprises pre-defined and uploaded interface registration related logic; the interface registration related logic comprises interface definition logic and interface scanning logic; the target service judges whether a registered interface is in a non-mutual exclusion relation according to the interface configuration information, and if the registered interface is in the non-mutual exclusion relation, a thread pool is created; the non-mutual exclusion relationship represents that a plurality of interfaces need to be called at the same time; and concurrently calling a plurality of interfaces for implementation by utilizing the thread p |
---|