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

Access request processing method and device, server and storage medium

A technology of access request and processing method, which is applied in the field of Internet communication, and can solve problems such as server failure, affecting user experience, and downtime

Pending Publication Date: 2020-08-25
BEIJING DAJIA INTERNET INFORMATION TECH CO LTD
View PDF6 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Usually, a server needs to provide services for a large number of user terminals. However, there is a limit to the processing capacity of a server, and the maximum number of visits it can carry per unit time is limited.
Then, when the access requests received by the server reach the limit value allowed by it, the requests will continue to accumulate on the server side. For example, in some Internet scenarios with large instantaneous burst traffic, it is easy to cause the server to fail due to overload, and the Downtime, in severe cases, will cause the server and its associated Internet system to be paralyzed, unable to operate normally, thus affecting user experience

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
  • Access request processing method and device, server and storage medium
  • Access request processing method and device, server and storage medium
  • Access request processing method and device, server and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0056] In order to clearly introduce the implementation process of the access request processing method given in this embodiment, as figure 1 Shown is a schematic diagram of a possible application scenario of the access request processing method according to an exemplary embodiment. The application scenario may include a user terminal, a background access server cluster, a central control server cluster, a background service server cluster, and a full Limit flow configuration center.

[0057] Each user terminal can be used by the user to initiate an access request to the Internet service. In one example, the access request is a request based on Hyper Text Transport Protocol (Hyper Text Transport Protocol, HTTP), and has a corresponding Uniform Resource Locator (Uniform Resource Locator, URL); further, the user terminal can send the access request to To the access server corresponding to the URL; wherein, the user terminal includes, but is not limited to, electronic devices su...

Embodiment 2

[0114] Figure 4 A block diagram of an access request processing apparatus 400 provided for an exemplary embodiment is applied to a central control server, and the access request processing apparatus 400 is used to implement the above access request processing method applied to the central control server. refer to Figure 4 , the access request processing apparatus 400 includes a first determination module 41 , a second determination module 43 , a third determination module 45 and a feedback module 47 . in:

[0115] The first determination module 41 is configured to determine the first global query rate per second within the current current limit period if the preset condition is met, wherein the preset condition includes: reporting the query rate per second in a preset period The total number of at least one access server reaches a preset number, or the total number of query rates per second reported by the at least one access server according to the preset period reaches a...

Embodiment 3

[0128] Figure 5 A block diagram of an access request processing apparatus 500 provided for an exemplary embodiment is applied to an access server, and the access request processing apparatus 500 is used to implement the above access request processing method applied to an access server. refer to Figure 5 , the access request processing apparatus 500 includes a reporting module 51 , a receiving module 53 and a processing module 55 . in:

[0129] The reporting module 51 is configured to report the query rate per second to the central control server according to a preset period; the receiving module 53 is configured to receive the target overload fed back by the central control server within the current current limit period parameter; the processing module 55 is configured to perform flow-limiting processing on the access request from the user terminal according to the target overload parameter; wherein the target overload parameter is the historical overload parameter curren...

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 relates to an access request processing method and device, a server and a storage medium. The method comprises the following steps: if a preset condition is satisfied, determining a first global query per second rate in the current current limiting period, the preset condition including that the total number of at least one access server reporting the query per second rate accordingto a preset period reaches a preset number, or the total number of the query per second rates reported by the at least one access server according to the preset period reaches a first threshold; determining a second global per-second query rate in a next current limiting period according to the first global per-second query rate, wherein the next current limiting period is located after the current current limiting period in time sequence and is adjacent to the current current limiting period; determining a target overload parameter matched with the second global query rate per second; and feeding back the target overload parameter to the at least one access server, wherein the target overload parameter is used for the at least one access server to perform flow limiting processing on the access request from the user terminal. According to the method of the invention, effective access flow limiting can be realized.

Description

technical field [0001] The present disclosure relates to the technical field of Internet communication, and in particular to an access request processing method, device, server and storage medium. Background technique [0002] At present, with the continuous maturity and development of Internet technology, Internet services have been greatly developed. In order to meet different user needs, various Internet services have emerged, such as information transmission and data query. [0003] For most Internet services, it is usually completed by interaction between a client corresponding to a user (also called a user terminal) and a server providing the service. Usually, a server needs to provide services for a large number of user terminals, but there is a limit to the processing capability of a server, and the maximum number of visits it can carry per unit time is limited. Then, when the access requests received by the server reach the limit value allowed by it, the requests w...

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): G06F9/50H04L12/801H04L29/08
CPCG06F9/5027H04L47/29H04L67/60
Inventor 王剑沈坤
Owner BEIJING DAJIA INTERNET INFORMATION 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