CN109981484A - A kind of monitoring system, monitoring method and monitoring center - Google Patents

A kind of monitoring system, monitoring method and monitoring center Download PDF

Info

Publication number
CN109981484A
CN109981484A CN201711464195.5A CN201711464195A CN109981484A CN 109981484 A CN109981484 A CN 109981484A CN 201711464195 A CN201711464195 A CN 201711464195A CN 109981484 A CN109981484 A CN 109981484A
Authority
CN
China
Prior art keywords
domain name
bandwidth
current limliting
whole network
real
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
CN201711464195.5A
Other languages
Chinese (zh)
Other versions
CN109981484B (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.)
Alibaba Group Holding Ltd
Original Assignee
Alibaba Group Holding 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 Alibaba Group Holding Ltd filed Critical Alibaba Group Holding Ltd
Priority to CN201711464195.5A priority Critical patent/CN109981484B/en
Publication of CN109981484A publication Critical patent/CN109981484A/en
Application granted granted Critical
Publication of CN109981484B publication Critical patent/CN109981484B/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
    • H04L47/2416Real-time traffic
    • 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
    • H04L47/2425Traffic characterised by specific attributes, e.g. priority or QoS for supporting services specification, e.g. SLA
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L61/00Network arrangements, protocols or services for addressing or naming
    • H04L61/45Network directories; Name-to-address mapping
    • H04L61/4505Network directories; Name-to-address mapping using standardised directories; using standardised directory access protocols
    • H04L61/4511Network directories; Name-to-address mapping using standardised directories; using standardised directory access protocols using domain name system [DNS]

Abstract

This application discloses a kind of monitoring system, monitoring method and monitoring centers;The monitoring system, comprising: monitoring center, one or more nodes;Monitoring center triggers the corresponding current limliting processing of the domain name suitable for periodically according to the configuration information of any domain name and the access information of the collected domain name, detecting whether;When detecting that triggering the corresponding current limliting of the domain name is handled, the corresponding current limliting strategy of the domain name is determined, and issue current limliting strategy to the node for dispatching the domain name.In this way, realizing the dynamic current limiting control based on domain name.

Description

