Greedy asynchronous JavaScript and XML (AJAX) request fast response scheduling algorithm
A scheduling algorithm and request-response technology, applied in the field of web applications, can solve the problem that user requests cannot be processed or blocked, and achieve the effect of avoiding AJAX request timeouts
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment Construction
[0014] Below in conjunction with specific embodiment, further illustrate the present invention, should be understood that these embodiments are only used to illustrate the present invention and are not intended to limit the scope of the present invention, after having read the present invention, those skilled in the art will understand various equivalent forms of the present invention All modifications fall within the scope defined by the appended claims of the present application.
[0015] Such as figure 1 As shown, the design uses three arrays to represent three request queues, which are A1{a11,a12,a13...a1n}, A2{a21,a22,a23...a2n}, A3{a31,a32,a33...a3n}, where A1, A2, and A3 represent AJAX requests of three request time levels, among which A1 is the longest, A2 is the longest, and A3 is the shortest. B1{b11,b12,b13...b1n}, B2{b21,b22,b23...b2n} are response queues, these two response queues can respond concurrently, and this response queue sends AJAX requests to the server...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 