CN105827487A - SDN network message flow statistics method, SDN network message flow processing method and SDN network system - Google Patents

SDN network message flow statistics method, SDN network message flow processing method and SDN network system Download PDF

Info

Publication number
CN105827487A
CN105827487A CN201610369105.3A CN201610369105A CN105827487A CN 105827487 A CN105827487 A CN 105827487A CN 201610369105 A CN201610369105 A CN 201610369105A CN 105827487 A CN105827487 A CN 105827487A
Authority
CN
China
Prior art keywords
message
flow
sdn
stream
stream table
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
CN201610369105.3A
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.)
Shanghai Feixun Data Communication Technology Co Ltd
Original Assignee
Shanghai Feixun Data Communication Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shanghai Feixun Data Communication Technology Co Ltd filed Critical Shanghai Feixun Data Communication Technology Co Ltd
Priority to CN201610369105.3A priority Critical patent/CN105827487A/en
Publication of CN105827487A publication Critical patent/CN105827487A/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/08Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters
    • 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/0823Errors, e.g. transmission errors

Abstract

The invention discloses a software defined network (SDN) network message flow statistics method, an SDN network message flow processing method and an SDN network system. The method comprises steps that messages are sent by multiple switches to at least one SDN controller; the information contained by the messages is identified by the SDN controller, message flow numbers are configured according to the information contained by the messages, a corresponding flow table is configured, and the corresponding flow table is sent to the switches; forwarding and statistics of message flows are carried out by the switches according to forwarding paths and the message flow numbers in the flow table, and private extension messages of the statistics information with the message flows are sent to the SDN controller; the message flow statistics information of the private extension messages is acquired by the SDN controller. Through the method, the message flow statistics function of the whole network is realized in the SDN network configuration.

Description

