CN110351199A - Flow smoothing method, server and forwarding device - Google Patents

Flow smoothing method, server and forwarding device Download PDF

Info

Publication number
CN110351199A
CN110351199A CN201810298985.9A CN201810298985A CN110351199A CN 110351199 A CN110351199 A CN 110351199A CN 201810298985 A CN201810298985 A CN 201810298985A CN 110351199 A CN110351199 A CN 110351199A
Authority
CN
China
Prior art keywords
message
queue
configuration template
flow configuration
sdn controller
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.)
Withdrawn
Application number
CN201810298985.9A
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.)
ZTE Corp
Original Assignee
ZTE Corp
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 ZTE Corp filed Critical ZTE Corp
Priority to CN201810298985.9A priority Critical patent/CN110351199A/en
Priority to PCT/CN2019/078883 priority patent/WO2019192318A1/en
Publication of CN110351199A publication Critical patent/CN110351199A/en
Withdrawn legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L47/00Traffic control in data switching networks
    • H04L47/10Flow control; Congestion control
    • H04L47/215Flow control; Congestion control using token-bucket
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L47/00Traffic control in data switching networks
    • H04L47/10Flow control; Congestion control
    • H04L47/22Traffic shaping
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L47/00Traffic control in data switching networks
    • H04L47/10Flow control; Congestion control
    • H04L47/22Traffic shaping
    • H04L47/225Determination of shaping rate, e.g. using a moving window
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L47/00Traffic control in data switching networks
    • H04L47/10Flow control; Congestion control
    • H04L47/32Flow control; Congestion control by discarding or delaying data units, e.g. packets or frames
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L47/00Traffic control in data switching networks
    • H04L47/50Queue scheduling
    • H04L47/62Queue scheduling characterised by scheduling criteria
    • H04L47/625Queue scheduling characterised by scheduling criteria for service slots or service orders
    • H04L47/6275Queue scheduling characterised by scheduling criteria for service slots or service orders based on priority
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L47/00Traffic control in data switching networks
    • H04L47/10Flow control; Congestion control
    • H04L47/29Flow control; Congestion control using a combination of thresholds

Landscapes

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

Abstract

The invention discloses a kind of flow smoothing method, server and forwarding devices, at least to improve the performance of control link.One of described method includes: to generate flow configuration template, and the flow configuration template is used to control the rate for the control message that forwarding device is sent in Quality Initiative road direction software defined network SDN controller;The flow configuration template is sent to the SDN controller.

Description

