首页> 外国专利> INTERFACE CALL RECORDING METHOD, APPARATUS, DEVICE, AND STORAGE MEDIUM BASED ON DJANGO FRAMEWORK

INTERFACE CALL RECORDING METHOD, APPARATUS, DEVICE, AND STORAGE MEDIUM BASED ON DJANGO FRAMEWORK

机译:基于DJANGO框架的界面呼叫记录方法,装置,设备和存储介质

摘要

Provided is an interface call recording method based on the Django framework, comprising the following steps: detecting whether there currently exists a start signal of an interface call request initiated by a front end (S110); if the start signal of said interface call request currently exists, then triggering a custom middleware to create a custom thread shared variable to record the request information carried in the interface call request (S120); detecting whether there currently exists an end signal or an abnormal signal of the interface call request (S130); if an end signal or abnormal signal of the interface call request currently exists, then obtaining the request information recorded by the thread shared variable and saving it to a preset database (S140). The method allows the back end to directly obtain the request information of the interface call, improving the convenience of interface call recording.
机译:提供一种基于Django框架的接口调用记录方法,包括以下步骤:检测当前是否存在前端发起的接口调用请求的开始信号(S110);如果当前存在所述接口调用请求的启动信号,则触发定制中间件创建定制线程共享变量,以记录所述接口调用请求中携带的请求信息(S120);检测当前是否存在接口呼叫请求的结束信号或异常信号(S130);如果当前存在接口调用请求的结束信号或异常信号,则获取线程共享变量记录的请求信息,并将其保存到预设数据库中(S140)。该方法使后端可以直接获取接口呼叫的请求信息,提高了接口呼叫记录的便利性。

著录项

  • 公开/公告号WO2020199469A1

    专利类型

  • 公开/公告日2020-10-08

    原文格式PDF

  • 申请/专利权人 PING AN TECHNOLOGY (SHENZHEN) CO. LTD.;

    申请/专利号WO2019CN102218

  • 发明设计人 GUAN QI;

    申请日2019-08-23

  • 分类号G06F9/54;

  • 国家 WO

  • 入库时间 2022-08-21 11:09:11

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号