A kind of SDN message flow statistical method, processing method and SDN system
Technical field
The present invention relates to SDN field, particularly relate to a kind of SDN message flow statistical method, processing method and SDN system.
Background technology
In legacy network, message flow statistical function, based on each node in network, only supports the local message flow statistical function of network node, it is impossible to realize the message flow statistical function of whole network.As it is shown in figure 1, each switching equipment in network supports ethernet performance statistical function, support at port message performance statistics, the detail statistics information about message flow collected is shipped regularly to webmaster, be difficult to obtain the global view of flow.
The birth of SDN (SoftwareDefinedNetwork, software defined network) brings new opportunity for flow measurement.In SDN, SDN controller has the data that global network view makes flow measurement obtain can form the data analysis of network level easily.In existing SDN flow measurement, OpenTM method uses the mode of poll to inquire about stream table, flowsense uses the calculating network broadband utilization rate that the information between controller and switch is passive, OpenSketch utilizes discrete Measurement Network data of various switch adding up to be collected by controller again, these three flow mode can effectively count on the flow in network, but message flow traffic statistics in SDN on whole forward-path can not be obtained with refining, the most in a network the flow of each node message stream, packet loss, CRC mistake package informatin.
Therefore, how to obtain message flow flow information of whole forward-path in SDN, be those skilled in the art's questions of common concern.
Summary of the invention
In consideration of it, it is an object of the invention to provide a kind of SDN message flow statistical method, in order to realize message flow traffic statistics in whole SDN.
According to foregoing invention purpose, the invention provides a kind of SDN message flow statistical method, described SDN includes customer side and network side, described network side includes some SDN switch and at least one SDN controller, the lateral described network side of described client sends message, and described statistical method comprises the following steps:
Step S1, described switch receives the message from customer side, and sends described message to described SDN controller;
Step S2, described SDN controller extracts at least one message characteristic information of this message, generates the stream table of message flow corresponding to this message according to described message characteristic information, the stream ID of configuration message stream and timing statistics in described stream table;
Step S3, described SDN controller issues described stream table to all SDN switch under this message flow forward-path;
Step S4, described SDN switch obtains the stream ID in described stream table and timing statistics, and add up the flow information of this message flow according to described timing statistics and stream ID, and generate a privately owned amplifying message according to described flow information and stream ID, send described privately owned amplifying message to described SDN controller;
Step S5, described SDN controller obtains the flow information of described message flow according to described privately owned amplifying message.
Preferably, one or more combinations during described message characteristic information includes purpose IP address, source IP address, destination slogan, source port number, protocol number, ToS (TypeOfService, COS), input interface, output interface information.
Preferably, described flow information is to include inbound port, one or more combinations gone out in port, packet loss number, transmission byte number, transmission message number, crc error message number, overlength message number, ultrashort message number.
Preferably, described privately owned amplifying message comprises the header field of this privately owned amplifying message, and the stream ID of described message flow and flow information.
Preferably, also comprised the steps: before step S1
Described SDN switch receives after the message of customer side, according to described message characteristic information inquiry stream table;
When stream table inquiry is unsuccessful, perform step S1;
When stream table successful inquiring, perform step S4;
Preferably, also comprised the steps: before step S2
Described SDN controller obtains the message that described switch sends, according to described message characteristic information inquiry stream table;
When stream table inquiry is unsuccessful, perform step S2;
When stream table successful inquiring, perform step S3.
According to foregoing invention purpose, present invention also offers a kind of SDN message flow processing method, described SDN includes customer side and network side, described network side includes some SDN switch and at least one SDN controller, the lateral described network side of described client sends message, the treating method comprises following steps:
Step 301, described SDN switch receives the message that client sends, according to message characteristic information inquiry stream table;
Step 302, described SDN switch inquiry stream telogenesis merit, according to the operation instruction in stream table, message is forwarded, simultaneously according to the timing statistics in stream table and stream ID, measure the flow information of this message flow, then generate a privately owned amplifying message according to described flow information and stream ID, send privately owned amplifying message extremely described SDN controller, continue executing with step 307;
Step 303: the inquiry of described SDN switch stream table is unsuccessful, described SDN switch sends this message to described SDN controller, execution step 304;
Step 304: described SDN controller obtains message characteristic information, and according to described message characteristic information inquiry stream table;
Step 305: described SDN controller inquiry stream telogenesis merit, issues described stream table to all SDN switch under this message flow forward-path, and performs step 302;
Step 306: described SDN controller inquiry stream table is unsuccessful, generates the stream table of message flow corresponding to this message according to message characteristic information, configures stream ID and the timing statistics of this message flow, and perform step 305 in described stream table;
Step 307: described SDN controller obtains the flow information of described message flow according to privately owned amplifying message.
According to the purpose of the present invention, it is also proposed that a kind of SDN switch supporting above-mentioned statistical method, including:
Stream table enquiry module, for according to message characteristic information inquiry stream table, obtaining the forward-path of message flow, stream ID and the timing statistics of message flow;
Statistical module, for adding up the flow information of this message flow, and generates a privately owned amplifying message according to flow information and stream ID;
Forwarding module, is used for sending this privately owned amplifying message to SDN controller;
According to the purpose of the present invention, it is also proposed that a kind of SDN controller supporting above-mentioned statistical method, including:
Control module, can open and close the message flow statistical function of SDN for SDN controller;
Stream table handing module, for according to message characteristic information inquiry stream table, generating the stream table of message flow corresponding to this message, configure stream ID and the timing statistics of this message flow in stream table according to message characteristic information;
Flow information statistical module, obtains flow information and the message flow stream ID of message flow, adds up the flow information of this message flow for SDN controller according to privately owned amplifying message.
According to foregoing invention purpose, present invention also offers a kind of SDN system, described SDN includes that customer side and network side, described network side include some SDN switch and at least one SDN controller:
Described SDN switch, the flow information in measured message stream, including:
Stream table enquiry module, for according to message characteristic information inquiry stream table, obtaining the forward-path of message flow, stream ID and the timing statistics of message flow;
Statistical module, for adding up the flow information of this message flow, and generates a privately owned amplifying message according to flow information and stream ID;
Forwarding module, is used for sending this privately owned amplifying message to SDN controller;
Described SDN controller, for configuring stream table according to the characteristic information in message, obtains the flow information in privately owned amplifying message, including:
Control module, can open and close the message flow statistical function of SDN for SDN controller;
Stream table handing module, for according to message characteristic information inquiry stream table, generating the stream table of message flow corresponding to this message, configure stream ID and the timing statistics of this message flow in stream table according to message characteristic information;
Flow information statistical module, obtains flow information and the message flow stream ID of message flow, adds up the flow information of this message flow for SDN controller according to privately owned amplifying message.
Compared with prior art, one SDN message flow of the present invention statistics, processing method and SDN system, have the advantages that by SDN controller according to the characteristic information of message flow, the stream ID of configuration message stream in stream table, SDN switch E-Packets according to the operation instruction in stream, can clearly and succinctly obtain message flow routing information in whole SDN;Stream ID according to message flow and the flow information of timing statistics accounting message stream also generate a privately owned amplifying message and send to SDN controller, SDN controller obtains the flow information in this privately owned amplifying message, and then obtain message flow message flow statistical information in whole SDN, such as message flow traffic statistics, packet loss information, CRC mistake bag statistical information etc.;According to message flow at the forward-path of whole network and flow information, can diagnose message rapidly is packet loss or wrong bag etc. on which paths, improves network diagnosis performance.
Accompanying drawing explanation
Below by the way of the most understandable, accompanying drawings preferred implementation, key property, technical characteristic, advantage and the implementation thereof of the present invention is further described.
Fig. 1 is the network structure of the message flow statistics of legacy network;
Fig. 2 is a kind of SDN message flow statistical method flow chart of one embodiment of the invention;
Fig. 3 is the SDN system structure schematic diagram of one embodiment of the invention;
Fig. 4 is the SDN switch structural representation of one embodiment of the invention;
Fig. 5 is the SDN controller architecture schematic diagram of one embodiment of the invention;
Fig. 6 is the SDN message flow process flow figure of one embodiment of the invention.
Detailed description of the invention
Mentioning as in background technology, legacy network message flow based on each node is added up, and can only support network node this locality message flow statistics, it is impossible to the whole network is added up.And in existing SDN, although proposing some by SDN controller message data flow can be done the method added up, but current network flow programming method method, it is impossible to refinement ground obtains message flow traffic statistics in SDN on whole forward-path.
Therefore, the present invention utilizes the stream table function in SDN, on the basis of traditional message flow table, adds message flow stream ID and timing statistics, the configuration of SDN controller and the transmission stream table all SDN switch to message flow forward-path;SDN switch is according to stream ID and timing statistics statistic flow information and generates a privately owned amplifying message, privately owned amplifying message comprises stream ID and flow information, send privately owned amplifying message to SDN controller, SDN controller obtains the flow information of message flow, solve message flow traffic statistics on the forward-path of whole SDN, more refinement ground and obtain the information such as the message packet loss on whole forward-path of message flow, wrong bag.
In order to be illustrated more clearly that the embodiment of the present invention or technical scheme of the prior art, below by the detailed description of the invention of the comparison accompanying drawing explanation present invention.It should be evident that the accompanying drawing in describing below is only some embodiments of the present invention, for those of ordinary skill in the art, on the premise of not paying creative work, it is also possible to obtain other accompanying drawing according to these accompanying drawings, and obtain other embodiment.
Fig. 2 is the flow chart of a kind of SDN message flow statistical method of one embodiment of the invention.SDN includes customer side and network side, and network side includes some SDN switch and at least one SDN controller, and the lateral network side of client sends message, as in figure 2 it is shown, this statistical method specifically includes following steps:
Step S1: switch receives the message from customer side, sends message to SDN controller;
In SDN, switch supports OpenFlow agreement, completes SDN switch and the interactive information of SDN controller by OpenFlow agreement.SDN switch sends message to SDN controller, several message characteristic informations are contained in message, such as: purpose IP address, source IP address, destination slogan, source port number, protocol number, ToS (TypeOfService, COS), input interface, output interface information etc..These message characteristic informations can characterize the type of message in different angles, for meeting one group of message of same feature, then constitutes message flow.Such as, using source IP address and purpose IP address as if considering feature, the message that every source IP address is identical with purpose IP address, then constitute same message flow, have one difference occurs if contrary among both, then constitute different message flows.The invention of this case focus on to same message flow in the whole network flow information statistics, for those skilled in the art, after the goal of the invention achieving the present invention, it is expanded into the statistics of different message flow, only need to not repeat them here through simple step.
In general, the local stream table storehouse of SDN switch stores a local stream table.For new message, there is not occurrence in local stream table, SDN switch sends message and processes to SDN controller, and now step S1 will be performed.
Also comprised the steps: before step S1
SDN switch receives after the message of customer side, according to message characteristic information inquiry one local stream table;
When stream table inquiry is unsuccessful, perform step S1;
When stream table successful inquiring, perform step S4;
Certainly, for SDN, the need of carrying out the Information Statistics in network-wide basis of certain message flow, depending on concrete statistical demand, such as network management personnel or operator, when the data needing to monitor a certain client transmit situation or during whole section of network failure situation, it is possible to opened the message flow statistical function of SDN by SDN controller.
Step S2:SDN controller extracts at least one message characteristic information of this message, generates the stream table of message flow corresponding to this message according to message characteristic information, configures stream ID and the timing statistics of this message flow in stream table;
In SDN, the foundation that SDN switch data forward is stream table.Switch can support OpenFlow agreement, receives the stream table that issues of SDN controller by OpenFlow agreement, the generation of stream table itself, safeguards, issues and realized by SDN controller completely.
In this step, SDN controller obtains the message that SDN switch sends, identify at least one message characteristic information of this message, the stream table of message flow corresponding to this message is generated according to the message characteristic information extracted, configuring stream ID and the timing statistics of message flow of this message flow in stream table, message characteristic information, message flow stream ID and timing statistics are the most corresponding.
Referring to table 1, table 1 gives the stream literary name segment structure under a kind of detailed description of the invention and forms:
Field meanings
As described in Table 1, Flowid refers to the stream ID of message flow, and as the mark of this message flow, by stream ID, SDN switch and SDN controller realize flow information statistics to same message flow, and the sampling time refers to the timing statistics of message flow.This stream table is to increase message flow stream ID and the timing statistics of message flow in traditional stream table, and other field in the conventional flow table of support the most no longer describes.
The timing statistics user of message flow can be arranged voluntarily.For different message flows, the time of statistics is the most different, is such as identical one group message flow with source IP address and purpose IP address, and timing statistics default value is 300 seconds.
Also comprised the steps: before step S2
SDN controller obtains the message that switch sends, according to message characteristic information inquiry stream table;
When stream table inquiry is unsuccessful, perform step S2;
When stream table successful inquiring, perform step S3.
Step S3:SDN controller issues stream table to all SDN switch under this message flow forward-path;
In this step, SDN controller, according to this message flow forward-path in stream table and stream ID, issues this stream table to all SDN switch under message flow forward-path.
Step S4:SDN switch obtains the stream ID in stream table and timing statistics, and the flow information of this message flow is added up according to timing statistics and stream ID, then generate a privately owned amplifying message according to flow information and stream ID, send described privately owned amplifying message to described SDN controller;
In this step, SDN switch receives the stream table that SDN controller sends, and is saved in local data base by stream table.SDN switch, according to the information in stream table, obtains the timing statistics of this message flow ID and message flow.SDN switch is according to the forward-path in stream table and stream ID, forward this message flow, and the flow information of this message flow is added up according to stream ID and timing statistics, flow information comprise inbound port, go out port, packet loss number, send byte number, send message number, statistical information that crc error message number, overlength message number, ultrashort message are stated, SDN switch generates a privately owned amplifying message according to the stream ID of message flow flow information and message flow, sends this privately owned amplifying message to SDN controller.Above-mentioned flow information can be added up according to real needs, can increase more static fields, or reduce some static fields.Privately owned amplifying message is as shown in table 2, table 2 provides the specific embodiment of a privately owned amplifying message, wherein ExperimenterType arranges 1 and refers to that SDN switch is to SDN controller direction, IngressPort refers to the inbound port of message flow, what EngressPort referred to message flow goes out port, FlowID refers to the stream ID of message flow, the header field of privately owned amplifying message includes Version, Type, Length, TransactionId, Experimenter, Experimentertype field information, these header field information, according to existing standard formulation, do not repeat them here.
Table 2: privately owned amplifying message
Step S5:SDN controller obtains the flow information of message flow according to privately owned amplifying message;
In this step, SDN controller obtains the privately owned amplifying message that SDN switch sends, and according to privately owned amplifying message, obtains and add up the flow information of this message flow.
In the present embodiment, SDN controller creates stream table according to message characteristic information and issues stream table to SDN switch, configuration message stream stream ID and timing statistics in stream table, SDN switch is according to stream ID and the flow information of timing statistics accounting message stream, generate the privately owned amplifying message comprising stream ID and flow information to send to SDN controller, SDN controller just can obtain the flow information of this message flow, thus SDN controller can obtain the message flow flow information in whole SDN, packet loss information, wrong package informatin, can quickly diagnose on message forwarding path and whether have packet loss, wrong bag.
To sum up, the invention provides a kind of SDN message flow statistical method, SDN controller generates stream table according to message characteristic information, is configured with message flow stream ID and message flow timing statistics in stream table, and SDN controller sends the stream table all SDN switch to message flow forward-path;SDN switch is according to the stream ID in stream table and timing statistics statistic flow information and generates a privately owned amplifying message, and privately owned amplifying message comprises stream ID and flow information, sends privately owned amplifying message and obtains the flow information of message flow to SDN controller, SDN controller.
Below, the SDN system with message flow statistical function of the present invention will be described in detail.
Refer to the SDN system structure schematic diagram that Fig. 3, Fig. 3 are one embodiment of the invention.As shown in Figure 3, SDN includes user side and network side, network side includes some SDN switch and SDN controller, and some SDN switch constitute data each node in network transmits, and SDN controller then controls these SDN switch logarithms and executes the operations such as transmitting-receiving factually.
In the present invention, SDN switch is in addition to existing switch function, it is also responsible for the flow information in message flow is carried out statistical measurement, specifically include: new message is sent to SDN controller, then SDN switch receives the stream table that SDN controller issues, and obtains the stream ID in stream table and timing statistics, and adds up the flow information of this message flow according to timing statistics and stream ID, and generate a privately owned amplifying message according to flow information and stream ID, send this privately owned amplifying message to SDN controller;
In the present invention, SDN controller is in addition to existing control function, it is also responsible for configuring stream table according to the characteristic information in message, obtain the flow information in privately owned amplifying message, specifically include: extract at least one message characteristic information of message, the stream table of message flow corresponding to this message is generated according to message characteristic information, the stream ID of configuration message stream and timing statistics in stream table, issue this stream table to all SDN switch under this message flow forward-path, according to receiving the privately owned amplifying message that SDN switch sends, obtain the flow information of message flow in privately owned amplifying message;
Fig. 4 is the SDN switch structural representation of one embodiment of the invention.As shown in Figure 4, specifically include:
Stream table enquiry module 30, for according to message characteristic information inquiry stream table, obtaining the forward-path of message flow, stream ID and the timing statistics of message flow;
Statistical module 31, for adding up the flow information of this message flow, and generates a privately owned amplifying message according to flow information and stream ID;
Forwarding module 32, is used for sending this privately owned amplifying message to SDN controller.
SDN switch supports the stream table of OpenFlow agreement, supports privately owned amplifying message.SDN switch receives the message that client sends, this message comprises at least one message characteristic information, in 30, carries out stream table coupling according to message characteristic information in stream table storehouse, this locality in stream table enquiry module, SDN switch is unsuccessful when stream table coupling, sends message to SDN controller;When SDN switch coupling stream telogenesis merit, SDN switch E-Packets according to stream table and message flow stream ID, and in statistical module 31, stream ID according to message flow and timing statistics add up the flow information of this message flow, then in forwarding module 32, flow information according to message flow and stream ID generate a privately owned amplifying message, send privately owned amplifying message to SDN controller.
Fig. 5 is the SDN controller architecture schematic diagram of one embodiment of the invention.As it is shown in figure 5, specifically include:
Control module 40, can open and close the message flow statistical function of SDN for SDN controller;
Stream table handing module 41, for according to message characteristic information inquiry stream table, when SDN controller inquiry stream telogenesis merit, issuing stream table to all SDN switch under this message flow forward-path;When SDN controller inquiry stream table is unsuccessful, generates the stream table of message flow corresponding to this message according to message characteristic information, stream table configures stream ID and the timing statistics of this message flow;
Flow information statistical module 42, obtains flow information and the message flow stream ID of message flow, adds up the flow information of this message flow for SDN controller according to privately owned amplifying message.
Openflow agreement supported by SDN controller, supports the generation of stream table, safeguards, forwards, supports privately owned amplifying message.In SDN controller, control module 40 can open and close the message flow statistical function of SDN.SDN controller receives the message that switch sends, in stream table handing module 41, extract at least one message characteristic information in message, according to message characteristic information inquiry stream table, the match is successful for SDN controller inquiry stream table, according to the stream forward-path of table and the stream ID of message flow, issue stream table to all SDN switch under this message flow forward-path;SDN controller inquiry stream table is unsuccessful, generates the stream table of message flow corresponding to message according to the characteristic information of message, and configures stream ID and the timing statistics of message flow of this message flow in stream table, and the timing statistics user of message flow can be arranged voluntarily.SDN controller, according to the message flow forward-path in stream table and stream ID, issues stream table to all SDN switch under this message flow forward-path.SDN controller, in flow information statistical module 42, receives the privately owned amplifying message that SDN switch sends, and obtains stream ID and the flow information of message flow, and the flow information of accounting message stream.
Refer to the SDN message flow process flow figure that Fig. 6, Fig. 6 are one embodiment of the present of invention.As shown in Figure 6, described method specifically includes:
Step 301:SDN switch receives the message that client sends, according to message characteristic information inquiry stream table;
Step 302:SDN switch stream table successful inquiring, according to the operation instruction in stream table, message is forwarded, simultaneously according to the timing statistics in stream table and stream ID, measure the flow information of this message flow, then a privately owned amplifying message is generated according to the flow information and stream ID measuring acquisition, send privately owned amplifying message to SDN controller, continue executing with step 307;
Step 303: when the inquiry of SDN switch stream table is unsuccessful, SDN switch sends this message to SDN controller, execution step 304;
Step 304:SDN controller extracts message characteristic information, and according to message characteristic information inquiry stream table;
Step 305: when SDN controller inquiry stream telogenesis merit, issues stream table to all SDN switch under this message flow forward-path, and jumps to step 301 and continue executing with step 302;
Step 306: when SDN controller inquiry stream table is unsuccessful, generates the stream table of message flow corresponding to this message according to message characteristic information, configure stream ID and the timing statistics of this message flow in stream table, jump to step 305 and perform step 305;
Step 307:SDN controller obtains the flow information of message flow according to privately owned amplifying message.
In the present embodiment, SDN controller is according to message characteristic inquiry stream table, generate stream table and issue stream table to SDN switch, configuration stream ID and message flow timing statistics in stream table, SDN switch is according to stream ID and the flow information of timing statistics accounting message stream, generate privately owned amplifying message to send to SDN controller, SDN controller just can obtain the flow information of this message flow, thus in whole SDN, can clearly obtain the forward-path information in the whole network of message flow, and flow information statistics in the entire network.
In sum, one SDN message flow statistical method of the present invention, processing method and SDN system, based on SDN system, message flow path in whole SDN can be obtained simply;Acquisition message flow, at the flow information of whole SDN, carries out network level flow analysis according to the flow information of message flow;According to message flow information on the forward-path of whole SDN, can diagnose message rapidly is packet loss or wrong bag etc. on which paths, it is provided that effective diagnostic method.
In the description of this specification, reference term " embodiment ", " some embodiments ", " example ", " concrete example " or " some examples " etc. describe specific features, structure, material or the feature meaning to combine this embodiment or example description and are contained at least one embodiment or the example of the present invention.In this manual, the schematic representation to above-mentioned term is not necessarily referring to identical embodiment or example.And, the specific features of description, structure, material or feature can combine in any one or more embodiments or example in an appropriate manner.
It should be noted that, above-described embodiment all can independent assortment as required.The above is only the preferred embodiment of the present invention; it should be pointed out that, for those skilled in the art, under the premise without departing from the principles of the invention; can also make some improvements and modifications, these improvements and modifications also should be regarded as protection scope of the present invention.
These are only the preferred embodiments of the present invention; not thereby the scope of the claims of the present invention is limited; every equivalent structure utilizing description of the invention and accompanying drawing content to be made or equivalence flow process conversion; or directly or indirectly it is used in other relevant technical field, the most in like manner it is included in the scope of patent protection of the present invention.

