×

Method and system for realizing rest interface of cloud cache in Nginx

  • US 9,332,085 B2
  • Filed: 04/23/2012
  • Issued: 05/03/2016
  • Est. Priority Date: 09/26/2011
  • Status: Active Grant
First Claim
Patent Images

1. A method for realizing a Representational State Transfer (REST) interface of a cloud cache in an Engine x (Nginx), comprising:

  • receiving, by a cache plugin, a Hyper Text Transport Protocol (HTTP) message transmitted from a client, and parsing, by the cache plugin, out key information and an operation type corresponding to the HTTP message according to a preset configuration file;

    converting, by the cache plugin, the key information and the operation type into a parameter required by a cloud cache operation and a cloud cache operation type, and transmitting, by the cache plugin, the parameter to a cloud cache apparatus, so that the cloud cache apparatus performs the cloud cache operation according to the parameter and the cloud cache operation type; and

    receiving, by the cache plugin, a cloud cache operation result returned by the cloud cache apparatus, processing the cloud cache operation result, and returning, by the cloud cache apparatus, the processed result to the client.

View all claims
  • 1 Assignment
Timeline View
Assignment View
    ×
    ×