A kind of monitoring system, monitoring method and monitoring center
Technical field
This application involves but be not limited to technical field of data processing more particularly to a kind of monitoring system, monitoring method and prison Control center.
Background technique
With the rapid growth of CDN (Content Delivery Network, content distributing network) platform, CDN is accessed The manufacturer of platform gradually increases.Especially for the video classes such as program request, live streaming manufacturer, since current video robber's chain situation is more, warp Often will appear actual bandwidth is more than the case where estimating flow.In addition, there are control bandwidths to carry out cost control for part manufacturer Demand.
Summary of the invention
It is the general introduction to the theme being described in detail herein below.This general introduction is not the protection model in order to limit claim It encloses.
The embodiment of the present application provides a kind of monitoring system, monitoring method and monitoring center, realizes the dynamic limit based on domain name Flow control.
In a first aspect, the embodiment of the present application provides a kind of monitoring system, comprising: monitoring center, one or more nodes;Its In, the monitoring center, suitable for periodically according to the access of the configuration information of any domain name and collected domain name Information detects whether the corresponding current limliting processing of triggering domain name;When detecting that the corresponding current limliting of triggering domain name is handled, It determines the corresponding current limliting strategy of domain name, and issues the current limliting strategy to the node of scheduling domain name.
It in the exemplary embodiment, may include: the whole network setting band of domain name in the configuration information of domain name It is wide;The access information of domain name may include: bandwidth information;
The monitoring center may be adapted to periodically according to the configuration information of any domain name and adopt in the following manner The access information of the domain name collected detects whether the corresponding current limliting processing of triggering domain name:
Periodically according to the bandwidth information of collected domain name, the whole network real-time bandwidth of domain name is determined;Than The whole network setting bandwidth and the whole network real-time bandwidth are less than the whole network real-time bandwidth in described the whole network setting bandwidth When, the corresponding current limliting processing of triggering domain name.
In the exemplary embodiment, the bandwidth information of collected domain name of any period may include: static straps Wide and real-time bandwidth;
The monitoring center may be adapted to periodically be believed according to the bandwidth of collected domain name in the following manner Breath, determines the whole network real-time bandwidth of domain name:
When difference between this period collected static bandwidth and the real-time bandwidth meets setting condition, really The whole network real-time bandwidth for determining domain name is equal to this period collected real-time bandwidth, alternatively, being equal to this period and this week Phase is previous or the average value of multiple period collected static bandwidths;
When difference between this period collected static bandwidth and the real-time bandwidth is unsatisfactory for imposing a condition, Determine that the whole network real-time bandwidth of domain name is equal to this period collected static bandwidth.
In the exemplary embodiment, the corresponding current limliting strategy of domain name may include: the current limliting according to domain name Ratio, the quantity of the request of control access domain name;
The monitoring center may be adapted to determine the corresponding current limliting strategy of domain name in the following manner:
Calculate the whole network setting bandwidth of domain name and difference and the whole network real-time bandwidth of the whole network real-time bandwidth Percentage, the current limliting ratio as domain name.
In the exemplary embodiment, the corresponding current limliting strategy of domain name can also include: control access domain name Each request occupied by data volume be less than or equal to cut-off current.
In the exemplary embodiment, above-mentioned monitoring system can also include: console and database;Wherein, described Console, suitable for the configuration information of domain name is transferred to the monitoring center;The monitoring center, is further adapted for described in reception The configuration information of domain name handles the configuration information, and the configuration information is stored to the data by treated Library.
Second aspect, the embodiment of the present application provide a kind of monitoring method, comprising:
Monitoring center periodically according to the access information of the configuration information of any domain name and collected domain name, Detect whether the corresponding current limliting processing of triggering domain name;
The monitoring center determines the corresponding limit of domain name when detecting that the corresponding current limliting of triggering domain name is handled Flow Policy;
The monitoring center issues the current limliting strategy to the node of scheduling domain name.
It in the exemplary embodiment, may include: the whole network setting band of domain name in the configuration information of domain name It is wide;The access information of domain name may include: bandwidth information;
The monitoring center is periodically according to the access of the configuration information of any domain name and collected domain name Information detects whether the corresponding current limliting processing of triggering domain name, may include:
The monitoring center determines that the whole network of domain name is real periodically according to the bandwidth information for collecting domain name Time Bandwidth;Compare the whole network setting bandwidth and the whole network real-time bandwidth, is less than described the whole network in described the whole network setting bandwidth When real-time bandwidth, the corresponding current limliting processing of triggering domain name.
In the exemplary embodiment, the bandwidth information of collected domain name of any period may include: static straps Wide and real-time bandwidth;
The monitoring center periodically according to the bandwidth information of collected domain name, determines the whole network of domain name Real-time bandwidth may include:
When difference between this period collected static bandwidth and the real-time bandwidth meets setting condition, really The whole network real-time bandwidth for determining domain name is equal to this period collected real-time bandwidth, alternatively, being equal to this period and this week Phase is previous or the average value of multiple period collected static bandwidths;
When difference between this period collected static bandwidth and the real-time bandwidth is unsatisfactory for imposing a condition, Determine that the whole network real-time bandwidth of domain name is equal to this period collected static bandwidth.
In the exemplary embodiment, the corresponding current limliting strategy of domain name may include: the current limliting according to domain name Ratio, the quantity of the request of control access domain name;
The corresponding current limliting strategy of the determining domain name may include:
The difference of the whole network setting bandwidth and the whole network real-time bandwidth that calculate domain name accounts for the whole network real-time bandwidth Percentage, the current limliting ratio as domain name.
In the exemplary embodiment, the monitoring center to scheduling domain name node issue the current limliting strategy it Before, above-mentioned monitoring method can also include: enabled current limliting strategy on the node for obtain scheduling domain name;
Correspondingly, the monitoring center issues the current limliting strategy to the node of scheduling domain name, may include:
When the current limliting strategy difference determined in the enabled current limliting strategy and this period, the monitoring center is to described Node issues the current limliting strategy determined in this period.
The third aspect, the embodiment of the present application provide a kind of monitoring center, comprising:
Monitoring unit, suitable for periodically according to the access of the configuration information of any domain name and collected domain name Information detects whether the corresponding current limliting processing of triggering domain name;
Policy determining unit, suitable for determining domain name pair when detecting that the corresponding current limliting of triggering domain name is handled The current limliting strategy answered;
Transmission unit, suitable for issuing the current limliting strategy to the node of scheduling domain name.
It in the exemplary embodiment, may include: the whole network setting band of domain name in the configuration information of domain name It is wide;The access information of domain name may include: bandwidth information;
The monitoring unit may be adapted to periodically according to the configuration information of any domain name and adopt in the following manner The access information of the domain name collected detects whether the corresponding current limliting processing of triggering domain name:
Periodically according to the bandwidth information for collecting domain name, the whole network real-time bandwidth of domain name is determined;Compare The whole network setting bandwidth and the whole network real-time bandwidth, when described the whole network setting bandwidth is less than the whole network real-time bandwidth, Trigger the corresponding current limliting processing of domain name.
In the exemplary embodiment, the corresponding current limliting strategy of domain name may include: the current limliting according to domain name Ratio, the quantity of the request of control access domain name;
The policy determining unit may be adapted to determine the corresponding current limliting strategy of domain name in the following manner: calculate The whole network setting bandwidth of domain name and the difference of the whole network real-time bandwidth account for the percentage of the whole network real-time bandwidth, as The current limliting ratio of domain name.
Fourth aspect, the embodiment of the present application provide a kind of equipment, comprising: memory and processor, the memory are used In storage monitoring programme;The monitoring programme realizes the monitoring side that above-mentioned second aspect provides when being read and being executed by the processor The step of method.
In addition, the embodiment of the present application also provides a kind of computer-readable medium, it is stored with monitoring programme, the monitoring programme The step of monitoring method that above-mentioned second aspect provides is realized when being executed by processor.
In the embodiment of the present application, monitoring center is suitable for periodically according to the configuration information of any domain name and collecting The domain name bandwidth information, detect whether to trigger the corresponding current limliting processing of the domain name;Detecting that the triggering domain name is corresponding When current limliting processing, the corresponding current limliting strategy of the domain name is determined, and issue the current limliting strategy to the node for dispatching the domain name.The application It is realized by monitoring center and the dynamic of the corresponding the whole network bandwidth of each domain name is monitored, current limliting plan is issued to node by periodicity Controlling mechanism slightly realizes dynamic current limiting control.Exceeded using the current limliting processing prevention continuous linear increase of bandwidth and estimates flow Problem, and artificial O&M cost can be saved.
After reading and understanding attached drawing and detailed description, it can be appreciated that other aspects.
Detailed description of the invention
Fig. 1 is the schematic diagram of monitoring system provided by the embodiments of the present application;
Fig. 2 is the interaction diagrams of monitoring system provided by the embodiments of the present application;
Fig. 3 is the flow chart of monitoring method provided by the embodiments of the present application;
Fig. 4 is the schematic diagram of monitoring center provided by the embodiments of the present application.
Specific embodiment
The embodiment of the present application is described in detail below in conjunction with attached drawing, it should be understood that embodiments described below is only For instruction and explanation of the application, it is not used to limit the application.
It should be noted that each feature in the embodiment of the present application and embodiment can be tied mutually if do not conflicted It closes, within the scope of protection of this application.In addition, though logical order is shown in flow charts, but in certain situations Under, it can be with the steps shown or described are performed in an order that is different from the one herein.
In some embodiments, the calculating equipment for executing monitoring method may include one or more processors (CPU), defeated Enter/output interface, network interface and memory (memory).
Memory may include non-volatile memory in computer-readable medium, random access memory (RAM) and/or The forms such as Nonvolatile memory, such as read-only memory (ROM) or flash memory (flash RAM).Memory is computer-readable medium Example.Memory may include module 1, module 2 ... ..., module N (N is the integer greater than 2).
Computer-readable medium includes permanent and non-permanent, removable and non-movable storage medium.Storage medium It can be accomplished by any method or technique information storage.Information can be the mould of computer readable instructions, data structure, program Block or other data.The example of the storage medium of computer includes, but are not limited to phase change memory (PRAM), static random-access is deposited Reservoir (SRAM), dynamic random access memory (DRAM), other kinds of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory techniques, CD-ROM are read-only Memory (CD-ROM), digital versatile disc (DVD) or other optical storage, magnetic cassettes, disk storage or other magnetic Property storage equipment or any other non-transmission medium, can be used for storing and can be accessed by a computing device information.According to herein Define, computer-readable medium does not include non-temporary computer readable media (transitory media), such as modulation data Signal and carrier wave.
Below to this application involves concept be illustrated.
Domain name (domain): the upper a certain meter in internet (Internet) formed by a string with the English alphabet of point segmentation Calculation machine or the title for calculating unit, for indicating the orientation or geographical location of computer when data transmission.
Bandwidth: the data transmission capabilities of id signal transmission can be used to, refer in the application and access a domain in the unit time The data volume of the occupied all links of name.
Fig. 1 is the schematic diagram of monitoring system provided by the embodiments of the present application.As shown in Figure 1, monitoring provided in this embodiment One or more nodes that system includes: monitoring center 102, is communicated with monitoring center 102, for example, node 103a, 103n.
In the present embodiment, monitoring center 102, suitable for periodically according to the configuration information of any domain name and collected The access information of the domain name detects whether to trigger the corresponding current limliting processing of the domain name;The corresponding limit of the domain name is triggered detecting When stream process, the current limliting strategy of the domain name is determined, and issue current limliting strategy to the node for dispatching the domain name.Node is suitable for receiving To after current limliting strategy, handled according to the current limliting strategy execution current limliting received.
In example implementations, monitoring center 102 can issue the current limliting strategy of domain name by metaq interface, adjust The node for spending the domain name can be by the current limliting strategy of the subscription metaq message sink domain name.Wherein, metaq is based on publication With a kind of middleware of transmission message of subscribing manner.However, the application does not limit this.
In the present embodiment, monitoring center 102 can be deployed in one or more calculate on equipment (for example, server).So And the application does not limit this.
As shown in Figure 1, monitoring system provided in this embodiment can also include: console 104 and database 105.Wherein, Console 104, suitable for the configuration information of domain name is transferred to monitoring center 102;Monitoring center 102 is further adapted for receiving domain name Configuration information, and store after handling configuration information to database 105.
Wherein, console 104 can issue the configuration information of domain name, monitoring center 102 and scheduling by metaq interface The node of the domain name can receive the configuration information of the domain name by subscribing to metaq message.However, the application to this not It limits.
Wherein, the configuration information of domain name can be arranged in user or network administrator by console 104.
In the exemplary embodiment, the configuration information of domain name may include: domain name, the whole network setting bandwidth, cycle information; Illustratively, configuration information can also include at least one of: preset current limliting ratio, preset cut-off current.However, this Shen Please this is not limited.
In the present embodiment, after monitoring center 102 receives the configuration information of domain name, legal school can be carried out to configuration information Test, the processing such as Conversion of measurement unit, then will treated configuration information storage to database 105.Wherein, legal verification for example can be with Including checking whether the whole network setting bandwidth in configuration information is reasonable, and Conversion of measurement unit for example may include will be complete in configuration information Net sets bandwidth conversion to indicate as unit of byte.However, the application does not limit this.
In the present embodiment, database 105 can be mysql database.However, the application does not limit this.
Wherein, it can store the configuration information of domain name in database 105, illustratively, can also be recorded in database 105 The corresponding data renewal time information of each domain name illustratively can also be stored and be periodically calculated for each domain name Current limliting ratio.
It in the exemplary embodiment, may include: the whole network setting bandwidth of domain name in the configuration information of domain name;Domain name Access information may include: bandwidth information;
Monitoring center 102 may be adapted to periodically according to the configuration information of any domain name and adopt in the following manner The bandwidth information of the domain name collected detects whether to trigger the corresponding current limliting processing of the domain name:
Periodically according to the bandwidth information of the collected domain name, the whole network real-time bandwidth of the domain name is determined;Compare complete Net setting bandwidth and the whole network real-time bandwidth trigger the corresponding limit of the domain name when the whole network setting bandwidth is less than the whole network real-time bandwidth Stream process.Wherein, it when the whole network setting bandwidth is greater than or equal to the whole network real-time bandwidth, does not trigger at the corresponding current limliting of the domain name Reason.
In the exemplary embodiment, the bandwidth information of the collected domain name of any period may include: static bandwidth And real-time bandwidth;
Monitoring center 102 may be adapted in the following manner periodically according to the bandwidth information of collected domain name, really The whole network real-time bandwidth of localization name:
When difference between this period collected static bandwidth and real-time bandwidth meets setting condition, the domain name is determined The whole network real-time bandwidth be equal to this period collected real-time bandwidth, alternatively, be equal to this period and this period it is previous or more The average value of a period collected static bandwidth;
When difference between this period collected static bandwidth and real-time bandwidth is unsatisfactory for imposing a condition, the domain is determined The whole network real-time bandwidth of name is equal to this period collected static bandwidth.
Wherein, setting condition may include being less than or equal to threshold value.However, the application does not limit this.
Wherein, bandwidth calculation service module can be set in monitoring center 102, for periodically acquiring the bandwidth letter of domain name Breath;Static bandwidth is the bandwidth analyzed based on access log.However, the application does not limit this.In other realization sides In formula, bandwidth calculation service module can be provided separately with monitoring center 102, and monitoring center 102 can pass through interface and bandwidth It calculates service module to be communicated, obtains collected bandwidth information from bandwidth calculation service module.
In the exemplary embodiment, the corresponding current limliting strategy of domain name may include: the current limliting ratio according to domain name, control Access the quantity of the request of the domain name;
Monitoring center 102 may be adapted to determine the corresponding current limliting strategy of domain name in the following manner:
The difference of the whole network setting bandwidth and the whole network real-time bandwidth that calculate domain name accounts for the percentage of the whole network real-time bandwidth, as The current limliting ratio of the domain name.
Illustratively, current limliting ratio can be preset in configuration information, alternatively, can be carried out by monitoring center 102 Setting.However, the application does not limit this.
In the exemplary embodiment, the corresponding current limliting strategy of domain name can also include: that control accesses each of the domain name Occupied data volume is requested to be less than or equal to cut-off current.Wherein, cut-off current can be preset in configuration information, alternatively, can To be configured by monitoring center 102.However, the application does not limit this.
In the exemplary embodiment, the access information of domain name may include: to dispatch the node of the domain name, dispatch the domain name Any node on number of requests, the downloading rate of each request;
Monitoring center 102 may be adapted to detect whether the corresponding current limliting processing of triggering domain name in the following manner:
According to the downloading rate of number of requests and each request in any node for dispatching the domain name, the domain name is calculated The whole network real-time bandwidth;
The whole network setting bandwidth and the whole network real-time bandwidth for comparing the domain name are less than the whole network real-time bandwidth in the whole network setting bandwidth When, trigger the corresponding current limliting processing of the domain name.Wherein, it when the whole network setting bandwidth is greater than or equal to the whole network real-time bandwidth, does not touch Send out the corresponding current limliting processing of the domain name.
In the exemplary embodiment, the corresponding current limliting strategy of domain name may include at least one of: should according to scheduling Request Limited Doses on the node of domain name, control the quantity of the request on the node;Under on the node for dispatching the domain name Rate limitation value is carried, the downloading rate of the request on the node is controlled.Illustratively, Limited Doses, downloading rate limits value are requested It can be preset in configuration information, alternatively, can be configured by monitoring center 102.Illustratively, for the scheduling domain The different nodes of name can configure different request Limited Doses or downloading rate limits value.However, the application to this and it is unlimited It is fixed.
Fig. 2 is the interaction diagrams of the monitoring system of the embodiment of the present application.Referring to Fig. 2 to prison provided in this embodiment The interaction flow of control system is illustrated.As shown in Fig. 2, the interaction flow of monitoring system provided in this embodiment includes:
S201, user or network administrator issue the configuration information of domain name by console;Wherein, console passes through The newly-increased of the configuration information of domain name, deletion, the publication of three category informations of change may be implemented in metaq interface.Illustratively, Yong Huhuo Network administrator can be with the configuration information of nslookup on console.
Illustratively, the configuration information of a domain name may include: domain name, the whole network setting bandwidth, cycle information.
S202, monitoring center subscribe to metaq message after, receive the configuration information of domain name, and to configuration information at After reason, by treated, configuration information is stored to database, such as mysql database.
In the present embodiment, the one or more nodes for dispatching the domain name also can receive this by subscribing to metaq message The configuration information of domain name.
S203, monitoring center start by set date task scan thread, after scan database acquisition task, triggering task processing Thread works.Wherein, timing length can be pre-configured with, and the application does not limit this.
For example, the monitoring period of domain name A is, for example, 5 hours by taking domain name A, B as an example, the monitoring period of domain name B is, for example, 2 Hour, then monitoring center judges the domain name of current time and data-base recording by the data renewal time information of scanning domain name A Whether the difference of the data renewable time of A is greater than or equal to 5 hours, if so, obtaining the configuration information of domain name A, and opens domain name A Dynamic task handles thread;Similarly, monitoring center by scanning domain name B data renewal time information, judge current time with Whether the difference of the data renewable time of the domain name B of data-base recording is greater than or equal to 2 hours, if so, obtaining the configuration of domain name B Information, and thread is handled to domain name B starting task.
In the present embodiment, using the things and row lock mechanism of mysql database, thread can be handled to avoid task right When the task of one domain name is handled, other tasks processing thread operates the obtaining the domain name of the task again, realizes task Deduplication operation.
S204, in the task processing thread pool of monitoring center, each task processing thread can detecte after actuation is The no current limliting processing for triggering corresponding domain name.
Wherein, detect whether that the current limliting processing for triggering corresponding domain name may include:
Static bandwidth and real-time bandwidth are obtained from bandwidth calculation service module, wherein bandwidth calculation service module is periodical The acquisition of ground progress static bandwidth and real-time bandwidth;The collection period of bandwidth information and monitoring period can be identical;
When difference between this period collected static bandwidth and real-time bandwidth is less than or equal to threshold value, domain name is determined The whole network real-time bandwidth be equal to this period collected real-time bandwidth, alternatively, be equal to this period and this period it is previous or multiple The average value of period collected static bandwidth;
When difference between this period collected static bandwidth and real-time bandwidth is greater than threshold value, the whole network of domain name is determined Real-time bandwidth is equal to this period collected static bandwidth;
Compare the whole network setting bandwidth and the whole network real-time bandwidth, when the whole network setting bandwidth is less than the whole network real-time bandwidth, triggering The corresponding current limliting processing of domain name does not trigger the corresponding limit of domain name when the whole network setting bandwidth is greater than or equal to the whole network real-time bandwidth Stream process.
When detecting that not triggering the corresponding current limliting of domain name is handled, terminate task processing thread;Detecting trigger field When name corresponding current limliting processing, task processing thread continues to execute S205.
S205, task processing thread calculate current limliting ratio after detecting the current limliting processing for triggering corresponding domain name.
In this step, the current limliting ratio of domain name can calculate according to the following formula:
Current limliting ratio=(1- the whole network sets bandwidth/the whole network real-time bandwidth) × 100%.
After current limliting ratio is calculated, the current limliting strategy of the domain name can be determined;In this example, for example, one The current limliting strategy of domain name includes: the current limliting ratio according to the domain name, and control accesses the quantity of the request of the domain name;And control access Data volume occupied by each request of the domain name is less than or equal to cut-off current.Illustratively, cut-off current can matching by the domain name Confidence breath carries.
In the exemplary embodiment, monitoring center is provided with domain name white list, not for the domain name in domain name white list It carries out current limliting processing and does not issue the domain name that is, when detecting the domain name of triggering current limliting processing includes in domain name white list Current limliting strategy.Wherein, domain name white list can be pre-configured with.However, the application does not limit this.
In the exemplary embodiment, after determining the current limliting ratio of domain name, current limliting ratio can be compared and setting is accused Alert value does not issue the current limliting ratio, alternatively, issuing the maximum current limliting ratio of setting if current limliting ratio is greater than setting warning value.
In the exemplary embodiment, after determining the current limliting strategy of domain name, the section for dispatching the domain name can also be obtained Enabled current limliting strategy on point compares the current limliting strategy and enabled current limliting strategy of the determination of this period, if the two is identical, The current limliting strategy for not issuing the determination of this period avoids repeating to issue machine operation on current limliting strategy influence line.
S206, monitoring center issue this period determining current limliting strategy to the node for dispatching the domain name.
In the present embodiment, when the node for dispatching the domain name gets the current limliting strategy issued, limited according to current limliting strategy execution Flowing is made;For example, limiting according to the current limliting ratio of domain name the quantity of request, for example, the current limliting ratio of a domain name is 20%, then can will access the request total amount of the domain name 20% disconnects, and returns to corresponding error code to the request of disconnection.It needs It is noted that on node counter can be independently arranged according to domain name, sharing counter is avoided to lead to current limliting inaccuracy Problem.
In summary, monitoring system provided in this embodiment is realized by the automatic real-time perfoming bandwidth monitor of monitoring center Timely and effective control to the whole network bandwidth;And save artificial O&M cost.
Fig. 3 is the flow chart of monitoring method provided by the embodiments of the present application.As shown in figure 3, the monitoring method of the present embodiment, Include:
S301, monitoring center are periodically believed according to the access of the configuration information of any domain name and the collected domain name Breath detects whether to trigger the corresponding current limliting processing of the domain name;
S302, monitoring center determine the corresponding current limliting of the domain name when detecting that triggering the corresponding current limliting of the domain name is handled Strategy;
S303, monitoring center issue current limliting strategy to the node for dispatching the domain name.
It may include: the whole network setting bandwidth of domain name in exemplary embodiment party, in the configuration information of domain name;The visit of domain name Ask that information may include: bandwidth information;
S301 may include: periodically to determine the real-time band of the whole network of the domain name according to the bandwidth information for collecting domain name It is wide;Compare the whole network setting bandwidth and the whole network real-time bandwidth, when the whole network setting bandwidth is less than the whole network real-time bandwidth, triggers the domain name Corresponding current limliting processing.Wherein, when the whole network setting bandwidth is greater than or equal to the whole network real-time bandwidth, it is corresponding that the domain name is not triggered Current limliting processing.
In the exemplary embodiment, the bandwidth information of the collected domain name of any period may include: static bandwidth And real-time bandwidth;
Periodically according to the bandwidth information of collected domain name, determines the whole network real-time bandwidth of the domain name, may include:
When difference between this period collected static bandwidth and real-time bandwidth meets setting condition, the domain name is determined The whole network real-time bandwidth be equal to this period collected real-time bandwidth, alternatively, be equal to this period and this period it is previous or multiple The average value of period collected static bandwidth;
When difference between this period collected static bandwidth and real-time bandwidth is unsatisfactory for imposing a condition, the domain is determined The whole network real-time bandwidth of name is equal to this period collected static bandwidth.
Illustratively, setting condition may include being less than or equal to threshold value.However, the application does not limit this.
In the exemplary embodiment, the corresponding current limliting strategy of domain name may include: the current limliting ratio according to domain name, control Access the quantity of the request of the domain name;
S302 may include: that the difference for the whole network setting bandwidth and the whole network real-time bandwidth for calculating the domain name accounts for the real-time band of the whole network Wide percentage, the current limliting ratio as the domain name.
In the exemplary embodiment, before S303, the monitoring method of the present embodiment can also include: to obtain to dispatch the domain Enabled current limliting strategy on the node of name;
Correspondingly, S303 may include:
In the current limliting strategy difference that enabled current limliting strategy and this period determine, monitoring center issues this to the node The current limliting strategy that period determines.
Related description about monitoring method provided in this embodiment is referred to the description of above-mentioned monitoring system, therefore in this It repeats no more.
Fig. 4 is the schematic diagram of monitoring center provided by the embodiments of the present application.As shown in figure 4, monitoring provided in this embodiment Center, comprising:
Monitoring unit 401, suitable for periodically according to the visit of the configuration information of any domain name and the collected domain name It asks information, detects whether to trigger the corresponding current limliting processing of the domain name;
Policy determining unit 402, suitable for determining that the domain name is corresponding when detecting that triggering the corresponding current limliting of the domain name is handled Current limliting strategy;
Transmission unit 403, suitable for issuing the current limliting strategy to the node for dispatching the domain name.
It in the exemplary embodiment, may include: the whole network setting bandwidth of domain name in the configuration information of domain name;Domain name Access information may include: bandwidth information;
Monitoring unit 401 may be adapted in the following manner periodically according to the configuration information of any domain name and acquisition The access information of the domain name arrived detects whether to trigger the corresponding current limliting processing of the domain name:
Periodically according to the bandwidth information of the collected domain name, the whole network real-time bandwidth of the domain name is determined;Compare complete Net setting bandwidth and the whole network real-time bandwidth trigger the corresponding limit of the domain name when the whole network setting bandwidth is less than the whole network real-time bandwidth Stream process.Wherein, it when the whole network setting bandwidth is greater than or equal to the whole network real-time bandwidth, does not trigger at the corresponding current limliting of the domain name Reason.
In the exemplary embodiment, the bandwidth information of collected domain name of any period may include: static bandwidth with And real-time bandwidth;
Monitoring unit 401 may be adapted in the following manner periodically according to the bandwidth information of collected domain name, really The whole network real-time bandwidth of the fixed domain name:
When difference between this period collected static bandwidth and real-time bandwidth meets setting condition, the domain name is determined The whole network real-time bandwidth be equal to this period collected real-time bandwidth, alternatively, be equal to this period and this period it is previous or multiple The average value of period collected static bandwidth;
When difference between this period collected static bandwidth and real-time bandwidth is unsatisfactory for imposing a condition, the domain is determined The whole network real-time bandwidth of name is equal to this period collected static bandwidth.
In the exemplary embodiment, the corresponding current limliting strategy of domain name may include: the current limliting ratio according to the domain name, control System accesses the quantity of the request of the domain name;
Policy determining unit 402 may be adapted to determine the corresponding current limliting strategy of the domain name in the following manner:
The difference of the whole network setting bandwidth and the whole network real-time bandwidth that calculate the domain name accounts for the percentage of the whole network real-time bandwidth, makees For the current limliting ratio of the domain name.
In the exemplary embodiment, transmission unit 403 can be adapted to obtain and enable on the node for dispatching the domain name Current limliting strategy, when the current limliting strategy difference that enabled current limliting strategy and this period determine on this node, under the node Send out the current limliting strategy of this period determination.
Related description about monitoring center provided in this embodiment is referred to above-mentioned monitoring method and monitoring system Description, therefore repeated no more in this.
In addition, the embodiment of the present application also provides a kind of equipment, comprising: memory and processor, for depositing on memory Store up monitoring programme;The monitoring programme is when being read out by the processor execution, the step of executing above-mentioned monitoring method.
Wherein, equipment provided in this embodiment can be server.However, the application does not limit this.
Wherein, processor can include but is not limited to microprocessor (MCU, Microcontroller Unit) or programmable The processing unit of logical device (FPGA, Field-Programmable Gate Array) etc..Memory can be used for storing application The software program and module of software, as in the present embodiment the corresponding program instruction of monitoring method or module, processor pass through The software program and module being stored in memory is run to realize thereby executing various function application and data processing Above-mentioned monitoring method.Memory may include high speed random access memory, may also include nonvolatile memory, such as one or more A magnetic storage device, flash memory or other non-volatile solid state memories.In some instances, memory can be wrapped further The memory remotely located relative to processor is included, these remote memories can pass through network connection to above equipment.It is above-mentioned The example of network includes but is not limited to internet, intranet, local area network, mobile radio communication and combinations thereof.
Wherein, above equipment can also include: communication unit, can receive or send data via a network.? In one example, communication unit can be radio frequency (Radio Frequency, referred to as RF) module, be used to pass through wireless parties Formula is communicated with internet.
In addition, the embodiment of the present application also provides a kind of computer-readable medium, it is stored with monitoring programme, the monitoring programme The step of above-mentioned monitoring method is realized when being executed by processor.
It will appreciated by the skilled person that whole or certain steps, system, dress in method disclosed hereinabove Functional module or unit in setting may be implemented as software, firmware, hardware and its combination appropriate.In hardware embodiment In, the division between functional module or unit referred in the above description not necessarily corresponds to the division of physical assemblies;For example, One physical assemblies can have multiple functions or a function or step and can be executed by several physical assemblies cooperations.Certain A little components or all components may be implemented as by processor, such as the software that digital signal processor or microprocessor execute, or Person is implemented as hardware, or is implemented as integrated circuit, such as specific integrated circuit.Such software can be distributed in machine can It reads on medium (for example, computer-readable medium), computer-readable medium may include computer storage medium (or non-transitory Medium) and communication media (or fugitive medium).Such as known to a person of ordinary skill in the art, term computer storage medium packet Include for store information (such as computer readable instructions, data structure, program module or other data) any method or The volatile and non-volatile implemented in technology, removable and nonremovable medium.Computer storage medium includes but is not limited to RAM, ROM, EEPROM, flash memory or other memory technologies, CD-ROM, digital versatile disc (DVD) or other optical disc storages, magnetic Box, tape, disk storage or other magnetic memory apparatus or it can be used for storing desired information and can be visited by computer Any other medium asked.In addition, known to a person of ordinary skill in the art be, communication media generally comprises computer-readable Other numbers in the modulated data signal of instruction, data structure, program module or such as carrier wave or other transmission mechanisms etc According to, and may include any information delivery media.
The advantages of basic principles and main features and the application of the application have been shown and described above.The application is not by upper The limitation for stating embodiment, the above embodiments and description only describe the principles of the application, are not departing from the application Under the premise of spirit and scope, the application be will also have various changes and improvements, these changes and improvements both fall within claimed Within the scope of the application.