Claims (10)

1. a SDN message flow statistical method, described SDN includes that customer side and network side, described network side include some SDN switch and at least one SDN controller, and the lateral described network side of described client sends message, it is characterized in that, described statistical method comprises the following steps:
Step S1, described switch receives the message from customer side, and sends described message to described SDN controller;
Step S2, described SDN controller extracts at least one message characteristic information of this message, generates the stream table of message flow corresponding to this message according to described message characteristic information, the stream ID of configuration message stream and timing statistics in described stream table;
Step S3, described SDN controller issues described stream table to all SDN switch under this message flow forward-path;
Step S4, described SDN switch obtains the stream ID in described stream table and timing statistics, and add up the flow information of this message flow according to described timing statistics and stream ID, and generate a privately owned amplifying message according to described flow information and stream ID, send described privately owned amplifying message to described SDN controller;
Step S5, described SDN controller obtains the flow information of described message flow according to described privately owned amplifying message.
2. a kind of SDN message flow statistical method as claimed in claim 1, it is characterized in that, described message characteristic information includes one or more combinations in purpose IP address, source IP address, destination slogan, source port number, protocol number, ToS (TypeOfService, COS), input interface, output interface information.
3. a kind of SDN message flow statistical method as claimed in claim 1, it is characterized in that, described flow information is to include inbound port, one or more combinations gone out in port, packet loss number, transmission byte number, transmission message number, crc error message number, overlength message number, ultrashort message number.
4. SDN message flow statistical method as claimed in claim 1 a kind of, it is characterised in that described privately owned amplifying message comprises the header field of this privately owned amplifying message, and the stream ID of described message flow and flow information.
5. as claimed in claim 1 a kind of based on SDN message flow statistical method, it is characterised in that also to comprise the steps: before step S1
Described SDN switch receives after the message of customer side, according to described message characteristic information inquiry stream table;
When stream table inquiry is unsuccessful, perform step S1;
When stream table successful inquiring, perform step S4.
6. as claimed in claim 1 a kind of based on SDN message flow statistical method, it is characterised in that also to comprise the steps: before step S2
Described SDN controller obtains the message that described switch sends, according to described message characteristic information inquiry stream table;
When stream table inquiry is unsuccessful, perform step S2;
When stream table successful inquiring, perform step S3.
7. a SDN message flow processing method, described SDN includes that customer side and network side, described network side include some SDN switch and at least one SDN controller, and the lateral described network side of described client sends message, it is characterized in that, the treating method comprises following steps:
Step 301, described SDN switch receives the message that client sends, according to message characteristic information inquiry stream table;
Step 302, described SDN switch inquiry stream telogenesis merit, according to the operation instruction in stream table, message is forwarded, simultaneously according to the timing statistics in stream table and stream ID, measure the flow information of this message flow, then generate a privately owned amplifying message according to described flow information and stream ID, send privately owned amplifying message extremely described SDN controller, continue executing with step 307;
Step 303: the inquiry of described SDN switch stream table is unsuccessful, described SDN switch sends this message to described SDN controller, execution step 304;
Step 304: described SDN controller obtains message characteristic information, and according to described message characteristic information inquiry stream table;
Step 305: described SDN controller inquiry stream telogenesis merit, issues described stream table to all SDN switch under this message flow forward-path, and performs step 302;
Step 306: described SDN controller inquiry stream table is unsuccessful, generates the stream table of message flow corresponding to this message according to message characteristic information, configures stream ID and the timing statistics of this message flow, and perform step 305 in described stream table;
Step 307: described SDN controller obtains the flow information of described message flow according to privately owned amplifying message.
8. the SDN switch supporting the arbitrary described SDN message flow statistical method of claim 1-6, it is characterised in that including:
Stream table enquiry module, for according to message characteristic information inquiry stream table, obtaining the forward-path of message flow, stream ID and the timing statistics of message flow;
Statistical module, for adding up the flow information of this message flow, and generates a privately owned amplifying message according to flow information and stream ID;
Forwarding module, is used for sending this privately owned amplifying message to SDN controller.
9. the SDN controller supporting the arbitrary described SDN message flow statistical method of claim 1-6, it is characterised in that including:
Control module, can open and close the message flow statistical function of SDN for SDN controller;
Stream table handing module, for according to message characteristic information inquiry stream table, generating the stream table of message flow corresponding to this message, configure stream ID and the timing statistics of this message flow in stream table according to message characteristic information;
Flow information statistical module, obtains flow information and the message flow stream ID of message flow, adds up the flow information of this message flow for SDN controller according to privately owned amplifying message.
10. a SDN system, described SDN includes that customer side and network side, described network side include some SDN switch and at least one SDN controller, it is characterised in that:
Described SDN switch, the flow information in measured message stream, including:
Stream table enquiry module, for according to message characteristic information inquiry stream table, obtaining the forward-path of message flow, stream ID and the timing statistics of message flow;
Statistical module, for adding up the flow information of this message flow, and generates a privately owned amplifying message according to flow information and stream ID;
Forwarding module, is used for sending this privately owned amplifying message to SDN controller;
Described SDN controller, for configuring stream table according to the characteristic information in message, obtains the flow information in privately owned amplifying message, including:
Control module, can open and close the message flow statistical function of SDN for SDN controller;
Stream table handing module, for according to message characteristic information inquiry stream table, generating the stream table of message flow corresponding to this message, configure stream ID and the timing statistics of this message flow in stream table according to message characteristic information;
Flow information statistical module, obtains flow information and the message flow stream ID of message flow, adds up the flow information of this message flow for SDN controller according to privately owned amplifying message.
CN201610369105.3A 2016-05-30 2016-05-30 SDN network message flow statistics method, SDN network message flow processing method and SDN network system Pending CN105827487A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610369105.3A CN105827487A (en) 2016-05-30 2016-05-30 SDN network message flow statistics method, SDN network message flow processing method and SDN network system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610369105.3A CN105827487A (en) 2016-05-30 2016-05-30 SDN network message flow statistics method, SDN network message flow processing method and SDN network system

