Asynchronous request processing method and device

An asynchronous request and processing method technology, applied in the computer field, can solve problems such as the page cannot respond to normal requests, cannot be effectively resolved, and the browser crashes

Pending Publication Date: 2020-10-16
XIAMEN MEIYA PICO INFORMATION +1
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

If some asynchronous requests are very time-consuming, it will cause the page to fail to respond to other normal requests, and even cause the browser to crash
[0004] Conventional

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
  • Asynchronous request processing method and device
  • Asynchronous request processing method and device
  • Asynchronous request processing method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0024] The application will be further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described here are only used to explain related inventions, rather than to limit the invention. It should also be noted that, for the convenience of description, only the parts related to the related invention are shown in the drawings.

[0025] It should be noted that, in the case of no conflict, the embodiments in the present application and the features in the embodiments can be combined with each other. The present application will be described in detail below with reference to the accompanying drawings and embodiments.

[0026] figure 1 An exemplary system architecture 100 to which the asynchronous request processing method of the embodiment of the present application can be applied is shown.

[0027] Such as figure 1 As shown, the system architecture 100 may include a terminal device 101 ...

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 discloses an asynchronous request processing method and device. One specific embodiment of the method comprises the following steps: receiving at least one asynchronousrequest message generated by a current page; storing the at least one part of asynchronous request information into a preset memory queue pool; executing the following request extraction steps: sequentially extracting asynchronous request information from a memory queue pool, and executing the extracted asynchronous request information through a browser; determining whether the browser meets a request ending condition or not after executing the extracted asynchronous request information; if yes, ending the request for the current page; and if not, continuing to execute the request extractionstep based on the asynchronous request information which is not extracted in the memory queue pool. According to the embodiment, when large-scale asynchronous request information exists, the phenomenon that a browser is falsely dead or crashed due to the fact that a large amount of asynchronous request information appears at the same time in a short time is avoided.

Description

technical field [0001] The embodiments of the present application relate to the field of computer technology, and in particular to a method and an apparatus for processing an asynchronous request. Background technique [0002] With the maturity and development of the B / S architecture, more and more enterprise applications, government websites, industry websites, personal websites, etc. are carried on various browsers for interaction and display. In order to further improve the display effect based on browser interaction, the browser's asynchronous data loading technology (ajax request) is popularized and used on a large scale. This technology well solves the problem of optimizing the display of on-demand delayed request / load data after fetching the page. With the continuous increase in the display scale of asynchronous data categories on a single page, the number of asynchronous requests on a page ranges from a few to tens, hundreds or even thousands. [0003] For the asyn...

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
IPC IPC(8): G06F16/957G06F9/48
CPCG06F16/957G06F9/4881G06F2209/5021G06F2209/5011
Inventor 魏超吴鸿伟叶立震毕永辉翟永强鄢小征
Owner XIAMEN MEIYA PICO INFORMATION
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