Unlock instant, AI-driven research and patent intelligence for your innovation.
Browser request processing method and system
What is Al technical title?
Al technical title is built by PatSnap Al team. It summarizes the technical point description of the patent document.
A request processing and browser technology, applied in the Internet field, can solve problems such as resource waste and inability to process requests, and achieve the effect of preventing inability to process
Active Publication Date: 2020-01-31
FUJIAN TIANQUAN EDUCATION TECH LTD
View PDF1 Cites 0 Cited by
Summary
Abstract
Description
Claims
Application Information
AI Technical Summary
This helps you quickly interpret patents by identifying the three key elements:
Problems solved by technology
Method used
Benefits of technology
Problems solved by technology
However, when the original thread, the idle thread, and the second server are all occupied by slow-response requests, new requests cannot be processed and a lot of resources are wasted
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
Click on the blue label to locate the original text in one second.
Reading with bidirectional positioning of images and text.
Smart Image
Examples
Experimental program
Comparison scheme
Effect test
Embodiment 1
[0069] Please refer to image 3 , Embodiment 1 of the present invention is:
[0070] A browser request processing method, comprising:
[0071] The server traverses the request log records to obtain the processing time of historical requests;
[0072] The server marks a request whose processing time exceeds a preset time among historical requests as a slow request; the preset time is 0.1 second to 1 second;
[0073] The browser establishes a first session identifier and a second session identifier;
[0074] The server allocates a first thread to the first session ID, and allocates a second thread to the second session ID;
[0075] The browser sends the requested address to the server;
[0076] The server judges whether the request is a slow request according to the address, and returns the judgment result to the browser;
[0077] If the request is not a slow request, then the browser uses the first identifier as the SessionId value in the Cookie of the request, and sends t...
Embodiment 2
[0086] Please refer to figure 2 , the second embodiment of the present invention is:
[0087] A system for applying the above-mentioned browser request processing method, comprising: a server 100 and a browser 200, the server 100 including a traversal module 15, a marking module 11, an allocation module 12, a judging module 13 and a calling module 14, the browser 200 includes a creation module 21, a first sending module 22 and a second sending module 23;
[0088] The traversal module 15 is used to traverse request log records to obtain the processing time of historical requests;
[0089] The marking module 11 is used to mark a request whose processing time exceeds a preset time in historical requests as a slow request; the preset time is 0.1 second to 1 second;
[0090] The creation module 21 is used to establish a first session identifier and a second session identifier;
[0091] The allocation module 12 is configured to allocate a first thread for the first session ID, a...
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
Login to View More
Abstract
The invention provides a browser request processing method and system, comprising: a server marking a request whose processing time exceeds a preset time in a historical request as a slow request; the browser establishing a first session identifier and a second session identifier; A session identifier is assigned a first thread, and a second session identifier is assigned a second thread; the browser sends the requested address to the server; the server determines whether the request is a slow request according to the address, and returns the determination result to the browser ; If the request is not a slow request, the browser adds the first session identifier to the request header of the request, and sends the request to the server; if the request is a slow request, the browser adds the second session Identifies the request header added to the request, and sends the request to the server; the server invokes the first thread to process the request that the server determines is not a slow request, and invokes the second thread to process the request that the server determines to be a slow request.
Description
technical field [0001] The invention relates to the technical field of the Internet, in particular to a browser request processing method and system. Background technique [0002] At present, in the process of computer request processing, in order to prevent excessive consumption of resources, Web sites generally use session identifiers for identification so as to allocate only one thread to each user at the same time. In this way, if the thread takes too long to process a task, it will cause the processing of other tasks to be unable to continue, and it is necessary to wait for the end of the task before proceeding with the next operation, and some tasks that can actually be processed quickly will also be due to this. task and cannot be processed. [0003] The Chinese patent with the publication number CN 104618493 A proposes a method for processing data requests, including: assigning requests for data acquisition to threads, and opening the threads to process the requests...
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
Application Date:The date an application was filed.
Publication Date:The date a patent or application was officially published.
First Publication Date:The earliest publication date of a patent with the same application number.
Issue Date:Publication date of the patent grant document.
PCT Entry Date:The Entry date of PCT National Phase.
Estimated Expiry Date:The statutory expiry date of a patent right according to the Patent Law, and it is the longest term of protection that the patent right can achieve without the termination of the patent right due to other reasons(Term extension factor has been taken into account ).
Invalid Date:Actual expiry date is based on effective date or publication date of legal transaction data of invalid patent.