首页> 外国专利> METHOD AND APPARATUS FOR ACCELERATING DYNAMIC RESOURCE ACCESS BASED ON API REQUEST, MEDIUM, AND DEVICE

METHOD AND APPARATUS FOR ACCELERATING DYNAMIC RESOURCE ACCESS BASED ON API REQUEST, MEDIUM, AND DEVICE

机译:基于API请求,介质和设备的动态资源访问加速方法和装置

摘要

Disclosed are a method and apparatus for accelerating dynamic resource access based on an API request, a medium, and a device. The method comprises: receiving an application programming interface (API) request; extracting a request target for a target website from the API request; when it is determined that a request result corresponding to the request target is stored and a time length in which the request result is stored is less than or equal to a preset time length, extracting the stored request result, and sending the request result to a sender of the API request; and presetting a value indicating a preset time length ranging from 1 millisecond to 1000 milliseconds. In the present invention, dynamic resource access based on an API request can be effectively accelerated, and the present invention is especially applicable to a recommended hot application and a hot breaking news event, and accordingly, the response speed for an API request of a user can be effectively improved, and user experience improved. In addition, by means of accurate cache control, the user is prevented from seeing stale data, a burst traffic is handled, and the service capability of a back end can be improved in a case in which resources of the back end are not expanded.
机译:公开了一种用于基于API请求来加速动态资源访问的方法和装置,介质和设备。该方法包括:接收应用程序编程接口(API)请求;从API请求中提取目标网站的请求目标;当确定存储了与请求目标相对应的请求结果,并且存储请求结果的时间长度小于或等于预设时间时,提取存储的请求结果,并将请求结果发送至API请求的发送者;预设一个表示预设时间长度的值,范围为1毫秒至1000毫秒。在本发明中,可以有效地加速基于API请求的动态资源访问,并且本发明尤其适用于推荐的热点应用和突发新闻事件,从而可以提高用户对API请求的响应速度。可以有效地改善用户体验。另外,通过精确的缓存控制,可以防止用户看到过时的数据,处理突发流量,并且在不扩展后端资源的情况下可以提高后端的服务能力。

著录项

  • 公开/公告号WO2018153236A1

    专利类型

  • 公开/公告日2018-08-30

    原文格式PDF

  • 申请/专利权人 GUIZHOU BAISHANCLOUD TECHNOLOGY CO. LTD.;

    申请/专利号WO2018CN75252

  • 发明设计人 CONG LEI;

    申请日2018-02-05

  • 分类号H04L12/24;

  • 国家 WO

  • 入库时间 2022-08-21 12:42:57

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号