Unlock instant, AI-driven research and patent intelligence for your innovation.

Page request processing method and device and electronic equipment

A technology of page request and processing method, which is applied in the field of communication, and can solve problems such as errors, potential safety hazards, and slow requests

Active Publication Date: 2020-06-16
ALIBABA GRP HLDG LTD
View PDF10 Cites 4 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] If there is a problem with one of the requests when the server is processing the merged requests, it may cause all merged requests to slow down or make errors; in addition, in the business scenario of request merges, if a malicious user constructs a request to do cross-site request forgery (Cross-site request forgery, CSRF) attacks, there may be major security risks

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
  • Page request processing method and device and electronic equipment
  • Page request processing method and device and electronic equipment
  • Page request processing method and device and electronic equipment

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0059] Based on the solution idea of ​​the above page request processing, such as image 3 As shown, it is the flow of the page request processing method shown in the embodiment of the present invention Figure 1 , which can be accessed via figure 2 The execution of the requester 210 shown in is completed. Such as image 3 As shown, the page request processing method includes the following steps:

[0060] S310. Obtain multiple page requests from the service processing page to the target address in the browser.

[0061] Usually, when the business processing page in the browser sends a page request to the target address, it sends the page request through the postMessage API. Therefore, the above-mentioned page request can be intercepted by listening to the postMessage API.

[0062] S320. Merge multiple page requests to generate a merged page request.

[0063] The traditional way of sending a page request from a business processing page to a server at a target address is to...

Embodiment 2

[0090] Based on the solution idea of ​​the above page request processing, such as Figure 6 As shown, it is the flow of the page request processing method shown in the embodiment of the present invention Figure three , which can be accessed via figure 2 The execution of the server 220 shown in is completed. Such as Figure 6 As shown, the page request processing method includes the following steps:

[0091] S610. Receive a combined page request sent by the requesting end, where the combined page request includes multiple page requests initiated from the business processing page.

[0092] Usually, when the business processing page in the browser sends a page request to the target address, it sends the page request through the postMessage API. Therefore, the server can intercept and obtain the page requests to be sent to the target address by listening to the postMessage API, and then request these pages Perform merge processing to generate a merge page request. The serve...

Embodiment 3

[0121] Such as Figure 8 Shown is the structure of the page request processing device in the embodiment of the present invention Figure 1 , the page request handler can be set in figure 2 The request end 210 in the page request processing system shown is used to execute such as image 3 Shown method step, it comprises:

[0122]A page request acquisition module 810, configured to acquire multiple page requests initiated from the business processing page to the target address in the browser;

[0123] A page request merging module 820, configured to combine multiple page requests to generate a merged page request;

[0124] A page request sending module 830, configured to send the combined page request to the server at the target address;

[0125] The request result receiving module 840 is configured to receive the request result information sent by the server for each page request in the merged page request, and the server is configured to perform concurrent processing on e...

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 embodiment of the invention provides a page request processing method and device and electronic equipment, and the method comprises the steps: obtaining a plurality of page requests initiated froma business processing page to a target address in a browser; combining the plurality of page requests to generate a combined page request; sending the combined page request to a server of a target address; receiving request result information sent by the server for each page request in the combined page request, wherein the server is used for generating a piece of corresponding request result information for each page request after concurrent processing is carried out on each page request in the combined page request, and sending the request result information to the request end after any piece of request result information is generated. According to the scheme of the embodiment of the invention, after the server receives the combined page request sent by the request end, the server performs parallel processing on the page requests and sends the generated request result information to the request end respectively, so the page requests do not depend on each other in the processing process.

Description

technical field [0001] The present application relates to the technical field of communication, and in particular to a page request processing method, device and electronic equipment. Background technique [0002] In the browser page request business, the front-end page needs to send a large number of requests to the back-end during initialization to obtain the data required by the page. If the data cannot be obtained, some blocks on the page cannot be rendered. Therefore, the speed of obtaining data determines the speed of page rendering. In the browser, the number of simultaneous requests to a domain name is limited. In order to speed up the request process, in the prior art, these requests are combined and sent to the server at one time. However, this approach brings the following new problems: [0003] If there is a problem with one of the requests when the server is processing the merged requests, it may cause all merged requests to slow down or make errors; in additi...

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): H04L29/08H04L29/06
CPCH04L67/02H04L63/0807H04L69/162H04L67/565
Inventor 吕翔
Owner ALIBABA GRP HLDG LTD