Flow smoothing method, server and forwarding device
Technical field
The present invention relates to the communications fields, more particularly to a kind of flow smoothing method, server and forwarding device.
Background technique
In software defined network (Software Defined Network, SDN), interchanger is receiving virtual machine After the arp request (ARP Request) of (Virtual Machine, VM) 1, SDN controller is sent on first packet (SDN Controller), controller parse the address address resolution protocol (Address Resolution Protocol, ARP), Forwarding ARP Request to requested VM2 sends back ARP Reply after the arp reply (ARPReply) for receiving VM2 VM1 is formed simultaneously the flow table issuance of OpenFlow to local switch, and subsequent packet will be by that will check forwarding table when interchanger , VM2 is forwarded to legal message, needs not move through controller forwarding.
Network challenges to the computing capability of controller and interchanger, the ability that bottleneck is sent on first packet.Due to handing over The message sent on changing planes is too many, will cause and the blocked-flow of controller link or even chain rupture;Issuing for flow table is influenced simultaneously, Unknown flow rate is caused not forward strategically, if sending controller on continuing, network congestion will deteriorate, and can not restore.Simultaneously For catenet, the network to become increasingly complex and equipment are managed, and various complicated applications and increasing Data traffic, and topology is that dynamic protocol calculates, therefore administrator can not know specific network equipment section in network Point, it is difficult to judge whether there is more optimized space, and cannot dynamically adjust monitoring device at any time.
Summary of the invention
In order to overcome drawbacks described above, the technical problem to be solved in the present invention is to provide a kind of flow smoothing methods, server And forwarding device, at least to improve the performance of control link.
In order to solve the above technical problems, one of present invention flow smoothing method, comprising:
Flow configuration template is generated, the flow configuration template is for controlling forwarding device in Quality Initiative road direction software definition The rate for the control message that network SDN controller is sent;
The flow configuration template is sent to the SDN controller.
In order to solve the above technical problems, one of present invention flow smoothing method, comprising:
Receive control message;
According to the flow configuration template obtained in advance from SDN controller, on Quality Initiative road, the control message is sent To the SDN controller.
In order to solve the above technical problems, the smooth server of one of present invention flow, including memory and processor;Institute It states memory and is stored with flow smoothing computation machine program, when the processor executes the computer program, to realize institute as above The step of stating method.
In order to solve the above technical problems, one of present invention forwarding device, including memory and processor;The storage Device is stored with flow smoothing computation machine program, when the processor executes the computer program, to realize method as described above The step of.
The present invention has the beneficial effect that:
Method, server and forwarding device in the present invention configure calligraphy or painting model by generating flow in server side, so that forwarding Equipment is according to the message transmission rate of flow configuration template smooth control link, so that the performance of control link is effectively improved, and The allocative efficiency of forwarding device is effectively improved, configuration error is reduced, has saved maintenance cost.
Detailed description of the invention
Fig. 1 is the flow chart of the flow smoothing method of server side in the embodiment of the present invention;
Fig. 2 is the flow chart that flow configuration template is generated in the embodiment of the present invention;
Fig. 3 is the flow chart of sending flow rate configuration template in the embodiment of the present invention;
Fig. 4 is the flow chart of the flow smoothing method of forwarding device side in the embodiment of the present invention;
Fig. 5 is the flow chart of the flow smoothing method of protocol massages in the embodiment of the present invention;
Fig. 6 is the flow chart that message characteristic information is cached in the embodiment of the present invention;
Fig. 7 is the flow chart for sending SDN controller in the embodiment of the present invention on encapsulated message;
Fig. 8 is a kind of structural schematic diagram of the smooth server of flow in the embodiment of the present invention;
Fig. 9 is a kind of structural schematic diagram of forwarding device in the embodiment of the present invention.
Specific embodiment
In order to solve problems in the prior art, the present invention provides a kind of flow smoothing method, server, forwarding device and Computer readable storage medium, the present invention monitors collection network node forwarding cache ability by computing platform, and calculates network The flow of node configures, and sending flow rate configuration template, to control bandwidth chahnel between network node and controller, smooth control Channel capacity guarantees control link availability.
Computing platform can be cloud computing platform in the present invention, can be realized in specific implementation by server;This Network node includes forwarding device, such as interchanger in invention.
Specifically, the present invention instantiates virtual network resource, passes through SDN controller or upper layer on protocol control plane Computing platform layout, pond Internet resources, and the life cycle of virtual network function is managed, virtual network resource is added to volume The catalogue for arranging device, provides the information of network function.Such as instantiation network, can by standard agreement (CloudInit) or It is compiled and is completed by perform script, the instantiation network then issued by northbound interface to SDN controller, northbound interface can also To use privately owned protocol synchronization to give SDN controller;Thus compared with the existing technology, it is not only independent by distributed network node Configuration become the unified configuration under centerized fusion face, relative to the configuration distributing of traditional interchanger, reduce network Dispersibility considers network topology comprehensively;And calculated by platform, configuration is issued automatically, and greatly reduce configuration error can Can, save maintenance cost.Computing platform management software can be constituted again in the present invention;SDN controller can be controlled referred to as Device.
The present invention is on data forwarding face, the main smoothly control link between SDN controller and interchanger, by only mentioning The message characteristic information of control message is taken and saved, then after controlling link idle, is wrapped and is sent according to message characteristic information group again It is few to occupy switch memory for controller.Controller is sent on Switch control flow is smooth, the association sent is recorded by buffer queue Media access control (MAC) information for discussing message information or unknown flow rate, smoothly reports controller according to the rate of setting, subtracts Small controller pressure, while can choose and be turned on or off data surface and flood function, control unknown flow rate continues to be flooded to tunnel Road opposite equip. directly abandons.Wherein unknown flow rate is referred to as unknown data message or not identified datagram Text.Based on foregoing description, below in conjunction with attached drawing and embodiment, the present invention will be described in further detail.It should be appreciated that this Place is described, and specific examples are only used to explain the present invention, does not limit the present invention.
Embodiment one
The embodiment of the present invention provides a kind of flow smoothing method, as shown in Figure 1, which comprises
S101, generates flow configuration template, and the flow configuration template is soft in Quality Initiative road direction for controlling forwarding device Part defines the rate of the control message of network SDN controller transmission;
The flow configuration template is sent to the SDN controller by S102.
Method executes in the server in the embodiment of the present invention;It is specially in Quality Initiative that message is controlled in the embodiment of the present invention The message that road is sent, such as the first message that access message, access request message, forwarding device are sent to SDN controller.
The flow configuration template is sent to the SDN and controlled by the embodiment of the present invention by generating flow configuration template Device processed, to make SDN controller that flow configuration template is sent to forwarding device, so that forwarding device is according to flow configuration template Control message is sent to SDN controller on Quality Initiative road effectively to avoid to reduce the message amount sent to SDN controller Blocked-flow, the chain rupture of link are controlled, to improve the performance for improving control link.
The embodiment of the present invention uniformly generates flow configuration template by server, so that the control plane of SDN controller be shelled From, all forwarding devices on forward-path are managed by the unified instruction on server, it is a large amount of manual so as to eliminate Configuration, and then can effectively improve allocative efficiency, configuration error is reduced, maintenance cost has been saved.
For example, hang 20-30 VM under an interchanger, it is per second it is general can produce 500 or more new stream, that is it is per second There are 500 times with a new equipment communication, if controller has the transacter (Transaction of 500K Processing systems, TPS) performance, then a controller can probably manage 1000 VM, when a data center When 15k, single-unit base site controller can not load scale, it is necessary to which controller cluster bears flow.Cluster controller section The communications burden of interchanger in network has also been further aggravated in the increase of point, and the message above sent is packaged into the transmission of PacketIn message To controller.
If influencing issuing for flow table, will lead to unknown flow rate can not strategically be forwarded, if sending controller on continuing, Network congestion will deteriorate, and can not restore.And for catenet, the network to become increasingly complex and equipment are managed, respectively Kind of complicated application and increasing data traffic, and topology is that dynamic protocol calculates in network, therefore administrator It can not know specific network equipment node, it is difficult to judge whether there is more optimized space, and cannot dynamically adjust at any time Monitoring device, and the embodiment of the present invention uniformly generates flow configuration template by server, can eliminate a large amount of manual configuration, To effectively improve allocative efficiency, configuration error is reduced, maintenance cost has been saved.
On the basis of the above embodiments, it is further proposed that the modification of the embodiment of the present invention.
In embodiments of the present invention, optionally, the flow configuration template includes queuing feature corresponding with type of message Information, queue priority, queue cache threshold, queue rate threshold value and spilling movement.
In embodiments of the present invention, optionally, the generation flow configuration template, comprising:
The forwarding cache ability of network size and the forwarding device is obtained from the SDN controller;
According to the network size and the forwarding cache ability, flow configuration template is generated.
In embodiments of the present invention, optionally, the control message includes access protocol message and not identified data Message;The UNKNOWN TYPE that the type of message includes protocol type and is not identified for showing data message.
Such as access protocol message includes the protocol massages such as ARP, DHCP.Type of message includes ARP, DHCP etc..
In alternative embodiment of the present invention, the more control message of link bandwidth is controlled to occupying, such as ARP, DHCP association Message and unknown data message are discussed, smooth Control for Speed Limitation link flow is needed, is responsible for handling pooling technology by server, initially Change the Traffic Profile of default, the queuing feature information for type of message of classifying, queue cache threshold, queue priority, queue rate Threshold value etc..
When switch device is online, SDN controller finds topological node, after receiving interchanger and reporting tenability, by The tenability of SDN controller report network node;Server is calculated according to tenability, generates specific flow configuration mould Plate realizes the instantiation of Internet resources to realize using the server on upper layer, the flow configuration template generated by injection, The specific business of layout, is then issued to controller by northbound interface, issues concrete configuration to interchanger by controller.
Embodiment two
It is described based on embodiment one, the embodiment of the present invention provides a kind of optional flow smoothing method, specifically provides one kind By the method for cloud computing platform instantiation Internet resources, method executes in the server in the embodiment of the present invention, such as Fig. 2 institute Show, which comprises
Step 11, cloud computing platform generates default template resource, including (caching) queue according to network size and type Characteristic information, queue (caching) threshold values, (caching) queue priority, (caching) queue rate threshold value, (buffering queue is smoothly fast Rate) etc. pooling technologies;
Step 12, work as switch online, after interchanger and controller establish connection, interchanger reports topology, controller hair The topological node of existing interchanger, protocol switch ability;
Step 13, according to interchanger ability, controller smoothly supports speed limit parameter to notify cloud computing platform, and cloud computing is flat Platform distributes Internet resources unitedly, generates flow configuration template;
Based on above step, cloud computing platform completes the generation of flow configuration template, and then can be matched by injecting flow Set template, layout business, as shown in figure 3, the method further includes:
Step 21, cloud computing platform instantiates Internet resources, generates flow configuration template, is issued to control by northbound interface Device processed;Certain flow configuration template is referred to as smooth speed limit configuration template;
Step 22, controller is sentenced according to different virtual network functions (Virtual Network Feature, VNF) Circuit network node role, if smooth speed limit ability is supported, if supporting sending flow rate configuration template;Wherein network node can be with For forwarding device.
Step 23, sending flow rate configuration template, the protocol massages type including different classifications in the configuration of template flow, Also include that each protocol massages are arranged individual queuing feature value, rcv-queue threshold in flow configuration template, queue priority and Queue rate threshold value.
Embodiment three
The embodiment of the present invention provides a kind of flow smoothing method, as shown in Figure 4, which comprises
S201 receives control message;
On Quality Initiative road, the control is reported according to the flow configuration template obtained in advance from SDN controller by S202 Text is sent to the SDN controller;In specific implementation, the SDN control is sent to after being packaged to the control message Device, such as it is packaged into PacketIn message.
Method executes in forwarding device in the embodiment of the present invention, such as executes in a switch.
The flow configuration template that the embodiment of the present invention is generated by obtaining server, to SDN controller on Quality Initiative road Control message is sent, to reduce the message amount sent to SDN controller, effectively avoids blocked-flow, the chain rupture of control link, To improve the performance for improving control link;And can effectively improve allocative efficiency, reduce configuration error, saved maintenance at This.
On the basis of the above embodiments, it is further proposed that the modification of the embodiment of the present invention.
In embodiments of the present invention, optionally, the flow configuration template that the basis is obtained from SDN controller in advance, Quality Initiative road, is sent to the SDN controller for the control message, comprising:
According to the flow configuration template, the message characteristic information of the control message is extracted, and in the control link On, the SDN controller will be sent to after message characteristic information encapsulation.
Alternative embodiment of the present invention is believed the message characteristic by extracting the message characteristic information of the control message Breath encapsulation after be sent to the SDN controller, so as to be effectively smoothly sent to SDN controller PacketIn message speed Rate guarantees that SDN controller will not happen suddenly by too big flow attack, so that influence SDN controller effectively be avoided to issue forwarding The speed of flow table effectively avoids chain rupture between interchanger and SDN controller.
In embodiments of the present invention, optionally, control message includes protocol massages and unknown data message.
In embodiments of the present invention, optionally, when interchanger receives the flow that lower extension VM is sent, when the flow category received When protocol massages in flow configuration template, and if receiving velocity be less than corresponding queue rate threshold in flow configuration template Value, then encapsulated message in OpenFlow PacketIn message on give SDN controller;If receiving velocity has been more than queue speed Rate threshold value then extracts message characteristic information, and buffers message characteristic information into corresponding buffer queue;
When the flow received belongs to unknown data message, also according to above-mentioned flow processing, while unknown number in order to prevent Impact interchanger is sent on always according to message, and flow table is issued to unknown data message, inhibits the impact of unknown data message.
In the regular hour every interior, if on send the message of controller not reach to send threshold value, according to queue priority Corresponding buffer queue is scanned, message characteristic information is extracted, Reseals PacketIn message and be sent to SDN controller, simultaneously Message characteristic information is deleted from buffer queue, until not having cache information in buffer queue, continues to scan on next caching To queue.
Based on alternative embodiment of the present invention, the flow configuration template includes queue rate threshold corresponding with type of message Value.
It is optionally, described according to the flow configuration template in alternative embodiment of the present invention, extract the control message Message characteristic information, comprising:
According to the type of message and the flow configuration template of the access message, determination is corresponding with the access message Queue rate threshold value;
When receiving the receiving velocity of the control message not less than determining queue rate threshold value, the control report is extracted The message characteristic information of text.
It is optionally, described on the Quality Initiative road in alternative embodiment of the present invention, the message characteristic information is sealed The SDN controller is sent to after dress, comprising:
When the receiving velocity never less than determining queue rate threshold transitions at being less than determining queue rate threshold value Afterwards, the message characteristic information is packaged, and is sent to the SDN controller on the Quality Initiative road.
It is optionally, described when the receiving velocity is never less than determining queue rate in alternative embodiment of the present invention After threshold transitions are at determining queue rate threshold value is less than, the message characteristic information is packaged, and in the Quality Initiative Road is sent to before the SDN controller, comprising:
The message characteristic information is stored in buffer queue corresponding with the control message.
Wherein, the flow configuration template further includes queuing feature information corresponding with type of message, queue cache threshold It is acted with spilling.
In alternative embodiment of the present invention, optionally, described be stored in the message characteristic information is reported with the control In the corresponding buffer queue of text, comprising:
According to the type of message and the flow configuration template of the control message, determination is corresponding with the control message Queuing feature information, queue cache threshold and spilling movement;
According to determining queuing feature information, the buffer queue is determined;
According to determining queue cache threshold, judge whether the buffer queue overflows;
If overflowing, is acted according to determining spilling, the control message is handled;
If not overflowing, by the message characteristic information be stored in in the buffer queue.
Wherein, the flow configuration template further includes queue priority corresponding with type of message.
It is optionally, described to be packaged the message characteristic information in alternative embodiment of the present invention, and in the control Chain road processed is sent to before the SDN controller, comprising:
According to the type of message and the flow configuration template, determine that queue corresponding with the type of message is preferential Grade;
According to determining queue priority, the message characteristic information is read from the buffer queue.
Wherein, the control message includes access protocol message and not identified data message;The type of message packet The UNKNOWN TYPE for including protocol type and not being identified for showing data message.
It is optionally, described when the control message is not identified data message in alternative embodiment of the present invention According to the type of message and the flow configuration template of the access message, queue rate corresponding with the access message is determined After threshold value, comprising:
When the receiving velocity for receiving the not identified data message is less than determining queue rate threshold value, institute is extracted State the media access control information of not identified data message;
The media access control information is sent to the SDN controller.
Example IV
It is described based on embodiment three, the embodiment of the present invention provides a kind of optional flow smoothing method, specifically provides one kind The method for controlling message up sending switch processes, method executes in the server in the embodiment of the present invention, in the embodiment of the present invention The control message of monitoring not only includes the protocol massages such as ARP, DHCP, but also including can be with Extended Protocol according to specific networking Type, such as the agreements such as virtual machine access protocol IPV6ND, STP are mainly handled, control message is monitored in the embodiment of the present invention Attack is more than rate-valve value, message characteristic information is just buffered, and send in delay, thus smoothing processing protocol massages PacketIn.
As shown in Figure 5, which comprises
Step 31, interchanger receives the message sent on VM, searches queuing feature information according to floating resources configuration template, such as Fruit is not required to the protocol massages of monitoring, above controller is sent to handle;
Step 32, the protocol massages monitored if it is needs, judge whether rate token bucket has token.Specifically, judge Whether queue rate threshold values is had exceeded, if executing step 33 without departing from queue rate rate threshold values;If exceeded, execute Step 34;
Step 33, the token of rate token bucket is subtracted 1, send SDN controller on message encapsulation PacketIn;
Step 34, if exceeding rate threshold values, next-hop sees if fall out the threshold values of buffer queue, if not overweight The threshold values of buffer queue executes step 35;If exceeded, step 36 is executed.
Step 35, it extracts message characteristic information to be stored in buffer queue, delay is sent.
Step 36, configuration discarding is acted according to spilling or forces to send controller.
Embodiment five
It is described based on embodiment three and example IV, the embodiment of the present invention provides a kind of optional flow smoothing method, has Body provides a kind of method for controlling message up sending switch processes, and method executes in the server in the embodiment of the present invention, this hair The control message monitored in bright embodiment includes unknown data message.As shown in Figure 6, which comprises
Step 41, interchanger receives unknown data message.
Step 42, rate threshold values has been seen if fall out;If being not carried out step 43, if there is executing step 46.
Step 43, if without departing from rate-valve value, message MAC information is extracted, the token of rate token bucket is subtracted 1, on Text of delivering newspaper is used to controller learned addresses.
Step 44, interim MAC flow table is issued, is exported as Air Export, inhibits to send on the continuing of flow.
Step 45, controller learns MAC Address, generates the flow table actually to come into force, interim flow table, correctly draws before covering Stream.
Step 46, if data message has exceeded rate-valve value, message characteristic information is extracted.
Step 47, judge whether to be more than rcv-queue threshold,
Step 48, if without departing from queue cache threshold, message characteristic MAC is cached;
Step 49, if having exceeded rcv-queue threshold, text of delivering newspaper is acted according to spilling and abandons report to controller or directly Text.
Based on above step, the caching of message characteristic information is completed, so as to be scanned the feature cached in queue Information is encapsulated into PacketIn message and is sent to controller, as shown in fig. 7, the method further includes:
Step 51, timing scan buffer queue, using single-rate bilateral algorithm, fixed time interval is internal minimum clock TICK 1000 times of basic units as timing, it is ensured that the peak use rate of switch processes;
Step 52, timing scan environment queue judges whether there is token in rate token bucket.
Step 53, if not having token in rate token bucket, it is put into the token of rate number;
Step 54, if extracting the characteristic information in buffer queue, again group there are also remaining token in rate token bucket Packet, is packaged into PacketIn message and is sent to controller, while characteristic information being deleted from buffer queue;
Step 55, if high priority buffering queue is sky, the queue of low priority is continued to search, repetitive operation, until All buffer queues are all empty, end scanning.
Embodiment six
The embodiment of the present invention provides a kind of smooth server of flow, as shown in figure 8, the server includes memory (1) 60 and processor (1) 62;The memory 1 is stored with flow smoothing computation machine program, and the processor 1 executes the computer When program, to realize such as the step of any one of embodiment one and embodiment two the method.
For example, to realize following steps:
Flow configuration template is generated, the flow configuration template is for controlling forwarding device in Quality Initiative road direction software definition The rate for the control message that network SDN controller is sent;
The flow configuration template is sent to the SDN controller.
In embodiments of the present invention, optionally, the flow configuration template includes queuing feature corresponding with type of message Information, queue priority, queue cache threshold, queue rate threshold value and spilling movement.
In embodiments of the present invention, optionally, the generation flow configuration template, comprising:
The forwarding cache ability of network size and the forwarding device is obtained from the SDN controller;
According to the network size and the forwarding cache ability, flow configuration template is generated.
It certainly, in specific implementation, can also be refering to embodiment one and embodiment two, it may have corresponding technical effect.
Embodiment seven
The embodiment of the present invention provides a kind of forwarding device, as shown in figure 9, the forwarding device includes (2) 70 He of memory Processor (2) 72;The memory is stored with flow smoothing computation machine program, and the processor executes the computer program When, to realize such as the step of any one of embodiment five the method.
For example, to realize following steps:
Receive control message;
According to the flow configuration template obtained in advance from SDN controller, on Quality Initiative road, the control message is sent To the SDN controller.
In embodiments of the present invention, optionally, the flow configuration template that the basis is obtained from SDN controller in advance, Quality Initiative road, is sent to the SDN controller for the control message, comprising:
According to the flow configuration template, the message characteristic information of the control message is extracted, and in the control link On, the SDN controller will be sent to after message characteristic information encapsulation.
In embodiments of the present invention, optionally, the flow configuration template includes queue rate corresponding with type of message Threshold value.
In embodiments of the present invention, optionally, described according to the flow configuration template, extract the report of the control message Literary characteristic information, comprising:
According to the type of message and the flow configuration template of the access message, determination is corresponding with the access message Queue rate threshold value;
When receiving the receiving velocity of the control message not less than determining queue rate threshold value, the control report is extracted The message characteristic information of text.
In embodiments of the present invention, optionally, described on the Quality Initiative road, after message characteristic information encapsulation It is sent to the SDN controller, comprising:
When the receiving velocity never less than determining queue rate threshold transitions at being less than determining queue rate threshold value Afterwards, the message characteristic information is packaged, and is sent to the SDN controller on the Quality Initiative road.
In embodiments of the present invention, optionally, described when the receiving velocity is never less than determining queue rate threshold value It is transformed into less than after determining queue rate threshold value, the message characteristic information is packaged, and on the Quality Initiative road It is sent to before the SDN controller, comprising:
The message characteristic information is stored in buffer queue corresponding with the control message.
In embodiments of the present invention, optionally, the flow configuration template further includes that queue corresponding with type of message is special Reference breath, queue cache threshold and spilling movement.
In embodiments of the present invention, optionally, described to be stored in the message characteristic information and the control message pair In the buffer queue answered, comprising:
According to the type of message and the flow configuration template of the control message, determination is corresponding with the control message Queuing feature information, queue cache threshold and spilling movement;
According to determining queuing feature information, the buffer queue is determined;
According to determining queue cache threshold, judge whether the buffer queue overflows;
If overflowing, is acted according to determining spilling, the control message is handled;
If not overflowing, by the message characteristic information be stored in in the buffer queue.
In embodiments of the present invention, optionally, the flow configuration template further includes that queue corresponding with type of message is excellent First grade.
In embodiments of the present invention, optionally, described to be packaged the message characteristic information, and in the Quality Initiative Road is sent to before the SDN controller, comprising:
According to the type of message and the flow configuration template, determine that queue corresponding with the type of message is preferential Grade;
According to determining queue priority, the message characteristic information is read from the buffer queue.
In embodiments of the present invention, optionally, the control message includes access protocol message and not identified data Message;The UNKNOWN TYPE that the type of message includes protocol type and is not identified for showing data message.
In embodiments of the present invention, optionally, when the control message is not identified data message, the basis The type of message and the flow configuration template of the access message, determine queue rate threshold value corresponding with the access message Later, comprising:
When the receiving velocity for receiving the not identified data message is less than determining queue rate threshold value, institute is extracted State the media access control information of not identified data message;
The media access control information is sent to the SDN controller.
It certainly, in specific implementation, can also be refering to embodiment three and embodiment five, it may have corresponding technical effect.
Embodiment eight
The embodiment of the present invention provides a kind of computer readable storage medium, and the storage medium is stored with for server Flow smoothing computation machine program 1, and/or it is stored with the flow smoothing computation machine program 2 for forwarding device;
When computer program 1 is executed by least one processor, to realize as any in embodiment one and embodiment two The step of one the method;
When computer program 2 is executed by least one processor, to realize as any one in three-embodiment of embodiment five The step of item the method.
The embodiment of the present invention in specific implementation, can have corresponding technical effect refering to above-mentioned each embodiment.
Computer readable storage medium can be RAM memory, flash memory, ROM memory, EPROM in the embodiment of the present invention Memory, eeprom memory, register, hard disk, mobile hard disk, CD-ROM or any other form known in the art Storage medium.A kind of storage medium lotus root can be connected to processor, thus enable a processor to from the read information, And information can be written to the storage medium;Or the storage medium can be the component part of processor.Processor and storage are situated between Matter can be located in specific integrated circuit.
Above-described specific embodiment has carried out further the purpose of the present invention, technical scheme and beneficial effects It is described in detail, it should be understood that being not intended to limit the present invention the foregoing is merely a specific embodiment of the invention Protection scope, all within the spirits and principles of the present invention, any modification, equivalent substitution, improvement and etc. done should all include Within protection scope of the present invention.

