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

Communication method and device for distributed system

A technology of a distributed system and a communication method, applied in the field of communication methods and devices of distributed systems, can solve the problems of dirty writing of stored data, network disorder of distributed storage system, and disorder of request, etc.

Active Publication Date: 2019-07-16
ALIBABA CLOUD COMPUTING LTD
View PDF7 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

In distributed storage, due to multi-node communication, network multi-links, switch packet loss, and network card hardware, etc., requests are out of order during transmission, resulting in dirty writing of stored data.
However, no solution has been proposed to solve the network out-of-order problem in distributed storage systems

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
  • Communication method and device for distributed system
  • Communication method and device for distributed system
  • Communication method and device for distributed system

Examples

Experimental program
Comparison scheme
Effect test

example 1

[0172] like Image 6 As shown, an exemplary flow of control flow processing in a distributed system communication process may include:

[0173] Step 601, the client sends a request to the master node to open the block device of the virtual machine, so as to obtain the current global version number of the block device of the virtual machine;

[0174] Step 602, the master node receives the request from the client to open the block device of the virtual machine, finds the version number of the administrator of the block device of the virtual machine from the local or shared file, and performs the open version number of the block device of the virtual machine. Increment, generate a global version number representing the current session based on the manager version number and the incremented device open version number, and return a response message to the client, the response message carries the global version number and the service corresponding to the virtual machine block device...

example 2

[0185] After the client establishes a session relationship with the service node through control flow processing, the distributed system can perform IO flow processing. like Figure 7 As shown, an exemplary flow of IO stream processing in the distributed system communication process may include:

[0186] Step 701, the client generates a request sequence number and fills it into the IO request, and sends the IO request to the service node, and the IO request also carries a global version number representing the current session;

[0187] Step 702, the service node receives the IO request, uses the request sequence number to perform window verification to check whether the IO request is valid, if the IO request is valid, the service node will continue to process the IO request, if the IO request has expired Then the service node will directly discard the IO request, and return a message of IO request failure to the client.

[0188] In this exemplary process, the process of the ...

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 communication method and device for a distributed system. The communication method comprises the steps of a master node receiving a request for opening virtual machine blockequipment from a client; progressively increasing the equipment opening version number of the virtual machine block equipment, and generating a global version number used for representing the currentsession based on the progressively-increased equipment opening version number and the existing manager version number; and returning the global version number and the service node positioning information corresponding to the virtual machine block equipment to the client, so that the client establishes a session with the corresponding service node by using the global version number. According to the invention, the network disorder problem of the distributed storage system can be solved.

Description

technical field [0001] The present invention relates to the field of computer technology, in particular to a communication method and device for a distributed system. Background technique [0002] Distributed storage provides high availability, high performance, and high data security guarantees for cloud computing block storage services. In distributed storage, due to multi-node communication, multi-link network, switch packet loss, and network card hardware, requests are out of order during transmission, resulting in dirty data being written. However, a solution that can solve the network out-of-order problem in distributed storage systems has not been proposed so far. Contents of the invention [0003] Embodiments of the present application provide a communication method and device for a distributed system, which can solve the network out-of-sequence problem of a distributed storage system. [0004] This application adopts the following technical solutions. [0005] ...

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): H04L29/08
CPCH04L67/1097H04L67/14H04L67/141H04L67/143H04L67/30H04L67/563
Inventor 李凯
Owner ALIBABA CLOUD COMPUTING LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products