# US 2019/0379758 A1 · Multicasting method in distributed cache environment, and distributed cache server using the same

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

- Number: US 2019/0379758 A1
- Document ID: US20190379758A1
- Status: Published application
- Kind: A1
- Application number: 16/012,098
- Filed: 2018-06-19
- Published: 2019-12-12
- Earliest claimed: 2018-06-07
- Assignees: Tmaxsoft Co., Ltd.
- Applicants: Tmaxsoft. Co., Ltd.
- Inventors: Cliff Roh
- Web page: https://patentgrep.com/patent/US20190379758A1

## CPC

- H04L 67/1097: for distributed storage of data in networks, e.g. transport arrangements for network file system [NFS], storage area networks [SAN] or network attached storage [NAS]
- H04L 67/568: Storing data temporarily at an intermediate stage, e.g. caching
- H04L 1/1861: {Physical mapping arrangements (for ACK signaling see also H04L5/0053)}
- H04L 5/0055: {Physical resource allocation for ACK/NACK (for physical mapping arrangements in ARQ protocols H04L1/1861)}
- H04L 65/611: for multicast or broadcast (systems for broadcast or conference H04L12/18; arrangements for broadcast or distribution combined with broadcast H04H20/00; arrangements for broadcast applications with a direct linkage to broadcast information or to broadcast space-time H04H60/00; selective distribution of broadcast services, e.g. multimedia broadcast multicast service [MBMS], H04W4/06)
- H04L 2001/0093: {Point-to-multipoint}
- H04L: TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION (arrangements common to telegraphic and telephonic communication H04M)

## Abstract

A multicasting method in a distributed cache environment is provided. The multicasting method includes steps of: (a) a specific distributed cache server among a plurality of distributed cache servers in the distributed cache environment, transmitting certain messages to client nodes including at least one another distributed cache server among the plurality of distributed cache servers in the distributed cache environment through multicast and then sequentially registering, in an unacknowledged message map, UNACK messages representing messages without their corresponding ACK messages from their corresponding client nodes among the certain messages; and (b) the specific distributed cache server checking the number of the UNACK messages registered in the unacknowledged message map and, if the number reaches a first predetermined number, stopping transmission of additional messages to the client nodes through the multicast.

## Claims

### Claim 1

A multicasting method in a distributed cache environment, comprising steps of:
(a) a specific distributed cache server among a plurality of distributed cache servers in the distributed cache environment, transmitting certain messages to client nodes including at least one another distributed cache server among the plurality of distributed cache servers in the distributed cache environment through multicast and then sequentially registering, in an unacknowledged message map, UNACK messages representing messages without their corresponding ACK messages from their corresponding client nodes among the certain messages; and
(b) the specific distributed cache server checking the number of the UNACK messages registered in the unacknowledged message map and, if the number reaches a first predetermined number, stopping transmission of additional messages to the client nodes through the multicast.

### Claim 2 (depends on 1)

The method of claim 1, wherein the step of (a) includes a step of:
the specific distributed cache server, if receiving a specific ACK message from one of the client nodes, checking whether the unacknowledged message map includes a specific UNACK message corresponding to the specific ACK message among the UNACK messages and, if the unacknowledged message map is determined as including the specific UNACK message, deleting the specific UNACK message from the unacknowledged message map.

### Claim 3 (depends on 2)

The method of claim 2, wherein, at the step of (a), the specific distributed cache server deletes at least part of UNACK messages, in the unacknowledged message map, which correspond to at least part of ACK messages having a number smaller than the number of the specific ACK message corresponding to the specific UNACK message.

### Claim 4 (depends on 1)

The method of claim 1, wherein the step of (a) includes a step of:
the specific distributed cache server checking whether to retransmit each of the UNACK messages by referring to information on a time when each of the UNACK messages was transmitted and information on a current retransmission timeout (RTO) and then retransmitting at least part of the UNACK messages determined as necessary to be retransmitted.

### Claim 5 (depends on 4)

The method of claim 4, wherein the specific distributed cache server, if elapsed time from a point of the time when each of the UNACK messages was transmitted exceeds the current RTO, determines that their corresponding UNACK messages are required to be retransmitted.

### Claim 6

A multicasting method in a distributed cache environment, comprising steps of:
(a) a specific distributed cache server among a plurality of distributed cache servers in the distributed cache environment, obtaining certain messages transmitted from client nodes including at least one another distributed cache server among the plurality of distributed cache servers in the distributed cache environment through multicast and then sequentially registering ACK messages for transmitting a confirmation as to a reception of the certain messages to the client nodes in their corresponding ACK message queues and managing the registered ACK messages; and
(b) the specific distributed cache server (i) identifying each of specific ACK messages having each largest message number for each of the client nodes among ACK messages registered in each of the ACK message queues and (ii) transmitting each of the identified specific ACK messages to each of the corresponding client nodes and automatically determining that at least part of ACK messages, in each of the ACK message queues corresponding to each of the client nodes, having a message number smaller than each message number of each of the specific ACK messages have been confirmed.