Publications (1)

Publication Number Publication Date
CN105827487A true CN105827487A (en) 2016-08-03

Family

ID=56532336

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610369105.3A Pending CN105827487A (en) 2016-05-30 2016-05-30 SDN network message flow statistics method, SDN network message flow processing method and SDN network system

Country Status (1)

Country Link
CN (1) CN105827487A (en)

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106130769A (en) * 2016-06-30 2016-11-16 上海斐讯数据通信技术有限公司 A kind of Network Quality Analysis method based on SDN and SDN system
CN106302028A (en) * 2016-09-22 2017-01-04 杭州华三通信技术有限公司 Flux monitoring method and device
CN106789703A (en) * 2017-01-12 2017-05-31 上海斐讯数据通信技术有限公司 A kind of traffic policing algorithm based on SDN frameworks
CN108521371A (en) * 2018-03-09 2018-09-11 新华三技术有限公司 Message forwarding method and device
CN108881064A (en) * 2018-06-26 2018-11-23 新华三技术有限公司 Message information acquisition methods and sending method
CN109600318A (en) * 2018-11-29 2019-04-09 新华三技术有限公司合肥分公司 A kind of method and SDN controller monitoring application program in SDN
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
CN110601924A (en) * 2019-10-17 2019-12-20 新华三信息安全技术有限公司 Message sending method and device
CN110971540A (en) * 2018-09-28 2020-04-07 中国移动通信有限公司研究院 Data information transmission method and device, switch and controller
CN112073256A (en) * 2020-06-01 2020-12-11 新华三信息安全技术有限公司 Packet loss processing method, device, equipment and machine-readable storage medium
CN112311791A (en) * 2020-10-29 2021-02-02 贵州电网有限责任公司 Statistical method and system suitable for office business flow

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103379039A (en) * 2012-04-23 2013-10-30 华为技术有限公司 Method, device and system for flow statistics
CN104243240A (en) * 2014-09-23 2014-12-24 电子科技大学 SDN (self-defending network) flow measuring method based on Open Flow
CN104301251A (en) * 2014-09-22 2015-01-21 杭州华三通信技术有限公司 QoS processing method, system and device
CN104468254A (en) * 2013-09-24 2015-03-25 中兴通讯股份有限公司 Network flow statistic reporting processing method and device, controller and switch
CN104579722A (en) * 2013-10-11 2015-04-29 中兴通讯股份有限公司 Flow statistics capability negotiation method and apparatus

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103379039A (en) * 2012-04-23 2013-10-30 华为技术有限公司 Method, device and system for flow statistics
CN104468254A (en) * 2013-09-24 2015-03-25 中兴通讯股份有限公司 Network flow statistic reporting processing method and device, controller and switch
CN104579722A (en) * 2013-10-11 2015-04-29 中兴通讯股份有限公司 Flow statistics capability negotiation method and apparatus
CN104301251A (en) * 2014-09-22 2015-01-21 杭州华三通信技术有限公司 QoS processing method, system and device
CN104243240A (en) * 2014-09-23 2014-12-24 电子科技大学 SDN (self-defending network) flow measuring method based on Open Flow