Claims (16)

1. a kind of monitoring system characterized by comprising monitoring center, one or more nodes;
The monitoring center, suitable for periodically according to the access of the configuration information of any domain name and collected domain name Information detects whether the corresponding current limliting processing of triggering domain name;When detecting that the corresponding current limliting of triggering domain name is handled, It determines the corresponding current limliting strategy of domain name, and issues the current limliting strategy to the node of scheduling domain name.
2. system according to claim 1, which is characterized in that include: domain name in the configuration information of domain name The whole network sets bandwidth;The access information of domain name includes: bandwidth information;
The monitoring center, suitable in the following manner periodically according to the configuration information of any domain name and collected institute The access information for stating domain name detects whether the corresponding current limliting processing of triggering domain name:
Periodically according to the bandwidth information of collected domain name, the whole network real-time bandwidth of domain name is determined;Compare institute The whole network setting bandwidth and the whole network real-time bandwidth are stated, when described the whole network setting bandwidth is less than the whole network real-time bandwidth, touching Send out the corresponding current limliting processing of domain name.
3. system according to claim 2, which is characterized in that the bandwidth information packet of any period collected domain name It includes: static bandwidth and real-time bandwidth;
The monitoring center, suitable for periodically according to the bandwidth information of collected domain name, determining in the following manner The whole network real-time bandwidth of domain name:
When difference between this period collected static bandwidth and the real-time bandwidth meets setting condition, institute is determined The whole network real-time bandwidth for stating domain name is equal to this period collected real-time bandwidth, alternatively, before being equal to this period and this period The average value of one or more period collected static bandwidths;
When difference between this period collected static bandwidth and the real-time bandwidth is unsatisfactory for imposing a condition, determine The whole network real-time bandwidth of domain name is equal to this period collected static bandwidth.
4. system according to claim 2, which is characterized in that the corresponding current limliting strategy of domain name includes: according to described The current limliting ratio of domain name, the quantity of the request of control access domain name;
The monitoring center is suitable for determining the corresponding current limliting strategy of domain name in the following manner:
Calculate the hundred of the whole network setting bandwidth of domain name and the difference of the whole network real-time bandwidth and the whole network real-time bandwidth Divide ratio, the current limliting ratio as domain name.
5. system according to claim 4, which is characterized in that the corresponding current limliting strategy of domain name further include: control is visited Ask that data volume occupied by each request of domain name is less than or equal to cut-off current.
6. system according to claim 1, which is characterized in that the system also includes: console and database;It is described Console, suitable for the configuration information of domain name is transferred to the monitoring center;The monitoring center, is further adapted for described in reception The configuration information of domain name handles the configuration information, and the configuration information is stored to the data by treated Library.
7. a kind of monitoring method characterized by comprising
Monitoring center is periodically according to the access information of the configuration information of any domain name and collected domain name, detection Whether domain name corresponding current limliting processing is triggered;
The monitoring center determines the corresponding current limliting plan of domain name when detecting that the corresponding current limliting of triggering domain name is handled Slightly;
The monitoring center issues the current limliting strategy to the node of scheduling domain name.
8. the method according to the description of claim 7 is characterized in that including: domain name in the configuration information of domain name The whole network sets bandwidth;The access information of domain name includes: bandwidth information;
The monitoring center periodically according to the access information of the configuration information of any domain name and collected domain name, Detect whether the corresponding current limliting processing of triggering domain name, comprising:
The monitoring center periodically according to the bandwidth information for collecting domain name, determines the real-time band of the whole network of domain name It is wide;Compare the whole network setting bandwidth and the whole network real-time bandwidth, it is real-time to be less than described the whole network in described the whole network setting bandwidth When bandwidth, the corresponding current limliting processing of triggering domain name.
9. according to the method described in claim 8, it is characterized in that, the bandwidth information packet of collected domain name of any period It includes: static bandwidth and real-time bandwidth;
The monitoring center determines that the whole network of domain name is real-time periodically according to the bandwidth information of collected domain name Bandwidth, comprising:
When difference between this period collected static bandwidth and the real-time bandwidth meets setting condition, institute is determined The whole network real-time bandwidth for stating domain name is equal to this period collected real-time bandwidth, alternatively, before being equal to this period and this period The average value of one or more period collected static bandwidths;
When difference between this period collected static bandwidth and the real-time bandwidth is unsatisfactory for imposing a condition, determine The whole network real-time bandwidth of domain name is equal to this period collected static bandwidth.
10. according to the method described in claim 8, it is characterized in that, the corresponding current limliting strategy of domain name includes: according to described The current limliting ratio of domain name, the quantity of the request of control access domain name;
The corresponding current limliting strategy of the determining domain name, comprising:
The difference of the whole network setting bandwidth and the whole network real-time bandwidth that calculate domain name accounts for the hundred of the whole network real-time bandwidth Divide ratio, the current limliting ratio as domain name.
11. the method according to the description of claim 7 is characterized in that the monitoring center to scheduling domain name node under Before sending out current limliting strategy described, the method also includes: obtain enabled current limliting strategy on the node of scheduling domain name;
Correspondingly, the monitoring center issues the current limliting strategy to the node of scheduling domain name, comprising:
When the current limliting strategy difference determined in the enabled current limliting strategy and this period, the monitoring center is to the node Issue the current limliting strategy of this period determination.
12. a kind of monitoring center characterized by comprising
Monitoring unit, suitable for periodically being believed according to the access of the configuration information of any domain name and collected domain name Breath detects whether the corresponding current limliting processing of triggering domain name;
Policy determining unit, suitable for determining that domain name is corresponding when detecting that the corresponding current limliting of triggering domain name is handled Current limliting strategy;
Transmission unit, suitable for issuing the current limliting strategy to the node of scheduling domain name.
13. monitoring center according to claim 12, which is characterized in that include: described in the configuration information of domain name The whole network of domain name sets bandwidth;The access information of domain name includes: bandwidth information;
The monitoring unit is suitable in the following manner periodically according to the configuration information of any domain name and collected institute The access information for stating domain name detects whether the corresponding current limliting processing of triggering domain name:
Periodically according to the bandwidth information for collecting domain name, the whole network real-time bandwidth of domain name is determined;Compare described The whole network sets bandwidth and the whole network real-time bandwidth, when described the whole network setting bandwidth is less than the whole network real-time bandwidth, triggering The corresponding current limliting processing of domain name.
14. monitoring center according to claim 13, which is characterized in that the corresponding current limliting strategy of domain name include: by According to the current limliting ratio of domain name, the quantity of the request of control access domain name;
The policy determining unit is suitable for determining the corresponding current limliting strategy of domain name in the following manner:
The difference of the whole network setting bandwidth and the whole network real-time bandwidth that calculate domain name accounts for the hundred of the whole network real-time bandwidth Divide ratio, the current limliting ratio as domain name.
15. a kind of equipment characterized by comprising memory and processor, the memory is for storing monitoring programme; The monitoring programme realizes following operation when reading execution by the processor:
Periodically according to the access information of the configuration information of any domain name and collected domain name, detect whether to trigger The corresponding current limliting processing of domain name;
When detecting that the corresponding current limliting of triggering domain name is handled, the corresponding current limliting strategy of domain name is determined;
The current limliting strategy is issued to the node of scheduling domain name.
16. a kind of computer-readable medium, which is characterized in that be stored with monitoring programme, the monitoring programme is executed by processor Shi Shixian or less is operated:
Periodically according to the access information of the configuration information of any domain name and collected domain name, detect whether to trigger The corresponding current limliting processing of domain name;
When detecting that the corresponding current limliting of triggering domain name is handled, the corresponding current limliting strategy of domain name is determined;
The current limliting strategy is issued to the node of scheduling domain name.
CN201711464195.5A 2017-12-28 2017-12-28 Monitoring system, monitoring method and monitoring center Active CN109981484B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201711464195.5A CN109981484B (en) 2017-12-28 2017-12-28 Monitoring system, monitoring method and monitoring center

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711464195.5A CN109981484B (en) 2017-12-28 2017-12-28 Monitoring system, monitoring method and monitoring center

