Data processing method and device for realizing cross-domain request at webpage end and related equipment

A technology for data processing and web pages, which is applied in the computer field to achieve the effects of high communication security, high security, and communication interaction.

Pending Publication Date: 2020-09-15
PING AN TECH (SHENZHEN) CO LTD
View PDF0 Cites 14 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0008] Embodiments of the present invention provide a data processing method, device, computer equipment, and storage medium for realizing cross-domain requests on the webpage, so as to solve the technical problem that the prior art cannot realize cross-domain requests under the premise of ensuring data security

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Data processing method and device for realizing cross-domain request at webpage end and related equipment
  • Data processing method and device for realizing cross-domain request at webpage end and related equipment
  • Data processing method and device for realizing cross-domain request at webpage end and related equipment

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0031] The following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are some of the embodiments of the present invention, but not all of them. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without creative efforts fall within the protection scope of the present invention.

[0032] The data processing method for implementing cross-domain requests on the webpage provided by this application can be applied in such as figure 1 An application environment in which Server A communicates with a client device and Server B over a network. Wherein, the client devices include but are not limited to various personal computers, notebook computers, smart phones, tablet computers and portable wearable devices. Server A and server B can ...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The invention discloses a data processing method and device for realizing a cross-domain request at a webpage end, computer equipment and a storage medium, is applied to the technical field of computers, and is used for improving the expansibility and safety of realizing the cross-domain request at the webpage end. The method provided by the invention comprises the steps that a service request message initiated by a client through a webpage is received through a pre-deployed proxy service, the proxy service is deployed on a server with the same domain name as the webpage, and the proxy serviceon the server receives the service request message through a pre-created exclusive channel; analyzing an address variable carried by the head of the service request message; obtaining a value of theaddress variable to obtain a target request address; forwarding the service request message to a server of a domain name pointed by the target request address through the proxy service; and when a response message returned by the server indicated by the target request address is received, sending the response message to the client by using the exclusive channel through the proxy service.

Description

technical field [0001] The present invention relates to the field of computer technology, and in particular to a data processing method, device, computer equipment and storage medium for implementing cross-domain requests on a web page. Background technique [0002] In the process of processing network data requests, based on security considerations, browsers are set with a same-origin policy, that is, non-same-origin interface requests are not allowed. When the protocol, domain name, and port number used between the requester and the server are as long as There is one difference, that is, the requester and the server are not of the same origin. For example, the front-end page whose URL is "http: / / www.baidu.com" requests a back-end interface provided by "http: / / weibo.com", for example: http: / / weibo.com / getUserInfo query Weibo User information interface, this cross-domain request is not allowed by the browser. [0003] Cross-domain requests are a real problem that almost ev...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
Patent Type & Authority Applications(China)
IPC IPC(8): G06F16/955G06F21/60G06F21/64
CPCG06F21/602G06F21/64G06F16/9566
Inventor 李清鹏
Owner PING AN TECH (SHENZHEN) CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products