Cited By (18)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106130769A (en) * 2016-06-30 2016-11-16 上海斐讯数据通信技术有限公司 A kind of Network Quality Analysis method based on SDN and SDN system
CN106302028B (en) * 2016-09-22 2020-01-03 新华三技术有限公司 Flow monitoring method and device
CN106302028A (en) * 2016-09-22 2017-01-04 杭州华三通信技术有限公司 Flux monitoring method and device
CN106789703A (en) * 2017-01-12 2017-05-31 上海斐讯数据通信技术有限公司 A kind of traffic policing algorithm based on SDN frameworks
CN108521371A (en) * 2018-03-09 2018-09-11 新华三技术有限公司 Message forwarding method and device
CN108521371B (en) * 2018-03-09 2020-12-25 新华三技术有限公司 Message forwarding method and device
CN108881064A (en) * 2018-06-26 2018-11-23 新华三技术有限公司 Message information acquisition methods and sending method
CN108881064B (en) * 2018-06-26 2022-07-22 新华三技术有限公司 Message information acquisition method and message information transmission method
CN110971540A (en) * 2018-09-28 2020-04-07 中国移动通信有限公司研究院 Data information transmission method and device, switch and controller
CN110971540B (en) * 2018-09-28 2023-04-07 中国移动通信有限公司研究院 Data information transmission method and device, switch and controller
CN109600318A (en) * 2018-11-29 2019-04-09 新华三技术有限公司合肥分公司 A kind of method and SDN controller monitoring application program in SDN
CN109600318B (en) * 2018-11-29 2022-07-12 新华三技术有限公司合肥分公司 Method for monitoring application program in SDN and SDN controller
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
CN110177031B (en) * 2019-06-18 2021-01-01 深圳职业技术学院 SDN network-based data monitoring control system and monitoring control method thereof
CN110601924A (en) * 2019-10-17 2019-12-20 新华三信息安全技术有限公司 Message sending method and device
CN112073256A (en) * 2020-06-01 2020-12-11 新华三信息安全技术有限公司 Packet loss processing method, device, equipment and machine-readable storage medium
CN112311791A (en) * 2020-10-29 2021-02-02 贵州电网有限责任公司 Statistical method and system suitable for office business flow
CN112311791B (en) * 2020-10-29 2023-04-14 贵州电网有限责任公司 Statistical method and system suitable for office business flow