Claims (17)

1. a kind of flow smoothing method, which is characterized in that the described method includes:
Flow configuration template is generated, the flow configuration template is for controlling forwarding device in Quality Initiative road direction software defined network The rate for the control message that SDN controller is sent;
The flow configuration template is sent to the SDN controller.
2. the method as described in claim 1, which is characterized in that the flow configuration template includes team corresponding with type of message Column characteristic information, queue priority, queue cache threshold, queue rate threshold value and spilling movement.
3. method according to claim 1 or 2, which is characterized in that the generation flow configuration template, comprising:
The forwarding cache ability of network size and the forwarding device is obtained from the SDN controller;
According to the network size and the forwarding cache ability, flow configuration template is generated.
4. a kind of flow smoothing method, which is characterized in that the described method includes:
Receive control message;
According in advance from SDN controller obtain flow configuration template the control message is sent to institute on Quality Initiative road State SDN controller.
5. method as claimed in claim 4, which is characterized in that the flow configuration that the basis is obtained from SDN controller in advance The control message is sent to the SDN controller on Quality Initiative road by template, comprising:
According to the flow configuration template, the message characteristic information of the control message is extracted, and on the Quality Initiative road, it will The SDN controller is sent to after the message characteristic information encapsulation.
6. method as claimed in claim 5, which is characterized in that the flow configuration template includes team corresponding with type of message Column rate-valve value.
7. method as claimed in claim 6, which is characterized in that it is described according to the flow configuration template, extract the control The message characteristic information of message, comprising:
According to the type of message and the flow configuration template of the access message, queue corresponding with the access message is determined Rate-valve value;
When receiving the receiving velocity of the control message not less than determining queue rate threshold value, the control message is extracted Message characteristic information.
8. the method for claim 7, which is characterized in that it is described on the Quality Initiative road, the message characteristic is believed The SDN controller is sent to after breath encapsulation, comprising:
When the receiving velocity never less than determining queue rate threshold transitions at determining queue rate threshold value is less than after, will The message characteristic information is packaged, and the SDN controller is sent on the Quality Initiative road.
9. method according to claim 8, which is characterized in that described when the receiving velocity is never less than determining queue speed After rate threshold transitions are at determining queue rate threshold value is less than, the message characteristic information is packaged, and in the control Chain road is sent to before the SDN controller, comprising:
The message characteristic information is stored in buffer queue corresponding with the control message.
10. method as claimed in claim 9, which is characterized in that the flow configuration template further includes corresponding with type of message Queuing feature information, queue cache threshold and spilling movement.
11. method as claimed in claim 10, which is characterized in that described to be stored in the message characteristic information and the control In the corresponding buffer queue of message processed, comprising:
According to the type of message and the flow configuration template of the control message, queue corresponding with the control message is determined Characteristic information, queue cache threshold and spilling movement;
According to determining queuing feature information, the buffer queue is determined;
According to determining queue cache threshold, judge whether the buffer queue overflows;
If overflowing, is acted according to determining spilling, the control message is handled;
If not overflowing, by the message characteristic information be stored in in the buffer queue.
12. method as claimed in claim 11, which is characterized in that the flow configuration template further includes corresponding with type of message Queue priority.
13. method as claimed in claim 12, which is characterized in that it is described to be packaged the message characteristic information, and The Quality Initiative road is sent to before the SDN controller, comprising:
According to the type of message and the flow configuration template, queue priority corresponding with the type of message is determined;
According to determining queue priority, the message characteristic information is read from the buffer queue.
14. the method as described in any one of claim 7-13, which is characterized in that the control message includes access protocol Message and not identified data message;The type of message includes protocol type and for showing that data message is not identified UNKNOWN TYPE.
15. method as claimed in claim 14, which is characterized in that when the control message is not identified data message When, the type of message and the flow configuration template according to the access message is determining corresponding with the access message After queue rate threshold value, comprising:
When the receiving velocity of the reception not identified data message is less than determining queue rate threshold value, extraction is described not The media access control information of identified data message;
The media access control information is sent to the SDN controller.
16. a kind of smooth server of flow, the server includes memory and processor;It is flat that the memory is stored with flow Sliding computer program, when the processor executes the computer program, to realize as described in any one of claim 1-3 The step of method.
17. a kind of forwarding device, which is characterized in that the forwarding device includes memory and processor;The memory storage There is flow smoothing computation machine program, when the processor executes the computer program, to realize as appointed in claim 4-15 The step of the method for anticipating.
CN201810298985.9A 2018-04-04 2018-04-04 Flow smoothing method, server and forwarding device Withdrawn CN110351199A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201810298985.9A CN110351199A (en) 2018-04-04 2018-04-04 Flow smoothing method, server and forwarding device
PCT/CN2019/078883 WO2019192318A1 (en) 2018-04-04 2019-03-20 Traffic smoothing method, server, and forwarding device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810298985.9A CN110351199A (en) 2018-04-04 2018-04-04 Flow smoothing method, server and forwarding device

