Message queues for rapid re-hosting of client devices

US9313154B1 · US · B1

Patent metadata
FieldValue
Publication numberUS-9313154-B1
Application numberUS-201514668336-A
CountryUS
Kind codeB1
Filing dateMar 25, 2015
Priority dateMar 25, 2015
Publication dateApr 12, 2016
Grant dateApr 12, 2016

How to read this patent

A practical reading order for non-experts. Skip the full description unless you need deep technical detail.

  1. Title

    What the patent document calls the invention.

  2. Abstract

    A short plain-language summary of the technical disclosure.

  3. Assignees and inventors

    Who owns or filed the patent and who is credited as inventor.

  4. Key dates

    Filing, priority, publication, and grant dates set the timeline.

  5. First independent claim

    The legal scope of protection — read this for what is actually claimed.

  6. CPC / IPC classifications

    Technology tags used to group this patent with similar filings.

  7. Citations and related patents

    Prior art links and similar publications in this corpus.

Abstract

Official abstract text for this publication.

Connected gateway servers relay an electronic message from a first client device to a second client device by storing the message in respective user message queues associated with the sender and/or recipient of the message and then sending the message along a sequence of gateway servers to a gateway server that hosts the second client device. Upon receiving the electronic message at a first gateway server, a second gateway server that is hosting the second client device is identified and a sequence of gateway servers starting at the first gateway server and ending at the second gateway server is determined. Each gateway server in the sequence relays the message to the following gateway server in the sequence while maintaining user message queues. Failure of the last gateway server in the sequence results in the penultimate gateway server in the sequence assuming the responsibility of hosting the second client device.

First claim

Opening claim text (preview).