Similar Documents

Publication Publication Date Title
CN105827487A (en) SDN network message flow statistics method, SDN network message flow processing method and SDN network system
CN102783098B (en) Communication system, path control device, grouping converter and controlling of path thereof
JP4598462B2 (en) Provider network providing an L2-VPN service and edge router
CN105207853B (en) A kind of LAN method for managing and monitoring
US10044830B2 (en) Information system, control apparatus, method of providing virtual network, and program
US10122590B2 (en) ECMP path tracing in an MPLS enabled network
JP5652565B2 (en) Information system, control device, communication method and program
CN104509032B (en) For operating, supervising and managing the methods, devices and systems of (OAM) function in a network
CN108259261B (en) Path detection method and device
CN106130769A (en) A kind of Network Quality Analysis method based on SDN and SDN system
KR20160122226A (en) Communication system, control device, communication control method and program
de Oliveira et al. TinySDN: Enabling TinyOS to software-defined wireless sensor networks
US11032184B2 (en) Method and device for collecting traffic flow value of BGP community attribute or BGP extended community attribute
CN105637806B (en) Network topology determines method and apparatus, centralized network status information storage equipment
WO2015196636A1 (en) Packet collection method and system, network device and network management centre
US20140301226A1 (en) Apparatus and method for network monitoring and packet inspection
KR20180058594A (en) Software Defined Network/Test Access Port Application
US8064466B2 (en) Method for specifying input edge router
CN105515850B (en) The control management method to ForCES forwarding elements is realized using OpenFlow controllers and collocation point
KR20180058592A (en) Software Defined Network Controller
JP2017050708A (en) Communication system, control unit, switch, communication method, and program
JP6151827B2 (en) Monitoring control device, monitoring device, monitoring system, and monitoring program
CN104412545A (en) Communication method, information processing apparatus, communication system, program, node, and communication terminal
KR20090000995A (en) System and method for traffic account between each isps using identification number of isp network
JP5955720B2 (en) Monitoring device, monitoring method and monitoring program

Legal Events

Date Code Title Description
C06 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
RJ01 Rejection of invention patent application after publication

Application publication date: 20160803