Remote service interface calling method based on explicit and implicit parameter registration
The invention provides a remote service interface calling method based on explicit and implicit parameter registration, and provides an RPC (Remote Procedure Call) service calling method based on registration, so that the minimum transmission parameter during calling is realized, and returned data i...
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 provides a remote service interface calling method based on explicit and implicit parameter registration, and provides an RPC (Remote Procedure Call) service calling method based on registration, so that the minimum transmission parameter during calling is realized, and returned data is formatted and processed into a standard data frame. A service producer registers interface names, types and description information in a registration center and declarates the explicit and implicit types of parameters, and default values need to be filled in the implicit parameters; a service consumer remotely calls a corresponding method by retrieving registration information and translation parameters of a registration center and directly using a reflection mechanism through a general RPC framework. Wherein the use flexibility of a service producer interface can be improved by introducing implicit default parameters, and a service producer can properly design implicit parameter multiplexing interfaces to realiz |
---|