CN107404435A - A kind of method and apparatus of management group list item - Google Patents

A kind of method and apparatus of management group list item Download PDF

Info

Publication number
CN107404435A
CN107404435A CN201610338234.6A CN201610338234A CN107404435A CN 107404435 A CN107404435 A CN 107404435A CN 201610338234 A CN201610338234 A CN 201610338234A CN 107404435 A CN107404435 A CN 107404435A
Authority
CN
China
Prior art keywords
group
counting statistics
list item
desc
openflow
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
CN201610338234.6A
Other languages
Chinese (zh)
Other versions
CN107404435B (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.)
ZTE Corp
Original Assignee
ZTE Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by ZTE Corp filed Critical ZTE Corp
Priority to CN201610338234.6A priority Critical patent/CN107404435B/en
Priority to PCT/CN2017/077805 priority patent/WO2017197977A1/en
Publication of CN107404435A publication Critical patent/CN107404435A/en
Application granted granted Critical
Publication of CN107404435B publication Critical patent/CN107404435B/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
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/54Organization of routing tables
    • 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

Abstract

A kind of method and apparatus of management group list item, including:Open flows OpenFlow controllers send modification group table OFPT_GROUP_MOD message to OpenFlow interchangers;Wherein, OFPT_GROUP_MOD message includes indicating whether the first mark for opening counting statistics function.

Description

