Communication method between services and computing device
A communication method between services is used for communication between two services, each service comprises an application end and an agent end, and the method comprises the following steps: creating a socket connection between the application end and the agent end; setting a service type of a se...
Gespeichert in:
1. Verfasser: | |
---|---|
Format: | Patent |
Sprache: | chi ; eng |
Schlagworte: | |
Online-Zugang: | Volltext bestellen |
Tags: |
Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
|
Zusammenfassung: | A communication method between services is used for communication between two services, each service comprises an application end and an agent end, and the method comprises the following steps: creating a socket connection between the application end and the agent end; setting a service type of a service transmitted by the application end and the agent end in the socket connection; and when the service type of the transmitted service is confirmed to be the first service type through the socket map module, forwarding the network data packet between the application end and the agent end by bypassing the TCP/IP protocol stack. Therefore, the computing device forwards the network data packet between the application end and the agent end by bypassing the TCP/IP protocol through the socket map module only when the type of the service transmitted by the application end and the agent end is a specific service type. As a result, the communication delay between two services that perform a specific service is reduced.
一 |
---|