Overload protection method, device and server
An overload protection and server technology, which is applied in the field of Internet communication, can solve problems such as inability to effectively alleviate server overload, and achieve the effect of alleviating server overload
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0038] Please refer to figure 1 , which shows a method flowchart of the overload protection method provided by Embodiment 1 of the present invention. This embodiment is mainly described by taking the overload protection method applied to a server as an example. The overload protection method includes:
[0039] Step 102, respectively accumulating the number of requests received in the consecutive m time intervals;
[0040] The server respectively accumulates the number of requests received in consecutive m time intervals. The m time intervals may be consecutive m time intervals with the same interval length or different interval lengths, usually the same interval length. For each time interval, the server separately accumulates the number of requests sent by clients received during that time interval. The consecutive m time intervals include the time interval to which the current time belongs.
[0041] Step 104, extracting n time intervals from the m time intervals, and ac...
Embodiment 2
[0047] Please refer to figure 2, which shows a flow chart of the overload protection method provided by Embodiment 2 of the present invention. This embodiment is mainly described by taking the overload protection method applied to a server as an example. The overload protection method includes:
[0048] Step 202, respectively accumulating the number of requests received in each of the consecutive m time intervals;
[0049] The server respectively accumulates the number of requests received in consecutive m time intervals. The m time intervals may be consecutive m time intervals with the same interval length or different interval lengths, preferably the same interval length. For each time interval, the server separately accumulates the number of requests sent by clients received during that time interval. The consecutive m time intervals include the time interval to which the current time belongs.
[0050] exist Figure 3A In a specific example shown, the server respecti...
Embodiment 3
[0068] Please refer to Figure 5 , which shows a structural block diagram of the overload protection device provided by the third embodiment of the present invention. The overload protection device can be implemented as a server or a part of the server. The overload protection device includes a request accumulation module 520 , a window accumulation module 540 and a request rejection module 560 .
[0069] The request accumulation module 520 is used to respectively accumulate the number of requests received respectively in consecutive m time intervals;
[0070] The window accumulation module 540 is used to extract n time intervals from the m time intervals respectively accumulated by the request accumulation module 520, and accumulate the sum of the number of requests received in each of the n time intervals. time interval contains the time interval to which the current time belongs;
[0071] A request rejection module 560, configured to reject requests received after exceed...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com