### Claim 7 (depends on 6)

The method of claim 6, wherein, at the step of (b), the specific distributed cache server, when transmitting each of new messages for each of the client nodes by a piggyback scheme, allows each of the specific ACK messages to be included in each of the new messages.

### Claim 8 (depends on 6)

The method of claim 6, wherein, at the step of (b), as a result of checking each of the ACK messages, to be transmitted to a specific client node, registered in each of the ACK message queues, if a specific message number of a specific ACK message is detected as not included in a specific ACK message queue for a predetermined waiting time, the specific distributed cache server transmitting a NACK message for the specific ACK message to the specific client node.

### Claim 9 (depends on 6)

The method of claim 6, wherein, at the step of (a), as a result of checking the obtained certain messages, (i) the specific distributed cache server, if a specific message obtained from a specific client node is determined as arrived earlier than a required order of the specific message to be arrived, registering the specific message in a deferred message queue and (ii) the specific distributed cache server, if a new message is obtained from the specific client node, managing either of the specific message and the new message by referring to the required order of the specific message in the deferred message queue and a required order of the new message.

### Claim 10

A specific distributed cache server for performing multicast in a distributed cache environment, comprising:
a communication part for transmitting certain messages to client nodes including at least one another distributed cache server among the plurality of distributed cache servers in the distributed cache environment through the multicast; and
a processor for performing processes of (I) sequentially registering, in an unacknowledged message map, UNACK messages representing messages without their corresponding ACK messages from their corresponding client nodes among the certain messages; and (II) checking the number of the UNACK messages registered in the unacknowledged message map and, if the number reaches a first predetermined number, stopping transmission of additional messages to the client nodes through the multicast.

### Claim 11 (depends on 10)

The specific distributed cache server of claim 10, wherein the process of (I) includes a process of: if a specific ACK message is received from one of the client nodes, checking whether the unacknowledged message map includes a specific UNACK message corresponding to the specific ACK message among the UNACK messages and, if the unacknowledged message map is determined as including the specific UNACK message, deleting the specific UNACK message from the unacknowledged message map.

### Claim 12 (depends on 11)

The specific distributed cache server of claim 11, wherein, at the process of (I), the processor deletes at least part of UNACK messages, in the unacknowledged message map, which correspond to at least part of ACK messages having a number smaller than the number of the specific ACK message corresponding to the specific UNACK message.

### Claim 13 (depends on 10)

The specific distributed cache server of claim 10, wherein the process of (I) includes a process of: checking whether to retransmit each of the UNACK messages by referring to information on a time when each of the UNACK messages was transmitted and information on a current retransmission timeout (RTO) and then retransmitting at least part of the UNACK messages determined as necessary to be retransmitted.

### Claim 14 (depends on 13)

The specific distributed cache server of claim 13, wherein the processor, if elapsed time from a point of the time when each of the UNACK messages was transmitted exceeds the current RTO, determines that their corresponding UNACK messages are required to be retransmitted.

### Claim 15

A specific distributed cache server for performing a multicast method in a distributed cache environment, comprising:
a communication part for obtaining certain messages transmitted from client nodes including at least one another distributed cache server among the plurality of distributed cache servers in the distributed cache environment through the multicast; and
a processor for performing processes of (I) sequentially registering ACK messages for transmitting a confirmation as to a reception of the certain messages to the client nodes in their corresponding ACK message queues and managing the registered ACK messages; and (II) (i) identifying each of specific ACK messages having each largest message number for each of the client nodes among ACK messages registered in each of the ACK message queues and (ii) transmitting each of the identified specific ACK messages to each of the corresponding client nodes and automatically determining that at least part of ACK messages, in each of the ACK message queues corresponding to each of the client nodes, having a message number smaller than each message number of each of the specific ACK messages have been confirmed.

### Claim 16 (depends on 15)

The specific distributed cache server of claim 15, wherein, at the process of (II), the processor, when each of new messages for each of the client nodes is transmitted by a piggyback scheme, allows each of the specific ACK messages to be included in each of the new messages.

### Claim 17 (depends on 15)

The specific distributed cache server of claim 15, wherein, at the process of (II), as a result of checking each of the ACK messages, to be transmitted to a specific client node, registered in each of the ACK message queues, if a specific message number of a specific ACK message is detected as not included in a specific ACK message queue for a predetermined waiting time, the communication part transmits a NACK message for the specific ACK message to the specific client node.

### Claim 18 (depends on 15)

The specific distributed cache server of claim 15, wherein, at the process of (I), as a result of checking the obtained certain messages, (i) the processor, if a specific message obtained from a specific client node is determined as arrived earlier than a required order of the specific message to be arrived, registers the specific message in a deferred message queue and (ii) the processor, if a new message is obtained from the specific client node, manages either of the specific message and the new message by referring to the required order of the specific message in the deferred message queue and a required order of the new message.
