Method for implementing asynchronous communication
A technology of asynchronous communication and implementation method, which is applied in the field of communication and can solve problems such as single applicable protocol
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0035] Example 1: as figure 1 As shown, the present invention is an implementation method of asynchronous communication,
[0036] An asynchronous communication component is set between application A 101 and application B 105. The asynchronous communication component is divided into two parts: the management end 102 and the agent end 104. The management end 102 is placed on the active sending application A 101, and the agent end 104 is placed on the passive receiving end. on the application B105; the management terminal 102 and the agent terminal 104 perform asynchronous communication through the protocol stack 103.
[0037] figure 2 Shown is the data processing flow chart of the asynchronous communication component, as shown in the figure:
[0038] The sending process of the management terminal 102:
[0039] 1) The application A101 calls the asynchronous sending interface to send the request message in a non-blocking manner;
[0040] 2) The asynchronous sending function p...
Embodiment 2
[0056] Embodiment 2: The following is an embodiment of developing an asynchronous communication SOAP API in combination with the compiling tool gSOAP and this method.
[0057] The gSOAP compilation tool can automatically generate stubs and framework programs needed to develop the Soap protocol. The stub is an "agent" placed on the client side, and the framework is an "agent" placed on the server side. A function is declared in the stub, but the content in it is not a specific algorithm, but a series of network connection protocols, which automatically find the host where the framework is located, then exchange data with it, and get a series of codes that return values. At this time, the client process only needs to adjust the functions in the stub to realize data exchange with the remote server, thus ensuring the transparency of data transmission to the application process.
[0058] The processing flow of stub code generated by gSOAP is as follows:
[0059] 1. Initialize the...
PUM

Abstract
Description
Claims
Application Information

- Generate Ideas
- Intellectual Property
- Life Sciences
- Materials
- Tech Scout
- Unparalleled Data Quality
- Higher Quality Content
- 60% Fewer Hallucinations
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2025 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com