CN108092856A - Network quality optimization method, system and electronic equipment based on SDN - Google Patents

Network quality optimization method, system and electronic equipment based on SDN Download PDF

Info

Publication number
CN108092856A
CN108092856A CN201810006359.8A CN201810006359A CN108092856A CN 108092856 A CN108092856 A CN 108092856A CN 201810006359 A CN201810006359 A CN 201810006359A CN 108092856 A CN108092856 A CN 108092856A
Authority
CN
China
Prior art keywords
network quality
sdn
network
message
test packet
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
CN201810006359.8A
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.)
Beijing Violet Heng Yue Network Technology Co Ltd
Original Assignee
Beijing Violet Heng Yue Network Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Violet Heng Yue Network Technology Co Ltd filed Critical Beijing Violet Heng Yue Network Technology Co Ltd
Publication of CN108092856A publication Critical patent/CN108092856A/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
    • H04L43/0876Network utilisation, e.g. volume of load or congestion level
    • H04L43/0894Packet rate
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/08Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters
    • H04L43/0823Errors, e.g. transmission errors
    • H04L43/0829Packet loss
    • 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/0852Delays
    • H04L43/087Jitter
    • 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
    • H04L61/00Network arrangements, protocols or services for addressing or naming
    • H04L61/09Mapping addresses
    • H04L61/25Mapping addresses of the same type
    • H04L61/2503Translation of Internet protocol [IP] addresses
    • H04L61/256NAT traversal

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

The present invention provides a kind of network quality optimization method, system and electronic equipment based on SDN, is related to SDN network technical field, method includes:SDN switch sends the first test packet to the opposite equip. that pending network quality is tested, and destination address is the IP address of opposite equip., and the port numbers of destination interface are preconfigured first end slogan;For SDN switch from the second test packet of port snoop that itself port numbers is first end slogan, SDN switch parses the second test packet, obtains Network Quality Analysis information, and by Network Quality Analysis information reporting to SDN controllers;SDN controllers judge whether to need the qos parameter for adjusting network according to Network Quality Analysis information;If so, the enhancing distributed coordination that opposite equip. is adjusted according to Network Quality Analysis information accesses EDCA competitive channel parameters.The packet network quality of opposite equip. can be tested by SDN switch and SDN controllers, and processing is optimized to the result of test, and then is improved network quality.

Description