Publications (2)

Publication Number Publication Date
CN109981484A true CN109981484A (en) 2019-07-05
CN109981484B CN109981484B (en) 2023-01-17

Family

ID=67075048

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711464195.5A Active CN109981484B (en) 2017-12-28 2017-12-28 Monitoring system, monitoring method and monitoring center

Country Status (1)

Country Link
CN (1) CN109981484B (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20150127783A1 (en) * 2013-11-04 2015-05-07 Amazon Technologies, Inc. Centralized networking configuration in distributed systems
CN106034083A (en) * 2015-03-12 2016-10-19 阿里巴巴集团控股有限公司 CDN system and rate-limiting control method thereof, CND node, and server

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20150127783A1 (en) * 2013-11-04 2015-05-07 Amazon Technologies, Inc. Centralized networking configuration in distributed systems
CN106034083A (en) * 2015-03-12 2016-10-19 阿里巴巴集团控股有限公司 CDN system and rate-limiting control method thereof, CND node, and server

Also Published As

Publication number Publication date
CN109981484B (en) 2023-01-17

Similar Documents

Publication Publication Date Title
CN106878064B (en) Data monitoring method and device
US9892379B1 (en) Monitoring and notification of delivered packages
CN106100902A (en) High in the clouds index monitoring method and apparatus
CN110366858A (en) System and method for assessing wireless device and/or wireless network performance
CN111477341A (en) Epidemic situation monitoring method and device, electronic equipment and storage medium
US9766993B2 (en) Quality of information assessment in dynamic sensor networks
CN104731690B (en) Adaptive metrology collection, storage and warning threshold
CN109005085A (en) A kind of service availability monitoring system, method, device and equipment
CN108243239A (en) A kind of method, apparatus, electronic equipment and system that web application service is provided
CN110620768A (en) Baseline safety detection method and device for intelligent terminal of Internet of things
CN109992473A (en) Monitoring method, device, equipment and the storage medium of application system
CN108075921B (en) Method and device for monitoring service performance of big data system and server
CN105897933A (en) Service request processing method and device
CN113242297A (en) Service system and service state adjusting method
CN108259207A (en) Flow statistical method, client, server and system
ES2883359T3 (en) Method and apparatus for improving the broadband experience using a cloud-based recommendation engine
CN106203179B (en) A kind of completeness check system and method for pair of file
CN109981484A (en) A kind of monitoring system, monitoring method and monitoring center
JP2019128837A (en) Server device, information collecting system, and program
CN115333917A (en) CDN anomaly detection method and device
CN109784462A (en) A kind of passenger number statistical system, method and storage medium
CN114138499A (en) GPU resource utilization rate monitoring method and device, computer equipment and medium
CN112653717B (en) Multi-cloud cooperation distributed system and application distribution method
CN105763508B (en) Data access method and application server
CN110874268B (en) Data processing method, device and equipment

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
REG Reference to a national code

Ref country code: HK

Ref legal event code: DE

Ref document number: 40010742

Country of ref document: HK

GR01 Patent grant
GR01 Patent grant