What is claimed is: 1. A method for relaying electronic messages between connected gateway servers, the method comprising: receiving an electronic message at a first gateway server of a plurality of gateway servers from a first client device associated with a sender of the electronic message; identifying a second gateway server, of the plurality of gateway servers, that is hosting a second client device that is associated with a recipient of the electronic message; determining a sequence of gateway servers, of the plurality of gateway servers, that starts at the first gateway server and ends at the second gateway server; performing by each gateway server in the sequence of the gateway servers: storing the electronic message in respective user message queues associated with at least one of the sender and the recipient of the electronic message, and sending the electronic message to a subsequent gateway server in the sequence based on the subsequent gateway server following it in the sequence; detecting that the last gateway server in the sequence is not functioning; and hosting the second client device by the penultimate gateway server in the sequence. 2. The method of claim 1 , further comprising each of the gateway servers in the sequence acknowledging receipt of the electronic message after receiving the electronic message. 3. The method of claim 2 , wherein detecting that the last gateway server in the sequence is not functioning is based on the last gateway server failing to acknowledge receipt of the electronic message. 4. The method of claim 1 , further comprising: assigning a first chain of the gateway servers in the sequence to the sender of the message, the first chain starting at the first gateway server and ending at a third gateway server of the sequence that is prior to the second gateway server; assigning a second chain of the gateway servers in the sequence to the recipient of the message, the second chain starting at the gateway server of the sequence that follows the third gateway server in the sequence and ending at the second gateway server; and storing the electronic message in user message queues associated with the sender in the gateway servers of the first chain and storing the electronic message in user message queues associated with the recipient in the gateway servers of the second chain. 5. The method of claim 1 , further comprising deleting the electronic message from the respective user message queues of each of the gateway servers in the sequence based on detection of a triggering event. 6. The method of claim 5 , wherein the triggering event comprises the electronic message being received at the second client device or a response to the electronic message being sent from the second client device. 7. The method of claim 5 , further comprising: each gateway server in the sequence removing the electronic message from their respective user message queues based on expiration of a specified time period; storing a copy of the electronic message in an external storage based on expiration of the specified time period; and deleting the electronic message from the external storage based on detection of the triggering event. 8. A system comprising: a plurality of gateway servers connected via a network, each of the plurality of gateway servers configured to relay an electronic message by: storing the electronic message in respective user message queues associated with at least one of a sender and a recipient of the electronic message; and sending the electronic message to another gateway server of the plurality of gateway servers; and a message module implemented by at least one processor and configured to: detect that the electronic message, sent from a first client device associated with the sender, has been received at a first gateway server of the plurality of gateway servers; identify a second gateway server, of the plurality of gateway servers, that is hosting a second client device that is associated the recipient of the electronic message; determine a sequence of gateway servers that starts at the first gateway server and ends at the second gateway server; instruct each of the gateway servers in the sequence to relay the electronic message to a subsequent gateway server in the sequence based on the subsequent gateway server following it in the sequence; detect that the last gateway server in the sequence is not functioning; and instruct the penultimate gateway server in the sequence to host the second client device. 9. The system of claim 8 , wherein each of the gateway servers is further configured to acknowledge receipt of the electronic message after storing the electronic message. 10. The system of claim 9 , wherein the message module is further configured to detect that the last gateway server in the sequence is not functioning based on the last gateway server failing to acknowledge receipt of the electronic message. 11. The system of claim 8 , wherein the message module is further configured to: assign a first chain of the gateway servers in the sequence to the sender of the message, the first chain starting at the first gateway server and ending at a third gateway server of the sequence that is prior to the second gateway server; assign a second chain of the gateway servers in the sequence to the recipient of the message, the second chain starting at the gateway server of the sequence that follows the third gateway server in the sequence and ending at the second gateway server; and store the electronic message in user message queues associated with the sender in the gateway servers of the first chain and store the electronic message in user message queues associated with the recipient in the gateway servers of the second chain. 12. The system of claim 8 , wherein the message module is further configured to instruct each gateway server in the sequence to delete the electronic message from their respective user message queues based on detection of a triggering event. 13. The system of claim 12 , wherein the triggering event comprises the electronic message being received at the second client device or a response to the electronic message being sent from the second client device. 14. The system of claim 12 , wherein the message module is further configured to: instruct each gateway server in the sequence to remove the first electronic message from their respective user message queues based on expiration of a specified time period; store a copy of the first electronic message in an external storage based on expiration of the specified time period; and instruct the external storage to delete the first electronic message based on detection of the triggering event. 15. A non-transitory computer-readable medium storing program code which, when executed, is operative to cause a computing device to perform the steps of: receiving an electronic message at a first gateway server of a plurality of gateway servers from a first client device associated with a sender of the electronic message; identifying a second gateway server, of the plurality of gateway servers, that is hosting a second client device that is associated with a recipient of the electronic message; determining a sequence of gateway servers, of the plurality of gateway servers, that starts at the first gateway server and ends at the second gateway server; performing by each of the gateway servers in the sequence: storing the electronic message in respective user message queues associated with the sender and the recipient of the electronic message, and sending the electronic message to a

Assignees

Inventors

Classifications

  • Alternate routing · CPC title

  • for tracking messages · CPC title

  • H04L45/306Primary

    Route determination based on the nature of the carried application · CPC title

  • Protocols for interworking; Protocol conversion · CPC title

  • using route fault recovery · CPC title

Patent family

Related publications grouped by family.

External sources

Frequently asked questions

Answers are generated from the same data shown on this page.

What does patent US9313154B1 cover?
Connected gateway servers relay an electronic message from a first client device to a second client device by storing the message in respective user message queues associated with the sender and/or recipient of the message and then sending the message along a sequence of gateway servers to a gateway server that hosts the second client device. Upon receiving the electronic message at a first gat…
Who is the assignee on this patent?
Snapchat Inc
What technology area does this patent fall under?
Primary CPC classification H04L45/306. Mapped technology areas include Electricity.
When was this patent published?
Publication date Tue Apr 12 2016 00:00:00 GMT+0000 (Coordinated Universal Time) (B1). Legal status and post-grant events are not shown on this page.
What related patents are in patentsdb?
We list 1 related publication on this page (citations in our corpus or others sharing the same primary CPC).