Publications (1)

Publication Number Publication Date
CN110351199A true CN110351199A (en) 2019-10-18

Family

ID=68099880

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810298985.9A Withdrawn CN110351199A (en) 2018-04-04 2018-04-04 Flow smoothing method, server and forwarding device

Country Status (2)

Country Link
CN (1) CN110351199A (en)
WO (1) WO2019192318A1 (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111049886B (en) * 2019-11-29 2023-07-07 紫光云(南京)数字技术有限公司 Multi-region SDN controller data synchronization method, server and system
CN111245743B (en) * 2020-01-09 2023-09-08 浙江吉利汽车研究院有限公司 Information processing method, storage medium, gateway and automobile
CN116455680B (en) * 2023-06-19 2023-10-13 卓望数码技术(深圳)有限公司 TCP full-flow collection and aggregation method and system for cloud platform and computer equipment

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20150263980A1 (en) * 2014-03-14 2015-09-17 Rohini Kumar KASTURI Method and apparatus for rapid instance deployment on a cloud using a multi-cloud controller
CN105471662A (en) * 2015-12-30 2016-04-06 中电长城网际系统应用有限公司 Cloud server and virtual network strategy centralized control system and method
CN105591977A (en) * 2015-08-28 2016-05-18 杭州华三通信技术有限公司 Message processing method and device
CN106572020A (en) * 2016-10-18 2017-04-19 上海斐讯数据通信技术有限公司 SDN-based whole network shaping method, device and system
CN106817299A (en) * 2015-11-27 2017-06-09 新华三技术有限公司 The list item generation method and device and message forwarding method of software defined network
CN107135166A (en) * 2017-04-07 2017-09-05 上海斐讯数据通信技术有限公司 A kind of flow management system and method

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9647946B2 (en) * 2012-11-27 2017-05-09 At&T Intellectual Property I, L.P. Controlling data access and rate in a network
CN106789703B (en) * 2017-01-12 2020-10-13 上海斐讯数据通信技术有限公司 SDN architecture-based traffic supervision method

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20150263980A1 (en) * 2014-03-14 2015-09-17 Rohini Kumar KASTURI Method and apparatus for rapid instance deployment on a cloud using a multi-cloud controller
CN105591977A (en) * 2015-08-28 2016-05-18 杭州华三通信技术有限公司 Message processing method and device
CN106817299A (en) * 2015-11-27 2017-06-09 新华三技术有限公司 The list item generation method and device and message forwarding method of software defined network
CN105471662A (en) * 2015-12-30 2016-04-06 中电长城网际系统应用有限公司 Cloud server and virtual network strategy centralized control system and method
CN106572020A (en) * 2016-10-18 2017-04-19 上海斐讯数据通信技术有限公司 SDN-based whole network shaping method, device and system
CN107135166A (en) * 2017-04-07 2017-09-05 上海斐讯数据通信技术有限公司 A kind of flow management system and method

Also Published As

Publication number Publication date
WO2019192318A1 (en) 2019-10-10

Similar Documents

Publication Publication Date Title
CN110061927B (en) Congestion sensing and marking method facing micro burst flow in multi-queue data center environment
WO2021213004A1 (en) Micro-service management system and deployment method, and related device
US10091122B2 (en) Traffic management
CN106850565B (en) A kind of network data transmission method of high speed
CN104081736B (en) The system and method for schedule packet transmissions on client device
JP5726320B2 (en) Method and system for improved multi-cell support on a single modem board
CN110851429B (en) Edge computing credible cooperative service method based on influence self-adaptive aggregation
CN103294521B (en) A kind of method reducing data center's traffic load and energy consumption
CN108476177A (en) Data plane for processing function scalability
CN104821887A (en) Device and Method for Packet Processing with Memories Having Different Latencies
CN103888313B (en) Method for forecasting optimal timeout of flow table item
CN101873337A (en) Zero-copy data capture technology based on rt8169 gigabit net card and Linux operating system
CN110351199A (en) Flow smoothing method, server and forwarding device
CN109412958A (en) The jamming control method and device of data center
CN106330765B (en) Cache allocation method and device
CN107733813B (en) Message forwarding method and device
WO2016082603A1 (en) Scheduler and dynamic multiplexing method for scheduler
Liu et al. Service resource management in edge computing based on microservices
Khan et al. A cache‐based approach toward improved scheduling in fog computing
CN105049358A (en) Virtual forwarding platform of SDN (Software Defined Network) and communication method thereof
CN103118115B (en) Facing cloud calculates virtual machine management method and the device of user
CN106686739B (en) Wireless network resource management method based on software defined network and oriented to data flow
CN102902593A (en) Protocol distribution processing system based on cache mechanism
CN109450814A (en) The retransmission method and device of fragment message
CN109547352A (en) The dynamic allocation method and device of packet buffer queue

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
WW01 Invention patent application withdrawn after publication

Application publication date: 20191018

WW01 Invention patent application withdrawn after publication