# US 2017/0371576 A1 · Method and system for delivering message in storage system

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2017/0371576 A1
- Document ID: US20170371576A1
- Status: Published application
- Kind: A1
- Application number: 15/630,891
- Filed: 2017-06-22
- Published: 2017-12-28
- Earliest claimed: 2016-06-22
- Assignees: EMC IP Holding Company LLC
- Applicants: EMC IP Holding Company LLC
- Inventors: Yousheng Liu; Jamin Jianbin Kang; Xinlei Xu; Ruiyong Jia; Jian Gao; Lifeng Yang
- Web page: https://patentgrep.com/patent/US20170371576A1

## CPC

- G06F 3/0628: {making use of a particular technique}
- G06F 3/0689: {Disk arrays, e.g. RAID, JBOD}
- G06F 3/0614: {Improving the reliability of storage systems}
- G06F 3/0659: {Command handling arrangements, e.g. command buffers, queues, command scheduling}
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

A method and a system for delivering a message in a storage system. In one embodiment of the present invention, there is provided a method for delivering a message in a storage system comprising a first controller, a second controller, a first communication area and a second communication area. The method comprises: in response to receiving a message that is to be delivered from the first controller to the second controller, writing the message to the first communication area that is readable and writable to the first controller and readable to the second controller; and writing an address identifier to the second communication area, the address identifier being used for indicating an address at which the second controller reads the message from the first communication area, the second communication area being readable to the first controller and readable and writable to the second controller.

## Claims

### Claim 1

A method for delivering a message in a storage system comprising a first, controller, a second controller, a first communication area and a second communication area, the method comprising:
in response to receiving a message that is to be delivered from the first controller to the second controller, writing the message to the first communication area that is readable and writable to the first controller and readable to the second controller; and
writing an address identifier to the second communication area, the address identifier being used for indicating an address at which the second controller reads the message from the first communication area, the second communication area being readable to the first controller and readable and writable to the second controller.

### Claim 2 (depends on 1)

The method according to claim 1, wherein the writing the message to the first communication area comprises:
determining state of the first communication area according to metadata in the first communication area; and
writing the message to the first communication area in response to the state indicating that the first communication area is not full.

### Claim 3 (depends on 2)

The method according to claim 2, wherein the writing the message to the first communication area further comprises:
determining an available address for writing the message to the first communication area based on the metadata in the first communication area; and
writing the message to the available address.

### Claim 4 (depends on 3)

The method according to claim 3, wherein the first communication area comprises a message queue, the metadata in the first communication area comprising a head pointer of the message queue; and the method further comprises:
in response to the message being written to the available address, updating the head pointer to indicate another available address for writing a message to the first communication area.

### Claim 5 (depends on 4)

The method according to claim 4, wherein the address identifier comprises a tail pointer of the message queue, and the method further comprises:
in response to the second controller reading the message from the tail pointer, updating the tail pointer by the second controller so as to point to another message.

### Claim 6 (depends on 4)

The method according to claim 4, wherein the storage system comprises a plurality of storage device, and the first communication area crosses respective storage areas in the plurality of storage devices, the respective storage areas in the plurality of storage devices being connected in a ring to form the first communication area.

### Claim 7 (depends on 6)

The method according to claim 6, wherein the storage system is a Redundant Array of Independent Disks, and the method further comprises:
in response to one storage device among the plurality of storage devices failing, recovering data in the message queue from other storage devices among the plurality of storage devices.

### Claim 8 (depends on 1)

The method of claim 1, wherein the method further comprises:
in response to receiving another message that is to be delivered from the second controller to the first controller, writing the other message to the second communication area by the second controller; and
writing another address identifier to the first communication area, the other address identifier being used for indicating an address at which the first controller reads the other message from the second communication area.

### Claim 9

A method for receiving a message in a storage system comprising a first controller, a second controller, a first communication area and a second communication area, the method comprising:
reading an address identifier from the second communication area, the second communication area being readable to the first controller and readable and writable to the second controller; and
reading a message from a position in the first communication area as indicated by the address identifier, the first communication area being readable and writable to the first controller and readable to the second controller.

### Claim 10 (depends on 9)

The method according to claim 9, wherein the first communication area comprises a message queue, the storage system comprises at least one storage device, the first communication area crosses respective storage areas in the at least one storage device, the respective storage areas being connected in a ring to form the first communication area.

### Claim 11

A system for delivering a message in a storage system, comprising:
one or more processors;
a memory coupled to at least one processor of the one or more processors;
computer program instructions stored in the memory which, when executed by the at least one processor, cause the system to execute a method for delivering a message in the storage system, the storage system comprising a first controller, a second controller, a first communication area and a second communication area and the method comprising:
in response to receiving a message that is to be delivered from the first controller to the second controller, writing the message to the first communication area that is readable and writable to the first controller and readable to the second controller; and
writing an address identifier to the second communication area, the address identifier being used for indicating an address at which the second controller reads the message from the first communication area, the second communication area being readable to the first controller and readable and writable to the second controller.

### Claim 12 (depends on 11)

The system according to claim 11, wherein the writing the message to the first communication area comprises:
determining state of the first communication area according to metadata in the first communication area; and
writing the message to the first communication area in response to the state indicating that the first communication area is not full.

### Claim 13 (depends on 12)

The system according to claim 12, wherein the writing the message to the first communication area further comprises:
determining an available address for writing the message to the first communication area based on the metadata in the first communication area; and
writing the message to the available address.

### Claim 14 (depends on 13)

The system according to claim 13, wherein the first communication area comprises a message queue, the metadata in the first communication area comprising a head pointer of the message queue; and the method further comprises:
in response to the message being written to the available address, updating the head pointer to indicate another available address for writing a message to the first communication area.

### Claim 15 (depends on 14)

The system according to claim 14, wherein the address identifier comprises a tail pointer of the message queue, and the method further comprises:
in response to the second controller reading the message from the tail pointer, updating the tail pointer by the second controller so as to point to another message.

### Claim 16 (depends on 14)

The system according to claim 14. wherein the storage system comprises a plurality of storage device, and the first communication area crosses respective storage areas in the plurality of storage devices, the respective storage areas in the plurality of storage devices being connected in a ring to form the first communication area.

### Claim 17 (depends on 16)

The system according to claim 16, wherein the storage system is a Redundant Array of Independent Disks, and the method further comprises:
in response to one storage device among the plurality of storage devices failing, recovering data in the message queue from other storage devices among the plurality of storage devices.

### Claim 18 (depends on 11)

The system of claim 11, wherein the method further comprises:
in response to receiving, another message that is to be delivered from the second controller to the first controller, writing the other message to the second communication area by the second controller; and
writing another address identifier to the first communication area, the other address identifier being used for indicating that the first controller reads an address of the other message from the second communication area.

### Claim at position 19

19-20. (canceled)
