Flow service flow limiting method based on URL, electronic equipment and computer storage medium

A current limiting method and traffic technology, applied in the Internet field, can solve problems such as affecting traffic services, failing to achieve current limiting effects, and existing problems in traffic services, so as to improve the efficiency of current limiting and ensure timeliness.

Active Publication Date: 2019-09-10
ZHANGYUE TECH CO LTD
View PDF6 Cites 6 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] Existing technical solutions are to limit the traffic flow of the network card of the server. This current limiting method is aimed at a certain server, and it limits the flow of all traffic services provided by the server. Usually, a server provides The traffic service of the website may reach the level of 100 million or even tens of billions. However, the traffic service of some URLs may only have the requirement of limiting traffic. If the network card of the server is limited, it will cause problems in the traffic service of other URLs on the server. , affecting the normal traffic service; in addition, usually the traffic service of a certain URL may be distributed on multiple servers, and the traffic service provided by each server is different, and only restricting the traffic of a certain server cannot achieve a good traffic limiting effect , while restricting the flow of multiple servers at the same time will affect the normal flow service

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
  • Flow service flow limiting method based on URL, electronic equipment and computer storage medium
  • Flow service flow limiting method based on URL, electronic equipment and computer storage medium
  • Flow service flow limiting method based on URL, electronic equipment and computer storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0027] Exemplary embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. Although exemplary embodiments of the present disclosure are shown in the drawings, it should be understood that the present disclosure may be embodied in various forms and should not be limited by the embodiments set forth herein. Rather, these embodiments are provided for more thorough understanding of the present disclosure and to fully convey the scope of the present disclosure to those skilled in the art.

[0028] figure 1 A schematic flowchart of a URL-based flow service flow limiting method according to an embodiment of the present invention is shown. Such as figure 1 As shown, the method includes the following steps:

[0029] Step S100, start multiple statistical threads and at least one summary thread.

[0030] This embodiment is based on the scheme of URL-based flow service limit, which is to implement the flow limit processin...

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 discloses a flow service flow limiting method based on a URL, electronic equipment and a computer storage medium. The method comprises the following steps: starting a plurality of statistical threads and at least one summarizing thread; carrying out statistics on the URL request data by any statistical thread, and sending the URL request data to a summarizing thread at an interval ofa first preset time period; enabling the summarizing thread to summarize the URL request data sent by the statistical threads, and write the summarized URL request data into a database; starting a database query service at intervals of a second preset time period, inquiring accumulated summarized URL request data in a preset statistical period; according to a synchronization comparison strategy,determining whether to limit the flow of the flow service of the URL or not; wherein the second preset time period is larger than the first preset time period, refined flow limiting is achieved. Defects that in the prior art, flow limiting is conducted on a network card in a server, flow limiting is conducted on all flow services provided by the server, server resource utilization rate is low, andnormal flow services are affected are avoided.

Description

technical field [0001] The invention relates to the technical field of the Internet, in particular to a URL-based flow service flow limiting method, electronic equipment and a computer storage medium. Background technique [0002] Usually, the user's access behavior is aimed at a certain URL. There may be a large number of users accessing this URL intensively, causing problems with the traffic service of this URL, such as slow response, server crash, etc. At this time, traffic limitation is required. deal with. [0003] Existing technical solutions are to limit the traffic flow of the network card of the server. This current limiting method is aimed at a certain server and limits the flow of all traffic services provided by the server. Usually, a server provides The traffic service of the website may reach the level of 100 million or even tens of billions. However, the traffic service of some URLs may only have the requirement of limiting traffic. If the network card of the...

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): H04L12/801H04L12/24G06F16/955
CPCH04L47/10H04L41/142G06F16/9566
Inventor 冯威
Owner ZHANGYUE TECH CO 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