首页> 外国专利> DATA PROCESSING METHOD AND APPARATUS FOR IMPLEMENTING CROSS-DOMAIN REQUEST AT WEBPAGE END, AND RELATED DEVICE

DATA PROCESSING METHOD AND APPARATUS FOR IMPLEMENTING CROSS-DOMAIN REQUEST AT WEBPAGE END, AND RELATED DEVICE

机译:用于在网页端实现跨域请求的数据处理方法和装置,以及相关设备

摘要

The present application is applied to the technical field of computers, and disclosed are a data processing method and apparatus for implementing a cross-domain request at a webpage end, a computer device, and a storage medium, for use in improving the expansibility and security of implementing the cross-domain request at the webpage end. The method provided by the present application comprises: receiving, by means of a pre-deployed proxy service, a service request message initiated by a client by means of a webpage, the proxy service being deployed on a server having a same domain name as the webpage, and the proxy service on the server receiving the service request message by means of a pre-created dedicated channel; analyzing an address variable carried by the header of the service request message; obtaining a value of the address variable to obtain a target request address; forwarding, by means of the proxy service, the service request message to a server of a domain name indicated by the target request address; and when a response message returned by the server indicated by the target request address is received, sending, by means of the proxy service, the response message to the client by means of the dedicated channel.
机译:本申请应用于计算机的技术领域,并且公开了用于在网页端,计算机设备和存储介质处实现跨域请求的数据处理方法和装置,以用于提高可扩展性和安全性在网页端实现跨域请求。由本申请提供的方法包括:借助于预部署的代理服务接收由客户端发起的服务请求消息,该服务请求消息由网页展开,代理服务部署在具有相同域名的服务器上网页以及服务器上的代理服务通过预先创建的专用频道接收服务请求消息;分析服务请求消息的标题携带的地址变量;获取地址变量的值以获取目标请求地址;通过代理服务转发服务请求消息到目标请求地址指示的域名的服务器;并且当由目标请求地址所指示的服务器返回的响应消息时,借助于代理服务通过专用信道向客户端发送响应消息。

著录项

  • 公开/公告号WO2021218018A1

    专利类型

  • 公开/公告日2021-11-04

    原文格式PDF

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

    申请/专利号WO2020CN118003

  • 发明设计人 LI QINGPENG;

    申请日2020-09-27

  • 分类号G06F16/955;

  • 国家 CN

  • 入库时间 2022-08-24 22:07:19

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号