Network quality optimization method, system and electronic equipment based on SDN
Technical field
The present invention relates to SDN network technical field more particularly to a kind of network quality optimization method based on SDN, systems And electronic equipment.
Background technology
In data communication network, network service quality analysis is extremely important and common, and Analysis on Quality of Service includes Bandwidth, packet loss, message transmissions delay etc..Conventional test methodologies construct test packet by test instrumentation, are tested by analyzing Message obtains the network performance provided to the user and network quality parameters, such as transmission delay, transmission rate etc., but cannot According to the type of service of user, network service quality analysis and adjustment are automatically carried out, nor data forwarding road can be optimized Footpath.
SDN (Software Defined Network, software defined network) is a kind of emerging network based on software Framework and technology, core technology are OpenFlow technologies.The core technology OpenFlow of SDN is by by network equipment key-course It is separated with data Layer.SDN controllers can flexibly obtain bottom-layer network information by OpenFlow agreements, thus SDN is controlled Device processed can obtain global network information.
At present, in SDN network in the prior art, however it remains cannot automatically be carried out according to the type of service of user The problem of network service quality analysis and adjustment.
The content of the invention
In view of this, the embodiment of the present invention is designed to provide a kind of network quality optimization method based on SDN, system And electronic equipment, the message for the opposite equip. that can be directed to different protocol types by SDN switch and SDN controllers carry out Network quality is tested, and optimizes processing to the result of test, and then is improved network quality.
In a first aspect, an embodiment of the present invention provides a kind of network quality optimization method based on SDN, including:
SDN switch sends the first test packet to the opposite equip. that pending network quality is tested;First test packet Destination address be opposite equip. IP address, the port numbers of destination interface are preconfigured first end slogan;
SDN switch from itself port numbers be first end slogan the second test packet of port snoop;Second test packet To be opposite equip. exchange the source address of the first test packet received and destination address and after keeping destination interface constant The message arrived;
SDN switch parses the second test packet, obtains Network Quality Analysis information, and by Network Quality Analysis Information reporting is to SDN controllers;Network Quality Analysis information includes:The average transmission rate and message of message packet loss, network At least one of Yanzhong during the shake of transmission;
SDN controllers judge whether to need the qos parameter for adjusting network according to Network Quality Analysis information;If so, root EDCA competitive channel parameters are accessed according to the enhancing distributed coordination of Network Quality Analysis information adjustment opposite equip..
With reference to first aspect, an embodiment of the present invention provides the first possible embodiment of first aspect, wherein, Before SDN switch sends the first test packet to the opposite equip. of Network Quality Analysis, further include:
SDN controllers receive the message of the opposite equip. for the pending network quality test that SDN switch is sent;
SDN controllers go out protocol type according to packet parsing;
SDN controllers send target detection order according to protocol type to SDN switch;Target detection order is used to make SDN switch carries out the opposite equip. that pending network quality is tested the test of network quality.
With reference to first aspect, an embodiment of the present invention provides second of possible embodiment of first aspect, wherein, During opposite equip. the first test packet of transmission that SDN switch is tested to pending network quality, the first test report is additionally included in Sending time stamp is inserted into text;
SDN switch from itself port numbers be the second test packet of port snoop of first end slogan when, be additionally included in the Receiving time stamp is inserted into two test packets;
SDN switch parses the second test packet, before obtaining Network Quality Analysis information, further includes:According to Sending time is stabbed and receiving time stamp, calculates two-way time of the message between SDN switch and opposite equip..
With reference to first aspect, an embodiment of the present invention provides the third possible embodiment of first aspect, wherein, SDN switch parses the second test packet, obtains Network Quality Analysis information, specifically includes:
It is fast to calculate message packet loss, the average transmission of network according to the second test packet and two-way time for SDN switch The shake time delay of rate and message transmissions makees the shake time delay of message packet loss, the average transmission rate of network and message transmissions For Network Quality Analysis information.
With reference to first aspect, an embodiment of the present invention provides the 4th kind of possible embodiment of first aspect, wherein, SDN controllers judge whether to need the qos parameter for adjusting network, specifically include according to Network Quality Analysis information:
SDN controllers judge that Yanzhong is any during the shake of message packet loss, the average transmission rate of network and message transmissions Whether item is more than corresponding predetermined threshold value, if it is, needing the qos parameter of adjustment network.
With reference to first aspect, an embodiment of the present invention provides the 5th kind of possible embodiment of first aspect, wherein, SDN controllers send target detection order to SDN switch, specifically include according to protocol type:
The source IP address of the message for the opposite equip. that SDN controllers are tested according to pending network quality, purpose IP address The forward-path of the message of the opposite equip. of pending network quality test is configured in flow table, while in the expansion field of flow table Middle configuration obtains the action command of Network Quality Analysis information;
SDN controllers issue SDN switch of the flow table to forward-path;
SDN controllers are handed over according to the entrance SDN that protocol type the first privately owned amplifying message of generation is sent on forward-path It changes planes, the corresponding Network Quality Analysis type of configuration protocol type in the first privately owned amplifying message;
Corresponding first test packet of SDN controllers generation Network Quality Analysis type sends the first test packet and extremely turns Send out the SDN switch on path.
With reference to first aspect, an embodiment of the present invention provides the 6th kind of possible embodiment of first aspect, wherein, net Network quality analysis type includes TCP message connection time delay, FTP messages connection time delay, file transfer rate type, message packet loss class At least one of type.
Second aspect, the embodiment of the present invention provide a kind of network quality optimization system based on SDN, including:SDN controllers And SDN switch;
SDN switch, the opposite equip. for being tested to pending network quality send the first test packet;First test The destination address of message is the IP address of opposite equip., and the port numbers of destination interface are preconfigured first end slogan;
SDN switch is additionally operable to from the second test packet of port snoop that itself port numbers is first end slogan;Second surveys It is that the source address of the first test packet received and destination address are exchanged and keep destination interface not by opposite equip. to try message The message obtained after change;
SDN switch is additionally operable to parse the second test packet, obtains Network Quality Analysis information, and by network Mass analysis information reports to SDN controllers;Network Quality Analysis information includes:The average transmission speed of message packet loss, network At least one of Yanzhong during the shake of rate and message transmissions;
SDN controllers, for according to Network Quality Analysis information, judging whether to need the qos parameter for adjusting network;If It is that the enhancing distributed coordination that opposite equip. is adjusted according to Network Quality Analysis information accesses EDCA competitive channel parameters.
The third aspect, the embodiment of the present invention also provide a kind of electronic equipment, including memory, processor, are deposited on memory The computer program that can be run on a processor is contained, processor is realized when performing computer program described in above-mentioned first aspect The step of method.
Fourth aspect, the embodiment of the present invention also provide a kind of meter for the non-volatile program code that can perform with processor Calculation machine readable medium, program code make the method for processor execution as described in relation to the first aspect.
The embodiment of the present invention brings following advantageous effect:
In network quality optimization method provided in an embodiment of the present invention based on SDN, SDN switch first is to pending net The opposite equip. of network quality test sends the first test packet;The destination address of first test packet for opposite equip. IP Location, the port numbers of destination interface are preconfigured first end slogan;SDN switch is from itself port numbers for first end slogan The second test packet of port snoop;Second test packet is opposite equip. by the source address and mesh of the first test packet received Address exchange and keep the message obtained after destination interface is constant;SDN switch parses the second test packet, obtains Network Quality Analysis information, and by Network Quality Analysis information reporting to SDN controllers;Network Quality Analysis information includes:Report At least one of Yanzhong during the shake of literary packet loss, the average transmission rate of network and message transmissions;SDN controllers are according to network matter Amount analysis information, judges whether to need the qos parameter for adjusting network;If so, opposite end is adjusted according to Network Quality Analysis information The enhancing distributed coordination of equipment accesses EDCA competitive channel parameters.This method being capable of pin by SDN switch and SDN controllers Network quality test is carried out to the message of the opposite equip. of different protocol types, and processing is optimized to the result of test, And then it improves network quality.
Other features and advantages of the present invention will illustrate in the following description, also, partly become from specification It obtains it is clear that being understood by implementing the present invention.The purpose of the present invention and other advantages are in specification, claims And specifically noted structure is carried out path realization and is obtained in attached drawing.
For the above objects, features and advantages of the present invention is enable to be clearer and more comprehensible, preferred embodiment cited below particularly, and coordinate Appended attached drawing, is described in detail below.
Description of the drawings
It, below will be to specific in order to illustrate more clearly of the specific embodiment of the invention or technical solution of the prior art Embodiment or attached drawing needed to be used in the description of the prior art are briefly described, it should be apparent that, in describing below Attached drawing is some embodiments of the present invention, for those of ordinary skill in the art, before not making the creative labor It puts, can also be obtained according to these attached drawings other attached drawings.
Fig. 1 shows a kind of flow chart for network quality optimization method based on SDN that the embodiment of the present invention is provided;
Fig. 2 shows the flow chart for another network quality optimization method based on SDN that the embodiment of the present invention is provided;
Fig. 3 shows the flow chart for another network quality optimization method based on SDN that the embodiment of the present invention is provided;
Fig. 4 shows a kind of structural representation for network quality optimization system based on SDN that the embodiment of the present invention is provided Figure;
Fig. 5 shows the structure diagram for a kind of electronic equipment that the embodiment of the present invention is provided.
Specific embodiment
Below in conjunction with attached drawing in the embodiment of the present invention, the technical solution in the embodiment of the present invention is carried out clear, complete Ground describes, it is clear that described embodiment is only part of the embodiment of the present invention, instead of all the embodiments.Usually exist The component of the embodiment of the present invention described and illustrated in attached drawing can configure to arrange and design with a variety of herein.Cause This, the detailed description of the embodiment of the present invention to providing in the accompanying drawings is not intended to limit claimed invention below Scope, but it is merely representative of the selected embodiment of the present invention.Based on the embodiment of the present invention, those skilled in the art are not doing Go out all other embodiments obtained on the premise of creative work, belong to the scope of protection of the invention.
At present, in SDN network in the prior art, however it remains cannot automatically be carried out according to the type of service of user The problem of network service quality analysis and adjustment.Based on this, an embodiment of the present invention provides a kind of network quality based on SDN is excellent Change method, system and electronic equipment, the opposite end that different protocol types can be directed to by SDN switch and SDN controllers are set Standby message carries out network quality test, and optimizes processing to the result of test, and then improves network quality.
For ease of understanding the present embodiment, first to a kind of network based on SDN disclosed in the embodiment of the present invention Quality optimization method describes in detail.
Embodiment 1:
An embodiment of the present invention provides a kind of network quality optimization method based on SDN, shown in Figure 1, this method bags Include following steps:
S101:SDN switch sends the first test packet, the first test to the opposite equip. that pending network quality is tested The destination address of message is the IP address of opposite equip., and the port numbers of destination interface are preconfigured first end slogan.
NQA client and servers are configured simultaneously in SDN switch, common in the opposite equip. configuration of NQA tests Network address translation (NAT, Network Address Translation) server capability, makes the opposite equip. to NQA client The test packet that end is sent carries out reflection processing, supports NQA server capabilities without the opposite equip., can also realize all The NQA tests of such as TCP, UDP and UDP delay variation type.
Specifically, emit the first TCP test packets by the NQA client modules being arranged in SDN switch;By In configuring the simple NAT servers of a function on opposite equip., compared with the realization NQA server capabilities on opposite equip. Much simpler, therefore, the present invention can easily realize the NQA tests of the opposite equip. to not supporting NQA server capabilities.
S102:SDN switch is tested from the second test packet of port snoop that itself port numbers is first end slogan, second Message is that the source address of the first test packet received and destination address are exchanged and keep destination interface constant by opposite equip. The message obtained afterwards.
Opposite equip. is after the first TCP test packets from SDN switch are received, to the first TCP test packets Source, destination address be interchangeable and keep destination slogan constant, obtain the 2nd TCP test packets, then the 2nd TCP surveyed Examination message is sent.
The SDN switch monitors the port that its port numbers is the first end slogan, is described to receive source address 2nd TCP test packets of the IP address of opposite equip.;Here it is possible to pass through the NQA server moulds being arranged in SDN switch Block listening port number is the port of the first end slogan, receives the 2nd TCP test packets, and carries out network quality point Analysis.
S103:SDN switch parses the second test packet, obtains Network Quality Analysis information, and by network matter Amount analyzes information reporting to SDN controllers;Network Quality Analysis information includes:The average transmission rate of message packet loss, network At least one of with Yanzhong during the shakes of message transmissions.
Performing step S101:SDN switch sends the first test to the opposite equip. that pending network quality is tested and reports Wen Shi is additionally included in the first test packet and is inserted into sending time stamp, is performing step S102:SDN switch is from itself port Number be first end slogan the second test packet of port snoop when, be additionally included in the second test packet be inserted into receiving time stamp;
Performing step S103:SDN switch parses the second test packet, obtain Network Quality Analysis information it Before, it further includes:According to sending time stamp and receiving time stamp, it is round-trip between SDN switch and opposite equip. to calculate message Time.
Step S103:SDN switch parses the second test packet, obtains Network Quality Analysis information, specific to wrap It includes:
It is fast to calculate message packet loss, the average transmission of network according to the second test packet and two-way time for SDN switch The shake time delay of rate and message transmissions makees the shake time delay of message packet loss, the average transmission rate of network and message transmissions For Network Quality Analysis information.
S104:SDN controllers judge whether to need the qos parameter for adjusting network according to Network Quality Analysis information;If It is that the enhancing distributed coordination that opposite equip. is adjusted according to Network Quality Analysis information accesses EDCA competitive channel parameters.
Specifically, SDN controllers judge the shake time delay of message packet loss, the average transmission rate of network and message transmissions Any one of whether be more than corresponding predetermined threshold value, if it is, need adjust network qos parameter.
The embodiment of the present invention by configuring NQA client and servers simultaneously in SDN switch, in pair of NQA tests End equipment configures common network address translation (NAT, Network Address Translation) server capability, makes this Opposite equip. carries out reflection processing to the test packet that NQA clients are sent, and NQA servers are supported without the opposite equip. Function can also realize the NQA tests of the types such as TCP, UDP and UDP delay variation.Due to configuring one on opposite equip. A simple NAT servers of function, compared with realizing that NQA server capabilities are much simpler on opposite equip., therefore, this hair The bright NQA tests that can easily realize the opposite equip. to not supporting NQA server capabilities.
In addition, opposite equip. from SDN switch to Network Quality Analysis send the first test packet before, further include with Lower step, as shown in Figure 2:
S201:SDN controllers receive the message of the opposite equip. for the pending network quality test that SDN switch is sent.
S202:SDN controllers go out protocol type according to packet parsing.
S203:SDN controllers send target detection order according to protocol type to SDN switch.Target detection order is used In the test that SDN switch is made to carry out network quality to the opposite equip. that pending network quality is tested.
When user or tester need to obtain message mass analysis information in network, such as, it is necessary to obtain certain The transmission delay of the forward-path of type message can be realized by opening Network Quality Analysis function in SDN controllers.SDN Controller opens Network Quality Analysis function, it is meant that the network quality that SDN controllers and SDN switch proceed by message is surveyed Examination, thus SDN switch receives the message of the opposite equip. from the test of pending network quality, and the message is sent to SDN Controller.Include the information of some characterization message characteristics in the message of the opposite equip. of pending network quality test, such as: Source IP address, purpose IP address, protocol type etc..For protocol type, also including several types, such as TCP message, FTP Message, UDP messages etc..In the present invention, the protocol type in the message of the opposite equip. of pending network quality test is utilized This characteristic information, protocol type in the message for the opposite equip. that SDN controllers are tested according to pending network quality lead to Know that SDN switch carries out the corresponding network quality test of protocol type, that is to say, that the identical pending network matter of protocol type The message for measuring the opposite equip. of examination carries out identical network quality test, for example, the opposite end of pending network quality test is set The protocol type of standby message is TCP message, and SDN controllers can be the network matter that the protocol type configures TCP connection delay Examination is measured, by applying the present invention, the message that can obtain the opposite equip. of pending network quality test turns in network The transmission delay in path is sent out, so as to preferably optimize the forward-path of the message.It is carried out not by different protocol types Same network quality test, obtains the Network Quality Analysis information of message, preferably optimizes network environment.
Specifically, shown in Figure 3, SDN controllers send the process of target detection order including following to SDN switch Step:
S301:The source IP address of the message for the opposite equip. that SDN controllers are tested according to pending network quality, destination IP Address configures the forward-path of the message of the opposite equip. of pending network quality test in flow table, while in the expansion of flow table Configuration obtains the action command of Network Quality Analysis information in field;
S302:SDN controllers issue SDN switch of the flow table to forward-path.
S303:SDN controllers are sent to the entrance on forward-path according to protocol type the first privately owned amplifying message of generation SDN switch, the corresponding Network Quality Analysis type of configuration protocol type in the first privately owned amplifying message.
Wherein, Network Quality Analysis type includes TCP message connection time delay, FTP messages connection time delay, file transfer rate At least one of type, message packet loss type.
S304:Corresponding first test packet of SDN controllers generation Network Quality Analysis type, sends the first test packet SDN switch on to forward-path.
For traditional SDN network, when itself carries out flow table configuration to message in the controller, can will such as destination IP, In the routing informations such as destination interface write-in flow table, and in the present invention, in addition to configuring these basic informations, additional, also need The relevant information for carrying out network quality test is written in flow table, such as the write-in in the action field (action) of flow table Instructions such as " insertion current time stamp E-Packet by exit port ", can be according to action so when interchanger receives flow table Command adapted thereto in field completes the action of test.Certainly come since many actions of interchanger in SDN network rely on flow table Into, therefore it is a kind of ratio more preferably scheme, but be also not excluded for providing finger using other means to carry out test instruction using flow table Order, for example issue one and special execute instruction to interchanger etc..
In network quality optimization method provided in an embodiment of the present invention based on SDN, SDN switch first is to pending net The opposite equip. of network quality test sends the first test packet;The destination address of first test packet for opposite equip. IP Location, the port numbers of destination interface are preconfigured first end slogan;SDN switch is from itself port numbers for first end slogan The second test packet of port snoop;Second test packet is opposite equip. by the source address and mesh of the first test packet received Address exchange and keep the message obtained after destination interface is constant;SDN switch parses the second test packet, obtains Network Quality Analysis information, and by Network Quality Analysis information reporting to SDN controllers;Network Quality Analysis information includes:Report At least one of Yanzhong during the shake of literary packet loss, the average transmission rate of network and message transmissions;SDN controllers are according to network matter Amount analysis information, judges whether to need the qos parameter for adjusting network;If so, opposite end is adjusted according to Network Quality Analysis information The enhancing distributed coordination of equipment accesses EDCA competitive channel parameters.This method being capable of pin by SDN switch and SDN controllers Network quality test is carried out to the message of the opposite equip. of different protocol types, and processing is optimized to the result of test, And then it improves network quality.
Embodiment two:
The embodiment of the present invention provides a kind of network quality optimization system based on SDN, and shown in Figure 4, which includes: SDN controllers 41 and SDN switch 42.
Wherein, SDN switch 42, the opposite equip. for being tested to pending network quality send the first test packet; The destination address of first test packet is the IP address of opposite equip., and the port numbers of destination interface are preconfigured first port Number;
SDN switch 42 is additionally operable to from the second test packet of port snoop that itself port numbers is first end slogan;Second Test packet is that the source address of the first test packet received and destination address are exchanged and keep destination interface by opposite equip. The message obtained after constant;
SDN switch 42 is additionally operable to parse the second test packet, obtains Network Quality Analysis information, and by net Network mass analysis information reports to SDN controllers 41;Network Quality Analysis information includes:The average biography of message packet loss, network At least one of Yanzhong during the shake of defeated rate and message transmissions;
SDN controllers 41, for according to Network Quality Analysis information, judging whether to need the qos parameter for adjusting network;Such as Fruit is that the enhancing distributed coordination that opposite equip. is adjusted according to Network Quality Analysis information accesses EDCA competitive channel parameters.
In the network quality optimization system based on SDN that the embodiment of the present invention is provided, the course of work is based on SDN with foregoing Network quality optimization method have identical technical characteristic, therefore, can equally realize above-mentioned function, details are not described herein.
Embodiment three:
The embodiment of the present invention provides a kind of electronic equipment, and shown in Figure 5, which includes:Processor 50, storage Device 51, bus 52 and communication interface 53, the processor 50, communication interface 53 and memory 51 are connected by bus 52;Processing Device 50 is used to perform the executable module stored in memory 51, such as computer program.When processor performs computer program The step of realizing the method as described in embodiment of the method.
Wherein, memory 51 may include high-speed random access memory (RAM, RandomAccessMemory), also may be used Non-labile memory (non-volatile memory), for example, at least a magnetic disk storage can be further included.By at least One communication interface 53 (can be wired or wireless) realizes the communication between the system network element and at least one other network element Connection can use internet, wide area network, local network, Metropolitan Area Network (MAN) etc..
Bus 52 can be isa bus, pci bus or eisa bus etc..The bus can be divided into address bus, data Bus, controlling bus etc..Only represented for ease of representing, in Fig. 5 with a four-headed arrow, it is not intended that an only bus or A type of bus.
Wherein, memory 51 is for storing program, and the processor 50 performs the journey after receiving and executing instruction Sequence, the method performed by device that the stream process that foregoing any embodiment of the embodiment of the present invention discloses defines can be applied to handle It is realized in device 50 or by processor 50.
Processor 50 may be a kind of IC chip, have the processing capacity of signal.During realization, above-mentioned side Each step of method can be completed by the integrated logic circuit of the hardware in processor 50 or the instruction of software form.Above-mentioned Processor 50 can be general processor, including central processing unit (Central Processing Unit, abbreviation CPU), network Processor (Network Processor, abbreviation NP) etc.;It can also be digital signal processor (Digital Signal Processing, abbreviation DSP), application-specific integrated circuit (Application Specific Integrated Circuit, referred to as ASIC), ready-made programmable gate array (Field-Programmable Gate Array, abbreviation FPGA) or other are programmable Logical device, discrete gate or transistor logic, discrete hardware components.It can realize or perform in the embodiment of the present invention Disclosed each method, step and logic diagram.General processor can be microprocessor or the processor can also be appointed What conventional processor etc..The step of method with reference to disclosed in the embodiment of the present invention, can be embodied directly in hardware decoding processing Device performs completion or performs completion with the hardware in decoding processor and software module combination.Software module can be located at Machine memory, flash memory, read-only memory, programmable read only memory or electrically erasable programmable memory, register etc. are originally In the storage medium of field maturation.The storage medium is located at memory 51, and processor 50 reads the information in memory 51, with reference to Its hardware completes the step of above method.
The computer program product of network quality optimization method based on SDN, including store processor can perform it is non- The computer readable storage medium of volatile program code, the instruction that said program code includes can be used for performing previous methods reality The method described in example is applied, specific implementation can be found in embodiment of the method, and details are not described herein.
It is apparent to those skilled in the art that for convenience and simplicity of description, the device of foregoing description And the specific work process of electronic equipment, the corresponding process in preceding method embodiment is may be referred to, details are not described herein.
Flow chart and block diagram in attached drawing show multiple embodiment method and computer program products according to the present invention Architectural framework in the cards, function and operation.In this regard, each box in flow chart or block diagram can represent one A part for module, program segment or code, a part for the module, program segment or code are used to implement comprising one or more The executable instruction of defined logic function.It should also be noted that at some as the work(in the realization replaced, marked in box It can also be occurred with being different from the order marked in attached drawing.For example, two continuous boxes can essentially be substantially parallel Ground performs, they can also be performed in the opposite order sometimes, this is depending on involved function.It is also noted that block diagram And/or the combination of each box in flow chart and the box in block diagram and/or flow chart, work(as defined in performing can be used Can or action dedicated hardware based system come realize or can with the combination of specialized hardware and computer instruction come reality It is existing.
In the description of the present invention, it is necessary to explanation, term " " center ", " on ", " under ", "left", "right", " vertical ", The orientation or position relationship of the instructions such as " level ", " interior ", " outer " be based on orientation shown in the drawings or position relationship, merely to Convenient for the description present invention and simplify description rather than instruction or imply signified device or element must have specific orientation, With specific azimuth configuration and operation, therefore it is not considered as limiting the invention.In addition, term " first ", " second ", " the 3rd " is only used for description purpose, and it is not intended that instruction or hint relative importance.
In several embodiments provided herein, it should be understood that disclosed systems, devices and methods, it can be with It realizes by another way.The apparatus embodiments described above are merely exemplary, for example, the division of the unit, Only a kind of division of logic function, can there is other dividing mode in actual implementation, in another example, multiple units or component can To combine or be desirably integrated into another system or some features can be ignored or does not perform.It is another, it is shown or beg for The mutual coupling, direct-coupling or communication connection of opinion can be by some communication interfaces, device or unit it is indirect Coupling or communication connection can be electrical, machinery or other forms.
The unit illustrated as separating component may or may not be physically separate, be shown as unit The component shown may or may not be physical location, you can be located at a place or can also be distributed to multiple In network element.Some or all of unit therein can be selected to realize the mesh of this embodiment scheme according to the actual needs 's.
In addition, each functional unit in each embodiment of the present invention can be integrated in a processing unit, it can also That unit is individually physically present, can also two or more units integrate in a unit.
If the function is realized in the form of SFU software functional unit and is independent production marketing or in use, can be with It is stored in the non-volatile computer read/write memory medium that a processor can perform.Based on such understanding, the present invention The part that substantially contributes in other words to the prior art of technical solution or the part of the technical solution can be with software The form of product embodies, which is stored in a storage medium, including some instructions use so that One computer equipment (can be personal computer, server or the network equipment etc.) performs each embodiment institute of the present invention State all or part of step of method.And foregoing storage medium includes:USB flash disk, mobile hard disk, read-only memory (ROM, Read- Only Memory), random access memory (RAM, Random Access Memory), magnetic disc or CD etc. are various can be with Store the medium of program code.
Finally it should be noted that:Embodiment described above is only the specific embodiment of the present invention, to illustrate the present invention Technical solution, rather than its limitations, protection scope of the present invention is not limited thereto, although with reference to the foregoing embodiments to this hair It is bright to be described in detail, it will be understood by those of ordinary skill in the art that:Any one skilled in the art In the technical scope disclosed by the present invention, can still modify to the technical solution recorded in previous embodiment or can be light It is readily conceivable that variation or equivalent substitution is carried out to which part technical characteristic;And these modifications, variation or replacement, do not make The essence of appropriate technical solution departs from the spirit and scope of technical solution of the embodiment of the present invention, should all cover the protection in the present invention Within the scope of.Therefore, protection scope of the present invention described should be subject to the protection scope in claims.

Claims (10)

1. a kind of network quality optimization method based on SDN, which is characterized in that including:
SDN switch sends the first test packet to the opposite equip. that pending network quality is tested;First test packet Destination address be the opposite equip. IP address, the port numbers of destination interface are preconfigured first end slogan;
The SDN switch from itself port numbers be the first end slogan the second test packet of port snoop;Described second Test packet is that the source address of first test packet received and destination address are exchanged and kept by the opposite equip. The message obtained after destination interface is constant;
The SDN switch parses second test packet, obtains Network Quality Analysis information, and by the network Mass analysis information reports to SDN controllers;The Network Quality Analysis information includes:The average biography of message packet loss, network At least one of Yanzhong during the shake of defeated rate and message transmissions;
The SDN controllers judge whether to need the qos parameter for adjusting network according to the Network Quality Analysis information;If It is that the enhancing distributed coordination that the opposite equip. is adjusted according to the Network Quality Analysis information accesses EDCA competitive channels ginseng Number.
2. according to the method described in claim 1, it is characterized in that, the SDN switch is set to the opposite end of Network Quality Analysis Before preparation send the first test packet, further include:
The SDN controllers receive the report of the opposite equip. for the pending network quality test that the SDN switch is sent Text;
The SDN controllers go out protocol type according to the packet parsing;
The SDN controllers send target detection order according to the protocol type to the SDN switch;The target is surveyed The survey that the SDN switch is made to carry out network quality to the opposite equip. of the pending network quality test is ordered in examination Examination.
3. according to the method described in claim 1, it is characterized in that, what the SDN switch was tested to pending network quality When opposite equip. sends the first test packet, it is additionally included in first test packet and is inserted into sending time stamp;
The SDN switch from itself port numbers be the first end slogan the second test packet of port snoop when, further include Receiving time stamp is inserted into second test packet;
The SDN switch parses second test packet, before obtaining Network Quality Analysis information, further includes: According to sending time stamp and receiving time stamp, message is calculated between the SDN switch and the opposite equip. Two-way time.
4. according to the method described in claim 3, it is characterized in that, the SDN switch carries out second test packet Parsing, obtains Network Quality Analysis information, specifically includes:
The SDN switch according to second test packet and the two-way time, calculate message packet loss, network it is flat The shake time delay of equal transmission rate and message transmissions, by the message packet loss, the average transmission rate and message transmissions of network Shake time delay as the Network Quality Analysis information.
5. according to the method described in claim 1, it is characterized in that, the SDN controllers are believed according to the Network Quality Analysis Breath judges whether to need the qos parameter for adjusting network, specifically include:
The SDN controllers judge Yanzhong during the shake of the message packet loss, the average transmission rate of network and message transmissions Whether any one is more than corresponding predetermined threshold value, if it is, needing the qos parameter of adjustment network.
6. according to the method described in claim 2, it is characterized in that, the SDN controllers according to the protocol type, to described SDN switch sends target detection order, specifically includes:
The source IP address of the message for the opposite equip. that the SDN controllers are tested according to the pending network quality, destination IP Address configures the forward-path of the message of the opposite equip. of the pending network quality test in flow table, while in the stream Configuration obtains the action command of Network Quality Analysis information in the expansion field of table;
The SDN controllers issue SDN switch of the flow table to the forward-path;
The SDN controllers generate the first privately owned amplifying message according to the protocol type and are sent to entering on the forward-path Mouth SDN switch, configures the corresponding Network Quality Analysis type of the protocol type in the described first privately owned amplifying message;
The SDN controllers generate corresponding first test packet of the Network Quality Analysis type, send described first SDN switch on test packet to the forward-path.
7. according to the method described in claim 6, it is characterized in that, the Network Quality Analysis type includes TCP message Connect at least one of time delay, FTP messages connection time delay, file transfer rate type, message packet loss type.
8. a kind of network quality optimization system based on SDN, which is characterized in that including:SDN controllers and SDN switch;
The SDN switch, the opposite equip. for being tested to pending network quality send the first test packet;Described first The destination address of test packet is the IP address of the opposite equip., and the port numbers of destination interface are preconfigured first port Number;
The SDN switch is additionally operable to from the second test packet of port snoop that itself port numbers is the first end slogan;Institute It is that the opposite equip. exchanges the source address of first test packet received and destination address to state the second test packet And keep the message obtained after destination interface is constant;
The SDN switch is additionally operable to parse second test packet, obtains Network Quality Analysis information, and will The Network Quality Analysis information reporting is to SDN controllers;The Network Quality Analysis information includes:Message packet loss, network Average transmission rate and message transmissions shake when at least one of Yanzhong;
The SDN controllers, for according to the Network Quality Analysis information, judging whether to need the qos parameter for adjusting network; If so, the enhancing distributed coordination that the opposite equip. is adjusted according to the Network Quality Analysis information accesses EDCA competition letters Road parameter.
9. a kind of electronic equipment including memory, processor, is stored with what can be run on the processor on the memory Computer program, which is characterized in that the processor realizes that the claims 1 to 7 are any when performing the computer program Described in method the step of.
10. a kind of computer-readable medium for the non-volatile program code that can perform with processor, which is characterized in that described Program code makes the processor perform claim 1 to 7 any one of them method.
CN201810006359.8A 2017-11-02 2018-01-04 Network quality optimization method, system and electronic equipment based on SDN Pending CN108092856A (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201711067102 2017-11-02
CN2017110671025 2017-11-02

Publications (1)

Publication Number Publication Date
CN108092856A true CN108092856A (en) 2018-05-29

Family

ID=62181599

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810006359.8A Pending CN108092856A (en) 2017-11-02 2018-01-04 Network quality optimization method, system and electronic equipment based on SDN

Country Status (1)

Country Link
CN (1) CN108092856A (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110533062A (en) * 2019-07-12 2019-12-03 平安科技(深圳)有限公司 Polytypic gating device method for handover control, device, electronic equipment and storage medium
CN110855695A (en) * 2019-11-19 2020-02-28 武汉思普崚技术有限公司 Improved SDN network security authentication method and system
CN112291115A (en) * 2020-11-20 2021-01-29 桂林航天工业学院 High-precision real-time delay monitoring method based on software defined data center
CN112787877A (en) * 2019-11-07 2021-05-11 华为技术有限公司 Network delay detection method and related equipment
CN114826978A (en) * 2022-04-07 2022-07-29 中国联合网络通信集团有限公司 Link quality testing method, device and storage medium
CN117155826A (en) * 2023-10-31 2023-12-01 新华三技术有限公司 Network traffic detection method and device, electronic equipment and storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070206639A1 (en) * 2006-03-06 2007-09-06 Hitachi, Ltd. Adaptive EDCA algorithm using traffic prediction in wireless local area networks
CN101277225A (en) * 2008-05-09 2008-10-01 杭州华三通信技术有限公司 Method for analyzing network quality as well as network quality analysis terminal-initiating equipment
CN101364925A (en) * 2008-09-18 2009-02-11 深圳华为通信技术有限公司 Parameter configuring method, system and apparatus
CN106130769A (en) * 2016-06-30 2016-11-16 上海斐讯数据通信技术有限公司 A kind of Network Quality Analysis method based on SDN and SDN system

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070206639A1 (en) * 2006-03-06 2007-09-06 Hitachi, Ltd. Adaptive EDCA algorithm using traffic prediction in wireless local area networks
CN101277225A (en) * 2008-05-09 2008-10-01 杭州华三通信技术有限公司 Method for analyzing network quality as well as network quality analysis terminal-initiating equipment
CN101364925A (en) * 2008-09-18 2009-02-11 深圳华为通信技术有限公司 Parameter configuring method, system and apparatus
CN106130769A (en) * 2016-06-30 2016-11-16 上海斐讯数据通信技术有限公司 A kind of Network Quality Analysis method based on SDN and SDN system

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110533062A (en) * 2019-07-12 2019-12-03 平安科技(深圳)有限公司 Polytypic gating device method for handover control, device, electronic equipment and storage medium
CN110533062B (en) * 2019-07-12 2024-04-09 平安科技(深圳)有限公司 Multi-model gate controller switching control method and device, electronic equipment and storage medium
CN112787877A (en) * 2019-11-07 2021-05-11 华为技术有限公司 Network delay detection method and related equipment
CN112787877B (en) * 2019-11-07 2022-08-26 华为技术有限公司 Network delay detection method and related equipment
CN110855695A (en) * 2019-11-19 2020-02-28 武汉思普崚技术有限公司 Improved SDN network security authentication method and system
CN112291115A (en) * 2020-11-20 2021-01-29 桂林航天工业学院 High-precision real-time delay monitoring method based on software defined data center
CN114826978A (en) * 2022-04-07 2022-07-29 中国联合网络通信集团有限公司 Link quality testing method, device and storage medium
CN114826978B (en) * 2022-04-07 2023-10-31 中国联合网络通信集团有限公司 Link quality testing method, equipment and storage medium
CN117155826A (en) * 2023-10-31 2023-12-01 新华三技术有限公司 Network traffic detection method and device, electronic equipment and storage medium
CN117155826B (en) * 2023-10-31 2024-02-23 新华三技术有限公司 Network traffic detection method and device, electronic equipment and storage medium

Similar Documents

Publication Publication Date Title
CN108092856A (en) Network quality optimization method, system and electronic equipment based on SDN
CN108306751A (en) Backhaul in wireless mesh network and forward pass communication
US10528682B2 (en) Automatic performance characterization of a network-on-chip (NOC) interconnect
CN104702468B (en) Determine the method, apparatus and system of transmission path
US10237192B2 (en) Apparatus and system for optimizing communication networks
EP3331205A1 (en) Data packet transmission method utilized in ipv6 network and device utilizing same
CN104852828B (en) A kind of network delay detection method, apparatus and system
CN110324198A (en) Loss treating method and packet loss processing unit
CN109768879A (en) The determination method, apparatus and server of target service server
US9749213B2 (en) Methods, systems, and computer readable media for microburst testing
EP3210343B1 (en) Method and system for non-tagged based latency calculation
CN109495505A (en) Stream media protocol conversion method, device, system and computer-readable medium
CN108234433A (en) For handling the method and apparatus of video traffic
CN108683607A (en) Virtual machine traffic control method, device and server
EP2557740A1 (en) Self-configuring router and method therefor
CN108737219A (en) The measure and device of network link
Kang et al. A comparative study of Zynq-based OpenFlow switches in a software/hardware co-design
CN113890831B (en) Method, device and storage medium for simulating network equipment
CN104954165A (en) Link analysis method, device and system
CN110169134A (en) The detection method and device of wireless quality support video tastes
US11178593B2 (en) Terminal, relay apparatus selection apparatus, communication method, relay apparatus selection method, and program
CN102801586A (en) Method and device for automatically testing quality of service (QoS) granularity and precision
CN109842503A (en) Link-quality test method and system
CN108449230B (en) Network performance detection system, method and related device
US9992073B2 (en) Network status measuring system and a method for measuring status of a network

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20180529

RJ01 Rejection of invention patent application after publication