Unlock instant, AI-driven research and patent intelligence for your innovation.

A message delivery method and related device

A technology for message delivery and message response, applied in the field of communication, can solve problems such as packet loss or network congestion, increase in the number of messages, and restrict system throughput

Active Publication Date: 2018-11-20
HUAWEI TECH CO LTD +1
View PDF5 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] However, when passing messages through the Paxos algorithm, the server that receives the client’s request needs to communicate with all other servers in the WAN, resulting in a large number of messages being transmitted in the WAN, which seriously restricts the throughput of the system when the system scale is large. amount, and make the server that receives the request load heavier
At the same time, in the wide area network environment, due to the complex network conditions, when data centers far away from each other execute the Paxos algorithm, packet loss or network congestion is unavoidable.
When the number of servers running the Paxos algorithm increases, the number of messages also increases, which may cause more serious network 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
  • A message delivery method and related device
  • A message delivery method and related device
  • A message delivery method and related device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0081] The technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only a part of the embodiments of the present invention, rather than all the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those of ordinary skill in the art without creative work shall fall within the protection scope of the present invention.

[0082] In a distributed system, in order to ensure the consistency of the server status in the system, a consistency algorithm needs to be used. The embodiment of the present invention can be specifically applied to a server cluster of a distributed system, such as figure 1 Shown is a network architecture diagram provided by an embodiment of the present invention. In the WAN environment, the servers in the cluster are distributed in data ...

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 embodiment of the invention discloses a messaging method and a related device. The messaging method comprises the steps that a first server receives a read / write request sent by a client, and distributes an instance number for identifying the read / write request to the read / write request; the first server sends a preparation request carrying the instance number to a second server in a wide area network; the first server receives a response message returned by the second server, wherein the response message comprises the quantity of the servers which allow the client to implement read / write operation in a data center; the first server determines whether to approve the read / write request according to the quantity of the servers which allow the client to implement the read / write operation in the response message; and if approved, the first server sends a read / write command to the server which allows the client to implement the read / write operation. By using the method, messaging can be effectively implemented between servers in the wide area network.

Description

Technical field [0001] The present invention relates to the field of communication technology, in particular to a message transfer method and related devices. Background technique [0002] Distributed systems can perform the same tasks or store the same data in each server in the system through redundancy. The distributed system works collaboratively between the servers of the system, so that even when some of the servers in the system cannot work normally, the entire system can still complete tasks, and has a better ability to face unexpected situations such as power failures, natural disasters, etc. . In a distributed system, in order to ensure the consistency of the server status in the system, a consensus algorithm such as the Paxos algorithm needs to be used for message transmission. [0003] However, when using the Paxos algorithm for message delivery, the server that receives the client's request needs to communicate with all other servers in the WAN, which results in a la...

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 Patents(China)
IPC IPC(8): H04L29/06H04L29/08
Inventor 龚奕利马文韬施会华
Owner HUAWEI TECH CO LTD