Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Page concurrent request-based processing method and device

A processing method and page technology, applied in the Internet field, can solve the problems of inability to respond quickly to the user interface, slowness, and difficult code maintenance.

Pending Publication Date: 2018-05-25
BEIJING GRIDSUM TECH CO LTD
View PDF5 Cites 3 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, after combining multiple AJAX requests into one request, the data contained in the AJAX request must be very large, which cannot solve the problem of slow request feedback data, and cannot respond to the user interface at the fastest speed
In addition, this method will have an adverse effect on the division of back-end code functions, making the back-end interface functions have multiple responsibilities, and the code becomes difficult to maintain when requirements change

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 concurrent request-based processing method and device
  • Page concurrent request-based processing method and device
  • Page concurrent request-based processing method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0045] Exemplary embodiments of the present invention will be described in more detail below with reference to the accompanying drawings. Although exemplary embodiments of the present invention are shown in the drawings, it should be understood that the invention may be embodied in various forms and should not be limited to the embodiments set forth herein. Rather, these embodiments are provided for more thorough understanding of the present invention and to fully convey the scope of the present invention to those skilled in the art.

[0046] The embodiment of the present invention provides a processing method based on concurrent page requests, such as figure 1 As shown, the method is applied to a page with a large number of concurrent data requests to increase the update rate of data in the page. For this, the embodiment of the present invention provides the following specific steps:

[0047] 101. Set the maximum number of concurrent page data requests.

[0048] Generally, ...

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 page concurrent request-based processing method and device, relates to the technical field of internet, and mainly aims at controlling a concurrent quantity of page data requests and processing the page data requests according to sequences of priorities. The method comprises the following steps of: setting a maximum concurrent quantity of page data requests; judging whether the quantity of the currently processed page data request achieves the maximum concurrent quantity or not; if the judging result is positive, storing a to-be-processed page data request to a request sorting set, wherein page data requests in the request sorting set are sorted according to preset priorities; and if the judging result is negative, extracting the page data requests with high priorities from the request sorting set so as to carry out processing. The method and device are mainly used for processing concurrent requests in pages.

Description

technical field [0001] The invention relates to the technical field of the Internet, in particular to a processing method and device based on concurrent page requests. Background technique [0002] AJAX (Asynchronous JavaScript and XML, Asynchronous Javascript And XML) refers to a web development technology for creating interactive web applications. The AJAX request refers to using the XMLHttpRequest object provided by the browser to obtain data from the background. At present, in the development of the front-end page, the data is obtained from the background by using AJAX request, and then displayed on the page, so that the page can be partially refreshed to achieve a good interactive effect. [0003] When developing a page, it is usually divided into multiple functional blocks according to the various business functions of the page for development, and each functional block independently obtains data from the background through AJAX requests and displays it. When the com...

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): G06F17/30
CPCG06F16/9574
Inventor 周建涛
Owner BEIJING GRIDSUM TECH CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products