A kind of method and apparatus of management group list item
Technical field
Present document relates to but be not limited to the communication technology, espespecially a kind of method and apparatus of management group list item.
Background technology
With software defined network (SDN, Software Defined Network) concept proposition and its The development of application, open flows (OpenFlow) technology as SDN core technologies are in quick hair In the exhibition stage, applied more and more currently with the OpenFlow networks of OpenFlow technology buildings In the production and living of reality.OpenFlow networks are using control plane and Forwarding plane (Forwarding plane Be referred to as datum plane or user plane) be separated framework.Fig. 1 is the OpenFlow of correlation technique The schematic diagram of networking component framework.As shown in figure 1, OpenFlow network-based control planes are by OpenFlow Controller realizes that OpenFlow controllers are a kind of equipment for possessing powerful calculating ability, specifically set Standby form can be PC, server or server cluster etc., the Forwarding plane of OpenFlow networks Realized by OpenFlow interchangers (i.e. physical switches), OpenFlow interchangers are that one kind possesses The equipment of powerful exchange capacity, specific equipment form are equipped with multiple network ports, based on flow table (Flow Table) and group table carry out Message processing and the network element device of forwarding.OpenFlow controllers with Interface between OpenFlow interchangers uses OpenFlow agreements, and the interface is also referred to as OpenFlow Passage (OpenFlow Channel).
Wherein, OpenFlow agreements are for describing OpenFlow controllers and OpenFlow interchangers Between information used in interaction standard, and the interface of OpenFlow controllers and OpenFlow interchangers Standard.
Group table includes one or more group list items, and each group list item includes several shown in table 1.
Table 1
Wherein, Group Identifier represent that a group list item is unique in OpenFlow logical switch Index;The type of Group Type expression group list items;Counters represents statistical counter;Action The behavior bucket that Buckets expression groups list item carries.
OpenFlow protocol specification requirements at present, for Flow Table, stream entity (Flow Entry), Port (Port), queue (Queue), group (Group), group bucket (Group Bucket), metering (meter), metering band (meter band) has been required for corresponding statistical counter.OpenFlow is assisted There is corresponding control strategy to above-mentioned most counter in view specification.Pass through for example, flow table is available In modification flow table (Flow mod) message that OpenFlow controllers are sent to OpenFlow interchangers Whether mark (flag) field opens the counting statistics function of flow table item to set, and meter tables can pass through Flag fields in the meter mod message that OpenFlow controllers are sent to OpenFlow interchangers are come Whether setting opens meter meter number statistical functions.It is but not clear and definite in OpenFlow protocol specifications The counting statistics function of defining how control group list item.So OpenFlow controllers give tacit consent to all groups List item all supports statistical function, so as to need OpenFlow interchangers to distribute meter for each group list item Number device resource, this is a kind of waste of resource for OpenFlow interchangers, actually if counted Device resource consumption is excessive, and certain influence is will also result in other business for having normal counting statistics demand.
The content of the invention
The embodiment of the present invention proposes a kind of method and apparatus of management group list item, being capable of flexible control group table The use of item count device resource, so as to save the counter resources of OpenFlow interchangers.
The embodiment of the present invention proposes a kind of method of management group list item, including:
Open flows OpenFlow controllers send modification group table to OpenFlow interchangers OFPT_GROUP_MOD message;Wherein, OFPT_GROUP_MOD message, which includes expression, is No the first mark for opening counting statistics function.
Optionally,
Described first, which is identified as expression, closes counting statistics function;Also include before this method:
The OpenFlow controllers know that the group list item in the OFPT_GROUP_MOD message is worked as Before have turned on counting statistics function;
Or described first be identified as expression open counting statistics function;Also include before this method:
The group list item that the OpenFlow controllers are obtained in the OFPT_GROUP_MOD message is worked as Before be turned off counting statistics function.
Optionally, the OpenFlow controllers know the group table in OFPT_GROUP_MOD message Whether item, which currently has turned on counting statistics function, includes:
The OpenFlow controllers send the description of multi-section grouping sheet to the OpenFlow interchangers OFPMP_GROUP_DESC multipart request messages;
The OpenFlow controllers are received from the OpenFlow interchangers OFPMP_GROUP_DESC multipart response messages;Wherein, it is described OFPMP_GROUP_DESC multipart message is included described in expression Whether the group list item in OFPMP_GROUP_DESC multipart request messages currently has turned on counting Second mark of statistical function.
The embodiment of the present invention also proposed a kind of method of management group list item, including:
Open flows OpenFlow interchangers receive the modification group table of OpenFlow controllers OFPT_GROUP_MOD message;Wherein, OFPT_GROUP_MOD message, which includes expression, is No the first mark for opening counting statistics function;
OpenFlow interchangers judge that described first is identified as expression unlatching counting statistics function, open The counting statistics function of group list item in OFPT_GROUP_MOD message;And/or OpenFlow is exchanged Machine judges that first is identified as expression closing counting statistics function, closes OFPT_GROUP_MOD and disappears The counting statistics function of group list item in breath.
Optionally, also include before this method:
The OpenFlow interchangers receive the multi-section grouping sheet from the OpenFlow controllers and retouched State OFPMP_GROUP_DESC multipart request messages;
The OpenFlow interchangers are sent to the OpenFlow controllers OFPMP_GROUP_DESC multipart response messages;Wherein, it is described OFPMP_GROUP_DESC multipart response messages are included described in expression Whether the group list item in OFPMP_GROUP_DESC multipart request messages currently has turned on counting Second mark of statistical function;
Wherein, when the OpenFlow interchangers determine the OFPMP_GROUP_DESC When group list item in multipart request messages currently has turned on counting statistics function, described second is identified as Represent that the group list item in the OFPMP_GROUP_DESC multipart request messages currently has turned on Counting statistics function;And/or described in being determined when the OpenFlow interchangers Group list item in OFPMP_GROUP_DESC multipart request messages is currently turned off counting statistics During function, described second, which is identified as the expression OFPMP_GROUP_DESC multipart requests, disappears Group list item in breath is currently turned off counting statistics function.
Optionally, the OpenFlow interchangers judge that described first is identified as expression unlatching counting system After counting function, the counting statistics work(of the group list item in the unlatching OFPT_GROUP_MOD message Can also it include before:
The OpenFlow interchangers judge itself support group meter number statistical power, and described Group list item in OFPT_GROUP_MOD message is currently turned off counting statistics function;
Or the OpenFlow interchangers judge that first is identified as expression closing counting statistics function Afterwards, before the counting statistics function of the group list item in the closing OFPT_GROUP_MOD message Also include:
The OpenFlow interchangers judge the group list item in the OFPT_GROUP_MOD message Currently have turned on counting statistics function.
Optionally, when the OpenFlow interchangers are judged itself not supporting a group meter number statistical power When, this method also includes:
The OpenFlow interchangers send wrong ERROR message to the OpenFlow controllers.
Optionally, including:
Sending module, for sending modification group table OFPT_GROUP_MOD to OpenFlow interchangers Message;Wherein, OFPT_GROUP_MOD message includes indicating whether to open counting statistics function First mark.
Optionally, in addition to:
Module is known, for when described first is identified as expression and closes counting statistics function, knowing described Group list item in OFPT_GROUP_MOD message currently has turned on counting statistics function;Or work as institute State first be identified as expression open counting statistics function when, obtain the OFPT_GROUP_MOD and disappear Group list item in breath is currently turned off counting statistics function.
Optionally, it is described to know that module is specifically used for:
When described first, which is identified as expression, closes counting statistics function, to the OpenFlow interchangers Send multi-section grouping sheet and describe OFPMP_GROUP_DESC multipart request messages;Receive and From the OFPMP_GROUP_DESC multipart response messages of the OpenFlow interchangers;Wherein, The OFPMP_GROUP_DESC multipart message is included described in expression Group list item in OFPMP_GROUP_DESC multipart request messages currently has turned on counting statistics Second mark of function;Or when described first is identified as expression and opens counting statistics function, to institute State OpenFlow interchangers and send OFPMP_GROUP_DESC multipart request messages;Receive OFPMP_GROUP_DESC multipart response messages from the OpenFlow interchangers;Its In, the OFPMP_GROUP_DESC multipart message is included described in expression Group list item in OFPMP_GROUP_DESC multipart request messages is currently turned off counting statistics Second mark of function.
The embodiment of the present invention also proposed a kind of open flows OpenFlow interchangers, including:
Receiving module, for receiving the modification group table of OpenFlow controllers OFPT_GROUP_MOD message;Wherein, OFPT_GROUP_MOD message, which includes expression, is No the first mark for opening counting statistics function;
Processing module, for judging that described first is identified as expression unlatching counting statistics function, open The counting statistics function of group list item in OFPT_GROUP_MOD message;And/or judge the first mark Know and close counting statistics function for expression, the group list item closed in OFPT_GROUP_MOD message Counting statistics function.
Optionally, the receiving module is additionally operable to:
Receive the multi-section grouping sheet description from the OpenFlow controllers OFPMP_GROUP_DESC multipart request messages;
The processing module is additionally operable to:
OFPMP_GROUP_DESC multipart responses are sent to the OpenFlow controllers to disappear Breath;Wherein, the OFPMP_GROUP_DESC multipart response messages are included described in expression Whether the group list item in OFPMP_GROUP_DESC multipart request messages currently has turned on counting Second mark of statistical function;
Wherein, when determining the group in the OFPMP_GROUP_DESC multipart request messages When list item currently has turned on counting statistics function, described second is identified as described in expression Group list item in OFPMP_GROUP_DESC multipart request messages currently has turned on counting statistics Function;And/or when determining in the OFPMP_GROUP_DESC multipart request messages When group list item is currently turned off counting statistics function, described second is identified as described in expression Group list item in OFPMP_GROUP_DESC multipart request messages is currently turned off counting statistics Function.
Optionally, the processing module is specifically used for:
Judge that described first is identified as expression unlatching counting statistics function, judge itself support group meter Number statistical power, and the group list item in the OFPT_GROUP_MOD message is currently turned off counting Statistical function, open the counting statistics function of the group list item in OFPT_GROUP_MOD message;With/ Or judge that first is identified as expression closing counting statistics function, judge described Group list item in OFPT_GROUP_MOD message currently has turned on counting statistics function, closes The counting statistics function of group list item in OFPT_GROUP_MOD message.
Optionally, the processing module is additionally operable to:
Judge itself not supporting a group meter number statistical power, sent to the OpenFlow controllers wrong ERROR message by mistake.
Compared with correlation technique, the technical scheme of the embodiment of the present invention includes:Open flows OpenFlow is controlled Device processed sends modification group table (OFPT_GROUP_MOD) message to OpenFlow interchangers;Wherein, OFPT_GROUP_MOD message includes indicating whether the first mark for opening counting statistics function.It is logical The scheme of the embodiment of the present invention is crossed, is sent in OpenFlow controllers to OpenFlow interchangers OFPT_GROUP_MOD message includes identifying whether the first mark for opening counting statistics function, from And control OpenFlow interchangers whether the counting statistics function of unlatching group list item, flexibly control a group table The use of item count device resource, so as to save the counter resources of OpenFlow interchangers.
Brief description of the drawings
The accompanying drawing in the embodiment of the present invention is illustrated below, the accompanying drawing in embodiment is used for this hair Bright further understands, and is used to explain the present invention together with specification, does not form and protect model to the present invention The limitation enclosed.
Fig. 1 is the schematic diagram of the OpenFlow networking component frameworks of correlation technique;
Fig. 2 is the flow chart of the method for management group list item of the embodiment of the present invention;
Fig. 3 is the flow chart of the method for another kind management group list item of the embodiment of the present invention;
Fig. 4 is the structure composition schematic diagram of OpenFlow controllers of the embodiment of the present invention;
Fig. 5 is the structure composition schematic diagram of OpenFlow interchangers of the embodiment of the present invention.
Embodiment
For the ease of the understanding of those skilled in the art, present invention work is further retouched below in conjunction with the accompanying drawings State, can not be used for limiting the scope of the invention.It should be noted that in the case where not conflicting, The various modes in embodiment and embodiment in the application can be mutually combined.
Referring to Fig. 2, the embodiment of the present invention proposes a kind of method of management group list item, including:
Step 200, open flows OpenFlow controllers are sent to OpenFlow interchangers OFPT_GROUP_MOD message.
In this step, OFPT_GROUP_MOD message includes indicating whether to open counting statistics function First mark.For example, when the first mark is arranged to 1, represent to open counting statistics function;When When one mark is arranged to 0, represent to close counting statistics function.
OFPT_GROUP_MOD message also includes group list item mark, the type of group list item, organizes list item Operation (such as add, update or delete), behavior bucket.
In this step, OFPT_GROUP_MOD message is existing message, and the first mark can be existing The field that is newly extended in some OFPT_GROUP_MOD message or existing At least one bit filled up in (pad) reserved field in OFPT_GROUP_MOD message.
For example, the pad reserved fields in OFPT_GROUP_MOD message are revised as into flag, it is used for Represent that first identifies, the OFPT_GROUP_MOD message formats after extension are as follows:
Optionally, also include before this method:
Step 201, OpenFlow controllers know the group list item in OFPT_GROUP_MOD message Currently whether have turned on counting statistics function.
Including:
OpenFlow controllers send the description of multi-section grouping sheet to the OpenFlow interchangers (OFPMP_GROUP_DESC multipart) request message;
OpenFlow controllers are received from OpenFlow interchangers OFPMP_GROUP_DESC multipart response messages;Wherein, OFPMP_GROUP_DESC Multipart message includes representing the group in OFPMP_GROUP_DESC multipart request messages Whether list item currently has turned on the second mark of counting statistics function.
That is, OpenFlow controllers know the group list item in OFPT_GROUP_MOD message When currently having turned on counting statistics function, determined whether to close counting statistics work(according to the strategy pre-set Can, when determining to need to close counting statistics function, sent to OpenFlow interchangers OFPT_GROUP_MOD message;Wherein, OFPT_GROUP_MOD message includes representing to close Close the first mark of counting statistics function.
When determining to close counting statistics function, terminate this flow.
When the group list item that OpenFlow controllers are known in OFPT_GROUP_MOD message has currently closed When closing counting statistics function, determined whether to open counting statistics function according to the strategy pre-set, when true Make need open counting statistics function when, to OpenFlow interchangers send OFPT_GROUP_MOD message;Wherein, OFPT_GROUP_MOD message includes expression and opened Open the first mark of counting statistics function.
When determining to open counting statistics function, terminate this flow.
Or OpenFlow controllers determine whether to open counting statistics work(according to the strategy pre-set Can, when determining to need to open counting statistics function, sent to OpenFlow interchangers OFPT_GROUP_MOD message;Wherein, OFPT_GROUP_MOD message includes expression and opened Open the first mark of counting statistics function.
When determining to open counting statistics function, sent to OpenFlow interchangers OFPT_GROUP_MOD message;Wherein, OFPT_GROUP_MOD message includes representing to close Close the first mark of counting statistics function.
Referring to Fig. 3, the embodiment of the present invention also proposes a kind of method of management group list item, including:
Step 300, open flows OpenFlow interchangers receive OpenFlow controllers OFPT_GROUP_MOD message.
In this step, OFPT_GROUP_MOD message includes indicating whether to open counting statistics function First mark.
Step 301, OpenFlow interchangers judge that described first is identified as expression unlatching counting statistics work( Can, open the counting statistics function of organizing list item in OFPT_GROUP_MOD message;And/or OpenFlow interchangers judge that first is identified as expression closing counting statistics function, close The counting statistics function of group list item in OFPT_GROUP_MOD message.
Optionally, also include before this method:
OpenFlow interchangers are received from OpenFlow controllers OFPMP_GROUP_DESC multipart request messages;OpenFlow interchangers are to OpenFlow Controller sends OFPMP_GROUP_DESC multipart response messages;Wherein, OFPMP_GROUP_DESC multipart response messages include representing OFPMP_GROUP_DESC Whether the group list item in multipart request messages currently has turned on the second mark of counting statistics function;
Wherein, when OpenFlow interchangers determine that OFPMP_GROUP_DESC multipart are asked When group list item in message has turned on counting statistics function, second is identified as expression Group list item in OFPMP_GROUP_DESC multipart request messages has turned on counting statistics function; And/or when OpenFlow interchangers determine that OFPMP_GROUP_DESC multipart requests disappear When group list item in breath is currently turned off counting statistics function, second is identified as expression Group list item in OFPMP_GROUP_DESC multipart request messages is currently turned off counting statistics Function.
In this step, OFPMP_GROUP_DESC multipart response messages are existing message, the Two marks can newly extend in existing OFPMP_GROUP_DESC multipart response messages Filling up in field or existing OFPMP_GROUP_DESC multipart response messages (pad) at least one bit in reserved field.
For example, by the pad reserved fields in OFPMP_GROUP_DESC multipart response messages Flag is revised as, the OFPMP_GROUP_DESC multipart response message formats after extension are as follows:
OFP_ASSERT (sizeof (struct ofp_group_desc_stats)==8);Removed in expression group list item Length outside behavior bucket.
Wherein, flag field definitions are as follows;
enum ofp_group_flags{
OFPGF_STATS=1<<0, the/* the second mark */
};
First bit for representing to take pad reserved fields is the second mark.
Optionally, OpenFlow interchangers judge that described first is identified as expression unlatching counting statistics function Afterwards, also wrapped before the counting statistics function of the group list item in opening OFPT_GROUP_MOD message Include:
OpenFlow interchangers judge itself support group meter number statistical power, and Group list item in OFPT_GROUP_MOD message is currently turned off counting statistics function.
Optionally, when OpenFlow interchangers judge itself not support group meter number statistical power, Wrong (ERROR) message is sent to OpenFlow controllers, type of error fails for modification group table (OFPET_GROUP_MOD_FAILED), error code is the value newly defined, such as organizes meter number Device resource overflows (OFPGMFC_COUNTER_OVERFLOW).
Optionally, when OpenFlow interchangers judge itself support group meter number statistical power, and When group list item in OFPT_GROUP_MOD message currently has turned on counting statistics function, terminate this stream Journey.
OpenFlow interchangers can distribute to the counter resources of group list item to judge itself according to itself Whether support group meter number statistical power, when exist itself distribute to group list item counter resources when, sentence Break and itself support group meter number statistical power, when the counter resources for itself distributing to group list item have been used up When, judge itself not supporting a group meter number statistical power.
Optionally, OpenFlow interchangers judge first be identified as expression close counting statistics function after, Also include before the counting statistics function of the group list item in closing OFPT_GROUP_MOD message:
OpenFlow interchangers judge that the group list item in OFPT_GROUP_MOD message has currently been opened Open counting statistics function.
Optionally, the group table in OFPT_GROUP_MOD message is judged when OpenFlow interchangers When item is currently turned off counting statistics function, terminate this flow.
Referring to Fig. 4, the embodiment of the present invention also proposed open flows OpenFlow controllers, including:
Sending module, for sending OFPT_GROUP_MOD message to OpenFlow interchangers;Its In, OFPT_GROUP_MOD message includes indicating whether the first mark for opening counting statistics function Know.
In the OpenFlow controllers of the embodiment of the present invention, in addition to:
Module is known, for when first is identified as expression and closes counting statistics function, knowing Group list item in OFPT_GROUP_MOD message currently has turned on counting statistics function;Or when One be identified as expression open counting statistics function when, obtain OFPT_GROUP_MOD message in group List item is currently turned off counting statistics function.
In the OpenFlow controllers of the embodiment of the present invention, know that module is specifically used for:
When first, which is identified as expression, closes counting statistics function, sent to OpenFlow interchangers OFPMP_GROUP_DESC multipart request messages;Receive from OpenFlow interchangers OFPMP_GROUP_DESC multipart response messages;Wherein, OFPMP_GROUP_DESC Multipart message includes representing the group in OFPMP_GROUP_DESC multipart request messages List item currently has turned on the second mark of counting statistics function;Or when first be identified as expression open meter During number statistical function, OFPMP_GROUP_DESC multipart are sent to OpenFlow interchangers Request message;Receive the OFPMP_GROUP_DESC multipart from OpenFlow interchangers Response message;Wherein, OFPMP_GROUP_DESC multipart message includes representing Group list item in OFPMP_GROUP_DESC multipart request messages is currently turned off counting statistics Second mark of function.
Referring to Fig. 5, the embodiment of the present invention also proposed a kind of open flows OpenFlow interchangers, including:
Receiving module, for receiving the OFPT_GROUP_MOD message of OpenFlow controllers; Wherein, OFPT_GROUP_MOD message includes indicating whether the first mark for opening counting statistics function Know;
Processing module, for judging that first is identified as expression unlatching counting statistics function, open The counting statistics function of group list item in OFPT_GROUP_MOD message;And/or judge the first mark Know and close counting statistics function for expression, the group list item closed in OFPT_GROUP_MOD message Counting statistics function.
In the OpenFlow interchangers of the embodiment of the present invention, receiving module is additionally operable to:
The requests of the OFPMP_GROUP_DESC multipart from OpenFlow controllers are received to disappear Breath;
Processing module is additionally operable to:
OFPMP_GROUP_DESC multipart response messages are sent to OpenFlow controllers;Its In, OFPMP_GROUP_DESC multipart response messages include representing Whether the group list item in OFPMP_GROUP_DESC multipart request messages currently has turned on counting Second mark of statistical function;
Wherein, when determining the group list item in OFPMP_GROUP_DESC multipart request messages When currently having turned on counting statistics function, second is identified as expression OFPMP_GROUP_DESC Group list item in multipart request messages currently has turned on counting statistics function;And/or when determining Group list item in OFPMP_GROUP_DESC multipart request messages is currently turned off counting statistics During function, second is identified as the group represented in OFPMP_GROUP_DESC multipart request messages List item is currently turned off counting statistics function.
In the OpenFlow interchangers of the embodiment of the present invention, processing module is specifically used for:
Judge that first is identified as expression unlatching counting statistics function, judge that itself support group meter number is united Meter ability, and the group list item in OFPT_GROUP_MOD message is currently turned off counting statistics function, Open the counting statistics function of the group list item in OFPT_GROUP_MOD message;And/or judge One, which is identified as expression, closes counting statistics function, judges the group in OFPT_GROUP_MOD message List item currently has turned on counting statistics function, the group list item closed in OFPT_GROUP_MOD message Counting statistics function.
In the OpenFlow interchangers of the embodiment of the present invention, processing module is additionally operable to:
Judge itself not supporting a group meter number statistical power, mistake is sent to OpenFlow controllers ERROR message.
It should be understood by those skilled in the art that, embodiments of the invention can be provided as method, system or Computer program product.Therefore, the present invention can use hardware embodiment, software implementation or combine soft The form of the embodiment of part and hardware aspect.Wherein included in one or more moreover, the present invention can use Have computer usable program code computer-usable storage medium (include but is not limited to magnetic disk storage and Optical memory etc.) on the form of computer program product implemented.
The present invention is with reference to method according to embodiments of the present invention, equipment (system) and computer program The flow chart and/or block diagram of product describes.It should be understood that can be by computer program instructions implementation process figure And/or each flow in block diagram and/or square frame and flow in flow chart and/or block diagram and/or The combination of square frame.These computer program instructions can be provided to all-purpose computer, special-purpose computer, insertion Formula processor or the processor of other programmable data processing devices are to produce a machine so that pass through meter The instruction of the computing device of calculation machine or other programmable data processing devices is produced for realizing in flow chart The device for the function of being specified in one flow or multiple flows and/or one square frame of block diagram or multiple square frames.
These computer program instructions, which may be alternatively stored in, can guide computer or other programmable datas to handle and set In the standby computer-readable memory to work in a specific way so that be stored in the computer-readable memory In instruction produce and include the manufacture of command device, command device realization in one flow of flow chart or The function of being specified in one square frame of multiple flows and/or block diagram or multiple square frames.
These computer program instructions can be also loaded into computer or other programmable data processing devices, So that it is computer implemented to produce that series of operation steps is performed on computer or other programmable devices Processing, so as to which the instruction performed on computer or other programmable devices is provided for realizing in flow chart The step of function of being specified in one flow or multiple flows and/or one square frame of block diagram or multiple square frames.
It should be noted that embodiment described above be for only for ease of it will be understood by those skilled in the art that , the protection domain that is not intended to limit the invention, in the premise for the inventive concept for not departing from the present invention Under, any obvious replacement and improvement that those skilled in the art are made to the present invention etc. are at this Within the protection domain of invention.

Claims (14)

  1. A kind of 1. method of management group list item, it is characterised in that including:
    Open flows OpenFlow controllers send modification group table to OpenFlow interchangers OFPT_GROUP_MOD message;Wherein, OFPT_GROUP_MOD message, which includes expression, is No the first mark for opening counting statistics function.
  2. 2. according to the method for claim 1, it is characterised in that
    Described first, which is identified as expression, closes counting statistics function;Also include before this method:
    The OpenFlow controllers know that the group list item in the OFPT_GROUP_MOD message is worked as Before have turned on counting statistics function;
    Or described first be identified as expression open counting statistics function;Also include before this method:
    The group list item that the OpenFlow controllers are obtained in the OFPT_GROUP_MOD message is worked as Before be turned off counting statistics function.
  3. 3. according to the method for claim 2, it is characterised in that the OpenFlow controllers obtain Know whether the group list item in OFPT_GROUP_MOD message currently has turned on counting statistics function and include:
    The OpenFlow controllers send the description of multi-section grouping sheet to the OpenFlow interchangers OFPMP_GROUP_DESC multipart request messages;
    The OpenFlow controllers are received from the OpenFlow interchangers OFPMP_GROUP_DESC multipart response messages;Wherein, it is described OFPMP_GROUP_DESC multipart message is included described in expression Whether the group list item in OFPMP_GROUP_DESC multipart request messages currently has turned on counting Second mark of statistical function.
  4. A kind of 4. method of management group list item, it is characterised in that including:
    Open flows OpenFlow interchangers receive the modification group table of OpenFlow controllers OFPT_GROUP_MOD message;Wherein, OFPT_GROUP_MOD message, which includes expression, is No the first mark for opening counting statistics function;
    OpenFlow interchangers judge that described first is identified as expression unlatching counting statistics function, open The counting statistics function of group list item in OFPT_GROUP_MOD message;And/or OpenFlow is exchanged Machine judges that first is identified as expression closing counting statistics function, closes OFPT_GROUP_MOD and disappears The counting statistics function of group list item in breath.
  5. 5. according to the method for claim 4, it is characterised in that also include before this method:
    The OpenFlow interchangers receive the multi-section grouping sheet from the OpenFlow controllers and retouched State OFPMP_GROUP_DESC multipart request messages;
    The OpenFlow interchangers are sent to the OpenFlow controllers OFPMP_GROUP_DESC multipart response messages;Wherein, it is described OFPMP_GROUP_DESC multipart response messages are included described in expression Whether the group list item in OFPMP_GROUP_DESC multipart request messages currently has turned on counting Second mark of statistical function;
    Wherein, when the OpenFlow interchangers determine the OFPMP_GROUP_DESC When group list item in multipart request messages currently has turned on counting statistics function, described second is identified as Represent that the group list item in the OFPMP_GROUP_DESC multipart request messages currently has turned on Counting statistics function;And/or described in being determined when the OpenFlow interchangers Group list item in OFPMP_GROUP_DESC multipart request messages is currently turned off counting statistics During function, described second, which is identified as the expression OFPMP_GROUP_DESC multipart requests, disappears Group list item in breath is currently turned off counting statistics function.
  6. 6. according to the method for claim 4, it is characterised in that the OpenFlow interchangers are sentenced Break described first be identified as expression open counting statistics function after, in the unlatching Also include before the counting statistics function of group list item in OFPT_GROUP_MOD message:
    The OpenFlow interchangers judge itself support group meter number statistical power, and described Group list item in OFPT_GROUP_MOD message is currently turned off counting statistics function;
    Or the OpenFlow interchangers judge that first is identified as expression closing counting statistics function Afterwards, before the counting statistics function of the group list item in the closing OFPT_GROUP_MOD message Also include:
    The OpenFlow interchangers judge the group list item in the OFPT_GROUP_MOD message Currently have turned on counting statistics function.
  7. 7. according to the method for claim 6, it is characterised in that when the OpenFlow interchangers When judging itself not support group meter number statistical power, this method also includes:
    The OpenFlow interchangers send wrong ERROR message to the OpenFlow controllers.
  8. 8. open flows OpenFlow controllers, it is characterised in that including:
    Sending module, for sending modification group table OFPT_GROUP_MOD to OpenFlow interchangers Message;Wherein, OFPT_GROUP_MOD message includes indicating whether to open counting statistics function First mark.
  9. 9. OpenFlow controllers according to claim 8, it is characterised in that also include:
    Module is known, for when described first is identified as expression and closes counting statistics function, knowing described Group list item in OFPT_GROUP_MOD message currently has turned on counting statistics function;Or work as institute State first be identified as expression open counting statistics function when, obtain the OFPT_GROUP_MOD and disappear Group list item in breath is currently turned off counting statistics function.
  10. 10. OpenFlow controllers according to claim 9, it is characterised in that described to know Module is specifically used for:
    When described first, which is identified as expression, closes counting statistics function, to the OpenFlow interchangers Send multi-section grouping sheet and describe OFPMP_GROUP_DESC multipart request messages;Receive and From the OFPMP_GROUP_DESC multipart response messages of the OpenFlow interchangers;Wherein, The OFPMP_GROUP_DESC multipart message is included described in expression Group list item in OFPMP_GROUP_DESC multipart request messages currently has turned on counting statistics Second mark of function;Or when described first is identified as expression and opens counting statistics function, to institute State OpenFlow interchangers and send OFPMP_GROUP_DESC multipart request messages;Receive OFPMP_GROUP_DESC multipart response messages from the OpenFlow interchangers;Its In, the OFPMP_GROUP_DESC multipart message is included described in expression Group list item in OFPMP_GROUP_DESC multipart request messages is currently turned off counting statistics Second mark of function.
  11. A kind of 11. open flows OpenFlow interchangers, it is characterised in that including:
    Receiving module, for receiving the modification group table of OpenFlow controllers OFPT_GROUP_MOD message;Wherein, OFPT_GROUP_MOD message, which includes expression, is No the first mark for opening counting statistics function;
    Processing module, for judging that described first is identified as expression unlatching counting statistics function, open The counting statistics function of group list item in OFPT_GROUP_MOD message;And/or judge the first mark Know and close counting statistics function for expression, the group list item closed in OFPT_GROUP_MOD message Counting statistics function.
  12. 12. OpenFlow interchangers according to claim 11, it is characterised in that the reception Module is additionally operable to:
    Receive the multi-section grouping sheet description from the OpenFlow controllers OFPMP_GROUP_DESC multipart request messages;
    The processing module is additionally operable to:
    OFPMP_GROUP_DESC multipart responses are sent to the OpenFlow controllers to disappear Breath;Wherein, the OFPMP_GROUP_DESC multipart response messages are included described in expression Whether the group list item in OFPMP_GROUP_DESC multipart request messages currently has turned on counting Second mark of statistical function;
    Wherein, when determining the group in the OFPMP_GROUP_DESC multipart request messages When list item currently has turned on counting statistics function, described second is identified as described in expression Group list item in OFPMP_GROUP_DESC multipart request messages currently has turned on counting statistics Function;And/or when determining in the OFPMP_GROUP_DESC multipart request messages When group list item is currently turned off counting statistics function, described second is identified as described in expression Group list item in OFPMP_GROUP_DESC multipart request messages is currently turned off counting statistics Function.
  13. 13. OpenFlow interchangers according to claim 11, it is characterised in that the processing Module is specifically used for:
    Judge that described first is identified as expression unlatching counting statistics function, judge itself support group meter Number statistical power, and the group list item in the OFPT_GROUP_MOD message is currently turned off counting Statistical function, open the counting statistics function of the group list item in OFPT_GROUP_MOD message;With/ Or judge that first is identified as expression closing counting statistics function, judge described Group list item in OFPT_GROUP_MOD message currently has turned on counting statistics function, closes The counting statistics function of group list item in OFPT_GROUP_MOD message.
  14. 14. OpenFlow interchangers according to claim 13, it is characterised in that the processing Module is additionally operable to:
    Judge itself not supporting a group meter number statistical power, sent to the OpenFlow controllers wrong ERROR message by mistake.
CN201610338234.6A 2016-05-19 2016-05-19 Method and device for managing group table items Active CN107404435B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201610338234.6A CN107404435B (en) 2016-05-19 2016-05-19 Method and device for managing group table items
PCT/CN2017/077805 WO2017197977A1 (en) 2016-05-19 2017-03-23 Method and device for managing group table entry

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610338234.6A CN107404435B (en) 2016-05-19 2016-05-19 Method and device for managing group table items

Publications (2)

Publication Number Publication Date
CN107404435A true CN107404435A (en) 2017-11-28
CN107404435B CN107404435B (en) 2021-10-15

Family

ID=60324769

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610338234.6A Active CN107404435B (en) 2016-05-19 2016-05-19 Method and device for managing group table items

Country Status (2)

Country Link
CN (1) CN107404435B (en)
WO (1) WO2017197977A1 (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2014205812A1 (en) * 2013-06-28 2014-12-31 华为技术有限公司 Method for adding group entry and switch
CN104579722A (en) * 2013-10-11 2015-04-29 中兴通讯股份有限公司 Flow statistics capability negotiation method and apparatus
CN104811403A (en) * 2014-01-27 2015-07-29 中兴通讯股份有限公司 Openflow-based group table processing method and device and group table configuration unit
WO2016012051A1 (en) * 2014-07-25 2016-01-28 Telefonaktiebolaget L M Ericsson (Publ) Packet processing in an openflow switch

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104104520A (en) * 2013-04-10 2014-10-15 华为技术有限公司 Charging method and system based on OPenFlow protocol
CN103491095B (en) * 2013-09-25 2016-07-13 中国联合网络通信集团有限公司 Flow cleaning framework, device and flow lead, flow re-injection method
US10270645B2 (en) * 2014-07-21 2019-04-23 Big Switch Networks, Inc. Systems and methods for handling link aggregation failover with a controller
CN105515793A (en) * 2014-09-23 2016-04-20 中国电信股份有限公司 On-line charging processing method and system, Openflow controller and Openflow switch

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2014205812A1 (en) * 2013-06-28 2014-12-31 华为技术有限公司 Method for adding group entry and switch
CN104579722A (en) * 2013-10-11 2015-04-29 中兴通讯股份有限公司 Flow statistics capability negotiation method and apparatus
CN104811403A (en) * 2014-01-27 2015-07-29 中兴通讯股份有限公司 Openflow-based group table processing method and device and group table configuration unit
WO2016012051A1 (en) * 2014-07-25 2016-01-28 Telefonaktiebolaget L M Ericsson (Publ) Packet processing in an openflow switch

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
OPEN NETWORKING FOUNDATION: "《ONF TS-025》", 26 March 2015 *

Also Published As

Publication number Publication date
WO2017197977A1 (en) 2017-11-23
CN107404435B (en) 2021-10-15

Similar Documents

Publication Publication Date Title
CN109845303B (en) Management method and management unit for network slices
CN104348750B (en) The implementation method and device of QoS in OpenFlow network
CN106209506B (en) A kind of virtualization deep-packet detection flow analysis method and system
CN105791175B (en) The method and apparatus of transfer resource is controlled in software defined network
US11343307B2 (en) Virtual network function (VNF) resource management in a software defined network (SDN)
US10284434B1 (en) Virtual network function (VNF) relocation in a software defined network (SDN)
CN103825954A (en) OpenFlow control method and corresponding insert, platform and network thereof
CN107624230A (en) The method and entity of service availability management
CN108012260B (en) Position change reporting method, equipment and system
CN109474449A (en) A kind of method and device of processing network slice example
Chang et al. Slice orchestration for multi-service disaggregated ultra-dense RANs
CN107819602A (en) Customer flow distribution method and system
CN107094086A (en) A kind of information acquisition method and device
CN103078754B (en) A kind of network data flow statistical method based on attribute bloom filter
CN109600760A (en) Network management, equipment and system
CN107318132A (en) Data distributing method, data distribution method and device in a kind of acquisition system
CN108809752A (en) A kind of adaptive process monitoring method, apparatus of network flow, NPB equipment and medium
CN101860454A (en) Network performance data processing method and device thereof
CN109120539A (en) Method and device for realizing data transmission processing
CN107404435A (en) A kind of method and apparatus of management group list item
CN107483371B (en) A kind of MAC Address management method and business board
CN109257185A (en) A kind of network equipment, service card, logic device and notification information transmission method
CN101958816A (en) High speed core switching equipment testing system and testing method thereof
CN107508730A (en) A kind of data center&#39;s interconnected method and device based on SDN
CN112769923A (en) Method, device and storage medium for monitoring network equipment performance index in big data scene

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