Method and device for determining dependency relationship between services
The invention discloses a method and device for determining the dependency relationship between services, and the method comprises the steps: carrying out the semantic recognition of a micro-service code file, and determining a target code snippet which is composed of code statements representing a...
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 method and device for determining the dependency relationship between services, and the method comprises the steps: carrying out the semantic recognition of a micro-service code file, and determining a target code snippet which is composed of code statements representing a call request between the services; extracting a target parameter representing the inter-service calling request from the code statement; and determining an inter-service dependency relationship according to the target parameter. According to the technical scheme, on one hand, the micro-service code file is used when the dependency relationship between the services is determined, and due to the fact that the micro-service code file contains the calling relationship between all the services, the integrity of the dependency relationship between the services can be guaranteed; and on the other hand, the target code snippets representing the inter-service calling requests are determined by performing semantic recognitio |
---|