Method for realizing interprocess asynchronous communication based on Java
A technology of asynchronous communication and implementation method, applied in the field of asynchronous communication between processes based on Java, can solve the problem that the process number cannot uniquely identify the process, and achieve the effect of simplifying the encapsulation and parsing
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment Construction
[0038] In conjunction with the accompanying drawings, the present invention will be further described below.
[0039] A method for implementing asynchronous communication between processes based on Java, the specific implementation method is as follows:
[0040] (1) Realization of communication service process:
[0041] The communication service process is a transfer station for communication. The design adopts the strategy of "slow receiving" and "fast sending", and makes full use of the multi-thread mechanism provided by Java. It is a process containing multiple threads and maintains three core data structures: Communication structure table, process group index table and sending thread instance table;
[0042] The communication structure table records all sockets connected to the gateway and the object input (ObjectInput) and object output (Object Out) established on it. The process group index table uses the target process group ID as the key to point to the sending thread...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com