CN108512769A - Flow table item sending, receiving method and relevant device in a kind of software defined network - Google Patents

Flow table item sending, receiving method and relevant device in a kind of software defined network Download PDF

Info

Publication number
CN108512769A
CN108512769A CN201710112349.8A CN201710112349A CN108512769A CN 108512769 A CN108512769 A CN 108512769A CN 201710112349 A CN201710112349 A CN 201710112349A CN 108512769 A CN108512769 A CN 108512769A
Authority
CN
China
Prior art keywords
flow table
table item
interchanger
treating capacity
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.)
Granted
Application number
CN201710112349.8A
Other languages
Chinese (zh)
Other versions
CN108512769B (en
Inventor
张镇伟
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies 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 Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CN201710112349.8A priority Critical patent/CN108512769B/en
Publication of CN108512769A publication Critical patent/CN108512769A/en
Application granted granted Critical
Publication of CN108512769B publication Critical patent/CN108512769B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L47/00Traffic control in data switching networks
    • H04L47/10Flow control; Congestion control
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L49/00Packet switching elements
    • H04L49/10Packet switching elements characterised by the switching fabric construction

Landscapes

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

Abstract

Flow table item sending, receiving method and relevant device in a kind of software defined network are disclosed, is overstock on the processor of interchanger for solving the problems, such as flow table item.The flow table item sending method includes:Controller obtains the flow table item treating capacity of interchanger;The controller sends flow table item under flow table item treating capacity limitation to interchanger.

Description

Flow table item sending, receiving method and relevant device in a kind of software defined network
Technical field
The present invention relates to fields of communication technology, and in particular to flow table item sending, receiving method in a kind of software defined network And relevant device.
Background technology
In software defined network, such as open flows (English:OpenFlow it) in network, sends and flows from controller to interchanger List item is instructing the forwarding of flow.Flow table item is configured in forwarding chip by the processor of interchanger after receiving flow table item.Such as Fruit interchanger processor processing flow table item scarce capacity, flow table item may be caused to overstock on a processor, cannot in time by Flow table item is configured to forwarding chip.
Invention content
This application provides flow table item sending, receiving method and relevant devices in a kind of software defined network, for solving The problem that flow table item is overstock on the processor of interchanger.
Flow table item sending method in a kind of software defined network of first aspect offer, which includes at least One controller and at least one interchanger, wherein by logical between at least one controller and at least one interchanger Believe interface connection, can be one-to-one or one-to-many pass between at least one controller and at least one interchanger System a, for example, controller sends flow table item or a controller to an interchanger sends flow table to multiple switch .Controller first obtains the flow table item treating capacity of interchanger, and sends flow table to interchanger under flow table item treating capacity limitation .As it can be seen that controller can send flow table item according to the limitation of the flow table item treating capacity of acquisition to control to interchanger, to avoid Flow table item is overstock on the processor of interchanger.
Controller can obtain the flow table item treating capacity of interchanger in several ways, and here is wherein possible two kinds of realizations Mode:
In one possible implementation, controller receives the treating capacity message of interchanger transmission, wherein the processing The flow table item treating capacity is carried in amount message.The flow table item that controller can periodically or sporadically be sent with desampler Treating capacity to effectively know the ability of switch processes flow table item, and is determined according to the limitation of the flow table item treating capacity to friendship It changes planes and sends the quantity of flow table item.
In alternatively possible realization method, controller sends treating capacity request message to interchanger, to ask to exchange Machine sends treating capacity message.Wherein, the flow table item treating capacity is carried in the treating capacity message.Controller can be periodically to friendship It changes planes and sends treating capacity request message, so that controller effectively knows the ability of switch processes flow table item, and according to this The limitation of flow table item treating capacity determines the quantity that flow table item is sent to interchanger.
About flow table item treating capacity representation can there are many, the possible representation of two of which is described below:
In one possible implementation, which is the quantity that interchanger can handle flow table item, wherein The quantity for the flow table item that controller is sent to interchanger is not more than the flow table item treating capacity.Controller is by transmissible flow table item Quantity is set as the flow table item treating capacity.Controller often sends a flow table item, accordingly by the quantity of transmissible flow table item Subtract 1.When the quantity of transmissible flow table item is 0, controller wouldn't send flow table item.When receive again interchanger transmission it is new Flow table item treating capacity when, controller updates the quantity of transmissible flow table item according to new flow table item treating capacity.
In alternatively possible realization method, which is that interchanger can handle flow table item in the unit time Quantity.The rate for the flow table item that controller is sent to interchanger is not more than the flow table item treating capacity.For example, flow table item treating capacity It it is 20/ second, then the rate for the flow table item that controller is sent to interchanger cannot be more than 20/ second.
Flow table item method of reseptance in a kind of software defined network of second aspect offer, which includes at least One controller and at least one interchanger, wherein by logical between at least one controller and at least one interchanger Believe interface connection, can be one-to-one or one-to-many pass between at least one controller and at least one interchanger System a, for example, interchanger sends flow table item treating capacity to a controller or multiple switch is sent out to the same controller Send flow table item treating capacity.First, interchanger determines flow table item treating capacity, and the determining flow table item treating capacity is sent to control Device, to indicate that controller sends flow table item according to the limitation of the flow table item treating capacity to interchanger, interchanger receives controller hair The flow table item sent.As it can be seen that since the flow table item treating capacity that interchanger is sent to controller is to indicate controller according to the flow table item The limitation for the treatment of capacity to the interchanger send flow table item, then interchanger within the scope of the processing capacity of itself can timely processing connect The flow table item received overstocks so as to avoid flow table item on the processor of interchanger.
About flow table item treating capacity representation can there are many, the possible representation of two of which is described below:
In one possible implementation, which is that interchanger can handle flow table item in the unit time Quantity.Assuming that the maximum quantity that interchanger can handle flow table item within the unit interval is 50, then the flow table item treating capacity can be Any one rate value no more than 50/ second.For example, interchanger can set flow table item treating capacity to 30/ second.
In alternatively possible realization method, which is that interchanger should when sending the flow table item treating capacity Interchanger can handle the quantity of flow table item.Assuming that when interchanger sends flow table item treating capacity to controller, which currently may be used The maximum quantity for handling flow table item is 30, then the flow table item treating capacity can be any one numerical value no more than 30, for example, handing over 20 can be set as by flow table item treating capacity by changing planes.
Interchanger to controller send flow table item treating capacity trigger condition can there are many kinds of, here is wherein possible Two kinds of realization methods:
In one possible implementation, which periodically determines flow table item treating capacity and will be at the flow table item Reason amount is sent to controller.Wherein, which can be given tacit consent to by interchanger or the modes such as User Defined are determined.It is false If the cycle time is 10 seconds, then interchanger every 10 seconds a determining flow table item treating capacity, and will be at the determining flow table item Reason amount is sent to controller.If the currently processed a large amount of flow table items of interchanger and it is busy when, can suitably extend determine the stream The cycle time of list item treating capacity, to alleviate the live load of interchanger.
In alternatively possible realization method, which is preset value, whenever the interchanger can be handled When the quantity of flow table item reaches the preset value, which is sent to controller by interchanger.Wherein, which can It is determined in a manner of by interchanger acquiescence or User Defined etc..Assuming that the preset value is 50, then whenever interchanger can be handled When the quantity of flow table item reaches 50, then the flow table item treating capacity is sent to controller by interchanger, if interchanger can processing stream The quantity of list item does not reach 50, then is not necessarily to send flow table item treating capacity to controller, the communication to save interchanger disappears Consumption.
The third aspect provides the controller in a kind of software defined network, which is configured to realize above-mentioned first aspect Or the function of the method for any one realization method offer of first aspect.The function can be by hardware realization, can also Corresponding software realization is executed by hardware, the hardware or software include one or more modules corresponding with above-mentioned function.
Fourth aspect provides the interchanger in a kind of software defined network, which is configured to realize above-mentioned second aspect Or the function of the method for any one realization method offer of second aspect.The function can be by hardware realization, can also Corresponding software realization is executed by hardware, the hardware or software include one or more modules corresponding with above-mentioned function.
5th aspect provides a kind of computer program product including instruction, when run on a computer so that Computer executes above-mentioned first aspect either any one realization method of first aspect or second aspect or second aspect Any one realization method described in method.
Description of the drawings
Fig. 1 is a structure chart of software defined network in the embodiment of the present invention;
Fig. 2 is a structural schematic diagram of controller in software defined network in the embodiment of the present invention;
Fig. 3 is a structural schematic diagram of interchanger in software defined network in the embodiment of the present invention;
Fig. 4 is one embodiment schematic diagram that flow table item is received and dispatched in software defined network in the embodiment of the present invention;
Fig. 5 is another embodiment schematic diagram that flow table item is received and dispatched in software defined network in the embodiment of the present invention;
Fig. 6 is a structural schematic diagram of flow table item sending device in software defined network in the embodiment of the present invention;
Fig. 7 is a structural schematic diagram of flow table item receiving device in software defined network in the embodiment of the present invention.
Specific implementation mode
Open flow agreement between controller and interchanger is superimposed upon transmission control protocol (English:transmission Control protocol, TCP) in agreement.When the processor of interchanger is busy due to handling a large amount of flow table items, fail to connect in time When receiving flow table item, the receiving window size of TCP protocol stack becomes 0, to inhibit controller to send flow table item to interchanger.
But the receiving window size of TCP protocol stack, which becomes 0, blocks transport layer.Although inhibiting controller to exchange Machine sends flow table item, other open flow agreement messages that controller is sent to interchanger also can not normally send out, may cause open Release agreement operation irregularity.In order to avoid while inhibiting controller to send flow table item to interchanger, open flow agreement occurs The phenomenon that operation irregularity, the embodiment of the present invention provide following system, device and method.
First, referring to Fig. 1, introducing the software defined network involved in the embodiment of the present invention.In the software defined network Including at least one controller and at least one interchanger.Wherein, at least one controller and at least one interchanger it Between connected by communication interface.The communication interface can be wired network interface or radio network interface.Wired network interface example Such as it is Ethernet interface.Ethernet interface can be electrical interface or optical interface.Controller and interchanger in the software defined network Between the agreement that runs for example can be open flow agreement.It can be between at least one controller and at least one interchanger One-to-one or one-to-many relationship, i.e. a controller to an interchanger send flow table item or a controller to Multiple switch sends flow table item.Flow table, the one kind that can be deemed to be in software defined network to data forwarding capability are abstract.One A flow table includes at least one flow table item.The network configuration information of each network layer is incorporated in flow table item, into More rich rule can be used when row data forwarding.In embodiments of the present invention, controller sends flow table item to interchanger and uses To instruct the forwarding of flow.Wherein, the flow table item that controller is sent to interchanger is the flow table item treating capacity determined by interchanger It is limited.Since controller is to send flow table item, control to interchanger under the flow table item treating capacity limitation that interchanger determines The flow table item that device is sent to interchanger is will not to cause the product on the processor of interchanger within the scope of the processing capacity of interchanger The problem of pressing flow table item.
Referring to Fig. 2, the controller in the software defined network involved in the embodiment of the present invention is described below.The controller 200 include processor 201 and communication interface 202, which connect with the communication interface 202.Wherein, the controller 200 By the switch communication in the communication interface 202 and software defined network, to send flow table item to interchanger.The communication connects Mouth 202 can be wired network interface or radio network interface.Wired network interface is, for example, Ethernet interface.Ethernet connects Mouth can be electrical interface or optical interface.The agreement run between controller and interchanger in the software defined network for example can be Open flow agreement.Controller 200 can connect an interchanger with a communication interface, can also be connected with multiple communication interfaces Multiple switch.The processor 201 can be central processing unit, network processing unit etc..
The communication interface 202 is used to obtain the flow table item treating capacity of interchanger.
Communication interface 202 can obtain the flow table item treating capacity of interchanger in several ways, for example, communication interface 202 connects Receive the treating capacity message of interchanger transmission, wherein the flow table item treating capacity is carried in the treating capacity message, the treating capacity message For the message newly defined in OpenFlow agreements, including protocol header and flow table item treating capacity field etc..For another example, communication interface 202 By sending treating capacity request message to interchanger, to receive the treating capacity message of interchanger transmission, wherein the treating capacity is asked It is the message newly defined in OpenFlow agreements to seek message.
The processor 201 is for recording the flow table item treating capacity, and determination will be sent out under the limitation of the flow table item treating capacity The flow table item sent.
The communication interface 202 is additionally operable to send the flow table item that the processor 201 determines to interchanger.
The flow table item treating capacity is the quantity that interchanger can handle flow table item, which sends to interchanger The quantity of flow table item is not more than the flow table item treating capacity.Such as flow table item treating capacity is 30, then communication interface 202 can use one Or multiple messages will be sent to interchanger no more than 30 flow table items.Communication interface often sends a flow table item, accordingly will The quantity of transmissible flow table item subtracts 1.When the quantity of transmissible flow table item is 0, communication interface 202 does not retransmit flow table for the time being .When receiving the new flow table item treating capacity of interchanger transmission again, communication interface 202 is according to new flow table item treating capacity Update transmissible flow table item quantity.
Alternatively, the flow table item treating capacity is that interchanger can handle the quantity of flow table item, the communication interface 202 in the unit time The rate of the flow table item sent to interchanger is not more than the flow table item treating capacity.Assuming that flow table item treating capacity is 20/ second, then control The rate for the flow table item that device is sent by the communication interface to interchanger cannot be more than 20/ second.
The flow table item treating capacity indicates outer except through a kind of mode in quantity and rate, can also be by other means It indicates, which is interchanger by the way that determined by actual conditions, specific size does not limit.
Referring to Fig. 3, the interchanger in the software defined network involved in the embodiment of the present invention is described below.The interchanger 300 include processor 301 and communication interface 302, is communicated to connect between the processor 301 and the communication interface 302.Wherein, should Interchanger 300 is connect by the communication interface 302 with the controller in software defined network, to realize that receiving controller sends Flow table item.The communication interface 302 can be wired network interface or radio network interface.Wired network interface be, for example, with Too network interface.Ethernet interface can be electrical interface or optical interface.It is transported between controller and interchanger in the software defined network Capable agreement for example can be open flow agreement.The interchanger 300 can use communication interface to connect a controller, at this It can be central processing unit, network processing unit etc. to manage device 301.The interchanger further includes forwarding chip 303, will by processor 301 Flow table item is configured to forwarding chip 303, and the forwarding of data is carried out by forwarding chip 303.The forwarding chip can be network Processor, ASIC, FPGA etc..Flow table item can be stored in independent or be incorporated into the forwarding chip by the forwarding chip Content Addressable Memory (English:Content-addressable memory, CAM) 304 (such as ternary content addressable is deposited Reservoir (TCAM)) in.The function of the processor 301 and the forwarding chip can be respectively by the control plane of the same network processing unit It is realized with data surface.
The processor 301, for determining flow table item treating capacity.
Processor 301 can determine flow table item treating capacity in several ways.For example, processor 301 is every within the unit interval 1 flow table item is handled, then accordingly increases an accessible flow table item treating capacity.For another example, processor 301 is in preset time It is interior, N flow table items have been handled, then have accordingly increased N accessible flow table item treating capacities.For another example, processor 301 pre-processes 200 flow table items, it is assumed that predetermined threshold value 40% flows handled 80 after processor 301 has handled 80 flow table items List item is as flow table item treating capacity.
The communication interface 302, the flow table item treating capacity for determining processor 301 are sent to controller, to indicate to control Device processed sends flow table item according to the limitation of the flow table item treating capacity to the interchanger.
The communication interface 302 is additionally operable to receive the flow table item that controller is sent.
The flow table item treating capacity is that interchanger can handle the quantity of flow table item in the unit time.For example, the flow table item is handled Amount is 20/ second.
Alternatively, the flow table item treating capacity is that the interchanger can handle the quantity of flow table item when sending the flow table item treating capacity. For example, the flow table item treating capacity is 30.
The flow table item treating capacity indicates outer except through a kind of mode in quantity and rate, can also be by other means It indicates, which is interchanger by the way that determined by actual conditions, specific size does not limit.
For periodically determining flow table item treating capacity, which is used for the processor processor 301 The 301 flow table item treating capacities determined are sent to controller.Assuming that the cycle time is 10 seconds, then processor 301 is true every 10 seconds A fixed flow table item treating capacity, and flow table item treating capacity is sent to by controller by the communication interface 302.If processor is worked as The a large amount of flow table items of pre-treatment and it is busy when, then can suitably extend the cycle time of determining flow table item treating capacity.
The flow table item treating capacity is preset value, when the quantity that interchanger can handle flow table item reaches the preset value, institute It states communication interface 302 and the flow table item treating capacity is sent to the controller.Wherein, which can be given tacit consent to by interchanger Or the modes such as User Defined are determined.Assuming that the preset value is 50, then whenever the quantity that interchanger can handle flow table item reaches When to 50, then the flow table item treating capacity is sent to controller by communication interface 302, if interchanger can handle the quantity of flow table item Do not reach 50, be then not necessarily to send flow table item treating capacity to controller, to save the communication consumption of interchanger.
During interchanger configures flow table item, interchanger can at random or periodically continue checking for the place of itself Reason ability sends treating capacity message, wherein flow table item treating capacity is carried in the treating capacity message to trigger to controller.Example Such as, 50,000,000 are decreased or increased as threshold value with the available cache memory of interchanger, triggers to controller and sends treating capacity message.Such as the last time The available cache memory of interchanger is 100,000,000 when inspection, when checking again for the available cache memory more than 150,000,000, triggers interchanger to control Device processed sends treating capacity message.When checking again for available cache memory less than 50,000,000, triggering interchanger is in time at controller transmission Reason amount message allows controller not send or reduce according to the flow table item treating capacity of interchanger and sends flow table item, to avoid handing over It changes planes and is unable to a large amount of flow table item of timely processing, and cause the overstocked flow table item in the processing of interchanger.
It can also be examined according to the composite factor of interchanger itself in addition, triggering interchanger sends treating capacity message to controller Consider, for example, busy extent of the interchanger according to current processor, when the utilization rate of processor is more than certain threshold value, interchanger and When treating capacity message is sent to controller, allow controller not send or reduce transmission according to the flow table item treating capacity of interchanger Flow table item, to avoid processor from being unable to a large amount of flow table item of timely processing, and cause overstock flow table item the problem of.Work as processor Utilization rate when being restored to less than the threshold value, send treating capacity message again, inform controller flow table item treating capacity in time, and make The quantity of transmissible flow table item can suitably be increased according to flow table item treating capacity by obtaining controller.
Referring to Fig. 4, one embodiment for flow table item receiving/transmission method in software defined network in the embodiment of the present invention is shown It is intended to, the flow of the embodiment is as follows:
Step 401, interchanger determine flow table item treating capacity.
Flow table item treating capacity is sent to controller by step 402, interchanger, to indicate controller according to flow table item treating capacity Limitation to interchanger send flow table item.
Step 403, controller obtain the flow table item treating capacity of interchanger.
Step 404, controller send flow table item under the limitation of flow table item treating capacity to interchanger.
Step 405, interchanger receive the flow table item that controller is sent.
The specific work process of the above method can refer to the corresponding process in earlier figures 2 or Fig. 3 embodiments, herein It repeats no more.
Since controller is the flow table item sent to interchanger under the limitation of flow table item treating capacity, then interchanger receives stream After list item, flow table item is configured to forwarding chip by the processor of interchanger in time in default limit of power, to effectively avoid Overstocked problem of the flow table item on the processor of interchanger.
Referring to Fig. 5, the transmitting-receiving process of flow table item includes the following steps:
Step 501, interchanger determine flow table item treating capacity according to the processing capacity of itself.
Communication connection is established between step 502, interchanger and controller.
Interchanger sends the request for establishing connection to controller, and controller receives the request, to establish interchanger and control Communication connection between device processed.Step 502 can be executed prior to step 501 either execute in step 501 after step 502 or Step 501 and step 502 are performed simultaneously, and are not specifically limited herein.
Step 503, interchanger send treating capacity message to controller.
Wherein, flow table item treating capacity is carried in the treating capacity message, to indicate controller in the flow table item treating capacity Under limitation flow table item is sent to interchanger.
The scheme such as following step 504 of step 503 be may replace to step 505:
Step 504, controller send treating capacity request message to interchanger, to indicate that interchanger sends flow table to controller Item treating capacity.
For example, the controller default time point for receiving flow table item treating capacity, when current time is more than the time point, control Device actively can send treating capacity request message to interchanger.
Step 505, interchanger send treating capacity message to controller.
Wherein, flow table item treating capacity is carried in the treating capacity message, to indicate controller in the flow table item treating capacity Under limitation flow table item is sent to interchanger.
Step 506, controller receive the flow table item treating capacity of interchanger transmission and preserve, and send flow table to interchanger .
Step 507, interchanger receive the flow table item that controller is sent.
The specific work process of the above method can refer to the corresponding process in earlier figures 2 or Fig. 3 embodiments, herein It repeats no more.
Interchanger is temporarily stored the flow table item after receiving flow table item, and will according to the processing capacity of itself The flow table item is configured to forwarding chip, and the forwarding of data is carried out by forwarding chip.
Referring to Fig. 6, a structure of the flow table item sending device 600 in the embodiment of the present invention in software defined network is shown It is intended to, which includes acquisition module 601 and sending module 602.
Acquisition module 601, the flow table item treating capacity for obtaining interchanger;
Sending module 602 is used under the flow table item treating capacity limitation that the acquisition module 601 obtains to the friendship It changes planes and sends flow table item.
The details of the course of work of above-mentioned flow table item sending device 600 can refer to corresponding in 2 embodiment of earlier figures Journey, details are not described herein.
Referring to Fig. 7, a structure of the flow table item receiving device 700 in the embodiment of the present invention in software defined network is shown It is intended to, which includes determining module 701 and sending module 702 and receiving module 703.
Determining module 701, for determining flow table item treating capacity;
Sending module 702, the flow table item treating capacity for determining the determining module 701 are sent to controller, To indicate that the controller sends flow table item according to the limitation of the flow table item treating capacity to the interchanger;
Receiving module 703, the flow table item sent for receiving the controller.
The details of the course of work of above-mentioned flow table item receiving device 700 can refer to corresponding in 3 embodiment of earlier figures Journey, details are not described herein.
System in several embodiments provided herein, device and method may be implemented in other ways. For example, the apparatus embodiments described above are merely exemplary, for example, the division of the module, only a kind of logic Function divides, and formula that in actual implementation, there may be another division manner, such as multiple module or components can combine or can collect At to another system.
The module illustrated as separating component may or may not be physically separated, aobvious as module The component shown may or may not be physical unit, you can be located at a place, or may be distributed over multiple On the network equipment.
The above, the above embodiments are merely illustrative of the technical solutions of the present invention, rather than its limitations;Although with reference to before Stating embodiment, invention is explained in detail, but it should be understood by those skilled in the art that:It still can be to aforementioned Technical solution recorded in each embodiment is modified, or is replaced with the identical feature of function to which part technical characteristic It changes;And these modifications or replacements, so that corresponding technical solution is detached from the range of the claims in the present invention.
Above-described embodiment can be realized wholly or partly by software, hardware or its arbitrary combination.When using soft When part is realized, can entirely or partly it realize in the form of a computer program product.
The computer program product includes one or more computer instructions.Load and execute on computers the meter When calculation machine program instruction, entirely or partly generate according to the flow or function described in the embodiment of the present invention.The computer can To be all-purpose computer, special purpose computer, computer network or other programmable devices.The computer instruction can be deposited Storage in a computer-readable storage medium, or from a computer readable storage medium to another computer readable storage medium Transmission, for example, the computer instruction can pass through wired (example from a web-site, computer, server or data center Such as coaxial cable, twisted-pair feeder or optical fiber) or wireless (such as infrared, wireless, microwave) mode to another web-site, calculate Machine, server or data center are transmitted.It is any that the computer readable storage medium can be that computer can store Usable medium is either comprising data storage devices such as one or more usable mediums integrated server, data centers.It is described Usable medium can be magnetic medium (for example, floppy disk, hard disk, tape), optical medium (such as CD) or semiconductor medium (such as solid state disk) etc..

Claims (21)

1. flow table item sending method in a kind of software defined network, which is characterized in that including:
Controller obtains the flow table item treating capacity of interchanger;
The controller sends flow table item under flow table item treating capacity limitation to the interchanger.
2. flow table item sending method according to claim 1, which is characterized in that the flow table item treating capacity is the exchange Machine can handle the quantity of flow table item, and the quantity for the flow table item that the controller is sent to the interchanger is not more than the flow table item Treating capacity.
3. flow table item sending method according to claim 1, which is characterized in that the flow table item treating capacity is the unit time The interior interchanger can handle the quantity of flow table item, and the controller is not more than to the rate for the flow table item that the interchanger is sent The flow table item treating capacity.
4. flow table item method of reseptance in a kind of software defined network, which is characterized in that including:
Interchanger determines flow table item treating capacity;
The flow table item treating capacity is sent to controller by the interchanger, at indicating the controller according to the flow table item The limitation of reason amount sends flow table item to the interchanger;
The interchanger receives the flow table item that the controller is sent.
5. flow table item method of reseptance according to claim 4, which is characterized in that the flow table item treating capacity is the unit time The interior interchanger can handle the quantity of flow table item.
6. flow table item method of reseptance according to claim 4, which is characterized in that the flow table item treating capacity is described in transmission The interchanger can handle the quantity of flow table item when flow table item treating capacity.
7. flow table item method of reseptance according to claim 6, which is characterized in that the flow table item treating capacity is preset value, When the quantity that the interchanger can handle flow table item reaches the preset value, the interchanger sends out the flow table item treating capacity Give the controller.
8. the flow table item sending device in a kind of software defined network, which is characterized in that including:
Acquisition module, the flow table item treating capacity for obtaining interchanger;
Sending module is flowed for being sent to the interchanger under the flow table item treating capacity limitation that the acquisition module obtains List item.
9. flow table item sending device according to claim 8, which is characterized in that the flow table item treating capacity is the exchange Machine can handle the quantity of flow table item, and the quantity for the flow table item that the sending module is sent to the interchanger is not more than the flow table Item treating capacity.
10. flow table item sending device according to claim 8, which is characterized in that when the flow table item treating capacity is unit The interior interchanger can handle the quantity of flow table item, and the rate for the flow table item that the sending module is sent to the interchanger is not More than the flow table item treating capacity.
11. the flow table item receiving device in a kind of software defined network, which is characterized in that including:
Determining module, for determining flow table item treating capacity;
Sending module, the flow table item treating capacity for determining the determining module is sent to controller, described in instruction Controller sends flow table item according to the limitation of the flow table item treating capacity to the interchanger;
Receiving module, the flow table item sent for receiving the controller.
12. flow table item receiving device according to claim 11, which is characterized in that when the flow table item treating capacity is unit The interior interchanger can handle the quantity of flow table item.
13. flow table item receiving device according to claim 11, which is characterized in that the flow table item treating capacity is transmission institute The interchanger can handle the quantity of flow table item when stating flow table item treating capacity.
14. flow table item receiving device according to claim 13, which is characterized in that the flow table item treating capacity is default Value, when the quantity that the interchanger can handle flow table item reaches the preset value, the sending module will be at the flow table item Reason amount is sent to the controller.
15. the controller in a kind of software defined network, which is characterized in that including:Processor and communication interface, wherein described Controller is connect by the communication interface with interchanger;
The communication interface, the flow table item treating capacity for obtaining interchanger;
The processor, for determining flow table item under flow table item treating capacity limitation;
The communication interface is additionally operable to send the flow table item that the processor determines to the interchanger.
16. controller according to claim 15, which is characterized in that the flow table item treating capacity, which is the interchanger, to be located The quantity of flow table item is managed, the quantity for the flow table item that the communication interface is sent to the interchanger is no more than flow table item processing Amount.
17. controller according to claim 15, which is characterized in that the flow table item treating capacity is described in the unit time Interchanger can handle the quantity of flow table item, and the rate for the flow table item that the communication interface is sent to the interchanger is no more than described Flow table item treating capacity.
18. the interchanger in a kind of software defined network, which is characterized in that including:Processor and communication interface, wherein described Interchanger is connect by the communication interface with controller;
The processor, for determining flow table item treating capacity;
The communication interface, the flow table item treating capacity for determining the processor is sent to controller, to indicate It states controller and flow table item is sent to the interchanger according to the limitation of the flow table item treating capacity;
The communication interface is additionally operable to receive the flow table item that the controller is sent.
19. interchanger according to claim 18, which is characterized in that the flow table item treating capacity is described in the unit time Interchanger can handle the quantity of flow table item.
20. interchanger according to claim 18, which is characterized in that the flow table item treating capacity is to send the flow table item The interchanger can handle the quantity of flow table item when treating capacity.
21. interchanger according to claim 20, which is characterized in that the flow table item treating capacity is preset value, when described When the quantity that interchanger can handle flow table item reaches the preset value, the flow table item treating capacity is sent to by the communication interface The controller.
CN201710112349.8A 2017-02-28 2017-02-28 Method and related equipment for sending and receiving flow table items in software defined network Active CN108512769B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710112349.8A CN108512769B (en) 2017-02-28 2017-02-28 Method and related equipment for sending and receiving flow table items in software defined network

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710112349.8A CN108512769B (en) 2017-02-28 2017-02-28 Method and related equipment for sending and receiving flow table items in software defined network

Publications (2)

Publication Number Publication Date
CN108512769A true CN108512769A (en) 2018-09-07
CN108512769B CN108512769B (en) 2021-04-09

Family

ID=63372893

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710112349.8A Active CN108512769B (en) 2017-02-28 2017-02-28 Method and related equipment for sending and receiving flow table items in software defined network

Country Status (1)

Country Link
CN (1) CN108512769B (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103414650A (en) * 2013-07-29 2013-11-27 上海华为技术有限公司 Routing method and device for congestion avoidance
CN103888313A (en) * 2014-03-11 2014-06-25 浙江大学 Method for forecasting optimal timeout of flow table item
CN104079492A (en) * 2013-03-28 2014-10-01 华为技术有限公司 Method, device and system of configuring flow table in OpenFlow network
CN104243240A (en) * 2014-09-23 2014-12-24 电子科技大学 SDN (self-defending network) flow measuring method based on Open Flow
CN105306290A (en) * 2014-07-16 2016-02-03 中兴通讯股份有限公司 Method and device for forecasting scale of flow table entries
CN106302028A (en) * 2016-09-22 2017-01-04 杭州华三通信技术有限公司 Flux monitoring method and device

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104079492A (en) * 2013-03-28 2014-10-01 华为技术有限公司 Method, device and system of configuring flow table in OpenFlow network
CN103414650A (en) * 2013-07-29 2013-11-27 上海华为技术有限公司 Routing method and device for congestion avoidance
CN103888313A (en) * 2014-03-11 2014-06-25 浙江大学 Method for forecasting optimal timeout of flow table item
CN105306290A (en) * 2014-07-16 2016-02-03 中兴通讯股份有限公司 Method and device for forecasting scale of flow table entries
CN104243240A (en) * 2014-09-23 2014-12-24 电子科技大学 SDN (self-defending network) flow measuring method based on Open Flow
CN106302028A (en) * 2016-09-22 2017-01-04 杭州华三通信技术有限公司 Flux monitoring method and device

Also Published As

Publication number Publication date
CN108512769B (en) 2021-04-09

Similar Documents

Publication Publication Date Title
US9628384B2 (en) Adaptive industrial network
US9071533B2 (en) Multicast group assignment using probabilistic approximations
US20160197775A1 (en) Data center bridging network configuration and management
US20130003549A1 (en) Resilient Hashing for Load Balancing of Traffic Flows
CN111010702B (en) Time delay sensitive network communication method and device thereof
US20150003464A1 (en) LACP Negotiation Processing Method, Relay Node, and System
US20090109998A1 (en) Facilitating self configuring link aggregation using link aggregation control protocol
EP3082309A1 (en) Sdn controller, data centre system and router connection method
US10802885B2 (en) Method and apparatus for data processing based on multicore
JP2017507572A (en) Method, system, and computer-readable medium for cloud-based virtual orchestrator
CN104378308A (en) Method and device for detecting message sending rate
JP2014517571A (en) Hierarchical scheduling and shaping
CN105009529B (en) A kind of method and transponder handling message
US20170033978A1 (en) Method and device for processing communication path
CN105379210B (en) A kind of data flow processing method and device
WO2017197983A1 (en) Traffic processing method and system, storage medium, switch
WO2016049926A1 (en) Data packet processing apparatus and method
CN108632848A (en) Network is sliced self-optimizing coordination approach and device
JP2021535665A (en) High-speed transfer table creation
KR101478944B1 (en) Switch migration method for software-defined-networks with a plurality of controllers
CN105765935A (en) Method and apparatus for virtual firewalling in a wireless communication network
CN106230658B (en) A kind of method and apparatus monitoring the network equipment
US20150236946A1 (en) Operating on a network with characteristics of a data path loop
CN108512769A (en) Flow table item sending, receiving method and relevant device in a kind of software defined network
CN104468280A (en) Method for achieving fast detection of online and offline states of mount device in intelligent gateway

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
GR01 Patent grant
GR01 Patent grant