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

Page request processing method, device and electronic equipment

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

Active Publication Date: 2022-06-03
ALIBABA GRP HLDG LTD
View PDF9 Cites 0 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, device and electronic equipment
  • Page request processing method, device and electronic equipment
  • Page request processing method, device and electronic equipment

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0059] Based on the above scheme idea of ​​page request processing, such as image 3 shown, it is the flow of the page request processing method shown in the embodiment of the present invention Figure 1 , this method can be figure 2 The requesting end 210 shown in the execution is completed. like image 3 As shown, the page request processing method includes the following steps:

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

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

[0062] S320, combine multiple page requests to generate a combined page request.

[0063] The traditional method of sending a page request from a business processing page to the server of the target address is t...

Embodiment 2

[0090] Based on the above scheme idea of ​​page request processing, such as Image 6 shown, it is the flow of the page request processing method shown in the embodiment of the present invention Figure 3 , this method can be figure 2 The execution of the server 220 shown in is completed. like Image 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 service processing page.

[0092] Usually, when a business processing page in a browser sends a page request to the target address, the page request is sent through the postMessage API. Therefore, the server can intercept the page requests to be sent to the target address by monitoring the postMessage API, and then make these page requests. Do merge processing to generate merge page requests. The server of the target address corresponding to the...

Embodiment 3

[0121] like Figure 8 As shown, it is the structure of the page request processing apparatus according to the embodiment of the present invention Figure 1 , the page request processing device can be set in figure 2 The requester 210 in the shown page request processing system is used to execute the image 3 The method steps shown include:

[0122]a page request obtaining module 810, configured to obtain multiple page requests to the target address initiated from the business processing page in the browser;

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

[0124] a page request sending module 830, configured to send the merged page request to the server of the target address;

[0125] The request result receiving module 840 is configured to receive the request result information respectively sent by the server for each page request in the combined page request. The page request generates a correspo...

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

Embodiments of the present invention provide a page request processing method, device, and electronic equipment, wherein the method includes: obtaining multiple page requests from the business processing page to the target address in the browser; combining multiple page requests to generate a combined Page request; send the merged page request to the server of the target address; receive the request result information sent by the server for each page request in the merged page request, and the server is used to concurrently process each page request in the merged page request Finally, generate a corresponding request result information for each page request, and send it to the requesting end after any request result information is generated. According to the solution of the embodiment of the present invention, after receiving the combined page request sent by the requesting end, the server performs parallel processing on each page request and sends the generated request result information to the requesting end respectively, so as to ensure that there is a gap between page requests. Not dependent on each other during processing.

Description

technical field [0001] The present application relates to the field of communication technologies, and in particular, to a page request processing method, apparatus, and electronic device. Background technique [0002] In the business of browser page request, when the front-end page is initialized, it needs to send a large number of requests to the back-end to obtain the data required by the page. If this data is not available, some blocks on the page cannot be rendered, so the speed at which the data is obtained determines the speed at which the page is rendered. In a 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 creates 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 the merged requests to slow do...

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 Patents(China)
IPC IPC(8): H04L67/02H04L9/40H04L69/16H04L67/565
CPCH04L67/02H04L63/0807H04L69/162H04L67/565
Inventor 吕翔
Owner ALIBABA GRP HLDG LTD