Method and system for communication of distributed system

A technology of distributed system and purpose, applied in the field of distributed system communication, can solve the problem that the message sender cannot receive confirmation messages, does not send messages in priority order, and does not prioritize messages, so as to reduce distributed system communication. volume, optimize the sending order, and avoid the effect of repeated processing

Active Publication Date: 2010-07-21
ZTE CORP
View PDF5 Cites 17 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] Generally, the communication between processes adopts the method of sending and receiving messages. When a message has priority, only after the message with high priority is sent and processed successfully, the message with low priority will be processed; when the message with high priority is sent or processed Failure, even if the message with low priority is sent successfully, the message with low priority will not be processed. In the prior art, mechanisms such as retransmission timer, waiting for confirmation message, sliding window or buffering are used to send and receive messages. The party did not prioritize the messages and did not send messages in the order of priority. As a result, messages with low priority were sent to the message receiver first, and the message receiver did not process messages with low priority until it received messages with high priority. low-priority messages are processed only after the messages are processed successfully
The order in which messages are sent has no priority. Sending low-priority messages to the message receiver first will only lead to busier inter-process communication, but the processing of low-priority messages will not help. At the same time, due to communication line problems, it may cause messages The sender cannot receive the confirmation message, so it thinks that the message has not been processed successfully or has not been processed, and sends the message repeatedly, causing the system to process the message repeatedly

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 and system for communication of distributed system
  • Method and system for communication of distributed system
  • Method and system for communication of distributed system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0029] The basic idea of ​​the present invention is: the source process unit determines the priority order of the message and stores it in the temporary buffer and the message module, the destination process unit receives the message sent by the message module, determines whether to process it according to the synchronization sequence number in the message, and responds to the message , the source process unit updates the temporary cache according to the response message.

[0030] Below in conjunction with specific embodiment and accompanying drawing, the present invention is described in detail, as figure 1 Shown, the present invention realizes the method for distributed system communication, comprises the following steps:

[0031] Step 101, the source process unit prioritizes the messages, stores the messages in a temporary buffer and a message module, and sends them.

[0032] The source process unit increases the synchronization sequence number stored by itself by 1 and ad...

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 communication of a distributed system, comprising the following steps: determining priority order of massage by an originating process unit and storing the priority order in a temporary buffer and a massage module; determining whether to process the massage by a target process unit according to synchronous serial number of the received massage sent by the massage module, and returning a response massage according to the processing result and storing in the massage module; and updating the temporary buffer by the originating process unit according to the response massge received from the massage module. The invention also discloses a system for communication of a distributed system. By adopting the method and the system in the invention, massage transmission order can be optimized, repeated massageis avoided, and the distributed system communication traffic is reduced, thus improving the communication reliability of the distributed system.

Description

technical field [0001] The present invention relates to the field of distributed system communication, in particular to a method and system for distributed system communication. Background technique [0002] In order to improve the processing capacity, complex data communication equipment generally adopts a distributed design and is equipped with multiple central processing units (CPU), each of which is responsible for the realization of some module functions in the system. Logically, the processes executed by different CPUs are relatively independent in function, and the communication traffic between each other is small; physically, different CPUs are in the same rack or the same computer room, and the physical connection is relatively stable and efficient. In order to make the entire data communication system run in harmony, processes on different CPUs need to communicate with each other, and the functions responsible for different CPUs are associated to realize more compl...

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
Patent Type & Authority Applications(China)
IPC IPC(8): G06F15/163G06F9/54
Inventor 孙勇于浩夏丽梅
Owner ZTE CORP
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products