首页> 外国专利> Method and system for realizing rest interface of cloud cache in Nginx

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

机译:Nginx中实现云缓存剩余接口的方法及系统

摘要

The present invention provides a method for realizing a REST (Representational State Transfer) interface of a cloud cache in an Nginx. The method includes: receiving a Hyper Text Transport Protocol (HTTP) message transmitted from a client, and parsing out key information and an operation type corresponding to the HTTP message according to a preset configuration file; converting the key information and the operation type into a parameter required by a cloud cache operation and a cloud cache operation type, and transmitting 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; receiving a cloud cache operation result returned by the cloud cache apparatus, processing the cloud cache operation result, and returning the processed result to the client. The present invention also provides a corresponding system. The present invention enables a larger cache capacity and better saves CPU resources, thereby enabling a more powerful cache function of the Nginx.
机译:本发明提供了一种用于在Nginx中实现云缓存的REST(代表性状态转移)接口的方法。该方法包括:接收从客户端发送的超文本传输​​协议消息,并根据预设的配置文件解析出该HTTP消息对应的密钥信息和操作类型;将密钥信息和操作类型转换为云缓存操作和云缓存操作类型所需的参数,并将该参数发送给云缓存设备,以便云缓存设备根据该参数进行云缓存操作;云缓存操作类型;接收云缓存设备返回的云缓存操作结果,处理云缓存操作结果,并将处理后的结果返回给客户端。本发明还提供了一种相应的系统。本发明实现了更大的缓存容量并更好地节省了CPU资源,从而实现了Nginx的更强大的缓存功能。

著录项

  • 公开/公告号US9332085B2

    专利类型

  • 公开/公告日2016-05-03

    原文格式PDF

  • 申请/专利权人 ZHONGLIANG LI;

    申请/专利号US201214241689

  • 发明设计人 ZHONGLIANG LI;

    申请日2012-04-23

  • 分类号G06F15/167;H04L29/08;H04L29/06;

  • 国家 US

  • 入库时间 2022-08-21 14:29:00

相似文献

  • 专利
  • 外文文献
  • 中文文献
获取专利

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号