CN109150729A - A kind of data forwarding controlling method, device, system, medium and calculate equipment - Google Patents
A kind of data forwarding controlling method, device, system, medium and calculate equipment Download PDFInfo
- Publication number
- CN109150729A CN109150729A CN201710508460.9A CN201710508460A CN109150729A CN 109150729 A CN109150729 A CN 109150729A CN 201710508460 A CN201710508460 A CN 201710508460A CN 109150729 A CN109150729 A CN 109150729A
- Authority
- CN
- China
- Prior art keywords
- network
- message
- flow table
- configuration information
- executes
- 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
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L49/00—Packet switching elements
- H04L49/10—Packet switching elements characterised by the switching fabric construction
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L45/00—Routing or path finding of packets in data switching networks
- H04L45/02—Topology update or discovery
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L49/00—Packet switching elements
- H04L49/15—Interconnection of switching modules
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L49/00—Packet switching elements
- H04L49/20—Support for services
- H04L49/205—Quality of Service based
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L49/00—Packet switching elements
- H04L49/90—Buffering arrangements
Abstract
The invention discloses a kind of data forwarding controlling method, device, medium and equipment is calculated, to be automatically configured to periodic network movement or behavior, the execution accuracy of periodic network movement is ensure that, saves the resource overhead of each network element in network.The data forwarding controlling method, comprising: receive flow table and configure message, the configuration information that periodic network movement executes is carried in the flow table configuration message;Corresponding flow table is generated according to the configuration information and is periodically executed.
Description
Technical field
The present invention relates to computer network communication technology field more particularly to a kind of data forwarding controlling method, device, it is
System, medium and calculating equipment.
Background technique
Background that this section is intended to provide an explanation of the embodiments of the present invention set forth in the claims or context.Herein
Description recognizes it is the prior art not because not being included in this section.
OpenFlow network is by OpenFlow Switch (OpenFlow interchanger) and Controller (controller) group
At.The forwarding of OpenFlow interchanger progress data Layer;Controller carries out centralized control to network, realizes the function of control layer
Energy.As shown in Figure 1, it is the structural schematic diagram of OpenFlow network.
OpenFlow interchanger possesses a FlowTable (flow table), it is forwarded only according to flow table, FlowTable
Generation, safeguard and issue by external Controller and realize.Here FlowTable not merely refers to IP
(Internet Protocol, Internet protocol) five-tuple (IP source address, IP destination address, protocol number, source port, destination
Mouthful), OpenFlow1.0 specification is defined including input port, MAC (Media Access Control, media access control)
Source address, MAC destination address, ethernet type, VLAN ID (Virtual Local Area Network
Identification, VLAN ID), IP source address, IP destination address, the port IP, TCP (Transmission
Control Protocol transmission control protocol) source port, 10 keywords (ten tuples) including TCP destination port.
Each keyword in FlowTable can wildcard, the operator of network can determine the stream using which kind of granularity, for example transport
Battalion quotient only needs to be routed according to destination IP, then can only have in FlowTable IP destination address field (DAF) be it is effective,
It is other to be all wildcard.
In OpenFlow network, some network actions need the period to execute, for example 7:00-10:00 every night needs
High priority is set by the DSCP of video flow, to guarantee the viewing experience of user;Or monthly No. 15 2:00-6:00
It needs to reserve extra bandwidth for backup flow;Either the annual major holiday needs to carry out for certain special websites or flow
Priority support etc..
Need to carry out the network equipment manual configuration at present to implement this sampling action, since equipment in network quantity is many
More, the method workload of manual configuration is huge, and is easy error.Moreover, because in the prior art without transmitting periodic network
The mechanism of movement or behavior, controller needs to issue an instruction when periodic network acts beginning, dynamic in periodic network
An instruction is issued at the end of work again, instructs the quantity issued more, when especially the period is shorter, frequency is higher, such as every point
Clock executes primary, primary execution 5 seconds.In this way, the instruction number interacted between controller and interchanger is very big, exchange is increased
The resource overhead of machine and controller.
Summary of the invention
The embodiment of the present invention provides a kind of data forwarding controlling method, device, medium and calculates equipment, to periodicity
Network action or behavior automatically configure, and ensure that the execution accuracy of periodic network movement, save the money of each network element in network
Source expense.
The first data forwarding controlling method provided in an embodiment of the present invention, comprising:
Reception flow table configures message, and periodic network movement execution is carried in the flow table configuration message matches confidence
Breath;
Corresponding flow table is generated according to the configuration information and is periodically executed.
Preferably, the configuration information includes at least one of the following: frequency that periodic network movement executes, described
Starting Executing Time and duration of the network action within each period.
Preferably, the flow table generated is executed according to following below scheme:
The frequency and the network action executed according to periodic network movement starts to execute within each period
Time determines all time points for meeting condition;
When reaching at each time point determined, it is dynamic that the network is executed in corresponding duration according to the duration
Make.
Preferably, the flow table configuration message includes OFPT_FLOW_MOD message.
It preferably, include being used to indicate frequency, the institute that periodic network movement executes in the OFPT_FLOW_MOD message
State the message field of Starting Executing Time and duration of the network action within each period.
The first data forwarding control device provided in an embodiment of the present invention, comprising:
Receiving unit carries periodic network movement in the flow table configuration message for receiving flow table configuration message
The configuration information of execution;
Flow table generation unit, for generating corresponding flow table according to the configuration information;
Execution unit, for periodically executing the flow table generated.
Preferably, the configuration information includes at least one of the following: frequency that periodic network movement executes, described
Starting Executing Time and duration of the network action within each period.
Preferably, the execution unit, specifically for the frequency executed according to periodic network movement and the net
Starting Executing Time of the network movement within each period determines all time points for meeting condition;At each time point determined
When arrival, the network action is executed in corresponding duration according to the duration.
Preferably, the flow table configuration message includes OFPT_FLOW_MOD message.
It preferably, include being used to indicate frequency, the institute that periodic network movement executes in the OFPT_FLOW_MOD message
State the message field of Starting Executing Time and duration of the network action within each period.
Second of data forwarding controlling method provided in an embodiment of the present invention, comprising:
Obtain the configuration information that periodic network movement executes;
Flow table, which is generated, according to the configuration information configures message;
The flow table generated is sent to opposite end network element configures message.
Preferably, the configuration information includes at least one of the following: frequency that periodic network movement executes, described
Starting Executing Time and duration of the network action within each period.
Preferably, the flow table configuration message includes OFPT_FLOW_MOD message.
It preferably, include being used to indicate frequency, the institute that periodic network movement executes in the OFPT_FLOW_MOD message
State the message field of Starting Executing Time and duration of the network action within each period.
Preferably, the configuration information that periodic network movement executes is obtained, is specifically included:
Obtain the configuration information that the periodic network movement of human configuration executes;Or
According to the network information and/or flow information of acquisition, the periodic network movement determined using preset algorithm is held
Capable configuration information.
Second of data forwarding control device provided in an embodiment of the present invention, comprising:
Obtaining unit, the configuration information executed for obtaining periodic network movement;
Generation unit configures message for generating flow table according to the configuration information;
Transmission unit configures message for sending the flow table generated to opposite end network element.
Preferably, the configuration information includes at least one of the following: frequency that periodic network movement executes, described
Starting Executing Time and duration of the network action within each period.
Preferably, the flow table configuration message includes OFPT_FLOW_MOD message.
It preferably, include being used to indicate frequency, the institute that periodic network movement executes in the OFPT_FLOW_MOD message
State the message field of Starting Executing Time and duration of the network action within each period.
Preferably, the obtaining unit, what the periodic network movement specifically for obtaining human configuration executed matches confidence
Breath;Or the network information and/or flow information according to acquisition, the periodic network movement determined using preset algorithm are executed
Configuration information.
The embodiment of the present invention provides a kind of data transmission control system, including the first network element and the second network element, in which:
First network element, the configuration information executed for obtaining periodic network movement;It is raw according to the configuration information
Message is configured at flow table;And send the flow table generated to second network element and configure message, it is carried in the flow table configuration message
The configuration information for thering is periodic network movement to execute;
Second network element, for being executed according to the periodic network movement for including in the flow table configuration message received
Configuration information generates corresponding flow table and periodically executes.
Preferably, the configuration information includes at least one of the following: frequency that periodic network movement executes, described
Starting Executing Time and duration of the network action within each period.
Preferably, second network element, specifically for the frequency executed according to periodic network movement and the net
Starting Executing Time of the network movement within each period determines all time points for meeting condition;At each time point determined
When arrival, the network action is executed in corresponding duration according to the duration.
Preferably, the flow table configuration message includes OFPT_FLOW_MOD message.
It preferably, include being used to indicate frequency, the institute that periodic network movement executes in the OFPT_FLOW_MOD message
State the message field of Starting Executing Time and duration of the network action within each period.
Preferably, first network element, what the periodic network movement specifically for obtaining human configuration executed matches confidence
Breath;Or the network information and/or flow information according to acquisition, the periodic network movement determined using preset algorithm are executed
Configuration information.
The embodiment of the present invention provides a kind of calculating equipment, including at least one processing unit and at least one storage list
Member, wherein the storage unit is stored with program code, when said program code is executed by the processing unit, so that institute
State the step of processing unit executes any of the above-described data forwarding controlling method.
The embodiment of the present invention provides a kind of computer readable storage medium comprising program code works as said program code
When running on the computing device, said program code is for making the calculating equipment execute any of the above-described data forwarding controlling method
The step of.
Data forwarding controlling method, device, system, medium and calculating equipment provided in an embodiment of the present invention, by flowing
Table configures and carries the configuration information that periodic network movement executes in message, allows respective network elements raw according to the configuration information
At the flow table of cyclical action execution and corresponding network action is executed according to the flow table of generation, it is thus achieved that periodical net
Network movement or behavior automatically configure, and ensure that the execution accuracy of periodic network movement;Moreover, because nothing between two network elements
Frequent interactive instruction is needed therefore to save the resource overhead of each network element in network.
Other features and advantages of the present invention will be illustrated in the following description, also, partly becomes from specification
It obtains it is clear that understand through the implementation of the invention.The objectives and other advantages of the invention can be by written explanation
Specifically noted structure is achieved and obtained in book, claims and attached drawing.
Detailed description of the invention
The drawings described herein are used to provide a further understanding of the present invention, constitutes a part of the invention, this hair
Bright illustrative embodiments and their description are used to explain the present invention, and are not constituted improper limitations of the present invention.In the accompanying drawings:
Fig. 1 is the schematic network structure of openflow network in the prior art;
Fig. 2 is the implementation process diagram of the first data forwarding controlling method in the embodiment of the present invention;
Fig. 3 is the head schematic diagram of OpenFlow message in the embodiment of the present invention;
Fig. 4 is the form schematic diagram of OFPT_FLOW_MOD message in OpenFlow1.3 version in the embodiment of the present invention;
Fig. 5 is match information Match structural schematic diagram in the embodiment of the present invention;
Fig. 6 is the matching domain structural schematic diagram of OFPT_FLOW_MOD message in the embodiment of the present invention;
Fig. 7 is to increase the set schematic diagram of occurrence newly in the embodiment of the present invention;
Fig. 8 is the corresponding structural body schematic diagram of network action in the embodiment of the present invention;
Fig. 9 is the corresponding structural body schematic diagram of OFP_Action_Header in the embodiment of the present invention;
Figure 10 a is the form schematic diagram of IP address matching domain in the embodiment of the present invention;
Figure 10 b is mating structure body schematic diagram in the embodiment of the present invention;
Figure 11 is the implementation process diagram of the first data forwarding controlling method in the embodiment of the present invention;
Figure 12 a is the structural schematic diagram of the first data forwarding control device in the embodiment of the present invention;
Figure 12 b is the structural schematic diagram of second of data forwarding control device in the embodiment of the present invention;
Figure 13 is the structural schematic diagram of data transmission control system in the embodiment of the present invention;
Figure 14 is the structural schematic diagram of another data forwarding control device in the embodiment of the present invention.
Specific embodiment
Inventors have found that needing the network action for needing periodically to specify in openflow network to network at present
Equipment carries out manual configuration to implement this sampling action, and since equipment in network is large number of, the method for manual configuration works
Measure it is huge, and be easy error.Moreover, because in the prior art without the mechanism of the movement of transmitting periodic network or behavior, control
Device needs to issue an instruction when periodic network acts beginning, issues a finger again at the end of periodic network movement
It enables, instructs the quantity issued more, when especially the period is shorter, frequency is higher, for example execute once per minute, once execute 5
Second.In this way, the instruction number interacted between controller and interchanger is very big, the resource for increasing interchanger and controller is opened
Pin.
In view of this, being automatically configured to reach to periodic network movement or behavior in the embodiment of the present invention, guaranteeing week
The execution accuracy of phase property network action saves the purpose of the resource overhead of each network element in network, the embodiment of the invention provides
It a kind of data forwarding controlling method, device, medium and calculates equipment and is being extended by extending or increasing newly openflow message
Or comprising periodically executing the configuration information of network action in newly-increased openflow message, enable receive network element according to
The configuration information of periodic network movement generates corresponding flow table, and periodically executes corresponding network according to the flow table of generation and move
Make.
Data forwarding controlling method provided in an embodiment of the present invention can be, but not limited to be applied in openflow network,
In in openflow network, the first network element be can be, but not limited to as controller, and the second network element can be, but not limited to hand over
It changes planes.For ease of description, openflow network is applied to data forwarding controlling method provided in an embodiment of the present invention below
In for, and do not constitute a limitation of the invention.
Below in conjunction with Figure of description, preferred embodiment of the present invention will be described, it should be understood that described herein
Preferred embodiment only for the purpose of illustrating and explaining the present invention and is not intended to limit the present invention, and in the absence of conflict, this hair
The feature in embodiment and embodiment in bright can be combined with each other.
As shown in Fig. 2, it is implementation process diagram of data forwarding controlling method provided in an embodiment of the present invention, it can be with
The following steps are included:
S21, flow table configuration message is received, the configuration that periodic network movement executes is carried in the flow table configuration message
Information.
When it is implemented, flow table configuration message can be newly-increased openflow message, it can also be existing by extending
Openflow message is realized, for example, OFPT_FLOW_MOD message.Wherein, configuration information includes at least one of the following: described
Starting Executing Time and duration of the frequency, the network action that periodic network movement executes within each period.Its
In, the frequency of execution includes but is not limited to following several: per second, per minute, per hour, daily, weekly, monthly, every year etc..
OFPT_FLOW_MOD message by taking flow table configuration message is the OFPT_FLOW_MOD message of extension as an example, after extension
In include be used to indicate periodic network movement execute frequency, the network action within each period start execute when
Between and duration message field.
S22, corresponding flow table is generated according to the configuration information and is periodically executed.
All OpenFlow message all have public head, as shown in Figure 3.Different types of message can carry not
Isostructural parameter.Defined message has OFPT_HELLO, OFPT_FEATURES_REQUEST in OpenFlow at present,
OFPT_PACKET_IN, OFPT_FLOW_MOD, OFPT_ROLE_REQUEST etc..Wherein, controller uses OFPT_FLOW_MOD
Message configures interchanger flow table.As shown in figure 4, its format for OFPT_FLOW_MOD message in OpenFlow1.3 version.
It include match and action two parts in OFPT_FLOW_MOD message, wherein the part match is used to describe flow table
Match information, the part action is used to describe the behavior or movement to be taken the flow for matching match information.
By Flow-Mod message, flow entry can be added, be deleted, change setting etc. operation.According to operational order
Difference, the OFPT_FLOW_MOD message of OpenFlow 1.3 is segmented into five kinds, as shown in table 1:
Table 1
Title | Numerical value | Content |
OFPFC_ADD | 0 | Add new flow entry |
OFPFC_MODIFY | 1 | Change the setting of matched flow entry |
OFPFC_MODIFY_STRICT | 2 | Only change the setting of the flow entry of exact matching |
OFPFC_DELETE | 3 | Delete matched flow entry |
OFPFC_DELETE_STRICT | 4 | Only delete the flow entry of exact matching |
Match information Match structure is the structural body of a variable length, as shown in Figure 5.In controller issuing message, only
The occurrence comprising needing is needed, unwanted occurrence is not necessarily to be included in message body, eliminates unnecessary expense.
Match structural body includes multiple flow match field structural bodies, can be by setting to the content in match structural body
Set and then obtain the flow table in different role domain.
In addition, the design of the matching domain of OFPT_FLOW_MOD message is as shown in Figure 6.Wherein, the value of OXM_class is solid
It is set to 0x8000;OXM_field indicates specific occurrence, such as source mac, vlan etc.;OXM_length indicates this OXM TLV
Value length, as unit of byte;M field then indicates whether this OXM TLV includes mask, in OXM TLV, mask
As length with the length of value is, certain in mask correspond to position for occurrence in 1 expression message must be with the correspondence position of value
Identical to match, certain in mask is that 0 expression corresponds to the value of position with no restrictions to occurrence in message.If contained
Mask, then the matching of message will will become elder generation and do mask step-by-step and operation, as a result the value again with OXM TLV is compared.
If that just needs the exact matching of the value of message and OXM TLV not comprising mask in the message issued.
Based on this, OFPT_FLOW_MOD message is extended in the embodiment of the present invention, increases occurrence OFPXMT_ newly
OFB_PERIOD, the field value can be with preset values, it is assumed that are 68.The length of the occurrence is indefinite length, and first part is 6
The occurrence of bit (bit), 6 bit are mutex relation, one and only one each bit is set, as shown in Figure 7.
Wherein, it is executed once when Y location position (when i.e. the position is 1) expression movement is annual, when (i.e. the position is 1 for the position MO position
When) monthly execution is primary for expression movement, when the position W position (when i.e. the position is 1) expression acts once per week, when the position D
(when i.e. the position is 1) expression movement executes once daily, when the position H position (when i.e. the position is 1) expression movement executes one per hour
It is secondary, when (when i.e. the position is 1) the expression movement execution per minute of the position MI position is primary.In addition, must also have N number of 24 bytes whole
Number, N are more than or equal to 1.In 24 byte integers, first 4 byte integer expression acts the time started, meaning and movement
Period is related, and by how many second after indicating since " cycle starting point ", movement starts to execute;Second 4 byte integer indicates dynamic
How long make execution every time, the unit second.It indicates to need to be implemented there are two the period within an action cycle when N is greater than 1
Identical movement.For example movement executes the period as daily 7:00-9:00 and 17:00-19:00, at this moment N is 2.
Specifically, the cycle starting point indicates:
When being set for Y, cycle starting point indicates move excessively after how many second since zero second on the stroke of midnight on the 1st annual January
Work starts to execute;
When being set for MO, cycle starting point indicates to act after how many second excessively since zero second on the stroke of midnight on the 1st monthly
Start to execute;
When being set for W, cycle starting point is indicated to act after how many second excessively since zero second on the stroke of midnight on every Sundays and be opened
Begin to execute;
When being set for D, cycle starting point indicates to act excessively after how many second since daily zero second on the stroke of midnight
It executes;
When being set for H, cycle starting point executes acting after how many second excessively indicating zero zero second when per;
When being set for MI, cycle starting point indicates to execute acting excessively after how many second since zero second of every point.
In the embodiment of the present invention, interchanger is after the OFPT_FLOW_MOD message for receiving controller transmission, according to it
Initial time and duration in the configuration message of middle carrying enumerate all qualified time points, turn in data packet
After being dealt into interchanger, interchanger matches data according to the time point enumerated.It is provided in an embodiment of the present invention based on this
Data forwarding controlling method, can be the following steps are included: according to the frequency of periodic network movement execution and the net
Starting Executing Time of the network movement within each period determines all time points for the condition that meets;At each time point determined
When arrival, the network action is executed in corresponding duration according to the duration.As shown in figure 8, it is implemented for the present invention
In example, the corresponding structural body schematic diagram of network action.As shown in figure 9, it (is periodically executed for OFP_Action_Header
Network action head) corresponding structural body schematic diagram.
Embodiment for a better understanding of the present invention, below with to source IP for 10.0.0.1 data packet daily 19:
00-22:00 be illustrated for discard processing.When it is implemented, user passes through SDN (Software Define
Network, software defined network) framework application layer carry out using setting, set content is the number for being 10.0.0.1 to source IP
It is abandoned according to packet in daily 19:00-22:00.After controller obtains application message by northbound interface, OFPT_ is generated
FLOW_MOD message, specific OFPT_FLOW_MOD message format is as as-shown-in figures 10 a and 10b, wherein Figure 10 a shows IP
The form schematic diagram in address matching domain, Figure 10 b show mating structure body (period forwarding) schematic diagram.Interchanger is according to receiving
OFPT_FLOW_MOD message generate corresponding flow table, and then according to the flow table of generation for meeting the data packet of condition every
It 19:00-22:00 carries out discard processing.
It should be noted that for ease of description, with OFPT_FLOW_ in OpenFlow1.3 version in the embodiment of the present invention
It is illustrated for the format of MOD message, when it is implemented, OFPT_FLOW_MOD extension of message provided in an embodiment of the present invention
Method can be applied in the OpenFlow message format of other versions.
Data forwarding controlling method provided in an embodiment of the present invention carries periodic network by configuring in message in flow table
Act execute configuration information, allow interchanger according to the configuration information generate cyclical action execute flow table and according to
The flow table of generation executes corresponding network action, it is thus achieved that automatically configuring to periodic network movement or behavior, ensure that
The execution accuracy of periodic network movement;Moreover, because frequent interactive instruction is not necessarily between controller and interchanger, therefore,
The resource overhead of controller and interchanger is saved.
Correspondingly, the embodiment of the invention also provides the data forwarding controlling method that a kind of controller side is implemented, such as Figure 11
It is shown, it may comprise steps of:
S111, the configuration information that periodic network movement executes is obtained.
When it is implemented, the configuration information that periodic network movement executes can be obtained according to the configuration of user, it can also be with
Determine that certain network actions need periodically to execute etc. according to analysis is carried out to the data of collection, the embodiment of the present invention to this not
It is defined.Based on this, in step S11, can be executed according to following either type:
The configuration information that mode one, the periodic network movement for obtaining human configuration execute.
Mode two, the network information and/or flow information according to acquisition, the periodic network determined using preset algorithm
Act the configuration information executed.
Wherein, the configuration information includes at least one of the following: the frequency of the periodic network movement execution, the net
Network acts Starting Executing Time and duration within each period.
S112, flow table configuration message is generated according to the configuration information.
Optionally, the flow table configuration message includes OFPT_FLOW_MOD message.By to OFPT_FLOW_MOD message
Be extended, make it includes periodic network act execute configuration information.It include using in the i.e. described OFPT_FLOW_MOD message
In indicate Starting Executing Time within each period of frequency, the network action that periodic network movement executes and it is lasting when
Long message field.
S113, the flow table configuration message generated is sent to opposite end network element.
When it is implemented, can determine the opposite end network element for needing to send flow table configuration message: side according to following either method
Method one sends the flow table configuration message generated to the opposite end network element of user configuration.In this embodiment, that is, need to those nets
It is that user is pre-configured that member, which sends flow table configuration information,.Method two, the network information and/or flow information according to acquisition,
Determine to need the opposite end network element of transmitted traffic configuration information using preset algorithm.
Data forwarding controlling method, device, system, medium and calculating equipment provided in an embodiment of the present invention, by flowing
Table configures and carries the configuration information that periodic network movement executes in message, allows respective network elements raw according to the configuration information
At the flow table of cyclical action execution and corresponding network action is executed according to the flow table of generation, it is thus achieved that periodical net
Network movement or behavior automatically configure, and ensure that the execution accuracy of periodic network movement;Moreover, because nothing between two network elements
Frequent interactive instruction is needed therefore to save the resource overhead of each network element in network.
Based on the same inventive concept, a kind of data forwarding control device, system, medium are additionally provided in the embodiment of the present invention
With calculate equipment, since the principle that above-mentioned apparatus, system and equipment solve the problems, such as is similar to data forwarding controlling method, on
The implementation for stating device, system and equipment may refer to the implementation of method, and overlaps will not be repeated.
It as figure 12 a shows, is the structural schematic diagram of the first data forwarding control device provided in an embodiment of the present invention,
Include:
It is dynamic to carry periodic network for receiving flow table configuration message, in the flow table configuration message for receiving unit 121
Make the configuration information executed;
Flow table generation unit 122, for generating corresponding flow table according to the configuration information;
Execution unit 123, for executing the flow table generated.
Preferably, the configuration information includes at least one of the following: frequency that periodic network movement executes, described
Starting Executing Time and duration of the network action within each period.
Preferably, the execution unit, specifically for the frequency executed according to periodic network movement and the net
Starting Executing Time of the network movement within each period determines all time points for meeting condition;At each time point determined
When arrival, the network action is executed in corresponding duration according to the duration.
Preferably, the flow table configuration message includes OFPT_FLOW_MOD message.
It preferably, include being used to indicate frequency, the institute that periodic network movement executes in the OFPT_FLOW_MOD message
State the message field of Starting Executing Time and duration of the network action within each period.
It as shown in Figure 12b, is the structural schematic diagram of second of data forwarding control device provided in an embodiment of the present invention,
May include:
Obtaining unit 1211, the configuration information executed for obtaining periodic network movement;
Generation unit 1212 configures message for generating flow table according to the configuration information;
Transmission unit 1213 configures message for sending the flow table generated to opposite end network element.
Wherein, the configuration information includes at least one of the following: the frequency of the periodic network movement execution, the net
Network acts Starting Executing Time and duration within each period.
Preferably, the flow table configuration message includes OFPT_FLOW_MOD message.
It preferably, include being used to indicate frequency, the institute that periodic network movement executes in the OFPT_FLOW_MOD message
State the message field of Starting Executing Time and duration of the network action within each period.
Preferably, the obtaining unit, what the periodic network movement specifically for obtaining human configuration executed matches confidence
Breath;Or the network information and/or flow information according to acquisition, the periodic network movement determined using preset algorithm are executed
Configuration information.
For convenience of description, above each section is divided by function describes respectively for each module (or unit).Certainly, exist
Implement to realize the function of each module (or unit) in same or multiple softwares or hardware when the present invention.
It as shown in figure 13, is the structural schematic diagram of data transmission control system provided in an embodiment of the present invention, including the
One network element 131 and at least one second network element 132, in which:
First network element 131, the configuration information executed for obtaining periodic network movement;According to the configuration information
It generates flow table and configures message;And send the flow table generated to second network element 132 and configure message, the flow table configures in message
Carry the configuration information that periodic network movement executes;
Second network element 132, for generating corresponding flow table according to the flow table configuration message received and periodically holding
The periodic network movement for including in row flow table configuration message.
Preferably, the configuration information includes at least one of the following: frequency that periodic network movement executes, described
Starting Executing Time and duration of the network action within each period.
Preferably, second network element 132, specifically for the frequency and described executed according to periodic network movement
Starting Executing Time of the network action within each period determines all time points for meeting condition;In each time determined
When point reaches, the network action is executed in corresponding duration according to the duration.
Preferably, first network element, what the periodic network movement specifically for obtaining human configuration executed matches confidence
Breath;Or the network information and/or flow information according to acquisition, the periodic network movement determined using preset algorithm are executed
Configuration information.
Preferably, the flow table configuration message includes OFPT_FLOW_MOD message.
It preferably, include being used to indicate frequency, the institute that periodic network movement executes in the OFPT_FLOW_MOD message
State the message field of Starting Executing Time and duration of the network action within each period.
Data forwarding controlling method, device, system, medium and calculating equipment provided in an embodiment of the present invention, by flowing
Table configures and carries the configuration information that periodic network movement executes in message, allows respective network elements raw according to the configuration information
At the flow table of cyclical action execution and corresponding network action is executed according to the flow table of generation, it is thus achieved that periodical net
Network movement or behavior automatically configure, and ensure that the execution accuracy of periodic network movement;Moreover, because nothing between two network elements
Frequent interactive instruction is needed therefore to save the resource overhead of each network element in network.
After the data forwarding controlling method and device for describing exemplary embodiment of the invention, next, introducing
The data forwarding control device of another exemplary embodiment according to the present invention.
Person of ordinary skill in the field it is understood that various aspects of the invention can be implemented as system, method or
Program product.Therefore, various aspects of the invention can be embodied in the following forms, it may be assumed that complete hardware embodiment, complete
The embodiment combined in terms of full Software Implementation (including firmware, microcode etc.) or hardware and software, can unite here
Referred to as circuit, " module " or " system ".
In some possible embodiments, data forwarding control device according to the present invention can include at least at least one
A processing unit and at least one storage unit.Wherein, the storage unit is stored with program code, when described program generation
When code is executed by the processing unit, so that the processing unit executes examples various according to the present invention described in this specification
Step in the data forwarding controlling method of property embodiment.For example, the processing unit can execute step as shown in Figure 2
Rapid S21, the flow table configuration message that the first network element is sent is received, carries periodic network movement in the flow table configuration message and holds
Capable configuration information;Step S22, corresponding flow table is generated according to the configuration information and periodically executed;Alternatively, the processing
Unit can execute step S111 as shown in Figure 11, obtain the configuration information that periodic network movement executes;Step S112,
Flow table, which is generated, according to the configuration information configures message;And step S113, to opposite end network element send generate flow table configuration disappear
Breath.
The data forwarding control device 140 of this embodiment according to the present invention is described referring to Figure 14.Figure 14
The data forwarding control device 140 of display is only an example, should not function and use scope band to the embodiment of the present invention
Carry out any restrictions.
As shown in figure 14, data forwarding control device 140 is showed in the form of universal computing device.Data forwarding control dress
Setting 140 component can include but is not limited to: at least one above-mentioned processing unit 141, at least one above-mentioned storage unit 142,
Connect the bus 143 of different system components (including storage unit 142 and processing unit 141).
Bus 143 indicates one of a few class bus structures or a variety of, including the first net of memory bus or memory
Member, peripheral bus, processor or the local bus using any bus structures in a variety of bus structures.
Storage unit 142 may include the readable medium of form of volatile memory, such as random access memory (RAM)
1421 and/or cache memory 1422, it can further include read-only memory (ROM) 1423.
Storage unit 142 can also include program/utility with one group of (at least one) program module 1424
1425, such program module 1424 includes but is not limited to: operating system, one or more application program, other program moulds
It may include the realization of network environment in block and program data, each of these examples or certain combination.
Data forwarding control device 140 can also be with one or more external equipments 144 (such as keyboard, sensing equipment etc.)
Communication can also enable a user to the equipment interacted with data forwarding control device 140 with one or more and communicate, and/or with
Any equipment (such as road that the data forwarding control device 140 is communicated with one or more of the other calculating equipment
By device, modem etc.) communication.This communication can be carried out by input/output (I/O) interface 145.Also, data
Forwarding controller 140 can also pass through network adapter 146 and one or more network (such as local area network (LAN), wide area
Net (WAN) and/or public network, such as internet) communication.As shown, network adapter 146 passes through bus 143 and data
Other modules of forwarding controller 140 communicate.It will be appreciated that though being not shown in the figure, control dress can be forwarded with combined data
It sets 140 and uses other hardware and/or software modules, including but not limited to: microcode, device driver, redundant processing unit, outer
Portion's disk drive array, RAID system, tape drive and data backup storage system etc..
In some possible embodiments, the various aspects of data forwarding controlling method provided by the invention can also be real
It is now a kind of form of program product comprising program code, it is described when described program product is run on a computing device
Program code is for making the computer equipment execute illustrative embodiments various according to the present invention described in this specification
Customer attribute information method for digging in step, for example, the computer equipment can execute step as shown in Figure 2
S21, flow table configuration message is received, the configuration information that periodic network movement executes is carried in the flow table configuration message;Step
Rapid S22, corresponding flow table is generated according to the configuration information and is periodically executed;Alternatively, the processing unit can execute such as
Step S111 shown in Figure 11, the configuration information that periodic network movement executes is obtained;Step S112, match confidence according to described
Breath generates flow table and configures message;And step S113, the flow table configuration message to the transmission generation of opposite end network element.
Described program product can be using any combination of one or more readable mediums.Readable medium can be readable letter
Number medium or readable storage medium storing program for executing.Readable storage medium storing program for executing for example may be-but not limited to-electricity, magnetic, optical, electromagnetic, red
The system of outside line or semiconductor, device or device, or any above combination.The more specific example of readable storage medium storing program for executing
(non exhaustive list) includes: the electrical connection with one or more conducting wires, portable disc, hard disk, random access memory
(RAM), read-only memory (ROM), erasable programmable read only memory (EPROM or flash memory), optical fiber, portable compact disc
Read memory (CD-ROM), light storage device, magnetic memory device or above-mentioned any appropriate combination.
The program product for data forwarding control of embodiment according to the present invention, can use Portable, compact
Disk read-only memory (CD-ROM) and including program code, and can be run on server apparatus.However, program of the invention
Product is without being limited thereto, and in this document, readable storage medium storing program for executing can be any tangible medium for including or store program, the program
Execution system, device or device use or in connection can be commanded.
Readable signal medium may include in a base band or as the data-signal that carrier wave a part is propagated, wherein carrying
Readable program code.The data-signal of this propagation can take various forms, including --- but being not limited to --- electromagnetism letter
Number, optical signal or above-mentioned any appropriate combination.Readable signal medium can also be other than readable storage medium storing program for executing it is any can
Read medium, the readable medium can send, propagate or transmit for by instruction execution system, device or device use or
Program in connection.
The program code for including on readable medium can transmit with any suitable medium, including --- but being not limited to ---
Wirelessly, wired, optical cable, RF etc. or above-mentioned any appropriate combination.
The program for executing operation of the present invention can be write with any combination of one or more programming languages
Code, described program design language include object oriented program language-Java, C++ etc., further include conventional
Procedural programming language-such as " C " language or similar programming language.Program code can be fully in user
It calculates and executes in equipment, partly executes on a user device, being executed as an independent software package, partially in user's calculating
Upper side point is executed on a remote computing or is executed in remote computing device or server completely.It is being related to far
Journey calculates in the situation of equipment, and remote computing device can pass through the network of any kind --- including local area network (LAN) or extensively
Domain net (WAN)-be connected to user calculating equipment, or, it may be connected to external computing device (such as utilize Internet service
Provider is connected by internet).
It should be noted that although being referred to several units or son list of data forwarding control device in the above detailed description
Member, but this division is only not enforceable.In fact, embodiment according to the present invention, above-described two or
The feature and function of more devices can embody in one apparatus.Conversely, the feature and function of an above-described device
It can be able to be to be embodied by multiple devices with further division.
In addition, although describing the operation of the method for the present invention in the accompanying drawings with particular order, this do not require that or
Hint must execute these operations in this particular order, or have to carry out shown in whole operation be just able to achieve it is desired
As a result.Additionally or alternatively, it is convenient to omit multiple steps are merged into a step and executed by certain steps, and/or by one
Step is decomposed into execution of multiple steps.
Although detailed description of the preferred embodimentsthe spirit and principles of the present invention are described by reference to several, it should be appreciated that, this
It is not limited to the specific embodiments disclosed for invention, does not also mean that the feature in these aspects cannot to the division of various aspects
Combination is benefited to carry out, this to divide the convenience merely to statement.The present invention is directed to cover appended claims spirit and
Included various modifications and equivalent arrangements in range.
It should be understood by those skilled in the art that, the embodiment of the present invention can provide as method, system or computer program
Product.Therefore, complete hardware embodiment, complete software embodiment or reality combining software and hardware aspects can be used in the present invention
Apply the form of example.Moreover, it wherein includes the computer of computer usable program code that the present invention, which can be used in one or more,
The computer program implemented in usable storage medium (including but not limited to magnetic disk storage, CD-ROM, optical memory etc.) produces
The form of product.
The present invention be referring to according to the method for the embodiment of the present invention, the process of equipment (system) and computer program product
Figure and/or block diagram describe.It should be understood that every one stream in flowchart and/or the block diagram can be realized by computer program instructions
The combination of process and/or box in journey and/or box and flowchart and/or the block diagram.It can provide these computer programs
Instruct the processor of general purpose computer, special purpose computer, Embedded Processor or other programmable data processing devices to produce
A raw machine, so that being generated by the instruction that computer or the processor of other programmable data processing devices execute for real
The device for the function of being specified in present one or more flows of the flowchart and/or one or more blocks of the block diagram.
These computer program instructions, which may also be stored in, is able to guide computer or other programmable data processing devices with spy
Determine in the computer-readable memory that mode works, so that it includes referring to that instruction stored in the computer readable memory, which generates,
Enable the manufacture of device, the command device realize in one box of one or more flows of the flowchart and/or block diagram or
The function of being specified in multiple boxes.
These computer program instructions also can be loaded onto a computer or other programmable data processing device, so that counting
Series of operation steps are executed on calculation machine or other programmable devices to generate computer implemented processing, thus in computer or
The instruction executed on other programmable devices is provided for realizing in one or more flows of the flowchart and/or block diagram one
The step of function of being specified in a box or multiple boxes.
Although preferred embodiments of the present invention have been described, it is created once a person skilled in the art knows basic
Property concept, then additional changes and modifications can be made to these embodiments.So it includes excellent that the following claims are intended to be interpreted as
It selects embodiment and falls into all change and modification of the scope of the invention.
Obviously, various changes and modifications can be made to the invention without departing from essence of the invention by those skilled in the art
Mind and range.In this way, if these modifications and changes of the present invention belongs to the range of the claims in the present invention and its equivalent technologies
Within, then the present invention is also intended to include these modifications and variations.
Claims (20)
1. a kind of data forwarding controlling method characterized by comprising
It receives flow table and configures message, the configuration information that periodic network movement executes is carried in the flow table configuration message;
Corresponding flow table is generated according to the configuration information and is periodically executed.
2. the method as described in claim 1, which is characterized in that the configuration information includes at least one of the following: the period
Property the Starting Executing Time and duration within each period of frequency, the network action that executes of network action.
3. method according to claim 2, which is characterized in that execute the flow table generated according to following below scheme:
Starting Executing Time of the frequency and the network action executed according to periodic network movement within each period
Determine all time points for the condition that meets;
When reaching at each time point determined, the network action is executed in corresponding duration according to the duration.
4. method as claimed in claim 1,2 or 3, which is characterized in that the flow table configuration message includes OFPT_FLOW_MOD
Message.
5. method as claimed in claim 4, which is characterized in that include being used to indicate week in the OFPT_FLOW_MOD message
The message of Starting Executing Time and duration of the frequency, the network action that phase property network action executes within each period
Domain.
6. a kind of data forwarding control device characterized by comprising
Receiving unit carries periodic network movement in the flow table configuration message and executes for receiving flow table configuration message
Configuration information;
Flow table generation unit, for generating corresponding flow table according to the configuration information;
Execution unit, for periodically executing the flow table generated.
7. a kind of data forwarding controlling method characterized by comprising
Obtain the configuration information that periodic network movement executes;
Flow table, which is generated, according to the configuration information configures message;
The flow table generated is sent to opposite end network element configures message.
8. the method for claim 7, which is characterized in that the configuration information includes at least one of the following: the period
Property the Starting Executing Time and duration within each period of frequency, the network action that executes of network action.
9. method as claimed in claim 7 or 8, which is characterized in that the flow table configuration message includes that OFPT_FLOW_MOD disappears
Breath.
10. method as claimed in claim 9, which is characterized in that include being used to indicate week in the OFPT_FLOW_MOD message
The message of Starting Executing Time and duration of the frequency, the network action that phase property network action executes within each period
Domain.
11. the method for claim 7, which is characterized in that obtain the configuration information that periodic network movement executes, specifically
Include:
Obtain the configuration information that the periodic network movement of human configuration executes;Or
According to the network information and/or flow information of acquisition, what the periodic network movement determined using preset algorithm was executed
Configuration information.
12. a kind of data forwarding control device characterized by comprising
Obtaining unit, the configuration information executed for obtaining periodic network movement;
Generation unit configures message for generating flow table according to the configuration information;
Transmission unit configures message for sending the flow table generated to opposite end network element.
13. a kind of data transmission control system, which is characterized in that including the first network element and the second network element, in which:
First network element, the configuration information executed for obtaining periodic network movement;It is generated and is flowed according to the configuration information
Table configures message;And the flow table generated is sent to second network element and configures message;
Second network element for generating corresponding flow table according to the flow table configuration message received, and periodically executes flow table
The periodic network movement for including in configuration message.
14. system as claimed in claim 13, which is characterized in that the configuration information includes at least one of the following: the week
Starting Executing Time and duration of the frequency, the network action that phase property network action executes within each period.
15. system as claimed in claim 14, which is characterized in that
Second network element, specifically for the frequency and the network action according to periodic network movement execution each
Starting Executing Time in period determines all time points for meeting condition;When reaching at each time point determined, according to
The duration executes the network action in corresponding duration.
16. system as claimed in claim 13, which is characterized in that
First network element, the configuration information that the periodic network movement specifically for obtaining human configuration executes;Or according to
The network information and/or flow information of acquisition, the configuration information that the periodic network movement determined using preset algorithm is executed.
17. the system as described in claim 13~16 any claim, which is characterized in that the flow table configures message and includes
OFPT_FLOW_MOD message.
18. system as claimed in claim 17, which is characterized in that include being used to indicate in the OFPT_FLOW_MOD message
Starting Executing Time and duration of the frequency, the network action that periodic network movement executes within each period disappear
Cease domain.
19. a kind of calculating equipment, which is characterized in that including at least one processing unit and at least one storage unit,
In, the storage unit is stored with program code, when said program code is executed by the processing unit, so that the processing
Unit perform claim requires the step of 1~5 or 7~11 any the method.
20. a kind of calculating device-readable storage medium comprising program code, when said program code is run on the computing device
When, said program code is used for the step of making the calculating equipment perform claim require 1~5 or 7~11 any the method.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710508460.9A CN109150729B (en) | 2017-06-28 | 2017-06-28 | Data forwarding control method, device, system, medium and computing equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710508460.9A CN109150729B (en) | 2017-06-28 | 2017-06-28 | Data forwarding control method, device, system, medium and computing equipment |
Publications (2)
Publication Number | Publication Date |
---|---|
CN109150729A true CN109150729A (en) | 2019-01-04 |
CN109150729B CN109150729B (en) | 2021-11-19 |
Family
ID=64803179
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710508460.9A Active CN109150729B (en) | 2017-06-28 | 2017-06-28 | Data forwarding control method, device, system, medium and computing equipment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109150729B (en) |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104579968A (en) * | 2013-10-26 | 2015-04-29 | 华为技术有限公司 | Method of SDN (Software Defined Network) exchanges to obtain precise flow table items, SDN exchange, controller and system |
EP2908464A1 (en) * | 2012-10-11 | 2015-08-19 | ZTE Corporation | Method, system, and controller for routing forwarding |
US20170026313A1 (en) * | 2014-05-16 | 2017-01-26 | Huawei Technologies Co., Ltd. | Data Processing Method and Apparatus for OpenFlow Network |
CN106484499A (en) * | 2015-09-02 | 2017-03-08 | 李涛 | A kind of cloud management platform towards new forms of energy data center extending transversely |
CN106899499A (en) * | 2017-02-10 | 2017-06-27 | 新华三技术有限公司 | A kind of open flows OpenFlow message loops perform method and device |
-
2017
- 2017-06-28 CN CN201710508460.9A patent/CN109150729B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP2908464A1 (en) * | 2012-10-11 | 2015-08-19 | ZTE Corporation | Method, system, and controller for routing forwarding |
CN104579968A (en) * | 2013-10-26 | 2015-04-29 | 华为技术有限公司 | Method of SDN (Software Defined Network) exchanges to obtain precise flow table items, SDN exchange, controller and system |
US20170026313A1 (en) * | 2014-05-16 | 2017-01-26 | Huawei Technologies Co., Ltd. | Data Processing Method and Apparatus for OpenFlow Network |
CN106484499A (en) * | 2015-09-02 | 2017-03-08 | 李涛 | A kind of cloud management platform towards new forms of energy data center extending transversely |
CN106899499A (en) * | 2017-02-10 | 2017-06-27 | 新华三技术有限公司 | A kind of open flows OpenFlow message loops perform method and device |
Also Published As
Publication number | Publication date |
---|---|
CN109150729B (en) | 2021-11-19 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107678790B (en) | Flow calculation method, device and system | |
US11563672B2 (en) | Financial network | |
Kiran et al. | Enabling intent to configure scientific networks for high performance demands | |
CN109561171A (en) | The configuration method and device of virtual private cloud service | |
WO2020164229A1 (en) | Network topology abstraction method and system of flexible ethernet for sdn controller | |
CN109088820A (en) | A kind of striding equipment link aggregation method, device, computing device and storage medium | |
CN108900981A (en) | Transmission method, the apparatus and system of Bluetooth audio frequency data | |
CN109714408B (en) | Semantic industrial network service interface system based on Handle identification | |
CN108984542A (en) | Distribution type data collection method and system | |
CN106155264B (en) | Manage the computer approach and computer system of the power consumption of storage subsystem | |
CN110166507A (en) | More resource regulating methods and device | |
US11172018B2 (en) | Method and apparatus for controlling traffic | |
CN113765825B (en) | Planning method and system architecture for chained service flow scheduling | |
CN107483284A (en) | The method of testing and device of the network equipment | |
CN110480633A (en) | A kind of method, apparatus and storage medium controlling equipment | |
CN109076027B (en) | Network service request | |
CN109150729A (en) | A kind of data forwarding controlling method, device, system, medium and calculate equipment | |
CN109672594A (en) | IPoE message processing method, device and Broadband Remote Access Server | |
Sonkoly et al. | FERO: Fast and efficient resource orchestrator for a data plane built on Docker and DPDK | |
CN102845042A (en) | System and method for aggregating bandwidth of multiple active physical interfaces on application layer | |
JP2023088289A (en) | Computer-implemented method for building decision tree in machine learning, computer program product including computer-readable storage medium implemented therein with program instructions, and system (for performance improvement of classification and regression trees through dimensionality reduction) | |
KR101729945B1 (en) | Method for supporting multi tunant by network system based on sdn | |
CN112507676A (en) | Energy report generation method and device, electronic equipment and computer readable medium | |
CN105553811A (en) | Network service realization method based on multi-VTN combination in SDN architecture | |
Turkmanović et al. | Simulation framework for performance analysis in multi-tier IoT Systems |
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 |