CN108809771A - SDN network data stream monitoring method, SDN controllers, switching equipment and system - Google Patents

SDN network data stream monitoring method, SDN controllers, switching equipment and system Download PDF

Info

Publication number
CN108809771A
CN108809771A CN201810911932.XA CN201810911932A CN108809771A CN 108809771 A CN108809771 A CN 108809771A CN 201810911932 A CN201810911932 A CN 201810911932A CN 108809771 A CN108809771 A CN 108809771A
Authority
CN
China
Prior art keywords
monitored
data flow
switching equipment
measurement period
default measurement
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.)
Pending
Application number
CN201810911932.XA
Other languages
Chinese (zh)
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.)
Ruijie Networks Co Ltd
Original Assignee
Ruijie Networks 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 Ruijie Networks Co Ltd filed Critical Ruijie Networks Co Ltd
Priority to CN201810911932.XA priority Critical patent/CN108809771A/en
Publication of CN108809771A publication Critical patent/CN108809771A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/50Testing arrangements
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/06Management of faults, events, alarms or notifications
    • 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

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Environmental & Geological Engineering (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

A kind of SDN network data stream monitoring method of offer of the embodiment of the present invention, SDN controllers, switching equipment and system.This method includes:The first switching equipment and at least one second switching equipment into SDN network issue the first configuration of statistical data stream;At interval of a cycle, the second configuration of flag data stream is issued to the first switching equipment;The statistical value of upper a cycle is reported to ask to the first switching equipment and the transmission of each second switching equipment;When the first switching equipment and the second switching equipment count data stream according to the corresponding mark value of current period, the statistical value counted to data stream according to corresponding mark value in upper a cycle that the first switching equipment and each second switching equipment report is received;The monitored results of the data flow in upper a cycle are determined according to statistical value.The embodiment of the present invention realizes incessantly to the failure monitoring of particular traffic data stream, and prerequisite is provided for the quick error correction and recovery of business.

Description

SDN network data stream monitoring method, SDN controllers, switching equipment and system
Technical field
The present embodiments relate to fields of communication technology, and in particular to SDN network data stream monitoring method, SDN controllers, Switching equipment and system.
Background technology
Software defined network (Software Defined Network, SDN) is open network foundation (Open Networking Foundation, ONF) a kind of separate network framework for organizing to set up.Purpose is to solve existing network too Agreement development is slow caused by complexity, lacks the problems such as policy control, the autgmentability of " consistent " are poor, manufacturer's dependence is strong.SDN bodies It is main in system that there are two component parts:SDN controllers and the network equipment.SDN controllers are the core group in SDN network structure Part undertakes the controlling behavior of whole network as the control plane of whole network.SDN controllers can pass through network configuration Specified function is realized in the corresponding network equipment of the protocol integrated test systems such as NETCONF, open flows OpenFlow, cooperation.The network equipment, example Such as support the interchanger of NETCONF or OpenFlow agreements, it can be by SDN controller managements.
Fig. 1 is the topological schematic diagram of SDN network connection, as shown in Figure 1, the equipment of interchanger is found by SDN controllers, Coordinate Simple Network Management Protocol (Simple Network Management Protocol, SNMP) or OpenFlow agreements, The connection topology that whole network can be drawn out on SDN controllers, spreads for subsequent traffic visualization and fault location Pad.Wherein the definition of data flow generally uses 5 tuples, source IP+destination IP+protocol number+source port+destination interface to indicate, Two tuples cut or other combinations can be used to indicate that traffic visualization refers to based on the Business Stream defined, in SDN Cook up the transmission path and relevant information of stream on controller, stream failure refers to specified business data flow in network transmission The situations such as packet loss, mistake occur, is considered stream and failure has occurred.
Network flow (NETFLOW), IP traffic (IP Flow Information Export, IPFIX) and random data It is three kinds of traditional flow acquisition protocols to flow SFlow, and after sampling Business Stream for the network equipment, the result of sampling is passed through these Agreement reports Analysis server.The technologies such as NETFLOW, IPFIX, SFlow that then SDN controllers are supported using interchanger are come real Existing traffic visualization monitoring, Fig. 2 are that SDN network traffic visualization monitors schematic diagram, as described in Figure 2, traffic visualization monitoring tool Body process is as follows:
After one Business Stream flows through interchanger 1,2,3, exchange opportunity forms the record of this stream in respective equipment, so The statistical data of this stream is reported controller by timing by NETFLOW/IPFIX/SFlow afterwards, and controller is by extracting every The identical stream information of equipment, in conjunction with topology information before so as to draw out this stream pass through which physical equipment.
However the above method can only flow through the displaying in path as data flow, since the stream sampling time of each equipment differs It causes, it is therefore desirable to which the data stream statistics for sampling controller are not proper time consistency, to utilize stream Statistical value goes to position whether certain data stream has occurred packet loss behavior in transmission process, can not location data transmission process lose Packet failure.
Invention content
For the defects in the prior art, an embodiment of the present invention provides a kind of SDN network data stream monitoring method, SDN Controller, switching equipment and system.
In a first aspect, the embodiment of the present invention provides a kind of SDN network data stream monitoring method, including:
The first switching equipment and at least one second switching equipment into SDN network issue statistics data flow to be monitored First configuration, wherein the data flow to be monitored flows to second switching equipment from first switching equipment;
At interval of a default measurement period, the of the label data flow to be monitored is issued to first switching equipment Two configurations, wherein in two neighboring default measurement period, the mark value of the data flow to be monitored is different;
After the preset duration that is delayed, upper one is reported to first switching equipment and each second switching equipment transmission The request of the statistical value of a default measurement period, wherein the preset duration is less than the default measurement period;
In first switching equipment and each second switching equipment according to the corresponding mark of current preset measurement period When note value counts the data flow to be monitored, first switching equipment and each second switching equipment root are received According to first configuration report in a upper default measurement period according to the corresponding mark of the upper default measurement period The statistical value that note value counts the data flow to be monitored;
The monitored results of the data flow to be monitored in a upper default measurement period are determined according to the statistical value.
Such as the above method, optionally, first switching equipment into SDN network and at least one second switching equipment The first configuration of statistics data flow to be monitored is issued, including:
The first switching equipment and at least one second switching equipment into SDN network issue and count the first mark value respectively First configuration of data flow to be monitored corresponding with the second mark value;
Correspondingly, described at interval of a default measurement period, it is issued to first switching equipment and waits supervising described in label The second configuration of data flow is controlled, including:
In 2N-1 default measurement periods, being issued to first switching equipment will be in the data flow to be monitored Differentiated services code points DSCP is marked as the second configuration of the first mark value, and wherein N is the positive integer more than 0;
In 2N default measurement periods, issued to first switching equipment by the difference in the data flow to be monitored Sub-service business code point DSCP is marked as the second configuration of the second mark value;
Correspondingly, described sent to first switching equipment and each second switching equipment reports upper one to preset The request of the statistical value of measurement period, including:At interval of a default measurement period, label is issued to first switching equipment Second configuration of the data flow to be monitored, including:
In 2N default measurement periods, sent to first switching equipment and each second switching equipment Report the statistical value of the corresponding first data flow data flow to be monitored of first mark value in 2N-1 default measurement periods Request;
In 2N+1 default measurement periods, sent to first switching equipment and each second switching equipment Report the statistical value of the corresponding second data flow data flow to be monitored of second mark value in 2N default measurement periods Request.
Such as the above method, optionally, the preset duration is determined according to following step:
According to the link topology of the SDN network, the second switching equipment that the data flow to be monitored flows through is determined Number;
The preset duration is determined according to the second switching equipment number.
It is optionally, described that described in a upper default measurement period wait is determined according to the statistical value such as the above method The monitored results of monitoring data stream, including:
According to the statistical value that first switching equipment and each second switching equipment are sent, judge described to be monitored Data flow in a upper default measurement period whether packet loss;
If packet loss occurs, the warning information of data flow to be monitored is generated.
Second aspect, further embodiment of this invention provide a kind of SDN network data stream monitoring method, including:
Receive the first configuration of the statistics data flow to be monitored that SDN controllers issue;
At interval of a default measurement period, the label data flow to be monitored that the SDN controllers issue is received Second configuration, wherein in two neighboring default measurement period, the mark value of the data flow to be monitored is different;
According to data flow to be monitored described in second configuration flag;
The labeled data flow to be monitored of statistics determines in each default measurement period, the data flow to be monitored Statistical value;
Receive the statistics for reporting a upper default measurement period that the SDN controllers issue after being delayed preset duration The request of value, wherein the preset duration is less than the default measurement period;
When being counted to the data flow to be monitored according to the corresponding mark value of current preset measurement period, according to institute State the first configuration on the SDN controller reports in a default measurement period according to a upper default measurement period pair The statistical value that the mark value answered counts the data flow to be monitored, so that the SDN controllers are according to the statistical value Determine the monitored results of the data flow to be monitored in a upper default measurement period.
The third aspect, yet another embodiment of the invention provide a kind of SDN network data stream monitoring method, including:
Receive the first configuration of the statistics data flow to be monitored that SDN controllers issue;
At interval of a default measurement period, the labeled data flow to be monitored is counted, determines each default statistics In period, the statistical value of the data flow to be monitored, wherein in two neighboring default measurement period, the data flow to be monitored Mark value it is different;
Receive the statistics for reporting a upper default measurement period that the SDN controllers issue after being delayed preset duration The request of value, wherein the preset duration is less than the default measurement period;
When being counted to the data flow to be monitored according to the corresponding mark value of current preset measurement period, according to institute State the first configuration on the SDN controller reports in a default measurement period according to a upper default measurement period pair The statistical value that the mark value answered counts the data flow to be monitored, so that the SDN controllers are according to the statistical value Determine the monitored results of the data flow to be monitored in a upper default measurement period.
Fourth aspect, the embodiment of the present invention provide a kind of SDN controllers, including:
Monitor configuration module, for into SDN network the first switching equipment and at least one second switching equipment issue Count the first configuration of data flow to be monitored, wherein the data flow to be monitored flows to described the from first switching equipment Two switching equipment;
Configuration module is marked, at interval of a default measurement period, label institute to be issued to first switching equipment State the second configuration of data flow to be monitored, wherein in two neighboring default measurement period, the mark value of the data flow to be monitored It is different;
Request module is exchanged to first switching equipment and each described second and is set after the preset duration that is delayed Preparation serves the request for the statistical value for reporting a upper default measurement period, wherein the preset duration is less than the default statistics Period;
First receiving module is used in first switching equipment and each second switching equipment according to current preset When the corresponding mark value of measurement period counts the data flow to be monitored, first switching equipment and each institute are received The second switching equipment is stated to be preset according to described upper one in a upper default measurement period according to what first configuration reported The statistical value that the corresponding mark value of measurement period counts the data flow to be monitored;
Monitored results determining module, for waiting supervising according to statistical value determination is described in a upper default measurement period Control the monitored results of data flow.
Such as above-mentioned SDN controllers, optionally, the monitoring configuration module is specifically used for:
The first switching equipment and at least one second switching equipment into SDN network issue and count the first mark value respectively First configuration of data flow to be monitored corresponding with the second mark value;
Correspondingly, the label configuration module is specifically used for:
In 2N-1 default measurement periods, being issued to first switching equipment will be in the data flow to be monitored Differentiated services code points DSCP is marked as the second configuration of the first mark value, and wherein N is the positive integer more than 0;
In 2N default measurement periods, issued to first switching equipment by the difference in the data flow to be monitored Sub-service business code point DSCP is marked as the second configuration of the second mark value;
Correspondingly, the request module is specifically used for:
In 2N default measurement periods, sent to first switching equipment and each second switching equipment Report the request of the statistical value of the corresponding data flow to be monitored of first mark value in 2N-1 default measurement periods;
In 2N+1 default measurement periods, sent to first switching equipment and each second switching equipment Report the request of the statistical value of the corresponding data flow to be monitored of second mark value in 2N default measurement periods.
Such as above-mentioned SDN controllers, optionally, the monitored results determining module is specifically used for:
According to the statistical value that first switching equipment and each second switching equipment are sent, judge described to be monitored Data flow in a upper default measurement period whether packet loss;
If packet loss occurs, the warning information of data flow to be monitored is generated.
5th aspect, the embodiment of the present invention provide a kind of switching equipment, including:
Second receiving module, the first configuration for receiving the statistics data flow to be monitored that SDN controllers issue;
Third receiving module, at interval of a default measurement period, receiving the label institute that the SDN controllers issue State the second configuration of data flow to be monitored, wherein in two neighboring default measurement period, the mark value of the data flow to be monitored It is different;
Mark module, for according to data flow to be monitored described in second configuration flag;
First statistical module, it is determining each to preset in measurement period for counting the labeled data flow to be monitored, The statistical value of the data flow to be monitored;
4th receiving module reports upper one for receive that the SDN controllers issue after being delayed preset duration The request of the statistical value of default measurement period, wherein the preset duration is less than the default measurement period;
First reporting module, for according to the corresponding mark value of current preset measurement period to the data flow to be monitored When being counted, configured on the SDN controller reports in a default measurement period according on described according to described first The statistical value that the corresponding mark value of one default measurement period counts the data flow to be monitored, so that the SDN is controlled Device processed determines the monitored results of the data flow to be monitored in a upper default measurement period according to the statistical value.
6th aspect, further embodiment of this invention provide a kind of switching equipment, including:
5th receiving module, the first configuration for receiving the statistics data flow to be monitored that SDN controllers issue;
Second statistical module, at interval of a default measurement period, counting the labeled data flow to be monitored, It determines in each default measurement period, the statistical value of the data flow to be monitored, wherein in two neighboring default measurement period, The mark value of the data flow to be monitored is different;
6th receiving module reports upper one for receive that the SDN controllers issue after being delayed preset duration The request of the statistical value of default measurement period, wherein the preset duration is less than the default measurement period;
Second reporting module, for according to the corresponding mark value of current preset measurement period to the data flow to be monitored When being counted, configured on the SDN controller reports in a default measurement period according on described according to described first The statistical value that the corresponding mark value of one default measurement period counts the data flow to be monitored, so that the SDN is controlled Device processed determines the monitored results of the data flow to be monitored in a upper default measurement period according to the statistical value.
7th aspect, the embodiment of the present invention provide a kind of SDN network data stream monitoring system, including:SDN as described above Controller, the first switching equipment as described above and at least one second switching equipment as described above.
SDN network data stream monitoring method provided in an embodiment of the present invention, by treating monitoring data stream two neighboring In measurement period, different mark values are set, periodically acquire the statistical value of data flow to be monitored, are determined according to statistical value to be monitored Data flow realizes incessantly to the failure monitoring of particular traffic data stream, and energy in the monitored results of upper a cycle It is enough to obtain outage monitoring results in real time, provide prerequisite for the quick error correction and recovery of business.
Description of the drawings
In order to more clearly explain the embodiment of the invention or the technical proposal in the existing technology, to embodiment or will show below There is attached drawing needed in technology description to be briefly described, it should be apparent that, the accompanying drawings in the following description is this hair Some bright embodiments for those of ordinary skill in the art without creative efforts, can be with root Other attached drawings are obtained according to these attached drawings.
Fig. 1 is that SDN network connects topological schematic diagram;
Fig. 2 is that SDN network traffic visualization monitors schematic diagram;
Fig. 3 is SDN network data stream monitoring method flow diagram provided in an embodiment of the present invention;
Fig. 4 is to initialize flow diagram in SDN network data stream monitoring method provided in an embodiment of the present invention;
Fig. 5 is that first default measurement period flow is shown in SDN network data stream monitoring method provided in an embodiment of the present invention It is intended to;
Fig. 6 is that second default measurement period flow is shown in SDN network data stream monitoring method provided in an embodiment of the present invention It is intended to;
Fig. 7 is the SDN network data stream monitoring method flow diagram that further embodiment of this invention provides;
Fig. 8 is the SDN network data stream monitoring method flow diagram that yet another embodiment of the invention provides;
Fig. 9 is the structural schematic diagram of SDN controllers provided in an embodiment of the present invention;
Figure 10 is the structural schematic diagram of the first switching equipment provided in an embodiment of the present invention;
Figure 11 is the structural schematic diagram of the second switching equipment provided in an embodiment of the present invention;
Figure 12 is the structural schematic diagram of SDN network data stream monitoring system provided in an embodiment of the present invention.
Specific implementation mode
In order to make the object, technical scheme and advantages of the embodiment of the invention clearer, below in conjunction with the embodiment of the present invention In attached drawing, technical scheme in the embodiment of the invention is clearly and completely described, it is clear that described embodiment is A part of the embodiment of the present invention, instead of all the embodiments.Based on the embodiments of the present invention, those of ordinary skill in the art The every other embodiment obtained without making creative work, shall fall within the protection scope of the present invention.
Fig. 3 is SDN network data stream monitoring method flow diagram provided in an embodiment of the present invention, as shown in figure 3, the prison Prosecutor method includes:
Step S31, it is to be monitored that the first switching equipment and at least one second switching equipment into SDN network issue statistics First configuration of data flow, wherein the data flow to be monitored flows to second switching equipment from first switching equipment;
Specifically, in SDN network, the equipment of interchanger is found by SDN controllers, coordinate snmp protocol or OpenFlow agreements can draw out the link topology of whole network on SDN controllers, when user needs to some data When flowing a certain section of transmission path and being monitored, first by the link topology of SDN network, the determination data stream transmitting to be monitored Initial exchange equipment in path, is denoted as the first switching equipment, and the subsequent switching equipment of the first switching equipment is denoted as the second friendship Whether exchange device, the entire transmission path for if desired monitoring some data flow there is exception, then the head end flowed through the data flow Interchanger is denoted as the first switching equipment, other interchangers flowed through are denoted as the second switching equipment.When needing to monitor data to be monitored When stream, SDN controllers issue NETCONF configurations to corresponding first switching equipment of the data flow and multiple second switching equipment, It is denoted as the first configuration, informs that the first switching equipment and the second switching equipment count specific data flow, when the data flow When flowing through the first switching equipment and the second switching equipment, based on the first configuration, the first switching equipment and the second switching equipment can be right The data flow is counted, and determines the statistical value of data flow.
Step S32, at interval of a default measurement period, the label number to be monitored is issued to first switching equipment According to the second configuration of stream, wherein in two neighboring default measurement period, the mark value of the data flow to be monitored is different;
Specifically, if the first switching equipment and the second switching equipment is enabled to be counted, when user needs to obtain monitoring knot It when fruit, needs that SDN controllers is notified to stop monitoring, then SDN controllers go to obtain the first switching equipment of whole net and the second exchange The statistical value of equipment, to calculate whether the business data flow occurs mistake in the process flowed through, the result of fault detect can not be real Shi Chengxian, it is necessary to be confirmed whether to break down during this period by way of suspending whole net monitoring and then collecting receipt.In order to Obtain the monitored results of data flow in real time, in embodiments of the present invention, at interval of a default measurement period, SDN controllers to First switching equipment, which issues, marks the NETCONF of data flow to be monitored to configure, and is denoted as the second configuration, each second switching equipment root It just can determine data flow to be monitored according to mark value, data stream counted, using the dyeing to data flow, remove track path On staining conditions obtain the statistical value of each switching equipment, in order to realize uninterrupted monitoring, week is preset at adjacent two In phase, different mark values is set, for example, at interval of 1 minute, mark values different from upper one minute are issued to the first switching equipment Mark value can in real time be obtained under conditions of not stopping monitoring by periodically switching the mark value of data flow to be monitored The statistical value of data flow to be monitored.
Step S33, it is delayed after preset duration, is sent to first switching equipment and each second switching equipment Report the request of the statistical value of a default measurement period, wherein the preset duration is less than the default measurement period;
Specifically, it after SDN controllers issue the first configuration to the first switching equipment, is waited for when the first switching equipment receives It after monitoring data stream, treats monitoring data and flows into line flag, then start counting up, later, data flow to be monitored passes through second When switching equipment, the second switching equipment is treated monitoring data stream and is counted according to mark value, to obtain data flow to be monitored The statistical value for flowing through each switching equipment can be delayed pre- when user needs to obtain monitored results after switch flag value If duration, preset duration is less than default measurement period, and delay purpose is to be monitored in a upper default measurement period in order to ensure Data flow has transferred all switching equipment, it is rear to the first switching equipment and each second switching equipment transmission report upper one The statistical value of a default measurement period is asked, and since the mark value of adjacent predetermined period data flow to be monitored is different, first exchanges The statistical number of corresponding mark value in a upper default measurement period is reported to SDN controllers by equipment and the second switching equipment.
Step S34, in first switching equipment and each second switching equipment according to current preset measurement period When corresponding mark value counts the data flow to be monitored, receives first switching equipment and each described second and hand over Exchange device according to it is described first configuration report in a upper default measurement period according to a upper default measurement period Corresponding mark value counts the data flow to be monitored;
Step S35, the prison of the data flow to be monitored in a upper default measurement period is determined according to the statistical value Control result.
Specifically, since the corresponding mark value of two neighboring default measurement period is different, the first switching equipment and second is handed over Exchange device is different with the mark value of the data flow to be monitored of upper one default measurement period statistics in current preset measurement period, First switching equipment and the second switching equipment are treated monitoring data stream according to the corresponding mark value of current preset measurement period and are carried out When statistics, SDN controllers receive the root in a upper default measurement period that the first switching equipment and each switching equipment report The statistical value that monitoring data stream is counted is treated according to the corresponding mark value of one on this default measurement period, it is true according to statistical value Whether breaking down for data flow to be monitored in a default measurement period be scheduled on.SDN controllers continue to count next later Whether data flow to be monitored breaks down in a default measurement period, to realize the uninterrupted prison for treating monitoring data stream Control, while user can obtain business data flow malfunction in real time, as long as during monitoring, no matter whenever event occurs for business Barrier, can quickly be perceived, and then lay the foundation for the adjustment and debugging of business.
SDN network data stream monitoring method provided in an embodiment of the present invention, by treating monitoring data stream two neighboring In measurement period, different mark values are set, periodically acquire the statistical value of data flow to be monitored, are determined according to statistical value to be monitored Data flow realizes incessantly to the failure monitoring of particular traffic data stream, and energy in the monitored results of upper a cycle It is enough to obtain outage monitoring results in real time, provide prerequisite for the quick error correction and recovery of business.
On the basis of the above embodiments, further, first switching equipment into SDN network and at least one Second switching equipment issues the first configuration of statistics data flow to be monitored, including:
The first switching equipment and at least one second switching equipment into SDN network issue and count the first mark value respectively First configuration of data flow to be monitored corresponding with the second mark value;
Correspondingly, described at interval of a default measurement period, it is issued to first switching equipment and waits supervising described in label The second configuration of data flow is controlled, including:
In 2N-1 default measurement periods, being issued to first switching equipment will be in the data flow to be monitored Differentiated services code points DSCP is marked as the second configuration of the first mark value, and wherein N is the positive integer more than 0;
In 2N default measurement periods, issued to first switching equipment by the difference in the data flow to be monitored Sub-service business code point DSCP is marked as the second configuration of the second mark value;
Correspondingly, described sent to first switching equipment and each second switching equipment reports upper one to preset The request of the statistical value of measurement period, including:
In 2N default measurement periods, sent to first switching equipment and each second switching equipment Report the statistical value of the corresponding first data flow data flow to be monitored of first mark value in 2N-1 default measurement periods Request;
In 2N+1 default measurement periods, sent to first switching equipment and each second switching equipment Report the statistical value of the corresponding second data flow data flow to be monitored of second mark value in 2N default measurement periods Request.
Specifically, differentiated services code points (Differentiated Services Code Point, DSCP) are IETF In the quality of service classes standard of the Differentiated Services of in December, 1998 publication.Its service type mark on the heads each data packet IP In character learning section, using used 6 bit and not used 2 bit, priority, the worth model of DSCP are distinguished by encoded radio Enclose is 0~63.Under normal circumstances, DSCP values are 0 in data flow, and line flag is flowed into data by DSCP values, can be to specific Data flow is counted.First, first switching equipment and multiple second switching equipment of the SDN controllers into SDN network The first configuration for counting the first mark value and the corresponding data flow to be monitored of the second mark value respectively is issued, wherein the first mark value Refer to the numerical value of DSCP in data flow to be monitored with the second label, for example, SDN controllers are exchanged to the first switching equipment and second Equipment issues the NETCONF configurations of the data flow of statistics DSCP=60 and DSCP=61, and cycle executes following step a and extremely walks later Rapid e, until user stops monitoring, so as to realize 7*24 hours monitoring data stream free of discontinuities:
Step a:SDN controllers issue to the first switching equipment the DSCP in data flow to be monitored being marked as the first label Second configuration of value, such as DSCP is labeled as 60;
Step b:SDN controllers start timer, and setting timing length is default measurement period, such as 1 minute, when timing Between arrive, first switching equipment of the SDN controllers into SDN network is issued is marked as the second mark by the DSCP in data flow to be monitored Second configuration of note value, such as DSCP is labeled as 61;
Step c:After the preset duration that is delayed, such as the 500ms that is delayed, SDN controllers are handed over to the first switching equipment and second Exchange device sends the request for reporting the statistical value of data flow to be monitored in a cycle, such as sends the number for reporting DSCP=60 According to the request of the statistical value of stream;
Step d:SDN controllers receive the statistical value that the first switching equipment and the second switching equipment report;
Step e:SDN controllers determine the monitoring of the data flow to be monitored in a upper default measurement period according to statistical value As a result, and a that gos to step.
SDN network data stream monitoring method provided in an embodiment of the present invention, by treating monitoring data stream two neighboring In measurement period, different DSCP mark values are set, the statistical value of data flow to be monitored is periodically acquired, is waited for according to statistical value determination Monitoring data stream realizes incessantly in the monitored results of upper a cycle to the failure monitoring of particular traffic data stream, profit With one stream double labelling method, solves the problems, such as acquisition the statistics stage can not monitoring data stream, utilize the timing on controller Operation Measures, obtain the statistical data of different dimensions in real time, and then are integrated into 7*24 hours monitoring datas, without manually Or external program timing stops monitoring and obtains, and prerequisite is provided for the quick error correction and recovery of business.
On the basis of the various embodiments described above, further, the preset duration is determined according to following step:
According to the link topology of the SDN network, the second switching equipment that the data flow to be monitored flows through is determined Number;
The preset duration is determined according to the second switching equipment number.
Specifically, in order to ensure in the monitored results of statistical data stream, in a upper default measurement period, data flow is Through transferring all switching equipment in the section of being monitored, in the preset duration of setting delay, first according to the company of SDN network Topological diagram is connect, determines the second switching equipment number that data flow to be monitored flows through, is then determined according to the second switching equipment number Preset duration, such as setting data flow are 500ms by the time of each switching equipment, then being handed over to first in SDN controllers After exchange device issues the configuration of switch flag value, the corresponding data flow of a upper mark value flows through 5 the second switching equipment, then It is delayed after 2500ms, SDN controllers report a upper mark value corresponding to the first switching equipment and the transmission of the second switching equipment The statistical value of data flow, it is ensured that the corresponding data flow of a upper mark value has transferred all second switching equipment, avoid by In each switching equipment receive the data flow time it is different and caused by statistical error.
SDN network data stream monitoring method provided in an embodiment of the present invention, by treating monitoring data stream two neighboring In measurement period, different DSCP mark values are set, the statistical value of data flow to be monitored is periodically acquired, is waited for according to statistical value determination Monitoring data stream realizes incessantly to the failure monitoring of particular traffic data stream, leads in the monitored results of upper a cycle Rationally delay is crossed, reduces the statistical error of data flow, improves the accuracy of monitored results.
It is described that the institute in a upper default measurement period is determined according to the statistical value on the basis of the various embodiments described above The monitored results of data flow to be monitored are stated, including:
According to the statistical value that first switching equipment and each second switching equipment are sent, judge described to be monitored Data flow in a upper default measurement period whether packet loss;
If packet loss occurs, the warning information of data flow to be monitored is generated.
Specifically, after SDN controllers receive the statistical value that the first switching equipment and the second switching equipment report, according to The statistical value of each switching equipment judge data flow to be monitored in a upper default measurement period whether packet loss, if losing Packet, SDN controllers can also be determined occurs packet loss on which switching equipment, then generates the alarm letter of data flow to be monitored Breath.In practical applications, SDN controllers can also determine the flow direction of data flow according to statistical value.
Fig. 4 is to initialize flow diagram, such as Fig. 4 in SDN network data stream monitoring method provided in an embodiment of the present invention It is shown, it is when initially issuing configuration first, SDN controllers continuously issue to interchanger 1 to interchanger 3 and monitor DSCP= 60, the configuration of the data flow of two classes of DSCP=61;Then user starts the detection for certain stream, and SDN controller head-ends are handed over Change planes 1 issue the DSCP in original data stream is revised as 60 configuration, when flowing through interchanger 2 and interchanger 3 later, original number Become the data flow of DSCP=60 according to stream.
Fig. 5 is that first default measurement period flow is shown in SDN network data stream monitoring method provided in an embodiment of the present invention It is intended to, as shown in figure 5, SDN is by controller timing, after timing time arrives within 1 minute, by stream identification at DSCP=61.SDN is controlled Device processed issues the configuration by corresponding data flow handoff at DSCP=61 to head end interchanger 1, postpones a bit of time, starts to receive Collection respectively flows through the statistical value of the DSCP=60 of equipment, and the statistical value based on DSCP=60 carries out data statistics, calculates Business Stream Flow direction and a upper measurement period statistical result, such as faulty Real-time Alarm.
Fig. 6 is that second default measurement period flow is shown in SDN network data stream monitoring method provided in an embodiment of the present invention It is intended to, as shown in fig. 6, SDN controllers continue timing, by stream identification at the feature of DSCP=60 after 1 minute.SDN is controlled Device issues the configuration by corresponding data flow handoff at DSCP=60 to head end interchanger 1, postpones a bit of time, starts to collect The statistical value for respectively flowing through the DSCP=61 of equipment, the statistical value based on DSCP=61 carry out data statistics, calculate the stream of Business Stream To and a upper measurement period statistical result, such as faulty Real-time Alarm.Reciprocation cycle executes above-mentioned step, until User, which suspends operation, flows detection.As can be seen that can accomplish data-flow detection not by improved scheme from above-mentioned step Interruption, while user can obtain the malfunction of business (with 1 minute period) in real time.As long as during monitoring, no matter it is any when Time business breaks down, and can quickly be perceived, and then lays the foundation for the adjustment and troubleshooting of business.
SDN network data stream monitoring method provided in an embodiment of the present invention, by treating monitoring data stream two neighboring In measurement period, different DSCP mark values are set, the statistical value of data flow to be monitored is periodically acquired, is waited for according to statistical value determination Monitoring data stream upper a cycle whether generation packet loss, realize incessantly to particular traffic data stream failure prison Control, using one stream double labelling method, solves the problems, such as acquisition the statistics stage can not monitoring data stream, using on controller Timer-triggered scheduler measure, obtains the statistical data of different dimensions in real time, and then is integrated into 7*24 hours monitoring datas, without artificial Manually or external program timing stops monitoring and obtains, and prerequisite is provided for the quick error correction and recovery of business.
Fig. 7 is the SDN network data stream monitoring method flow diagram that further embodiment of this invention provides, as shown in fig. 7, This method includes:
S71, the first configuration for receiving the statistics data flow to be monitored that SDN controllers issue;
Specifically, when user needs to be monitored a certain section of transmission path of some data flow, pass through SDN network first Link topology, the first switching equipment and the second switching equipment in the determination data flow transmission route to be monitored, SDN controls Device issues NETCONF first to corresponding first switching equipment of the data flow and multiple second switching equipment and configures, and informs first Switching equipment and the second switching equipment count specific data flow.
S72, at interval of a default measurement period, receive the label data to be monitored that the SDN controllers issue Second configuration of stream, wherein in two neighboring default measurement period, the mark value of the data flow to be monitored is different;
Specifically, at interval of a default measurement period, SDN controllers issue label number to be monitored to the first switching equipment It is configured according to the NETCONF second of stream, each second switching equipment just can determine data flow to be monitored according to mark value, to data Stream is counted, wherein in two neighboring default measurement period, the mark value of data flow to be monitored is different.
S73, according to data flow to be monitored described in second configuration flag;
Specifically, after the first switching equipment receives data flow to be monitored, monitoring data stream is treated according to the second configuration It is marked, such as the DSCP values of data flow to be monitored is revised as 60.
The labeled data flow to be monitored of S74, statistics determines in each default measurement period, the number to be monitored According to the statistical value of stream;
Specifically, it after the first switching equipment receives data flow to be monitored, treats monitoring data and flows into line flag, so After start counting up, later, data flow to be monitored pass through the second switching equipment when, the second switching equipment treats prison according to mark value Control data flow is counted, and is obtained in each default measurement period, the statistical value of data flow to be monitored.
What S75, the reception SDN controllers issued after being delayed preset duration reports a upper default measurement period The request of statistical value, wherein the preset duration is less than the default measurement period;
Specifically, can be after switch flag value when user needs to obtain monitored results, be delayed preset duration, SDN Controller sends asking for the statistical value for reporting a upper default measurement period to the first switching equipment and each second switching equipment It asks.
S76, when being counted to the data flow to be monitored according to the corresponding mark value of current preset measurement period, root It is configured according to described first and presets statistics week according to described upper one in a default measurement period on the SDN controller reports The statistical value that phase corresponding mark value counts the data flow to be monitored, so that the SDN controllers are according to the system Evaluation determines the monitored results of the data flow to be monitored in a upper default measurement period.
Specifically, due to the mark value of adjacent predetermined period data flow to be monitored difference, the first switching equipment and second is handed over Exchange device, will be according to upper one when treating monitoring data stream according to the corresponding mark value of current preset measurement period and being counted The statistical number that corresponding mark value treats monitoring data prevalence into statistics in default measurement period reports to SDN controllers.SDN is controlled Device processed receives the statistical value that the first switching equipment and each switching equipment report, and is determined according to statistical value and presets statistics at upper one Whether data flow to be monitored breaks down in period.SDN controllers continue to count and be waited in next default measurement period later Whether monitoring data stream breaks down, to realize the uninterrupted monitoring for treating monitoring data stream.
SDN network data stream monitoring method provided in an embodiment of the present invention, by treating monitoring data stream two neighboring In measurement period, different mark values are set, periodically acquire the statistical value of data flow to be monitored, are determined according to statistical value to be monitored Data flow realizes incessantly to the failure monitoring of particular traffic data stream, and energy in the monitored results of upper a cycle It is enough to obtain outage monitoring results in real time, provide prerequisite for the quick error correction and recovery of business.
Fig. 8 is the SDN network data stream monitoring method flow diagram that yet another embodiment of the invention provides, as shown in figure 8, This method includes:
Step S81, the first configuration of the statistics data flow to be monitored that SDN controllers issue is received;
Specifically, when user needs to be monitored a certain section of transmission path of some data flow, pass through SDN network first Link topology, the first switching equipment and the second switching equipment in the determination data flow transmission route to be monitored, SDN controls Device issues NETCONF first to corresponding first switching equipment of the data flow and multiple second switching equipment and configures, and informs first Switching equipment and the second switching equipment count specific data flow.
At interval of a default measurement period, SDN controllers issue label data flow to be monitored to the first switching equipment NETCONF second is configured, and each second switching equipment just can determine data flow to be monitored according to mark value, is carried out to data stream Statistics, wherein in two neighboring default measurement period, the mark value of data flow to be monitored is different.
Step S82, at interval of a default measurement period, the labeled data flow to be monitored is counted, is determined each In default measurement period, the statistical value of the data flow to be monitored, wherein described to wait supervising in two neighboring default measurement period The mark value for controlling data flow is different;
Specifically, it after the first switching equipment receives data flow to be monitored, treats monitoring data and flows into line flag, so After start counting up, later, data flow to be monitored pass through the second switching equipment when, the second switching equipment treats prison according to mark value Control data flow is counted, and is obtained in each default measurement period, the statistical value of data flow to be monitored.
What step S83, the reception SDN controllers issued after being delayed preset duration reports upper one default statistics week The request of the statistical value of phase, wherein the preset duration is less than the default measurement period;
Specifically, can be after switch flag value when user needs to obtain monitored results, be delayed preset duration, SDN Controller reports the statistical value of a upper default measurement period to ask to the first switching equipment and the transmission of each second switching equipment.
Step S84, the data flow to be monitored is being counted according to the corresponding mark value of current preset measurement period When, it configures according to described first and is preset according to described upper one in a default measurement period on the SDN controller reports The statistical value that the corresponding mark value of measurement period counts the data flow to be monitored, for the SDN controllers according to The statistical value determines the monitored results of the data flow to be monitored in a upper default measurement period.
Specifically, due to the mark value of adjacent predetermined period data flow to be monitored difference, the first switching equipment and second is handed over Exchange device, will be according to upper one when treating monitoring data stream according to the corresponding mark value of current preset measurement period and being counted The statistical number that corresponding mark value treats monitoring data prevalence into statistics in default measurement period reports to SDN controllers.SDN is controlled Device processed receives the statistical value that the first switching equipment and each switching equipment report, and is determined according to statistical value and presets statistics at upper one Whether data flow to be monitored breaks down in period.SDN controllers continue to count and be waited in next default measurement period later Whether monitoring data stream breaks down, to realize the uninterrupted monitoring for treating monitoring data stream.
SDN network data stream monitoring method provided in an embodiment of the present invention, by treating monitoring data stream two neighboring In measurement period, different mark values are set, periodically acquire the statistical value of data flow to be monitored, are determined according to statistical value to be monitored Data flow realizes incessantly to the failure monitoring of particular traffic data stream, and energy in the monitored results of upper a cycle It is enough to obtain outage monitoring results in real time, provide prerequisite for the quick error correction and recovery of business.
Fig. 9 is the structural schematic diagram of SDN controllers provided in an embodiment of the present invention, as shown in figure 9, the SDN controller packets It includes:Monitor configuration module 91, label configuration module 92, request module 93, the first receiving module 94 and monitored results determining module 95, wherein:
The first switching equipment and at least one second switching equipment that monitoring configuration module 91 is used for into SDN network issue Count the first configuration of data flow to be monitored, wherein the data flow to be monitored flows to described the from first switching equipment Two switching equipment;Mark configuration module 92 be used at interval of a default measurement period, to first switching equipment under issue of bidding documents Remember the second configuration of the data flow to be monitored, wherein in two neighboring default measurement period, the mark of the data flow to be monitored Note value is different;Request module 93 is exchanged for being delayed after preset duration to first switching equipment and each described second Equipment sends the request for the statistical value for reporting a default measurement period, wherein the preset duration is less than the default system Count the period;First receiving module 94 is used in first switching equipment and each second switching equipment according to current preset When the corresponding mark value of measurement period counts the data flow to be monitored, first switching equipment and each institute are received The second switching equipment is stated to be preset according to described upper one in a upper default measurement period according to what first configuration reported The statistical value that the corresponding mark value of measurement period counts the data flow to be monitored;Monitored results determining module 95 is used for The monitored results of the data flow to be monitored in a upper default measurement period are determined according to the statistical value.
Specifically, when needing to monitor data flow to be monitored, monitoring configuration module 91 is handed over to the data flow corresponding first Exchange device and multiple second switching equipment issue the configurations of NETCONF first, inform the first switching equipment and the second switching equipment pair Specific data flow is counted, and when the data flow flows through the first switching equipment and the second switching equipment, is configured based on first, First switching equipment and the second switching equipment can count the data flow, determine the statistical value of data flow.At interval of one Default measurement period, label configuration module 92 is issued to the first switching equipment marks the NETCONF second of data flow to be monitored to match It sets, each second switching equipment just can determine data flow to be monitored according to mark value, be counted to data stream.It is marked in switching After note value, be delayed preset duration, and request module 93 reports upper one to the first switching equipment and the transmission of each second switching equipment The statistical value of a default measurement period is asked.First receiving module 94 receives the first switching equipment and each switching equipment in basis When the corresponding mark value of current preset measurement period is treated monitoring data stream and counted, upper one reported is pre- according to upper one If the corresponding mark value of measurement period treats the statistical value that monitoring data stream is counted, monitored results determining module 95 is according to system Evaluation determines whether data flow to be monitored breaks down in the upper default measurement period.Monitored results determining module later 95 continue to count whether breaking down for data flow to be monitored in next default measurement period, and monitoring data is treated to realize The uninterrupted monitoring of stream, while user can obtain business data flow malfunction in real time, if during monitoring, no matter it is any when Time business breaks down, and can quickly be perceived, and then lays the foundation for the adjustment and debugging of business.The present invention is implemented The device that example provides, for realizing the above method, function is referring in particular to above method embodiment, and details are not described herein again.
SDN controllers provided in an embodiment of the present invention, by treating monitoring data stream in two neighboring measurement period, if Different mark values are set, the statistical value of data flow to be monitored is periodically acquired, determine data flow to be monitored upper one according to statistical value The monitored results in a period realize incessantly to the failure monitoring of particular traffic data stream, and can obtain event in real time Hinder monitored results, prerequisite is provided for the quick error correction and recovery of business.
On the basis of the above embodiments, further, the monitoring configuration module is specifically used for:
The first switching equipment and at least one second switching equipment into SDN network issue and count the first mark value respectively First configuration of data flow to be monitored corresponding with the second mark value;
Correspondingly, the label configuration module is specifically used for:
In 2N-1 default measurement periods, being issued to first switching equipment will be in the data flow to be monitored Differentiated services code points DSCP is marked as the second configuration of the first mark value, and wherein N is the positive integer more than 0;
In 2N default measurement periods, issued to first switching equipment by the difference in the data flow to be monitored Sub-service business code point DSCP is marked as the second configuration of the second mark value;
Correspondingly, the request module is specifically used for:
In 2N default measurement periods, sent to first switching equipment and each second switching equipment Report the request of the statistical value of the corresponding data flow to be monitored of first mark value in 2N-1 default measurement periods;
In 2N+1 default measurement periods, sent to first switching equipment and each second switching equipment Report the request of the statistical value of the corresponding data flow to be monitored of second mark value in 2N default measurement periods.
First, first switching equipment and multiple second switching equipment of the monitoring configuration module into SDN network issue The first configuration of the first mark value and the corresponding data flow to be monitored of the second mark value is counted respectively, wherein the first mark value and the Two mark values refer to the numerical value of DSCP in data flow, and cycle executes following step a to step e later, until user stops monitoring, So as to realize 7*24 hours monitoring data stream free of discontinuities:
Step a:Label configuration module is issued to the first switching equipment is marked as first by the DSCP in data flow to be monitored Second configuration of mark value, such as DSCP is labeled as 60;
Step b:Configuration module is marked to start timer, setting timing length is fixed to preset measurement period, such as 1 minute When the time arrive, first switching equipment of the label configuration module into SDN network is issued the DSCP labels in data flow to be monitored It is labeled as 61 at the second configuration of the second mark value, such as by DSCP;
Step c:After the preset duration that is delayed, such as the 500ms that is delayed, request module are exchanged to the first switching equipment and second Equipment sends the request for reporting the statistical value of data flow to be monitored in a cycle, such as sends the data for reporting DSCP=60 The request of the statistical value of stream;
Step d:First receiving module receives the statistical value that the first switching equipment and the second switching equipment report;
Step e:Monitored results determining module determines the data to be monitored in a upper default measurement period according to statistical value The monitored results of stream, and a that gos to step.Device provided in an embodiment of the present invention, for realizing the above method, function is specific With reference to above method embodiment, details are not described herein again.
SDN controllers provided in an embodiment of the present invention, by treating monitoring data stream in two neighboring measurement period, if Different DSCP mark values are set, the statistical value of data flow to be monitored is periodically acquired, determine that data flow to be monitored exists according to statistical value The monitored results of upper a cycle realize incessantly to the failure monitoring of particular traffic data stream, utilize the double marks of a stream The method of note, solve the problems, such as obtain the statistics stage can not monitoring data stream, using the timer-triggered scheduler measure on controller, in real time The statistical data of different dimensions is obtained, and then is integrated into 7*24 hours monitoring datas, is not necessarily to manually or external program is fixed When stop monitoring obtain, provide prerequisite for the quick error correction and recovery of business.
On the basis of the various embodiments described above, further, the SDN controllers further include:
Preset duration determining module, the preset duration determining module are specifically used for:
According to the link topology of the SDN network, the second switching equipment that the data flow to be monitored flows through is determined Number;
The preset duration is determined according to the second switching equipment number.
Specifically, in order to ensure in the monitored results of statistical data stream, in a upper default measurement period, data flow is Through transferring all switching equipment in the section of being monitored, in the preset duration of setting delay, preset duration determines mould first Root tuber determines the second switching equipment number that data flow to be monitored flows through, then according to second according to the link topology of SDN network Switching equipment number determines that preset duration, label configuration module report upper one to the first switching equipment and the transmission of the second switching equipment The statistical value of the corresponding data flow of a mark value, it is ensured that the corresponding data flow of a upper mark value has transferred all second and handed over Exchange device, avoid due to each switching equipment receive the data flow time it is different and caused by statistical error.The embodiment of the present invention provides Device, for realizing the above method, function is referring in particular to above method embodiment, and details are not described herein again.
SDN controllers provided in an embodiment of the present invention, by treating monitoring data stream in two neighboring measurement period, if Different DSCP mark values are set, the statistical value of data flow to be monitored is periodically acquired, determine that data flow to be monitored exists according to statistical value The monitored results of upper a cycle realize and are subtracted incessantly by being rationally delayed to the failure monitoring of particular traffic data stream The statistical error for having lacked data flow improves the accuracy of monitored results.
On the basis of the various embodiments described above, further, the monitored results determining module is specifically used for:
According to the statistical value that first switching equipment and each second switching equipment are sent, judge described to be monitored Data flow in a upper default measurement period whether packet loss;
If packet loss occurs, the warning information of data flow to be monitored is generated.
Specifically, after receiving the statistical value that the first switching equipment and the second switching equipment report, monitored results determine Module according to the statistical value of each switching equipment judge data flow to be monitored in a upper default measurement period whether packet loss, if Packet loss occurs, monitored results determining module can also be determined occurs packet loss on which switching equipment, then generates number to be monitored According to the warning information of stream.In practical applications, monitored results determining module can also determine the stream of data flow according to statistical value To.Device provided in an embodiment of the present invention, for realizing the above method, function is referring in particular to above method embodiment, herein It repeats no more.
SDN controllers provided in an embodiment of the present invention, by treating monitoring data stream in two neighboring measurement period, if Different DSCP mark values are set, the statistical value of data flow to be monitored is periodically acquired, determine that data flow to be monitored exists according to statistical value Upper a cycle whether generation packet loss, realize incessantly to the failure monitoring of particular traffic data stream, utilize a stream The method of double labelling, solve the problems, such as to obtain the statistics stage can not monitoring data stream, using the timer-triggered scheduler measure on controller, The statistical data of different dimensions is obtained in real time, and then is integrated into 7*24 hour monitoring datas, without manually or outside journey Sequence timing stops monitoring and obtains, and prerequisite is provided for the quick error correction and recovery of business.
Figure 10 is the structural schematic diagram of the first switching equipment provided in an embodiment of the present invention, as shown in Figure 10, first friendship Exchange device includes:Second receiving module 101, third receiving module 102, mark module 103, the first statistical module the 104, the 4th connect Module 105 and the first reporting module 106 are received, wherein:
Second receiving module 101 is used to receive the first configuration of the statistics data flow to be monitored that SDN controllers issue;Third Receiving module 102 is used to, at interval of a default measurement period, receive the label number to be monitored that the SDN controllers issue According to the second configuration of stream, wherein in two neighboring default measurement period, the mark value of the data flow to be monitored is different;Label Module 103 is used for according to data flow to be monitored described in second configuration flag;First statistical module 104 is for counting labeled The data flow to be monitored, determine in each default measurement period, the statistical value of the data flow to be monitored;4th receives mould Block 105 is for receiving the system for reporting a upper default measurement period that the SDN controllers issue after being delayed preset duration The request of evaluation, wherein the preset duration is less than the default measurement period;First reporting module 106 is used to work as in basis When the corresponding mark value of preceding default measurement period counts the data flow to be monitored, configured to described according to described first On SDN controller reports in default measurement period according to the corresponding mark value of the upper default measurement period to described The statistical value that data flow to be monitored is counted is preset so that the SDN controllers are determined according to the statistical value at upper one The monitored results of the data flow to be monitored in measurement period.
Specifically, when user needs to be monitored a certain section of transmission path of some data flow, pass through SDN network first Link topology, the first switching equipment and the second switching equipment in the determination data flow transmission route to be monitored, SDN controls Device issues NETCONF first to corresponding second receiving module 101 of the data flow and multiple second switching equipment and configures, and informs the One switching equipment and the second switching equipment count specific data flow.At interval of a default measurement period, SDN controls Device is issued to third receiving module 102 marks the NETCONF second of data flow to be monitored to configure, each second switching equipment according to Mark value just can determine data flow to be monitored, be counted to data stream, wherein in two neighboring default measurement period, wait supervising The mark value for controlling data flow is different.After mark module 103 receives data flow to be monitored, treats monitoring data and flow into rower Note, then the first statistical module 104 starts counting up, and later, when data flow to be monitored passes through the second switching equipment, the second exchange is set For according to mark value, treats monitoring data stream and counted, obtained in each default measurement period, the statistics of data flow to be monitored Value., can be after switch flag value when user needs to obtain monitored results, be delayed preset duration, and SDN controllers are to the 4th Receiving module 105 and each second switching equipment send the statistical value request for reporting a default measurement period.First reports Module 106 and the second switching equipment unite to corresponding mark value in current preset measurement period in the first statistical module 104 The statistical number of corresponding mark value in a upper default measurement period is reported to SDN controllers by timing.SDN controllers according to Statistical value determines whether data flow to be monitored breaks down in the upper default measurement period.SDN controllers continue later Whether breaking down for data flow to be monitored in next default measurement period is counted, monitoring data stream is treated not to realize Interruption monitoring.Device provided in an embodiment of the present invention, for realizing the above method, function is implemented referring in particular to the above method Example, details are not described herein again.
Switching equipment provided in an embodiment of the present invention, by treating monitoring data stream in two neighboring measurement period, if Different mark values are set, the statistical value of data flow to be monitored is periodically acquired, determine data flow to be monitored upper one according to statistical value The monitored results in a period realize incessantly to the failure monitoring of particular traffic data stream, and can obtain event in real time Hinder monitored results, prerequisite is provided for the quick error correction and recovery of business.
Figure 11 is the structural schematic diagram of the second switching equipment provided in an embodiment of the present invention, as shown in figure 11, second friendship Exchange device includes:5th receiving module 111, the second statistical module 112, the 6th receiving module 113 and the second reporting module 114, Wherein:
5th receiving module 111 is used to receive the first configuration of the statistics data flow to be monitored that SDN controllers issue;Second Statistical module 112 is used to, at interval of a default measurement period, count the labeled data flow to be monitored, determines each pre- If in measurement period, the statistical value of the data flow to be monitored, wherein described to be monitored in two neighboring default measurement period The mark value of data flow is different;6th receiving module 113 is issued for receiving the SDN controllers after being delayed preset duration The statistical value for reporting a default measurement period request, wherein the preset duration be less than the default measurement period; Second reporting module 114 is for uniting to the data flow to be monitored according to the corresponding mark value of current preset measurement period Timing is configured according to described first on the SDN controller reports pre- according to described upper one in a default measurement period If the statistical value that the corresponding mark value of measurement period counts the data flow to be monitored, for the SDN controllers root The monitored results of the data flow to be monitored in a upper default measurement period are determined according to the statistical value.
Specifically, when user needs to be monitored a certain section of transmission path of some data flow, first SDN controllers to Corresponding first switching equipment of the data flow and the 5th receiving module 111 issue the configurations of NETCONF first, inform that the first exchange is set Standby and the second statistical module 112 counts specific data flow.At interval of a default measurement period, SDN controllers to First switching equipment, which issues, marks the NETCONF second of data flow to be monitored to configure, and each second statistical module 112 is according to label Value just can determine data flow to be monitored, be counted to data stream, wherein in two neighboring default measurement period, number to be monitored It is different according to the mark value of stream., can be after switch flag value when user needs to obtain monitored results, be delayed preset duration, SDN controllers send the statistics for reporting a upper default measurement period to the first switching equipment and each 6th receiving module 113 Value request.First switching equipment and the second reporting module 114 are in the second statistical module 112 to corresponding in current preset measurement period Mark value when being counted, the statistical number of corresponding mark value in a upper default measurement period is reported into SDN controllers. The statistical value that SDN controllers receive the first switching equipment and the second reporting module 114 reports is determined according to statistical value at upper one Whether data flow to be monitored breaks down in default measurement period.SDN controllers continue to count next default statistics later Whether data flow to be monitored breaks down in period, to realize the uninterrupted monitoring for treating monitoring data stream.The present invention is real The device of example offer is applied, for realizing the above method, function is referring in particular to above method embodiment, and details are not described herein again.
Switching equipment provided in an embodiment of the present invention, by treating monitoring data stream in two neighboring measurement period, if Different mark values are set, the statistical value of data flow to be monitored is periodically acquired, determine data flow to be monitored upper one according to statistical value The monitored results in a period realize incessantly to the failure monitoring of particular traffic data stream, and can obtain event in real time Hinder monitored results, prerequisite is provided for the quick error correction and recovery of business.
Figure 12 is the structural schematic diagram of SDN network data stream monitoring system provided in an embodiment of the present invention, as shown in figure 12, The monitoring system includes:SDN controllers device 121, the first switching equipment 122 and at least one second switching equipment 123, it is described SDN controllers device 121 in monitoring system, function is referring in particular to above-mentioned SDN controllers embodiment, in the monitoring system First switching equipment 122, referring in particular to above-mentioned first switching equipment embodiment, second in the monitoring system exchanges function Equipment 123, function is referring in particular to above-mentioned second switching equipment embodiment, and details are not described herein again.
One of ordinary skill in the art will appreciate that:Realize that all or part of step of above method embodiment can pass through The relevant hardware of program instruction is completed, and program above-mentioned can be stored in computer read/write memory medium, which exists When execution, step including the steps of the foregoing method embodiments is executed;And storage medium above-mentioned includes:ROM, RAM, magnetic disc or CD Etc. the various media that can store program code.
The embodiments such as device described above are only schematical, wherein the unit illustrated as separating component It may or may not be physically separated, the component shown as unit may or may not be physics list Member, you can be located at a place, or may be distributed over multiple network units.It can be selected according to the actual needs In some or all of module achieve the purpose of the solution of this embodiment.Those of ordinary skill in the art are not paying creativeness Labour in the case of, you can to understand and implement.
Finally it should be noted that:The above various embodiments is only to illustrate the technical solution of the embodiment of the present invention rather than right It is limited;Although the embodiment of the present invention is described in detail with reference to foregoing embodiments, the ordinary skill of this field Personnel should understand that:It still can be with technical scheme described in the above embodiments is modified, or to which part Or all technical features carries out equivalent replacement;And these modifications or replacements, it does not separate the essence of the corresponding technical solution The range of various embodiments of the present invention technical solution.

Claims (13)

1. a kind of SDN network data stream monitoring method, which is characterized in that including:
The first switching equipment and at least one second switching equipment into SDN network issue the first of statistics data flow to be monitored Configuration, wherein the data flow to be monitored flows to second switching equipment from first switching equipment;
At interval of a default measurement period, is issued to first switching equipment and mark the second of the data flow to be monitored to match It sets, wherein in two neighboring default measurement period, the mark value of the data flow to be monitored is different;
After the preset duration that is delayed, to first switching equipment and each second switching equipment transmission report upper one it is pre- If the request of the statistical value of measurement period, wherein the preset duration is less than the default measurement period;
In first switching equipment and each second switching equipment according to the corresponding mark value of current preset measurement period When being counted to the data flow to be monitored, first switching equipment and each second switching equipment are received according to institute State that the first configuration reports in a upper default measurement period according to the corresponding mark value of the upper default measurement period The statistical value that the data flow to be monitored is counted;
The monitored results of the data flow to be monitored in a upper default measurement period are determined according to the statistical value.
2. according to the method described in claim 1, it is characterized in that, first switching equipment into SDN network and at least One the second switching equipment issues the first configuration of statistics data flow to be monitored, including:
The first switching equipment and at least one second switching equipment into SDN network issue counts the first mark value and respectively First configuration of the corresponding data flow to be monitored of two mark values;
Correspondingly, described at interval of a default measurement period, issue the label number to be monitored to first switching equipment According to the second configuration of stream, including:
In 2N-1 default measurement periods, issued to first switching equipment by the difference in the data flow to be monitored Service code point DSCP is marked as the second configuration of the first mark value, and wherein N is the positive integer more than 0;
In 2N default measurement periods, issued to first switching equipment by the difference clothes in the data flow to be monitored Business code point DSCP is marked as the second configuration of the second mark value;
Correspondingly, described sent to first switching equipment and each second switching equipment reports upper one default statistics The request of the statistical value in period, including:
In 2N default measurement periods, the is reported to first switching equipment and each second switching equipment transmission The request of the statistical value of the corresponding data flow to be monitored of first mark value in 2N-1 default measurement periods;
In 2N+1 default measurement periods, reported to first switching equipment and each second switching equipment transmission The request of the statistical value of the corresponding data flow to be monitored of second mark value in 2N default measurement periods.
3. according to the method described in claim 1, it is characterized in that, the preset duration is determined according to following step:
According to the link topology of the SDN network, the second switching equipment number that the data flow to be monitored flows through is determined;
The preset duration is determined according to the second switching equipment number.
4. according to any methods of claim 1-3, which is characterized in that described to be determined at upper one according to the statistical value The monitored results of the data flow to be monitored in default measurement period, including:
According to the statistical value that first switching equipment and each second switching equipment are sent, the data to be monitored are judged Stream in a upper default measurement period whether packet loss;
If packet loss occurs, the warning information of data flow to be monitored is generated.
5. a kind of SDN network data stream monitoring method, which is characterized in that including:
Receive the first configuration of the statistics data flow to be monitored that SDN controllers issue;
At interval of a default measurement period, the second of the label data flow to be monitored that the SDN controllers issue is received Configuration, wherein in two neighboring default measurement period, the mark value of the data flow to be monitored is different;
According to data flow to be monitored described in second configuration flag;
The labeled data flow to be monitored of statistics determines in each default measurement period, the system of the data flow to be monitored Evaluation;
Receive the statistical value for reporting a upper default measurement period that the SDN controllers issue after being delayed preset duration Request, wherein the preset duration is less than the default measurement period;
When being counted to the data flow to be monitored according to the corresponding mark value of current preset measurement period, according to described One configure it is corresponding according to a upper default measurement period in a default measurement period on the SDN controller reports The statistical value that mark value counts the data flow to be monitored, so that the SDN controllers are determined according to the statistical value The monitored results of the data flow to be monitored in a upper default measurement period.
6. a kind of SDN network data stream monitoring method, which is characterized in that including:
Receive the first configuration of the statistics data flow to be monitored that SDN controllers issue;
At interval of a default measurement period, the labeled data flow to be monitored is counted, determines each default measurement period It is interior, the statistical value of the data flow to be monitored, wherein in two neighboring default measurement period, the mark of the data flow to be monitored Note value is different;
Receive the statistical value for reporting a upper default measurement period that the SDN controllers issue after being delayed preset duration Request, wherein the preset duration is less than the default measurement period;
When being counted to the data flow to be monitored according to the corresponding mark value of current preset measurement period, according to described One configure it is corresponding according to a upper default measurement period in a default measurement period on the SDN controller reports The statistical value that mark value counts the data flow to be monitored, so that the SDN controllers are determined according to the statistical value The monitored results of the data flow to be monitored in a upper default measurement period.
7. a kind of SDN controllers, which is characterized in that including:
Monitor configuration module, for into SDN network the first switching equipment and at least one second switching equipment issue statistics First configuration of data flow to be monitored, wherein the data flow to be monitored flows to described second from first switching equipment and hands over Exchange device;
Configuration module is marked, at interval of a default measurement period, issuing to first switching equipment and being waited for described in label Second configuration of monitoring data stream, wherein in two neighboring default measurement period, the mark value of the data flow to be monitored is not Together;
Request module, after the preset duration that is delayed, to first switching equipment and each second switching equipment hair Serve the request for the statistical value for reporting a upper default measurement period, wherein the preset duration is less than the default measurement period;
First receiving module, for being counted according to current preset in first switching equipment and each second switching equipment When period corresponding mark value counts the data flow to be monitored, first switching equipment and each described the are received Two switching equipment preset statistics in a upper default measurement period according to what first configuration reported according to described upper one The statistical value that period corresponding mark value counts the data flow to be monitored;
Monitored results determining module, for determining the number to be monitored in a upper default measurement period according to the statistical value According to the monitored results of stream.
8. SDN controllers according to claim 7, which is characterized in that the monitoring configuration module is specifically used for:
The first switching equipment and at least one second switching equipment into SDN network issue counts the first mark value and respectively First configuration of the corresponding data flow to be monitored of two mark values;
Correspondingly, the label configuration module is specifically used for:
In 2N-1 default measurement periods, issued to first switching equipment by the difference in the data flow to be monitored Service code point DSCP is marked as the second configuration of the first mark value, and wherein N is the positive integer more than 0;
In 2N default measurement periods, issued to first switching equipment by the difference clothes in the data flow to be monitored Business code point DSCP is marked as the second configuration of the second mark value;
Correspondingly, the request module is specifically used for:
In 2N default measurement periods, the is reported to first switching equipment and each second switching equipment transmission The request of the statistical value of the corresponding data flow to be monitored of first mark value in 2N-1 default measurement periods;
In 2N+1 default measurement periods, reported to first switching equipment and each second switching equipment transmission The request of the statistical value of the corresponding data flow to be monitored of second mark value in 2N default measurement periods.
9. SDN controllers according to claim 7, which is characterized in that further include:
Preset duration determining module, the preset duration determining module are specifically used for:
According to the link topology of the SDN network, the second switching equipment number that the data flow to be monitored flows through is determined;
The preset duration is determined according to the second switching equipment number.
10. according to any SDN controllers of claim 7-9, which is characterized in that the monitored results determining module is specific For:
According to the statistical value that first switching equipment and each second switching equipment are sent, the data to be monitored are judged Stream in a upper default measurement period whether packet loss;
If packet loss occurs, the warning information of data flow to be monitored is generated.
11. a kind of switching equipment, which is characterized in that including:
Second receiving module, the first configuration for receiving the statistics data flow to be monitored that SDN controllers issue;
Third receiving module, at interval of a default measurement period, receiving and being waited for described in the label that the SDN controllers issue Second configuration of monitoring data stream, wherein in two neighboring default measurement period, the mark value of the data flow to be monitored is not Together;
Mark module, for according to data flow to be monitored described in second configuration flag;
First statistical module, it is determining each to preset in measurement period for counting the labeled data flow to be monitored, it is described The statistical value of data flow to be monitored;
4th receiving module, for receive that the SDN controllers issue after being delayed preset duration report upper one it is default The request of the statistical value of measurement period, wherein the preset duration is less than the default measurement period;
First reporting module, for being carried out to the data flow to be monitored according to the corresponding mark value of current preset measurement period When statistics, configured on the SDN controller reports in a default measurement period according to described upper one according to described first The statistical value that the default corresponding mark value of measurement period counts the data flow to be monitored, for the SDN controllers The monitored results of the data flow to be monitored in a upper default measurement period are determined according to the statistical value.
12. a kind of switching equipment, which is characterized in that including:
5th receiving module, the first configuration for receiving the statistics data flow to be monitored that SDN controllers issue;
Second statistical module is determined at interval of a default measurement period, counting the labeled data flow to be monitored Each in default measurement period, the statistical value of the data flow to be monitored, wherein described in two neighboring default measurement period The mark value of data flow to be monitored is different;
6th receiving module, for receive that the SDN controllers issue after being delayed preset duration report upper one it is default The request of the statistical value of measurement period, wherein the preset duration is less than the default measurement period;
Second reporting module, for being carried out to the data flow to be monitored according to the corresponding mark value of current preset measurement period When statistics, configured on the SDN controller reports in a default measurement period according to described upper one according to described first The statistical value that the default corresponding mark value of measurement period counts the data flow to be monitored, for the SDN controllers The monitored results of the data flow to be monitored in a upper default measurement period are determined according to the statistical value.
13. a kind of SDN network data stream monitoring system, which is characterized in that including:SDN as described in claim 6-10 is any Controller, the first switching equipment as claimed in claim 11 and at least one as claimed in claim 12 second, which exchange, to be set It is standby.
CN201810911932.XA 2018-08-10 2018-08-10 SDN network data stream monitoring method, SDN controllers, switching equipment and system Pending CN108809771A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810911932.XA CN108809771A (en) 2018-08-10 2018-08-10 SDN network data stream monitoring method, SDN controllers, switching equipment and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810911932.XA CN108809771A (en) 2018-08-10 2018-08-10 SDN network data stream monitoring method, SDN controllers, switching equipment and system

Publications (1)

Publication Number Publication Date
CN108809771A true CN108809771A (en) 2018-11-13

Family

ID=64079808

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810911932.XA Pending CN108809771A (en) 2018-08-10 2018-08-10 SDN network data stream monitoring method, SDN controllers, switching equipment and system

Country Status (1)

Country Link
CN (1) CN108809771A (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110177031A (en) * 2019-06-18 2019-08-27 深圳职业技术学院 A kind of data monitoring control system and its method for monitoring and controlling based on SDN network
CN110445671A (en) * 2019-06-27 2019-11-12 浪潮思科网络科技有限公司 A kind of network flow monitoring method based on SDN
CN110545199A (en) * 2019-07-24 2019-12-06 浪潮思科网络科技有限公司 SDN network flow statistical device and method based on Netflow
CN112702283A (en) * 2020-12-04 2021-04-23 锐捷网络股份有限公司 Network accurate packet loss monitoring method and switching chip
CN113067740A (en) * 2020-01-02 2021-07-02 中国移动通信有限公司研究院 Channel associated performance detection method, device, equipment and computer readable storage medium
CN113271612A (en) * 2020-02-17 2021-08-17 华为技术有限公司 Reporting method and device for telemetering iFIT detection information along with flow information

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050073961A1 (en) * 2003-10-02 2005-04-07 Euihyun Paik Method for measuring characteristics of path between nodes by using active testing packets based on priority
CN102118278A (en) * 2010-12-31 2011-07-06 网宿科技股份有限公司 Method and system for measuring network conditions as well as method for monitoring network coverage
CN102946330A (en) * 2012-09-29 2013-02-27 华为技术有限公司 Method, device and system for network packet loss measurement
US20140362895A1 (en) * 2013-06-06 2014-12-11 Hong Fu Jin Precision Industry (Shenzhen) Co., Ltd. Method, program product, and test device for testing bit error rate of network module
CN106130825A (en) * 2016-08-04 2016-11-16 华为技术有限公司 A kind of data transmission quality detection method and device
CN107154867A (en) * 2017-04-24 2017-09-12 北京星网锐捷网络技术有限公司 Network fault detecting method and device

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050073961A1 (en) * 2003-10-02 2005-04-07 Euihyun Paik Method for measuring characteristics of path between nodes by using active testing packets based on priority
CN102118278A (en) * 2010-12-31 2011-07-06 网宿科技股份有限公司 Method and system for measuring network conditions as well as method for monitoring network coverage
CN102946330A (en) * 2012-09-29 2013-02-27 华为技术有限公司 Method, device and system for network packet loss measurement
US20140362895A1 (en) * 2013-06-06 2014-12-11 Hong Fu Jin Precision Industry (Shenzhen) Co., Ltd. Method, program product, and test device for testing bit error rate of network module
CN106130825A (en) * 2016-08-04 2016-11-16 华为技术有限公司 A kind of data transmission quality detection method and device
CN107154867A (en) * 2017-04-24 2017-09-12 北京星网锐捷网络技术有限公司 Network fault detecting method and device

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110177031A (en) * 2019-06-18 2019-08-27 深圳职业技术学院 A kind of data monitoring control system and its method for monitoring and controlling based on SDN network
CN110445671A (en) * 2019-06-27 2019-11-12 浪潮思科网络科技有限公司 A kind of network flow monitoring method based on SDN
CN110545199A (en) * 2019-07-24 2019-12-06 浪潮思科网络科技有限公司 SDN network flow statistical device and method based on Netflow
CN113067740A (en) * 2020-01-02 2021-07-02 中国移动通信有限公司研究院 Channel associated performance detection method, device, equipment and computer readable storage medium
WO2021136449A1 (en) * 2020-01-02 2021-07-08 中国移动通信有限公司研究院 Associated performance measurement method and apparatus, device, and computer readable storage medium
CN113067740B (en) * 2020-01-02 2023-09-05 中国移动通信有限公司研究院 Method, device, equipment and computer readable storage medium for detecting following path performance
CN113271612A (en) * 2020-02-17 2021-08-17 华为技术有限公司 Reporting method and device for telemetering iFIT detection information along with flow information
CN113271612B (en) * 2020-02-17 2024-04-09 华为技术有限公司 Reporting method and device for flow information telemetry iFIT detection information
CN112702283A (en) * 2020-12-04 2021-04-23 锐捷网络股份有限公司 Network accurate packet loss monitoring method and switching chip
CN112702283B (en) * 2020-12-04 2022-08-16 锐捷网络股份有限公司 Network accurate packet loss monitoring method and switching chip

Similar Documents

Publication Publication Date Title
CN108809771A (en) SDN network data stream monitoring method, SDN controllers, switching equipment and system
CN101800679B (en) Message packet loss detection method and system
CN102868553B (en) Fault Locating Method and relevant device
CN112564964B (en) Fault link detection and recovery method based on software defined network
CN102449957B (en) Ip network fault locating method, apparatus, and system
CN106713074B (en) Data network quality segmentation detection method based on business tine and system
CN101145977B (en) A QoS monitoring system and its measuring method of IP data network
CN103905237B (en) A kind of network management system and management method of switching network for communication
CN101667941A (en) Method for detecting link performance and device therefor
CN110113205B (en) Network troubleshooting system based on software defined network technology and working method thereof
CN101242320A (en) Method and device for monitoring network path
CN101826999B (en) Method and device for online message flow monitoring and bandwidth compensation
CN111147286A (en) IPRAN network loop monitoring method and device
CN108156004A (en) SDN controllers and switch management method
CN109510777A (en) Flow table method of combination, device and SDN controller
CN108270643A (en) The detection method and equipment of link between Leaf-Spine interchangers
CN107888427A (en) Electric power communication network network control method based on SDN frameworks
CN110071843A (en) A kind of Fault Locating Method and device based on flow path analysis
CN108400900A (en) Packet check, configuration, forwarding, statistical method and equipment, controller and system
CN108494625A (en) A kind of analysis system on network performance evaluation
CN107612764A (en) A kind of transmission network management data acquisition device and method
CN111130878A (en) Out-of-band network remote measuring system and method
CN114553678B (en) Cloud network soft SLB flow problem diagnosis method
CN101431435A (en) Connection-oriented service configuration and management method
CN113783710B (en) Process layer network fault positioning method and device based on self-learning criteria

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
RJ01 Rejection of invention patent application after publication

Application publication date: 20181113

RJ01 Rejection of invention patent application after publication