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
CN100492302CInactive Publication Date: 2009-05-27ZHEJIANG UNIV

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
ZHEJIANG UNIV
Publication Date
2009-05-27
Estimated Expiration
Not applicable · inactive patent

Smart Images

  • Figure 1
    Figure 1
  • Figure 2
    Figure 2
  • Figure 3
    Figure 3
Patent Text Reader

Abstract

The invention involves the area of inter-process communication techniques, which is to provide a method for asynchronous inter-process communication based on JAVA. The method includes the following steps: (1) the implementation of communication service procedure; (2) implementation of intra-process communication service; (3) message design; (4) implementation of communication process. The invention adopts concentrated communication, and introduces message trigger mechanism in the inter-communication with upper applications. While receiving messages, the communication system will invoke callback functions to process. Meanwhile, messages are encapsulated to be objects, and are transmitted with Java's serialization mechanism. Processes only communicate with service programs. Processes know where service programs are, and service programs keep information of all processes.
Need to check novelty before this filing date? Find Prior Art

Description

technical field

[0001] The present invention relates to the technical field of inter-process communication, and more specifically, relates to a method for realizing asynchronous communication between processes based on Java. Background technique

[0002] The concept of process communication originally originated from a stand-alone system. Since each process runs in its own address range, in order to ensure that two communicating processes do not interfere with each other and work in harmony, the operating system provides corresponding facilities for process communication, such as the pipe (pipe) in UNIX BSD ), named pipe (namedpipe) and soft interrupt signal (signal), UNIX system V message (message), shared storage area (shared memory) and semaphore (semaphore), etc., but they are all limited to use between native processes communication. The inter-network process communication needs to solve the problem of mutual communication between different host processes (the same ma...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More