Network request processing method and system, and network service providing device

A network request and processing method technology, applied in transmission systems, electrical components, etc., can solve problems such as occupancy, memory consumption, and thread scheduling consumption affecting the performance of background servers

Active Publication Date: 2013-02-13
ALIBABA GRP HLDG LTD
View PDF5 Cites 27 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0009] The prior art can reduce the response time of the network request and improve the user experience through the asynchronous loading process of the foreground HTML page. However, when the browser initiates a network request to the server, it will initiate an HTTP (HyperText Transfer Protocol) call. Since each block on the page will initiate a network request, when there are many blocks on the page, multiple HTTP calls will be initiated
[0010] Each HTTP call will initiate a TCP (Transmission Control Protocol, Transmission Control Protocol) link with the server, and the background server will allocate a thread for each HTTP call, and each thread will take up a certain amount of the system (for example: 2MB). ) memory; like this, in the case of a large number of threads, the scheduling of the operating system will cause a large number of context switches and frequent interrupt responses, and the memory consumption and thread scheduling consumption will seriously affect the performance of the background server

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
  • Network request processing method and system, and network service providing device
  • Network request processing method and system, and network service providing device
  • Network request processing method and system, and network service providing device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0085] In order to make the above objects, features and advantages of the present application more obvious and comprehensible, the present application will be further described in detail below in conjunction with the accompanying drawings and specific implementation methods.

[0086] In order to achieve the purpose of reducing the response time of network requests and improving user-friendliness, existing technologies usually improve the foreground technology, which is also the inertial thinking of those skilled in the art. For example, in the prior art, the above-mentioned purpose can be achieved through the asynchronous loading process of the foreground HTML page. However, since Ajax processing must be serial processing, the next page block can only be loaded after loading a page block, so each block on the page requires the browser client to initiate a network request to the web server. In this way, when there are many page blocks, multiple HTTP calls corresponding to multi...

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 provides a network request processing method, a network request processing system and a network service providing device. The network request processing method comprises the following steps of: receiving a network request which is submitted by a browser client; initializing a corresponding motion object according to the network request; when proxy service is called, consigning a call request to corresponding called service, submitting the called service to a thread pool, and loading the called service by a multi-thread pool; when certain proxy service submits the corresponding called service to the thread pool, generating a proxy return object which corresponds to the proxy service; when the proxy return object is called, checking whether loading of the corresponding called service in the thread pool is finished; and processing by a network server according to loading results of all pieces of proxy service to obtain corresponding webpage code results, and returning the webpage code results to the browser client at one time. By the invention, the response time of the network request can be greatly shortened.

Description

technical field [0001] The present application relates to the technical field of network request processing, in particular to a network request processing method and system, and a network service providing device. Background technique [0002] Existing business systems are often flooded with the processing of a large number of network requests. For example, every web service provider hopes that their website has a wide user base and can serve as many users as possible at the same time. Especially websites that provide online transaction processing, such as banking websites, online shopping websites, etc. For these websites, the more users online at the same time, the more transactions they can handle, and the more profitable the network service provider can get. [0003] However, when the number of network requests reaches a certain level, such as a more complex e-commerce website page, in the performance analysis, it is found that 90% of the time in the background code ex...

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/08
Inventor 楼江航
Owner ALIBABA GRP HLDG LTD
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