Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Method for realizing interprocess synchronization communication and agent unit

A technology of proxy unit and synchronous communication, applied in the field of communication, can solve the problems of difficult maintenance and complex system design, and achieve the effect of simplifying system design and easy for users to maintain

Inactive Publication Date: 2010-03-17
STATE GRID JIBEI ELECTRIC POWER COMPANY
View PDF0 Cites 17 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0014] The present invention is proposed in view of the problem in the related art that the system design is complex and not easy to maintain in order to realize the mutual conversion between inter-process synchronous communication and asynchronous communication. Therefore, the main purpose of the present invention is to provide an improved inter-process synchronous communication implementation method and synchronous agent units to solve at least one of the above problems

Method used

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
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Method for realizing interprocess synchronization communication and agent unit
  • Method for realizing interprocess synchronization communication and agent unit
  • Method for realizing interprocess synchronization communication and agent unit

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0028] Functional Overview

[0029] Considering the problem in the related art that the system design is complex and not easy to maintain in order to realize the mutual conversion between inter-process synchronous communication and asynchronous communication, the embodiment of the present invention provides an implementation scheme of inter-process synchronous communication, while retaining the original asynchronous communication mode of the process On the basis of , by adding a synchronous proxy unit between the two processes, the asynchronous communication between the processes can be seamlessly switched to synchronous communication. In some occasions that require both inter-process asynchronous communication and inter-process asynchronous communication, use This method can greatly reduce the amount of development and maintenance of the module process. The module process can use asynchronous calls during design. If the business requires synchronous calls, it only needs to con...

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

PUM

No PUM Login to View More

Abstract

The invention discloses a method for realizing interprocess synchronization communication and an agent unit. The method comprises the following steps: the agent unit receives a first request message from a first process, and blocks the first process; the agent unit constructs a second request message according to the first request message and then sends the second request message to the second process; the agent unit receives a first response message returning from the second process, and recovers identification information according to the private data information carried by the first response message; the agent unit constructs a second response message according to the first response message and sends the second response message to the first process; and the agent unit relieves block onthe first process. According to the technical scheme provided by the invention, the mutual transformation between interprocess synchronization communication and asynchronization communication can be realized, thereby being convenient for maintenance.

Description

technical field [0001] The invention relates to the field of communication, in particular to a method for realizing inter-process synchronous communication and an agent unit. Background technique [0002] Synchronization means that when a function call is issued, the call does not return until the result is obtained. Generally speaking, when talking about synchronous and asynchronous, it refers specifically to tasks that require the cooperation of other components or that require a certain amount of time to complete. The most common example is SendMessage. This function sends a message to a certain window, and this function does not return until the other party finishes processing the message. After the other party finishes processing, the function returns the LRESULT value returned by the message processing function to the caller. [0003] The concept of asynchronous is relative to synchronous. When an asynchronous procedure call is issued, the caller cannot get the res...

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

Application Information

Patent Timeline
no application Login to View More
IPC IPC(8): H04L29/08H04L12/56
Inventor 张斌
Owner STATE GRID JIBEI ELECTRIC POWER COMPANY
Features
  • Generate Ideas
  • Intellectual Property
  • Life Sciences
  • Materials
  • Tech Scout
Why Patsnap Eureka
  • Unparalleled Data Quality
  • Higher Quality Content
  • 60% Fewer Hallucinations
Social media
Patsnap Eureka Blog
Learn More