CN106911582A - A kind of real-time traffic control method and system based on Nginx servers - Google Patents

A kind of real-time traffic control method and system based on Nginx servers Download PDF

Info

Publication number
CN106911582A
CN106911582A CN201710130843.7A CN201710130843A CN106911582A CN 106911582 A CN106911582 A CN 106911582A CN 201710130843 A CN201710130843 A CN 201710130843A CN 106911582 A CN106911582 A CN 106911582A
Authority
CN
China
Prior art keywords
speed
threshold value
access
predetermined threshold
business
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201710130843.7A
Other languages
Chinese (zh)
Other versions
CN106911582B (en
Inventor
牟璇
潘贵国
于江磊
綦相彭
成海星
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Sohu New Media Information Technology Co Ltd
Original Assignee
Beijing Sohu New Media Information Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Sohu New Media Information Technology Co Ltd filed Critical Beijing Sohu New Media Information Technology Co Ltd
Priority to CN201710130843.7A priority Critical patent/CN106911582B/en
Publication of CN106911582A publication Critical patent/CN106911582A/en
Application granted granted Critical
Publication of CN106911582B publication Critical patent/CN106911582B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L47/00Traffic control in data switching networks
    • H04L47/10Flow control; Congestion control
    • H04L47/24Traffic characterised by specific attributes, e.g. priority or QoS
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/08Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters
    • H04L43/0876Network utilisation, e.g. volume of load or congestion level
    • H04L43/0894Packet rate
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/16Threshold monitoring
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L47/00Traffic control in data switching networks
    • H04L47/10Flow control; Congestion control
    • H04L47/29Flow control; Congestion control using a combination of thresholds

Abstract

The invention discloses a kind of real-time traffic control method based on Nginx servers, including:Obtain the total speed for accessing news client;Whether total speed of the access news client that judgement gets is more than the total speed predetermined threshold value for accessing news client;When total speed of the access news client for getting is more than the total speed predetermined threshold value for accessing news client, the first control signal is generated;The total speed present invention for accessing news client based on the limitation of the first control signal can be monitored effectively in real time to flow.The invention also discloses a kind of real-time flux control system based on Nginx servers.

Description

A kind of real-time traffic control method and system based on Nginx servers
Technical field
The present invention relates to traffic monitoring technical field, more particularly to a kind of real-time traffic control based on Nginx servers Method and system.
Background technology
Nginx be a kind of high performance HTTP (HyperText Transfer Protocol, HTTP) and Reverse Proxy, is widely used in industrial quarters, and it is a selection, Nginx well to carry out flow restriction in Nginx The instruction that the flow-control module that official provides is issued can realize a certain degree of control to flow.It is quick with internet Develop, promote the rapid growth of voice and packet data concurrent service visit capacity, the flow-control module that existing Nginx is provided can not meet and increasingly increase Business demand long, therefore, how real-time traffic control effectively to be carried out based on Nginx servers and is one urgently to be resolved hurrily to ask Topic.
The content of the invention
The invention provides a kind of real-time traffic control method based on Nginx servers, effectively flow can be entered Row monitoring in real time.
The invention provides a kind of real-time traffic control method based on Nginx servers, it is characterised in that including:
Obtain the total speed for accessing news client;
Whether total speed of the access news client that judgement gets is preset more than the total speed for accessing news client Threshold value;
When total speed of the access news client for getting is more than the total speed predetermined threshold value for accessing news client, Generate the first control signal;
Total speed of news client is accessed based on first control signal limitation.
Preferably, methods described also includes:
Obtain the access rate of IP address;
Whether the access rate of the IP address that judgement gets is more than the access rate predetermined threshold value of IP address;
When the access rate of the IP address for getting is more than the access rate predetermined threshold value of IP address, generation second is controlled Signal;
The access rate of IP address is limited based on second control signal.
Preferably, methods described also includes:
Obtain the speed of each business;Whether the speed of each business that judgement gets is more than the speed of each business Predetermined threshold value;
When the predetermined threshold value of the speed that the speed of each business for getting is more than each business, the control letter of generation the 3rd Number;
The speed of each business is limited based on the 3rd control signal.
Preferably, methods described also includes:
Obtain the speed of each user's access service;
Whether the speed of each user's access service that judgement gets is more than the pre- of the speed of each user's access service If threshold value;
When the predetermined threshold value of the speed more than the speed of each user's access service of each the user's access service for getting When, generate the 4th control signal;
The speed of each user's access service is limited based on the 4th control signal.
Preferably, described method also includes:
At interval of n minutes, the history number of IP address and each user's access service is obtained respectively from Nginx servers According to;
Historical data to time interval [now_ts-interval, now_ts] is fitted, and obtains fitting function f X (), judges slope θs of the f (x) at interval [now_ts-interval, now_ts], if θ is less than θmin, then stop, if otherwise:
CalculateValue, i.e., the intermediate value of interval [now_ts-interval, now_ts], ifMore than the access rate predetermined threshold value or the speed of each user's access service of each procotol The predetermined threshold value of rate, is set by sending hypertext transfer protocol requests with the web page platform of script based on Nginx servers Put the predetermined threshold value of the access rate predetermined threshold value of IP address or the speed of each user's access service.
A kind of real-time flux control system based on Nginx servers, including:
Real-time traffic monitoring module based on Nginx servers, total speed of news client is accessed for obtaining;
Dynamic realtime flow control module, whether total speed of the access news client for judging to get is more than is visited Ask total speed predetermined threshold value of news client;
When total speed of the access news client for getting is more than the total speed predetermined threshold value for accessing news client, Generate the first control signal;
Total speed of news client is accessed based on first control signal limitation.
Preferably, the real-time traffic monitoring module based on Nginx servers, is additionally operable to obtain the access speed of IP address Rate;
Whether the dynamic realtime flow control module, be additionally operable to judge the access rate of the IP address for getting more than IP The access rate predetermined threshold value of address;
When the access rate of the IP address for getting is more than the access rate predetermined threshold value of IP address, generation second is controlled Signal;
The access rate of IP address is limited based on second control signal.
Preferably, the real-time traffic monitoring module based on Nginx servers, is additionally operable to obtain the speed of each business Rate;
Whether the dynamic realtime flow control module, be additionally operable to judge the speed of each business for getting more than each The predetermined threshold value of the speed of business;
When the predetermined threshold value of the speed that the speed of each business for getting is more than each business, the control letter of generation the 3rd Number;
The speed of each business is limited based on the 3rd control signal.
Preferably, the real-time traffic monitoring module based on Nginx servers, is additionally operable to obtain each user access industry The speed of business;
The dynamic realtime flow control module, is additionally operable to judge whether is the speed of each user's access service that gets More than the predetermined threshold value of the speed of each user's access service;
When the predetermined threshold value of the speed more than the speed of each user's access service of each the user's access service for getting When, generate the 4th control signal;
The speed of each user's access service is limited based on the 4th control signal.
Preferably, the system also includes:
The real-time traffic monitoring module based on Nginx servers, is additionally operable at interval of n minutes, from Nginx servers It is middle to obtain IP address and the historical data of each user's access service respectively;
The dynamic realtime flow control module, is additionally operable to going through to time interval [now_ts-interval, now_ts] History data are fitted, and obtain fitting function f (x), judge slopes of the f (x) at interval [now_ts-interval, now_ts] θ;If θ is more than or equal in θminWhen, calculateValue, i.e., it is interval [now_ts-interval, Now_ts] intermediate value, ifMore than the access rate predetermined threshold value of each procotol or each The predetermined threshold value of the speed of user's access service, sends super literary by the web page platform based on Nginx servers and script This host-host protocol request set each procotol access rate predetermined threshold value or each user's access service speed it is pre- If threshold value.
A kind of real-time traffic control method based on Nginx servers provided from such scheme, the present invention, when need When being monitored in real time to flow, the total speed for accessing news client is obtained first, then judge the access for getting Whether total speed of news client is more than the total speed predetermined threshold value for accessing news client, when the access for judging to get is new When hearing total speed of client more than the total speed predetermined threshold value for accessing news client, the first control signal, last base are generated Total speed of news client is accessed in the limitation of the first control signal, significantly more efficient flow can be entered relative to prior art Row monitor in real time.
Brief description of the drawings
In order to illustrate more clearly about the embodiment of the present invention or technical scheme of the prior art, below will be to embodiment or existing The accompanying drawing to be used needed for having technology description is briefly described, it should be apparent that, drawings in the following description are only this Some embodiments of invention, for those of ordinary skill in the art, on the premise of not paying creative work, can be with Other accompanying drawings are obtained according to these accompanying drawings.
Fig. 1 is a kind of method stream of real-time traffic control method embodiment 1 based on Nginx servers disclosed by the invention Cheng Tu;
Fig. 2 is a kind of method stream of real-time traffic control method embodiment 2 based on Nginx servers disclosed by the invention Cheng Tu;
Fig. 3 is a kind of method stream of real-time traffic control method embodiment 3 based on Nginx servers disclosed by the invention Cheng Tu;
Fig. 4 is a kind of method stream of real-time traffic control method embodiment 4 based on Nginx servers disclosed by the invention Cheng Tu;
Fig. 5 is that a kind of access rate predetermined threshold value for setting each procotol disclosed by the invention or each user access The flow chart of the method for the predetermined threshold value of the speed of business;
Fig. 6 is that a kind of structure of real-time flux control system embodiment 1 based on Nginx servers disclosed by the invention is shown It is intended to;
Fig. 7 is that a kind of structure of real-time flux control system embodiment 2 based on Nginx servers disclosed by the invention is shown It is intended to;
Fig. 8 is that a kind of structure of real-time flux control system embodiment 3 based on Nginx servers disclosed by the invention is shown It is intended to;
Fig. 9 is that a kind of structure of real-time flux control system embodiment 4 based on Nginx servers disclosed by the invention is shown It is intended to;
Figure 10 is that a kind of access rate predetermined threshold value for setting each procotol disclosed by the invention or each user visit Ask the structural representation of the predetermined threshold value of the speed of business.
Specific embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out clear, complete Site preparation is described, it is clear that described embodiment is only a part of embodiment of the invention, rather than whole embodiments.It is based on Embodiment in the present invention, it is every other that those of ordinary skill in the art are obtained under the premise of creative work is not made Embodiment, belongs to the scope of protection of the invention.
For the independence for more specifically emphasizing to implement, this specification is related to number of modules or unit.For example, mould Block or unit can be realized that the hardware circuit includes special VLSI circuits OR gate array, such as logic chip, crystal by hardware circuit Pipe, or other components.Module or unit can also realize that such as field is imitated programmable gate array, can be compiled in programmable computer hardware Journey array logic, programmable logic device etc..
Module or unit can also be realized in by the software performed by various forms of processors.Such as, one can hold Row code module may include one or more entities or logic computer instruction blocks, and the block is formed into, such as, Object, program or function.However, the executable part of identification module or unit need not physically put together, but can be by The different instruction for being stored in diverse location is constituted, and when combining in logic, is formed module or unit and is reached the module Or the purpose required by unit.
In fact, executable code module or unit can be a single instruction or multiple instruction, it might even be possible to which distribution is in place Several different code section in different programs, and across several storage devices.Similarly, peration data can be identified And be shown in this module or unit, and can implement in any suitable form and in any suitable data structure form Inner tissue.Peration data can assemble single data set, or can be distributed in the different position with different storage devices, And a system or network are only present in electronic signal mode at least in part.
" embodiment " or similar term mentioned by this specification represent the characteristic relevant with embodiment, structure or feature, It is included in an at least embodiment of the invention.Therefore, this specification occurs term " in one embodiment ", " implementing In example " and similar term the identical embodiment of sensing but may be not necessarily all.
Furthermore, characteristic of the present invention, structure or feature can be combined in one or more embodiments by any way. Below explanation will provide many specific details, such as programming, software module, user's selection, network trading, database are looked into The examples such as inquiry, database structure, hardware module, hardware circuit, hardware chip, to provide the understanding to the embodiment of the present invention.So And those of ordinary skill in the related art will be seen that the present invention, though wherein one or more specific details are not utilized, or profit Can also be implemented with other methods, component, material etc..On the other hand, it is the present invention that avoids confusion, known structure, material or behaviour Do not have a detailed description.
As shown in figure 1, being a kind of real-time traffic control method embodiment 1 based on Nginx servers disclosed by the invention Method flow diagram, the method includes:
S101, the total speed for obtaining access news client;
Whether total speed of the access news client that S102, judgement get is more than the total speed for accessing news client Predetermined threshold value;
The Nginx server sets for being forwarded to news client of the load-balancing device that the request of client passes through company Group.Prevent normal discharge too high or malicious attack causes the flow of whole news client excessive, influence business, cause unnecessary Loss.The present embodiment has carried out the limitation of flow, the access news client that judgement gets on each Nginx server Whether total speed at end is more than the total speed predetermined threshold value total_rate for accessing news client.
S103, when total speed of the access news client for getting is more than the default threshold of total speed for accessing news client During value, the first control signal is generated;
If the speed of the request has exceeded default threshold value total_rate, generate the first control signal is carried out to request Limitation.
S104, total speed that news client is accessed based on the limitation of the first control signal.
The total speed for accessing news client is limited by the first control signal, the request rate of arrival rear end is maintained at In the range of [0, total_rate*N], wherein N is the number of Nginx servers.
In sum, in the above-described embodiments, when needing to monitor flow in real time, obtain access news first Whether total speed of client, then judge total speed of the access news client for getting more than access news client Total speed predetermined threshold value, when total speed of the access news client for judging to get is more than the total speed for accessing news client During predetermined threshold value, the first control signal is generated, be finally based on total speed that the limitation of the first control signal accesses news client, phase Significantly more efficient monitor in real time can be carried out to flow for prior art.
As shown in Fig. 2 being a kind of real-time traffic control method embodiment 2 based on Nginx servers disclosed by the invention Method flow diagram, the method includes:
S201, the total speed for obtaining access news client;
Whether total speed of the access news client that S202, judgement get is more than the total speed for accessing news client Predetermined threshold value;
The Nginx server sets for being forwarded to news client of the load-balancing device that the request of client passes through company Group.Prevent normal discharge too high or malicious attack causes the flow of whole news client excessive, influence business, cause unnecessary Loss.The present embodiment has carried out the limitation of flow, the access news client that judgement gets on each Nginx server Whether total speed at end is more than the total speed predetermined threshold value total_rate for accessing news client.
S203, when total speed of the access news client for getting is more than the default threshold of total speed for accessing news client During value, the first control signal is generated;
If the speed of the request has exceeded default threshold value total_rate, generate the first control signal is carried out to request Limitation.
S204, total speed that news client is accessed based on the limitation of the first control signal;
The total speed for accessing news client is limited by the first control signal, the request rate of arrival rear end is maintained at In the range of [0, total_rate*N], wherein N is the number of Nginx servers.
S205, the access rate for obtaining IP address;
Whether the access rate of the IP address that S206, judgement get is more than the access rate predetermined threshold value of IP address;
For the unique mark that the user for preventing malice simulates multiple users conducts interviews to certain business (API), the industry of acquisition Also include the access rate of IP address in business flow information, whether the access rate of the IP address that judgement gets is more than IP address Access rate predetermined threshold value IP_rate.
S207, when the IP address for getting access rate more than IP address access rate predetermined threshold value when, generation the Two control signals;
When the access rate of the IP address for judging to get is more than the access rate predetermined threshold value IP_rate of IP address, Generate the second control signal.
S207, the access rate that IP address is limited based on the second control signal.
The second control signal based on generation is limited the access rate of IP address.
In sum, the present embodiment furthermore achieved that to the access rate of IP address on the basis of above-described embodiment Limitation.
As shown in figure 3, being a kind of real-time traffic control method embodiment 3 based on Nginx servers disclosed by the invention Method flow diagram, the method includes:
S301, the total speed for obtaining access news client;
Whether total speed of the access news client that S302, judgement get is more than the total speed for accessing news client Predetermined threshold value;
The Nginx server sets for being forwarded to news client of the load-balancing device that the request of client passes through company Group.Prevent normal discharge too high or malicious attack causes the flow of whole news client excessive, influence business, cause unnecessary Loss.The present embodiment has carried out the limitation of flow, the access news client that judgement gets on each Nginx server Whether total speed at end is more than the total speed predetermined threshold value total_rate for accessing news client.
S303, when total speed of the access news client for getting is more than the default threshold of total speed for accessing news client During value, the first control signal is generated;
If the speed of the request has exceeded default threshold value total_rate, generate the first control signal is carried out to request Limitation.
S304, total speed that news client is accessed based on the limitation of the first control signal;
The total speed for accessing news client is limited by the first control signal, the request rate of arrival rear end is maintained at In the range of [0, total_rate*N], wherein N is the number of Nginx servers.
S305, the access rate for obtaining IP address;
Whether the access rate of the IP address that S306, judgement get is more than the access rate predetermined threshold value of IP address;
For the unique mark that the user for preventing malice simulates multiple users conducts interviews to certain business (API), the industry of acquisition Also include the access rate of IP address in business flow information, whether the access rate of the IP address that judgement gets is more than IP address Access rate predetermined threshold value IP_rate.
S307, when the IP address for getting access rate more than IP address access rate predetermined threshold value when, generation the Two control signals;
When the access rate of the IP address for judging to get is more than the access rate predetermined threshold value IP_rate of IP address, Generate the second control signal.
S308, the access rate that IP address is limited based on the second control signal;
The second control signal based on generation is limited the access rate of IP address.
S309, the speed for obtaining each business;
Whether the speed of each business that S310, judgement get is more than the predetermined threshold value of the speed of each business;
The flow to whole news client is limited in the above-described embodiments, can't ensure each business Can normally run, because the pressure for being born of each business is different, even if the request rate of whole news client does not surpass Cross total_rate*N, it is possible to the threshold value A PI_total of some business can be exceeded, the influence to the business is caused.And certain A little industry users are accessed the means of certain Operational Visit frequent or malice excessively, can cause the unfairness to other users, and make The business loses too many value.
S311, when each business for getting speed more than each business speed predetermined threshold value when, generation the 3rd Control signal;
S312, the speed that each business is limited based on the 3rd control signal.
Therefore, the present embodiment determines whether whether the speed of each business for getting is more than the speed of each business Predetermined threshold value API_total, on Nginx servers, accesses an API, adds one by the counting for accessing API, deposits in data In the Redis of storehouse.And the speed for accessing API is calculated, judge whether to exceed threshold value A PI_total.
As shown in figure 4, being a kind of real-time traffic control method embodiment 4 based on Nginx servers disclosed by the invention Method flow diagram, the method includes:
S401, the total speed for obtaining access news client;
Whether total speed of the access news client that S402, judgement get is more than the total speed for accessing news client Predetermined threshold value;
The Nginx server sets for being forwarded to news client of the load-balancing device that the request of client passes through company Group.Prevent normal discharge too high or malicious attack causes the flow of whole news client excessive, influence business, cause unnecessary Loss.The present embodiment has carried out the limitation of flow, the access news client that judgement gets on each Nginx server Whether total speed at end is more than the total speed predetermined threshold value total_rate for accessing news client.
S403, when total speed of the access news client for getting is more than the default threshold of total speed for accessing news client During value, the first control signal is generated;
If the speed of the request has exceeded default threshold value total_rate, generate the first control signal is carried out to request Limitation.
S404, total speed that news client is accessed based on the limitation of the first control signal;
The total speed for accessing news client is limited by the first control signal, the request rate of arrival rear end is maintained at In the range of [0, total_rate*N], wherein N is the number of Nginx servers.
S405, the access rate for obtaining IP address;
Whether the access rate of the IP address that S406, judgement get is more than the access rate predetermined threshold value of IP address;
For the unique mark that the user for preventing malice simulates multiple users conducts interviews to certain business (API), the industry of acquisition Also include the access rate of IP address in business flow information, whether the access rate of the IP address that judgement gets is more than IP address Access rate predetermined threshold value IP_rate.
S407, when the IP address for getting access rate more than IP address access rate predetermined threshold value when, generation the Two control signals;
When the access rate of the IP address for judging to get is more than the access rate predetermined threshold value IP_rate of IP address, Generate the second control signal.
S408, the access rate that IP address is limited based on the second control signal;
The second control signal based on generation is limited the access rate of IP address.
S409, the speed for obtaining each business;
The flow to whole news client is limited in the above-described embodiments, can't ensure each business Can normally run, because the pressure for being born of each business is different, even if the request rate of whole news client does not surpass Cross total_rate*N, it is possible to the threshold value A PI_total of some business can be exceeded, the influence to the business is caused.And certain A little industry users are accessed the means of certain Operational Visit frequent or malice excessively, can cause the unfairness to other users, and make The business loses too many value.
Therefore, the present embodiment determines whether whether the speed of each business for getting is more than the speed of each business Predetermined threshold value API_total, on Nginx servers, accesses an API, adds one by the counting for accessing API, deposits in data In the Redis of storehouse.And the speed for accessing API is calculated, judge whether to exceed threshold value A PI_total.
Whether the speed of each business that S410, judgement get is more than the predetermined threshold value of the speed of each business;
The flow to whole news client is limited in the above-described embodiments, can't ensure each business Can normally run, because the pressure for being born of each business is different, even if the request rate of whole news client does not surpass Cross total_rate*N, it is possible to the threshold value A PI_total of some business can be exceeded, the influence to the business is caused.And certain A little industry users are accessed the means of certain Operational Visit frequent or malice excessively, can cause the unfairness to other users, and make The business loses too many value.
S411, when each business for getting speed more than each business speed predetermined threshold value when, generation the 3rd Control signal;
S412, the speed that each business is limited based on the 3rd control signal;
S413, the speed for obtaining each user's access service;
Whether the speed of each user's access service that S414, judgement get is more than the speed of each user's access service Predetermined threshold value;
Determine whether whether the speed of each the user's access service for getting is more than the speed of each user's access service The predetermined threshold value CID_API_rate of rate.
S415, speed the presetting more than the speed of each user's access service when each the user's access service for getting During threshold value, the 4th control signal is generated;
S416, the speed that each user's access service is limited based on the 4th control signal.
In sum, in the above-described embodiments, limitation, the Neng Goushi of the total speed to accessing news client can be realized Limitation existing to the access rate of each IP, can realize to the rate limit of each business and can realize to each user Access the limitation of the speed of API.
The present invention can also realize that dynamic sets rate parameter, and the initialization of parameter TOTAL_rate and API_rate is According to the result for carrying out pressure test to whole system and single business, the two values will not typically change, if system or industry Business upgrading, then can be modified by web platforms, system and business is rationally provided service.
The initialization of parameter IP_rate and CID_API_rate is to set based on experience value, and the value of initialization is not necessarily closed Reason can otherwise be lost in the user of part, it is necessary to dynamically adjusted according to the situation that each IP and user access API.Dynamic Arrange parameter IP_rate, CID_API_rate step is as shown in figure 5, comprise the following steps:
S501, at interval of n minutes, obtain each procotol and each user respectively from Nginx servers and access industry The historical data of business;
Web platforms obtained the historical data of IP and CID_API respectively every n minutes from Redis servers.
S502, the historical data to time interval [now_ts-interval, now_ts] are fitted, and obtain being fitted letter Number f (x), judges slope θs of the f (x) at interval [now_ts-interval, now_ts], if θ is less than θmin, then stop, if otherwise Into S503:
Historical data to time interval [now_ts-interval, now_ts] is fitted, and obtains fitting function f X (), judges slope θs of the f (x) at interval [now_ts-interval, now_ts], if θ is less than θmin, then stop, otherwise turning step Rapid S503.
S503, calculatingValue, i.e., in interval [now_ts-interval, now_ts] Value, ifIndustry is accessed more than the access rate predetermined threshold value of each procotol or each user The predetermined threshold value of the speed of business, HTTP is sent by the web page platform based on Nginx servers and script Request sets the predetermined threshold value of the speed of the access rate predetermined threshold value or each user's access service of each procotol.
CalculateValue, i.e., the intermediate value of interval [now_ts-interval, now_ts], ifMore than IP_rate, the value that http request sets IP_rate is sent by web platforms, it is right Similarly, the setting of these parameters can come into force CID_API_rate in real time, without restarting or reloading Nginx server clusters.
As shown in fig. 6, being a kind of real-time flux control system embodiment 1 based on Nginx servers disclosed by the invention Structural representation, the system includes:
Real-time traffic monitoring module 601 based on Nginx servers, total speed of news client is accessed for obtaining;
Whether dynamic realtime flow control module 602, total speed of the access news client for judging to get is big In the total speed predetermined threshold value for accessing news client;When total speed of the access news client for getting is more than access news During total speed predetermined threshold value of client, the first control signal is generated;News client is accessed based on the limitation of the first control signal Total speed.
The Nginx server sets for being forwarded to news client of the load-balancing device that the request of client passes through company Group.Prevent normal discharge too high or malicious attack causes the flow of whole news client excessive, influence business, cause unnecessary Loss.The present embodiment has carried out the limitation of flow, the access news client that judgement gets on each Nginx server Whether total speed at end is more than the total speed predetermined threshold value total_rate for accessing news client.
If the speed of the request has exceeded default threshold value total_rate, generate the first control signal is carried out to request Limitation
The total speed for accessing news client is limited by the first control signal, the request rate of arrival rear end is maintained at In the range of [0, total_rate*N], wherein N is the number of Nginx servers.
In sum, in the above-described embodiments, when needing to monitor flow in real time, Nginx servers first Real-time traffic monitoring module obtain the total speed for accessing news client, then judge the access news client for getting Whether total speed is total when the access news client for judging to get more than the total speed predetermined threshold value for accessing news client When speed is more than the total speed predetermined threshold value for accessing news client, the first control signal is generated, be finally based on the first control letter Number limitation access news client total speed, significantly more efficient monitor in real time can be carried out to flow relative to prior art.
As shown in fig. 7, being a kind of real-time flux control system embodiment 2 based on Nginx servers disclosed by the invention Structural representation, the system includes:
Real-time traffic monitoring module 701 based on Nginx servers, total speed of news client is accessed for obtaining;
Whether dynamic realtime flow control module 702, total speed of the access news client for judging to get is big In the total speed predetermined threshold value for accessing news client;When total speed of the access news client for getting is more than access news During total speed predetermined threshold value of client, the first control signal is generated;News client is accessed based on the limitation of the first control signal Total speed;
The Nginx server sets for being forwarded to news client of the load-balancing device that the request of client passes through company Group.Prevent normal discharge too high or malicious attack causes the flow of whole news client excessive, influence business, cause unnecessary Loss.The present embodiment has carried out the limitation of flow, the access news client that judgement gets on each Nginx server Whether total speed at end is more than the total speed predetermined threshold value total_rate for accessing news client.
If the speed of the request has exceeded default threshold value total_rate, generate the first control signal is carried out to request Limitation
The total speed for accessing news client is limited by the first control signal, the request rate of arrival rear end is maintained at In the range of [0, total_rate*N], wherein N is the number of Nginx servers.
Also include the access rate of each procotol, the second judge module 705, for judging to obtain in service traffics information Whether the access rate of each procotol got is more than the access rate predetermined threshold value of each procotol;
For the unique mark that the user for preventing malice simulates multiple users conducts interviews to certain business (API), the industry of acquisition Also include the access rate of each procotol in business flow information, the access rate of each procotol that judgement gets is The no access rate predetermined threshold value IP_rate more than each procotol.
Real-time traffic monitoring module 701 based on Nginx servers, is additionally operable to obtain the access rate of IP address;
Dynamic realtime flow control module 702, is additionally operable to the access rate when the IP address for getting more than IP address During access rate predetermined threshold value, the second control signal is generated;The access rate of IP address is limited based on the second control signal.
When the access rate of the IP address for judging to get is more than the access rate predetermined threshold value IP_rate of IP address, Generate the second control signal.
The second control signal based on generation is limited the access rate of IP address.
In sum, the present embodiment furthermore achieved that to the access rate of IP address on the basis of above-described embodiment Limitation.
As shown in figure 8, being a kind of real-time flux control system embodiment 3 based on Nginx servers disclosed by the invention Structural representation, the system includes:
Real-time traffic monitoring module 801 based on Nginx servers, total speed of news client is accessed for obtaining;
Whether dynamic realtime flow control module 802, total speed of the access news client for judging to get is big In the total speed predetermined threshold value for accessing news client;When total speed of the access news client for getting is more than access news During total speed predetermined threshold value of client, the first control signal is generated;When total speed of the access news client for getting is big When total speed predetermined threshold value of news client is accessed, the first control signal is generated;
The Nginx server sets for being forwarded to news client of the load-balancing device that the request of client passes through company Group.Prevent normal discharge too high or malicious attack causes the flow of whole news client excessive, influence business, cause unnecessary Loss.The present embodiment has carried out the limitation of flow, the access news client that judgement gets on each Nginx server Whether total speed at end is more than the total speed predetermined threshold value total_rate for accessing news client.
If the speed of the request has exceeded default threshold value total_rate, generate the first control signal is carried out to request Limitation
The total speed for accessing news client is limited by the first control signal, the request rate of arrival rear end is maintained at In the range of [0, total_rate*N], wherein N is the number of Nginx servers.
Also include the access rate of each procotol, the second judge module 805, for judging to obtain in service traffics information Whether the access rate of each procotol got is more than the access rate predetermined threshold value of each procotol;
For the unique mark that the user for preventing malice simulates multiple users conducts interviews to certain business (API), the industry of acquisition Also include the access rate of each procotol in business flow information, the access rate of each procotol that judgement gets is The no access rate predetermined threshold value IP_rate more than each procotol.
Real-time traffic monitoring module 801 based on Nginx servers, is additionally operable to obtain the access rate of IP address;
Dynamic realtime flow control module 802, is additionally operable to the access rate when the IP address for getting more than IP address During access rate predetermined threshold value, the second control signal is generated;The access rate of IP address is limited based on the second control signal;
When the access rate of the IP address for judging to get is more than the access rate predetermined threshold value IP_rate of IP address, Generate the second control signal.
The second control signal based on generation is limited the access rate of IP address.
Real-time traffic monitoring module 801 based on Nginx servers, is additionally operable to obtain the speed of each business;
Whether dynamic realtime flow control module 802, be additionally operable to judge the speed of each business for getting more than each The predetermined threshold value of the speed of business;When the predetermined threshold value of the speed that the speed of each business for getting is more than each business, Generate the 3rd control signal;The speed of each business is limited based on the 3rd control signal.
The flow to whole news client is limited in the above-described embodiments, can't ensure each business Can normally run, because the pressure for being born of each business is different, even if the request rate of whole news client does not surpass Cross total_rate*N, it is possible to the threshold value A PI_total of some business can be exceeded, the influence to the business is caused.And certain A little industry users are accessed the means of certain Operational Visit frequent or malice excessively, can cause the unfairness to other users, and make The business loses too many value.
Therefore, the present embodiment determines whether whether the speed of each business for getting is more than the speed of each business Predetermined threshold value API_total, on Nginx servers, accesses an API, adds one by the counting for accessing API, deposits in data In the Redis of storehouse.And the speed for accessing API is calculated, judge whether to exceed threshold value A PI_total.
As shown in figure 9, being a kind of real-time flux control system embodiment 4 based on Nginx servers disclosed by the invention Structural representation, the system includes:
Real-time traffic monitoring module 901 based on Nginx servers, total speed of news client is accessed for obtaining;
Whether dynamic realtime flow control module 902, total speed of the access news client for judging to get is big In the total speed predetermined threshold value for accessing news client;When total speed of the access news client for getting is more than access news During total speed predetermined threshold value of client, the first control signal is generated;News client is accessed based on the limitation of the first control signal Total speed;
The Nginx server sets for being forwarded to news client of the load-balancing device that the request of client passes through company Group.Prevent normal discharge too high or malicious attack causes the flow of whole news client excessive, influence business, cause unnecessary Loss.The present embodiment has carried out the limitation of flow, the access news client that judgement gets on each Nginx server Whether total speed at end is more than the total speed predetermined threshold value total_rate for accessing news client.
If the speed of the request has exceeded default threshold value total_rate, generate the first control signal is carried out to request Limitation.
The total speed for accessing news client is limited by the first control signal, the request rate of arrival rear end is maintained at In the range of [0, total_rate*N], wherein N is the number of Nginx servers.
Real-time traffic monitoring module 901 based on Nginx servers, is additionally operable to obtain the access rate of IP address;
Whether dynamic realtime flow control module 902, be additionally operable to judge the access rate of the IP address for getting more than IP The access rate predetermined threshold value of address;When the access rate predetermined threshold value of the access rate more than IP address of the IP address for getting When, generate the second control signal;The access rate of IP address is limited based on the second control signal;
For the unique mark that the user for preventing malice simulates multiple users conducts interviews to certain business (API), the industry of acquisition Also include the access rate of IP address in business flow information, whether the access rate of the IP address that judgement gets is more than IP address Access rate predetermined threshold value IP_rate.
When the access rate of the IP address for judging to get is more than the access rate predetermined threshold value IP_rate of IP address, Generate the second control signal.
The second control signal based on generation is limited the access rate of IP address.
Real-time traffic monitoring module 901 based on Nginx servers, is additionally operable to obtain the speed of each business;
Whether dynamic realtime flow control module 902, be additionally operable to judge the speed of each business for getting more than each The predetermined threshold value of the speed of business;When the predetermined threshold value of the speed that the speed of each business for getting is more than each business, Generate the 3rd control signal;The speed of each business is limited based on the 3rd control signal;
The flow to whole news client is limited in the above-described embodiments, can't ensure each business Can normally run, because the pressure for being born of each business is different, even if the request rate of whole news client does not surpass Cross total_rate*N, it is possible to the threshold value A PI_total of some business can be exceeded, the influence to the business is caused.And certain A little industry users are accessed the means of certain Operational Visit frequent or malice excessively, can cause the unfairness to other users, and make The business loses too many value.
Therefore, the present embodiment determines whether whether the speed of each business for getting is more than the speed of each business Predetermined threshold value API_total, on Nginx servers, accesses an API, adds one by the counting for accessing API, deposits in data In the Redis of storehouse.And the speed for accessing API is calculated, judge whether to exceed threshold value A PI_total.
Real-time traffic monitoring module 901 based on Nginx servers, is additionally operable to obtain the speed of each user's access service Rate;
Dynamic realtime flow control module 902, is additionally operable to judge whether is the speed of each user's access service that gets More than the predetermined threshold value of the speed of each user's access service;When the speed of each the user's access service for getting is more than each During the predetermined threshold value of the speed of user's access service, the 4th control signal is generated;Each user is limited based on the 4th control signal The speed of access service.
Determine whether whether the speed of each the user's access service for getting is more than the speed of each user's access service The predetermined threshold value CID_API_rate of rate.
In sum, in the above-described embodiments, limitation, the Neng Goushi of the total speed to accessing news client can be realized Limitation existing to the access rate of each IP, can realize to the rate limit of each business and can realize to each user Access the limitation of the speed of API.
The present invention can also realize that dynamic sets rate parameter, and the initialization of parameter TOTAL_rate and API_rate is According to the result for carrying out pressure test to whole system and single business, the two values will not typically change, if system or industry Business upgrading, then can be modified by web platforms, system and business is rationally provided service.
The initialization of parameter IP_rate and CID_API_rate is to set based on experience value, and the value of initialization is not necessarily closed Reason can otherwise be lost in the user of part, it is necessary to dynamically adjusted according to the situation that each IP and user access API.Dynamic Arrange parameter IP_rate, CID_API_rate step is as shown in Figure 10, including:
Real-time traffic monitoring module 1001 based on Nginx servers, is additionally operable at interval of n minutes, from Nginx servers It is middle to obtain IP address and the historical data of each user's access service respectively;
Web platforms obtained the historical data of IP and CID_API respectively every n minutes from Redis servers.
Dynamic realtime flow control module 1002, for the history to time interval [now_ts-interval, now_ts] Data are fitted, and obtain fitting function f (x), judge slope θs of the f (x) at interval [now_ts-interval, now_ts], If θ is less than θmin, then stop, if otherwise calculatingValue, i.e., it is interval [now_ts- Interval, now_ts] intermediate value, ifAccess rate more than each procotol is preset The predetermined threshold value of the speed of threshold value or each user's access service, is put down by the webpage based on Nginx servers and script Platform sends the access rate predetermined threshold value or each user's access service that hypertext transfer protocol requests set each procotol Speed predetermined threshold value.
Historical data to time interval [now_ts-interval, now_ts] is fitted, and obtains fitting function f X (), judges slope θs of the f (x) at interval [now_ts-interval, now_ts], if θ is less than θmin, then stop.
CalculateValue, i.e., the intermediate value of interval [now_ts-interval, now_ts], ifMore than IP_rate, the value that http request sets IP_rate is sent by web platforms, it is right Similarly, the setting of these parameters can come into force CID_API_rate in real time, without restarting or reloading Nginx server clusters.
If function described in the present embodiment method is to realize in the form of SFU software functional unit and as independent product pin When selling or using, can store in a computing device read/write memory medium.Based on such understanding, the embodiment of the present invention The part contributed to prior art or the part of the technical scheme can be embodied in the form of software product, and this is soft Part product is stored in a storage medium, including some instructions are used to so that computing device (can be personal computer, Server, mobile computing device or network equipment etc.) perform all or part of step of each embodiment methods described of the invention Suddenly.And foregoing storage medium includes:USB flash disk, mobile hard disk, read-only storage (ROM, Read-Only Memory), deposit at random Access to memory (RAM, Random Access Memory), magnetic disc or CD etc. are various can be with the medium of store program codes.
Each embodiment is described by the way of progressive in this specification, and what each embodiment was stressed is and other The difference of embodiment, between each embodiment same or similar part mutually referring to.
The foregoing description of the disclosed embodiments, enables professional and technical personnel in the field to realize or uses the present invention. Various modifications to these embodiments will be apparent for those skilled in the art, as defined herein General Principle can be realized in other embodiments without departing from the spirit or scope of the present invention.Therefore, the present invention The embodiments shown herein is not intended to be limited to, and is to fit to and principles disclosed herein and features of novelty phase one The scope most wide for causing.

Claims (10)

1. a kind of real-time traffic control method based on Nginx servers, it is characterised in that including:
Obtain the total speed for accessing news client;
Whether total speed of the access news client that judgement gets is more than the total speed predetermined threshold value for accessing news client;
When total speed of the access news client for getting is more than the total speed predetermined threshold value for accessing news client, generation First control signal;
Total speed of news client is accessed based on first control signal limitation.
2. method according to claim 1, it is characterised in that methods described also includes:
Obtain the access rate of IP address;
Whether the access rate of the IP address that judgement gets is more than the access rate predetermined threshold value of IP address;
When the access rate of the IP address for getting is more than the access rate predetermined threshold value of IP address, the control letter of generation second Number;
The access rate of IP address is limited based on second control signal.
3. method according to claim 2, it is characterised in that methods described also includes:
Obtain the speed of each business;Whether the speed of each business that judgement gets is more than the default of the speed of each business Threshold value;
When the predetermined threshold value of the speed that the speed of each business for getting is more than each business, the 3rd control signal is generated;
The speed of each business is limited based on the 3rd control signal.
4. method according to claim 3, it is characterised in that methods described also includes:
Obtain the speed of each user's access service;
Whether the speed of each user's access service that judgement gets is more than the default threshold of the speed of each user's access service Value;
It is raw when the predetermined threshold value of the speed that the speed of each the user's access service for getting is more than each user's access service Into the 4th control signal;
The speed of each user's access service is limited based on the 4th control signal.
5. method according to claim 4, it is characterised in that also include:
At interval of n minutes, the historical data of IP address and each user's access service is obtained respectively from Nginx servers;
Historical data to time interval [now_ts-interval, now_ts] is fitted, and obtains fitting function f (x), sentences Break slope θs of the f (x) at interval [now_ts-interval, now_ts], if θ is less than θmin, then stop, if otherwise:
CalculateValue, i.e., the intermediate value of interval [now_ts-interval, now_ts], ifMore than the access rate predetermined threshold value or the speed of each user's access service of each procotol The predetermined threshold value of rate, is set by sending hypertext transfer protocol requests with the web page platform of script based on Nginx servers Put the predetermined threshold value of the access rate predetermined threshold value of IP address or the speed of each user's access service.
6. a kind of real-time flux control system based on Nginx servers, it is characterised in that including:
Real-time traffic monitoring module based on Nginx servers, total speed of news client is accessed for obtaining;
Whether dynamic realtime flow control module, total speed of the access news client for judging to get is new more than accessing Hear total speed predetermined threshold value of client;
When total speed of the access news client for getting is more than the total speed predetermined threshold value for accessing news client, generation First control signal;
Total speed of news client is accessed based on first control signal limitation.
7. system according to claim 6, it is characterised in that the real-time traffic monitoring mould based on Nginx servers Block, is additionally operable to obtain the access rate of IP address;
Whether the dynamic realtime flow control module, be additionally operable to judge the access rate of the IP address for getting more than IP address Access rate predetermined threshold value;
When the access rate of the IP address for getting is more than the access rate predetermined threshold value of IP address, the control letter of generation second Number;
The access rate of IP address is limited based on second control signal.
8. system according to claim 7, it is characterised in that the real-time traffic monitoring mould based on Nginx servers Block, is additionally operable to obtain the speed of each business;
Whether the dynamic realtime flow control module, be additionally operable to judge the speed of each business for getting more than each business Speed predetermined threshold value;
When the predetermined threshold value of the speed that the speed of each business for getting is more than each business, the 3rd control signal is generated;
The speed of each business is limited based on the 3rd control signal.
9. system according to claim 8, it is characterised in that the real-time traffic monitoring mould based on Nginx servers Block, is additionally operable to obtain the speed of each user's access service;
The dynamic realtime flow control module, is additionally operable to judge whether the speed of each the user's access service for getting is more than The predetermined threshold value of the speed of each user's access service;
It is raw when the predetermined threshold value of the speed that the speed of each the user's access service for getting is more than each user's access service Into the 4th control signal;
The speed of each user's access service is limited based on the 4th control signal.
10. system according to claim 9, it is characterised in that also include:
The real-time traffic monitoring module based on Nginx servers, was additionally operable at interval of n minutes, divided from Nginx servers Not Huo Qu IP address and each user's access service historical data;
The dynamic realtime flow control module, is additionally operable to the history number to time interval [now_ts-interval, now_ts] According to being fitted, fitting function f (x) is obtained, judge slope θs of the f (x) at interval [now_ts-interval, now_ts];If θ More than or equal in θminWhen, calculateValue, i.e., interval [now_ts-interval, now_ts] Intermediate value, ifVisited more than the access rate predetermined threshold value of each procotol or each user The predetermined threshold value of the speed of business is asked, Hyper text transfer is sent by the web page platform based on Nginx servers and script Agreement request sets the predetermined threshold value of the access rate predetermined threshold value of each procotol or the speed of each user's access service.
CN201710130843.7A 2017-03-07 2017-03-07 real-time flow control method and system based on Nginx server Active CN106911582B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710130843.7A CN106911582B (en) 2017-03-07 2017-03-07 real-time flow control method and system based on Nginx server

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710130843.7A CN106911582B (en) 2017-03-07 2017-03-07 real-time flow control method and system based on Nginx server

Publications (2)

Publication Number Publication Date
CN106911582A true CN106911582A (en) 2017-06-30
CN106911582B CN106911582B (en) 2020-01-31

Family

ID=59186195

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710130843.7A Active CN106911582B (en) 2017-03-07 2017-03-07 real-time flow control method and system based on Nginx server

Country Status (1)

Country Link
CN (1) CN106911582B (en)

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108156088A (en) * 2018-02-02 2018-06-12 北京盛科维科技发展有限公司 Letter hair screen flow control methods and system, computer storage media
CN108234342A (en) * 2018-01-25 2018-06-29 北京搜狐新媒体信息技术有限公司 Nginx dynamic active current-limiting methods and system based on device-fingerprint
CN108234341A (en) * 2018-01-25 2018-06-29 北京搜狐新媒体信息技术有限公司 The passive current-limiting method of Nginx dynamics and system based on device-fingerprint
CN108418764A (en) * 2018-02-07 2018-08-17 深圳壹账通智能科技有限公司 Current-limiting method, device, computer equipment and storage medium
CN110417671A (en) * 2019-07-31 2019-11-05 中国工商银行股份有限公司 The current-limiting method and server of data transmission
CN110971534A (en) * 2019-11-13 2020-04-07 哈尔滨哈工大机器人集团嘉利通科技股份有限公司 Government affair public opinion-oriented uplink rate regulation and control method and device
CN112134811A (en) * 2020-09-30 2020-12-25 安徽极玩云科技有限公司 CDN cloud platform flow scheduling method
CN113765813A (en) * 2020-09-24 2021-12-07 北京沃东天骏信息技术有限公司 Method and device for dynamically adjusting message receiving rate

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101127632A (en) * 2006-08-15 2008-02-20 腾讯科技(深圳)有限公司 A method, system and redirector for server traffic control
CN102014109A (en) * 2009-09-08 2011-04-13 华为技术有限公司 Flood attack prevention method and device
JP2013126036A (en) * 2011-12-13 2013-06-24 Nippon Telegr & Teleph Corp <Ntt> Network connection control method and network connection control device
CN103379090A (en) * 2012-04-12 2013-10-30 腾讯科技(北京)有限公司 Open platform access frequency control method and system and frequency server
CN103944833A (en) * 2013-01-21 2014-07-23 中兴通讯股份有限公司 Method and device for flow control, and flow shaping system
US20140229523A1 (en) * 2011-09-07 2014-08-14 Nec Corporation Content delivery system, control apparatus, and content delivery method

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101127632A (en) * 2006-08-15 2008-02-20 腾讯科技(深圳)有限公司 A method, system and redirector for server traffic control
CN102014109A (en) * 2009-09-08 2011-04-13 华为技术有限公司 Flood attack prevention method and device
US20140229523A1 (en) * 2011-09-07 2014-08-14 Nec Corporation Content delivery system, control apparatus, and content delivery method
JP2013126036A (en) * 2011-12-13 2013-06-24 Nippon Telegr & Teleph Corp <Ntt> Network connection control method and network connection control device
CN103379090A (en) * 2012-04-12 2013-10-30 腾讯科技(北京)有限公司 Open platform access frequency control method and system and frequency server
CN103944833A (en) * 2013-01-21 2014-07-23 中兴通讯股份有限公司 Method and device for flow control, and flow shaping system

Cited By (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108234342A (en) * 2018-01-25 2018-06-29 北京搜狐新媒体信息技术有限公司 Nginx dynamic active current-limiting methods and system based on device-fingerprint
CN108234341A (en) * 2018-01-25 2018-06-29 北京搜狐新媒体信息技术有限公司 The passive current-limiting method of Nginx dynamics and system based on device-fingerprint
CN108234342B (en) * 2018-01-25 2021-08-13 北京搜狐新媒体信息技术有限公司 Nginx dynamic active current limiting method and system based on equipment fingerprint
CN108234341B (en) * 2018-01-25 2021-06-11 北京搜狐新媒体信息技术有限公司 Nginx dynamic passive current limiting method and system based on equipment fingerprint
CN108156088B (en) * 2018-02-02 2021-04-23 北京盛科维科技发展有限公司 Method and system for controlling flow of message sending screen and computer storage medium
CN108156088A (en) * 2018-02-02 2018-06-12 北京盛科维科技发展有限公司 Letter hair screen flow control methods and system, computer storage media
CN108418764A (en) * 2018-02-07 2018-08-17 深圳壹账通智能科技有限公司 Current-limiting method, device, computer equipment and storage medium
CN110417671A (en) * 2019-07-31 2019-11-05 中国工商银行股份有限公司 The current-limiting method and server of data transmission
CN110417671B (en) * 2019-07-31 2023-01-06 中国工商银行股份有限公司 Current limiting method and server for data transmission
CN110971534A (en) * 2019-11-13 2020-04-07 哈尔滨哈工大机器人集团嘉利通科技股份有限公司 Government affair public opinion-oriented uplink rate regulation and control method and device
CN110971534B (en) * 2019-11-13 2023-05-05 哈尔滨哈工智慧嘉利通科技股份有限公司 Uplink rate regulation and control method and device for government affair public opinion
CN113765813A (en) * 2020-09-24 2021-12-07 北京沃东天骏信息技术有限公司 Method and device for dynamically adjusting message receiving rate
CN112134811A (en) * 2020-09-30 2020-12-25 安徽极玩云科技有限公司 CDN cloud platform flow scheduling method
CN112134811B (en) * 2020-09-30 2022-08-09 安徽极玩云科技有限公司 CDN cloud platform flow scheduling method

Also Published As

Publication number Publication date
CN106911582B (en) 2020-01-31

Similar Documents

Publication Publication Date Title
CN106911582A (en) A kind of real-time traffic control method and system based on Nginx servers
US8630934B2 (en) System and method for monitoring trading
CN104519032B (en) A kind of security strategy and system of internet account number
CN106899549B (en) Network security detection method and device
CN101437030A (en) Method for preventing server from being attacked, detection device and monitoring device
CN109088909B (en) Service gray level publishing method and device based on merchant type
WO2007102720A1 (en) System for stabilizing of web service and method thereof
CN103136255B (en) The method and apparatus of information management
CN105897674A (en) DDoS attack protection method applied to CDN server group and system
Hall et al. Resilience of the internet interconnection ecosystem
CN101616007A (en) A kind of implementation method of MAP server, system and equipment
CN101446917A (en) Method and apparatus to monitor use of a program
CN105939342A (en) HTTP attack detection method and device
CN108574668A (en) A kind of ddos attack peak flow prediction technique based on machine learning
CN111343003A (en) Data analysis method and device based on block chain and SDN edge computing network system
CN107347015A (en) A kind of recognition methods of content distributing network, apparatus and system
CN107967117A (en) A kind of data storage, reading, method for cleaning, device and cloud storage system
CN108074084A (en) A kind of method, apparatus and server of delay disposal request
CN105939321B (en) A kind of DNS attack detection method and device
WO2006010113A3 (en) Systems for distributing data over a computer network and methods for arranging nodes for distribution of data over a computer network
CN103607419A (en) High-quality user account anti-sharing method and system
CN110457900A (en) A kind of website monitoring method, device, equipment and readable storage medium storing program for executing
Rosenthal et al. Economic measures to resist attacks on a peer-to-peer network
CN105991630B (en) A kind of shared access detection method and device
CN115277228A (en) Data access defense method and system in hierarchical network

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant