Remote call development method and system based on aio, storage medium and electronic equipment
The invention provides an aio-based remote call development method and system, a storage medium and electronic equipment, and the method comprises the steps: building a plurality of nodes, and enabling each node to serve as a client and a server; based on aio as a communication layer, realizing seri...
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 an aio-based remote call development method and system, a storage medium and electronic equipment, and the method comprises the steps: building a plurality of nodes, and enabling each node to serve as a client and a server; based on aio as a communication layer, realizing serialization and deserialization by using cereal, and creating a remote calling process; establishing a registration center, and creating a node scheduling process; a client agent class is packaged in a client interface of each node, a server agent class is packaged in a server interface, a server agent class calling method is packaged in the client agent class, a function real calling method is packaged in the server agent class, and a node interaction process is created; binding an interface pointer to each node, and creating a function calling process; and establishing a code generation tool, and generating a corresponding agent code for calling the function by the code generation tool. According to the method and |
---|