Unlock instant, AI-driven research and patent intelligence for your innovation.

A client request control method and device

A technology of client request and control method, applied in the Internet field, can solve the problems of high data update frequency, waste of server resources, and the client's failure to return, achieving the effect of high data update frequency and saving server resources.

Active Publication Date: 2018-07-27
TENCENT TECH (BEIJING) CO LTD
View PDF3 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] 1) The timing request scheme is adopted, because the client usually sends a request to the server according to the fixed time interval indicated by the server or each fixed time point indicated by the server, and the fixed time interval indicated by the server or each fixed time point does not follow the server Therefore, during the peak period of client requests, a large number of clients send requests to the server, and the server may receive requests exceeding the maximum safe load, which will cause an avalanche effect and lead to a decrease in system throughput , so that the server cannot normally return the data requested by the client; and during the trough period of client requests, only a small number of clients send requests to the server, and a large number of resources on the server are idle, but the client cannot send requests to the server at a higher frequency. The server sends requests to increase the data update frequency, but the bandwidth and server utilization are not sufficient, which not only wastes server resources, but also the client cannot obtain higher data update frequency
[0005] 2) The simple feedback scheme is adopted, because the server evaluates how to provide services for the client according to the state of the server, such as the current load situation, and may or may not return data to the client. Therefore, the simple feedback method When the server load is high and client requests peak, it is easy to cause some clients to return without success many times; while in the client request trough period, the utilization of bandwidth and server is also very insufficient, wasting server resources

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
  • A client request control method and device
  • A client request control method and device
  • A client request control method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0049] A client request control method provided by an embodiment of the present invention, such as figure 1 As shown, the method includes:

[0050] Step 101. Obtain the client historical request quantity change curve by monitoring the client request;

[0051] Here, the acquiring client historical request amount variation curve by monitoring client requests includes: the server instructs all clients to send requests at fixed time intervals, and acquires the client historical request amount variation curve according to the collected requests.

[0052] Step 102: Obtain the change rate of the request amount in the current time period according to the historical request amount change curve of the client, so as to obtain the next request time interval of the client, and control the request of the client through the next request time interval;

[0053] Here, the request volume change rate includes: any one of request drop rate and request growth rate; the acquisition of the request ...

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 present invention discloses a client request control method and device, wherein the method includes: obtaining client historical request amount change curve by monitoring client request; obtaining each time period according to the client historical request amount change curve The change rate of the request volume above is used to obtain the next request time interval of the client, and the request control is performed on the requesting client through the next request time interval. The invention can not only ensure that the server normally returns the data requested by the client, but also save resources of the server and enable the client to obtain higher data update frequency.

Description

technical field [0001] The present invention relates to Internet technology, in particular to a client request control method and device. Background technique [0002] At present, the prior art generally adopts a timing request scheme or a simple feedback scheme. Among them, the so-called timing request scheme means that the client ignores the status of the server, and initiates a request to the server every fixed time period indicated by the server or at each fixed time point indicated by the server, and the server does not feedback the status of the server to the client. Such as the current load situation. The so-called simple feedback scheme means that the server evaluates how to provide services to the client according to the status of the server, such as the current load situation. If the data is allowed to be returned through calculation and evaluation, the server returns the data required by the client, or if it is evaluated through calculation. If data is not allow...

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 Patents(China)
IPC IPC(8): H04L29/08
Inventor 江列琼
Owner TENCENT TECH (BEIJING) CO LTD