CN103703726B - Method, device and system for controlling data packets - Google Patents

Method, device and system for controlling data packets Download PDF

Info

Publication number
CN103703726B
CN103703726B CN201280000936.3A CN201280000936A CN103703726B CN 103703726 B CN103703726 B CN 103703726B CN 201280000936 A CN201280000936 A CN 201280000936A CN 103703726 B CN103703726 B CN 103703726B
Authority
CN
China
Prior art keywords
flow table
table item
information
switching equipment
data message
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.)
Active
Application number
CN201280000936.3A
Other languages
Chinese (zh)
Other versions
CN103703726A (en
Inventor
周伟
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Publication of CN103703726A publication Critical patent/CN103703726A/en
Application granted granted Critical
Publication of CN103703726B publication Critical patent/CN103703726B/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
    • H04L49/00Packet switching elements
    • H04L49/60Software-defined switches

Abstract

Disclosed are a method, device and system for controlling data packets, relating to the communication field, and solves the problem of the prior art that an OpenFlow switch could control OpenFlow switches or packets only through functions the OpenFlow protocol ordained, while it couldn't realize functions other than the OpenFlow protocol. The method comprises: a controller generates a flow item operation instruction message according to the corresponding relationship between match information and operation information, wherein the flow item operation instruction message contains the match information and the operation information, the operation information contains customed operation instructions and control orders the switch sustained, and the customed operation instructions are used to instruct to execute the control orders; and the controller transmits the flow item operation instruction message to the switch so that the switch could generates flow items, wherein the flow items are used to instuct the switch to execute the control orders for the data packets according to the customed operation instructions when the data packets match the match information. The present invention can be applied to the OpenFlow technical field.

Description

The control method of data message, equipment and system
Technical field
The present invention relates to communication technical field, more particularly to a kind of method of data message, equipment and system.
Background technology
Currently, because network exposes the raising of increasing disadvantage and people to network performance demand, a lot Sophisticated functions is added in the middle of the architecture of switching equipment, for example ospf Open Shortest Path First, abbreviation OSPF) agreement, multicast, Differentiated Services, traffic engineering, fire wall etc..So allow for router etc. Switching equipment is more and more too fat to move, and the space of performance boost is less and less.
A kind of proposition of open flows (abbreviation OpenFlow) technology can solve the problem that above-mentioned existing switching equipment (such as switch Or router etc.) more and more too fat to move, and the less and less problem in space of performance boost.Under OpenFlow technologies OpenFlow switching equipment (abbreviation OpenFlow Switch) turn the original message for being controlled by OpenFlow switching equipment completely The process of sending out is converted into by OpenFlow switching equipment and control device (abbreviation Controller) to complete jointly, it is achieved thereby that The separation of data forwarding and route test.Control device can control OpenFlow friendships by the interface operation for providing in advance Flow table in exchange device, so as to reach the purpose of control data forwarding.Specific process is that OpenFlow switching equipment are being received During to message, message is sent to control device, so that the control device gets the message content, The action corresponding to each flow table item in OpenFlow switching equipment is defined in OpenFlow agreements, so described control sets For by the action corresponding to each flow table item specified in the OpenFlow agreements, send out to the OpenFlow switching equipment OpenFlow protocol messages are sent, control is managed with the data to the message or whole OpenFlow switching equipment, for example Data forwarding, fire wall setting, route setting etc. have regulation in the OpenFlow agreements.
During the embodiment of the present invention is realized, inventor has found that at least there are the following problems in prior art:
OpenFlow switching equipment can only by function specified in OpenFlow agreements to OpenFlow switching equipment or Message is controlled management, it is impossible to realize the function outside the OpenFlow agreements.
The content of the invention
Embodiments of the invention provide a kind of control method of data message, equipment and system, can solve the problem that prior art In due to OpenFl ow switching equipment can only by function specified in OpenFl ow agreements to OpenFlow switching equipment or Message is controlled management, it is impossible to realize the problem of the function outside the OpenFlow agreements.
To reach above-mentioned purpose, the present invention is adopted the following technical scheme that:
A kind of control method of data message, including:
Control device generates flow table item operation instruction message, the stream according to the corresponding relation of match information and operation information Table entry operation indicates that message includes the right of the match information and the operation information, the match information and the operation information Should be related to it is configured in advance, the operation information includes the control command that self-defining operation is indicated and switching equipment is supported, The self-defining operation is indicated for indicating to perform the control command;
The control device sends the flow table item operation instruction message to the switching equipment, so that the switching equipment Flow table item is generated, the matching domain of the flow table item includes the match information, and the operation domain of the flow table item includes the operation Information, the flow table item is used to indicate the switching equipment when the data message is matched with the match information, according to institute Self-defining operation instruction is stated, the control command is performed to the data message.
A kind of control method of data message, including:
The flow table item operation instruction message that switching equipment receiving control apparatus send, the flow table item operation instruction message package Match information and operation information are included, the operation information includes the control that self-defining operation is indicated and the switching equipment is supported Order, the self-defining operation is indicated for indicating to perform the control command;
The switching equipment generates flow table item, the matching domain bag of the flow table item according to the flow table item operation instruction message The match information is included, the operation domain of the flow table item includes the operation information, and the flow table item is used to indicate the exchange Equipment is indicated, to the data message when the data message is matched with the match information according to the self-defining operation Perform the control command.
A kind of control device, including:
First signal generating unit, disappears for generating flow table item operation instruction according to the corresponding relation of match information and operation information Breath, the flow table item operation instruction message includes the match information and the operation information, the match information and the behaviour The corresponding relation for making information is configured in advance, and the operation information includes what self-defining operation instruction and switching equipment were supported Control command, the self-defining operation is indicated for indicating to perform the control command;
First transmitting element, for sending the flow table item operation instruction message to the switching equipment, so that the friendship Exchange device generates flow table item, and the matching domain of the flow table item includes the match information, and the operation domain of the flow table item includes institute State operation information, the flow table item is used to indicating the switching equipment when the data message is matched with the match information, Indicated according to the self-defining operation, the control command is performed to the data message.
A kind of switching equipment, including:
3rd receiving unit, for the flow table item operation instruction message that receiving control apparatus send, the flow table item operation Indicate that message includes match information and operation information, the operation information includes that self-defining operation is indicated and the switching equipment institute The control command of support, the self-defining operation is indicated for indicating to perform the control command;
Second signal generating unit, for according to the flow table item operation instruction message generate flow table item, the flow table item Include the match information with domain, the operation domain of the flow table item includes the operation information, and the flow table item is used to indicate institute Switching equipment is stated when the data message is matched with the match information, is indicated according to the self-defining operation, to the number The control command is performed according to message.
A kind of control system of data message, including above-mentioned control device and above-mentioned switching equipment.
The control method of data message provided in an embodiment of the present invention, equipment and system, because control device is according to matching The corresponding relation of information and operation information generates flow table item operation instruction message, and the operation information is indicated including self-defining operation The control command supported with switching equipment, the self-defining operation is indicated for indicating to perform the control command;The control Control equipment sends the flow table item operation instruction message to the switching equipment, so that the switching equipment generates flow table item, institute Flow table item is stated for indicating the switching equipment when the data message is matched with the match information, according to described self-defined Operation instruction, to the data message control command is performed.So so that the control command supported of the switching equipment Can realize in the switching equipment, compared with prior art, the embodiment of the present invention can solve the problem that OpenFlow switching equipment Management can only be controlled to OpenFlow switching equipment or message by function specified in OpenFlow agreements, it is impossible to realize The problem of the function outside the OpenFlow agreements.
Description of the drawings
In order to be illustrated more clearly that the embodiment of the present invention or technical scheme of the prior art, below will be to embodiment or existing The accompanying drawing to be used needed for having technology description is briefly described, it should be apparent that, drawings in the following description are only this Some embodiments of invention, for those of ordinary skill in the art, without having to pay creative labor, may be used also To obtain other accompanying drawings according to these accompanying drawings.
Fig. 1 is the flow chart one of the control method of data message provided in an embodiment of the present invention;
Fig. 2 is the flowchart 2 of the control method of data message provided in an embodiment of the present invention;
The flow chart of the control method of the data message that Fig. 3 is provided for further embodiment of this invention;
Fig. 4 is the structural representation one of control device provided in an embodiment of the present invention;
Fig. 5 is the structural representation two of control device provided in an embodiment of the present invention;
Fig. 6 is the structural representation one of switching equipment provided in an embodiment of the present invention;
Fig. 7 is the structural representation two of switching equipment provided in an embodiment of the present invention;
Fig. 8 is the structural representation of the control system of data message provided in an embodiment of the present invention.
Specific embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out clear, complete Site preparation is described, it is clear that described embodiment is only a part of embodiment of the invention, rather than the embodiment of whole.It is based on Embodiment in the present invention, it is every other that those of ordinary skill in the art are obtained under the premise of creative work is not made Embodiment, belongs to the scope of protection of the invention.
To make the advantage of technical solution of the present invention clearer, the present invention is made specifically with reference to the accompanying drawings and examples It is bright.
As shown in figure 1, the control method of data message provided in an embodiment of the present invention, is illustrated from control device side, Methods described includes:
Step 101, control device generate flow table item operation instruction and disappear according to the corresponding relation of match information and operation information Breath.
Wherein, the flow table item operation instruction message includes the match information and the operation information, the matching letter The corresponding relation of breath and the operation information is configured in advance, and the operation information includes that self-defining operation is indicated and exchange sets The standby control command supported, the self-defining operation is indicated for indicating to perform the control command.
Wherein, the flow table item operation instruction message is used to indicate that the switching equipment generates flow table item, so as to will be described Match information in flow table item operation instruction message is configured in the matching domain of flow table item, by the flow table item operation instruction message In operation information be configured in the operation domain of flow table item.
Wherein, the corresponding relation with mass data message with the operation information in the match information, for handing over When exchange device receives data message, if the data message is matched with the match information, can be by the match information Find corresponding operation information.
Wherein, the operation information is used in switching equipment receiving data message, and is looked for according to the match information During to the operation information, indicate with self-defining operation in the operation information, indicate that the switching equipment performs the behaviour Make the control command that switching equipment described in information is supported.Such as described self-defining operation indicates can inform the exchange Equipment, performs self-defining control command, and the self-defining control command is the switching equipment for pre-setting and props up The control command held.
Wherein, the corresponding relation of the match information and the operation information is configured in advance, and the configured in advance can To be the mapping table for being provided with match information and the operation information in advance, the mapping table can be arranged in advance In the local database of the control device, or it is arranged at other network elements, but is not only limited to this.
Wherein, because the switching equipment has various models and system version, the friendship under different model and system version Exchange device can support different control commands, such as the display control order of the switching equipment under a certain model and system version For " show ", and the display control order of another model and the switching equipment under system version is " display ", but is not only limited to In this.
Step 102, the control device send the flow table item operation instruction message to the switching equipment, so that described Switching equipment generates flow table item.
Wherein, the matching domain of the flow table item includes the match information, and the operation domain of the flow table item includes the behaviour Make information, the flow table item is used to indicating the switching equipment when the data message is matched with the match information, according to The self-defining operation is indicated, to the data message execution control command.
Specifically, because the control device does not know the model and system version of the switching equipment, therefore in order to protect Demonstrate,proving the control instruction that the switching equipment supported can reach the switching equipment, and the control device is by different model and is The corresponding flow table item operation instruction message of system version is sent to the switching equipment.
Specifically, there are three domains in the general flow table item, and matching domain, operation domain and data field are stored in matching domain There are the first-class information of data message, such as match information in the present embodiment;Be stored with the operation domain with matching domain each The corresponding message of data message head is by the process action message taken, the such as operation information in the present embodiment;The data field is deposited The information such as the message amount and byte-sized of data message are stored up.
Specifically, it can pass through to the switching equipment that the control device sends the flow table item operation instruction message OFDF_VENDOR_EXTENSION message in OpenFlow protocol messages sends.
As shown in Fig. 2 the control method of data message provided in an embodiment of the present invention, is illustrated from switching equipment side, Methods described includes:
The flow table item operation instruction message that step 201, switching equipment receiving control apparatus send.
Wherein, the flow table item operation instruction message includes match information and operation information, and the operation information is included certainly The control command that defining operation is indicated and the switching equipment is supported, the self-defining operation is indicated for indicating that execution is described Control command.
Step 202, the switching equipment generate flow table item according to the flow table item operation instruction message.
Wherein, the matching domain of the flow table item includes the match information, and the operation domain of the flow table item includes the behaviour Make information, the flow table item is used to indicating the switching equipment when the data message is matched with the match information, according to The self-defining operation is indicated, to the data message execution control command.
The control method of data message provided in an embodiment of the present invention, because control device is according to match information and operation letter The corresponding relation of breath generates flow table item operation instruction message, and the operation information includes that self-defining operation is indicated and switching equipment institute The control command of support, the self-defining operation is indicated for indicating to perform the control command;The control device sends institute Flow table item operation instruction message is stated to the switching equipment, so that the switching equipment generates flow table item, the flow table item is used for The switching equipment is indicated when the data message is matched with the match information, is indicated according to the self-defining operation, it is right The data message performs the control command.So so that the control command that the switching equipment is supported can be in the friendship Realize in exchange device, compared with prior art, the embodiment of the present invention can solve the problem that OpenFlow switching equipment can only pass through Function is controlled management to OpenFlow switching equipment or message specified in OpenFlow agreements, it is impossible to realize described The problem of the function outside OpenFlow agreements.
As shown in figure 3, the control method of data message that further embodiment of this invention is provided, methods described includes:
Step 301, switching equipment send the type information and system version information of the switching equipment to control device. Execution step 302, then execution step 303, or directly execution step 303.
Step 302, the switching equipment send datagram to the control device.Institute is received in the control device After stating the data message of switching equipment transmission, execution step 303.
Specifically, it can be sent by the switching equipment that the control device generates the flow table item operation instruction message Data message is triggered, or according to the strategy triggering for pre-setting, such as matching that is stored with the control device When the database of the corresponding relation of information and the operation information changes, the flow table item operation instruction message is generated, but It is not only limited to this.
Step 303, the control device are according to match information and the corresponding relation of the operation information, and the exchange The type information and system version information of equipment, generates the flow table item operation instruction message.
Specifically, because the switching equipment has various models and system version, under different model and system version Switching equipment can support different control commands, therefore in order that without other models in the flow table item operation instruction message And the match information and operation information of the switching equipment of system version, the control device is according to match information and operation letter The corresponding relation of breath, and the type information and system version information of the switching equipment, generate the flow table item operation instruction Message.
Step 304, the control device send the flow table item operation instruction message to the switching equipment.
Wherein, the flow table item operation instruction message includes match information and operation information, and the operation information is included certainly The control command that defining operation is indicated and the switching equipment is supported, the self-defining operation is indicated for indicating that execution is described Control command.
Step 305, the switching equipment generate flow table item according to the flow table item operation instruction message.
Wherein, the matching domain of the flow table item includes the match information, and the operation domain of the flow table item includes the behaviour Make information, the flow table item is used to indicating the switching equipment when the data message is matched with the match information, according to The self-defining operation is indicated, to the data message execution control command.
Step 306, when the data message is received, if the data message matches letter with the described of the flow table item Breath matching, the switching equipment is indicated according to the self-defining operation of the flow table item, the data message performed described The control command of flow table item.
The control method of the data message that further embodiment of this invention is provided, because control device is according to match information and behaviour The corresponding relation for making information generates flow table item operation instruction message, and the operation information includes that self-defining operation is indicated and exchange sets The standby control command supported, the self-defining operation is indicated for indicating to perform the control command;The control device is sent out The flow table item operation instruction message is sent to the switching equipment, so that the switching equipment generates flow table item, the flow table item For indicating that the switching equipment, when the data message is matched with the match information, refers to according to the self-defining operation Show, the control command is performed to the data message.So so that the control command supported of the switching equipment can be Realize in the switching equipment, compared with prior art, the embodiment of the present invention can solve the problem that OpenFlow switching equipment can only lead to Cross function specified in OpenFlow agreements and management is controlled to OpenFlow switching equipment or message, it is impossible to realize described The problem of the function outside OpenFlow agreements.
As shown in figure 4, control device provided in an embodiment of the present invention, including:
First signal generating unit 41, for generating flow table item operation instruction according to the corresponding relation of match information and operation information Message, the flow table item operation instruction message includes the match information and the operation information, the match information and described The corresponding relation of operation information is configured in advance, and the operation information includes that self-defining operation is indicated and switching equipment is supported Control command, the self-defining operation indicated for indicating to perform the control command.Its specific implementation is referring in Fig. 1 Shown in step 101, here is omitted.
First transmitting element 42, for sending the flow table item operation instruction message to the switching equipment, so that described Switching equipment generates flow table item, and the matching domain of the flow table item includes the match information, and the operation domain of the flow table item includes The operation information, the flow table item is used to indicate that the switching equipment is matched when the data message with the match information When, indicated according to the self-defining operation, the control command is performed to the data message.Its specific implementation is referring to figure In 1 shown in step 102, here is omitted.
Further, as shown in figure 5, the control device, also includes:
First receiving unit 43, for receiving the type information and system version information of the switching equipment.Its is concrete , referring to shown in step 301 in Fig. 3, here is omitted for implementation.
First signal generating unit 41, specifically for:
According to the match information and the corresponding relation of the operation information, and the type information of the switching equipment and System version information, generates the flow table item operation instruction message.Its specific implementation referring to shown in step 303 in Fig. 3, this Place repeats no more.
Further, as shown in figure 5, the control device, also includes:
Second receiving unit 44, for receiving the data message that the switching equipment sends.Its specific implementation Referring to shown in step 302 in Fig. 3, here is omitted.
Control device provided in an embodiment of the present invention, because control device is closed according to the correspondence of match information and operation information System generates flow table item operation instruction message, and the operation information includes the control that self-defining operation is indicated and switching equipment is supported Order, the self-defining operation is indicated for indicating to perform the control command;The control device sends the flow table item behaviour Make to indicate message to the switching equipment, so that the switching equipment generates flow table item, the flow table item is used to indicate the friendship Exchange device is indicated, to the datagram when the data message is matched with the match information according to the self-defining operation Text performs the control command.So so that the control command that the switching equipment is supported can be real in the switching equipment Existing, compared with prior art, the embodiment of the present invention can solve the problem that OpenFlow switching equipment can only be by OpenFlow agreements The function of regulation is controlled management to OpenFlow switching equipment or message, it is impossible to realize the work(outside the OpenFlow agreements The problem of energy.
As shown in fig. 6, switching equipment provided in an embodiment of the present invention, including:
3rd receiving unit 51, for the flow table item operation instruction message that receiving control apparatus send, the flow table item behaviour Make to indicate that message includes match information and operation information, the operation information includes that self-defining operation is indicated and the switching equipment The control command supported, the self-defining operation is indicated for indicating to perform the control command.Its specific implementation ginseng As shown in step 201 in Fig. 2, here is omitted.
Second signal generating unit 52, for generating flow table item according to the flow table item operation instruction message, the flow table item Matching domain includes the match information, and the operation domain of the flow table item includes the operation information, and the flow table item is used to indicate The switching equipment is indicated, to described when the data message is matched with the match information according to the self-defining operation Data message performs the control command., referring to shown in step 202 in Fig. 2, here is omitted for its specific implementation.
Further, as shown in fig. 7, the switching equipment, also includes:
Performance element 53, for when the data message is received, if the institute of the data message and the flow table item Match information matching is stated, is indicated according to the self-defining operation of the flow table item, the flow table is performed to the data message The control command of item., referring to shown in step 306 in Fig. 3, here is omitted for its specific implementation.
Further, as shown in fig. 7, the switching equipment, also includes:
Second transmitting element 54, for sending the type information and system version information of the switching equipment to the control Control equipment., referring to shown in step 301 in Fig. 3, here is omitted for its specific implementation.
Further, as shown in fig. 7, the switching equipment, also includes:
3rd transmitting element 55, for sending the data message to the control device.Its specific implementation referring to In Fig. 3 shown in step 302, here is omitted.
Switching equipment provided in an embodiment of the present invention, because control device is closed according to the correspondence of match information and operation information System generates flow table item operation instruction message, and the operation information includes the control that self-defining operation is indicated and switching equipment is supported Order, the self-defining operation is indicated for indicating to perform the control command;The control device sends the flow table item behaviour Make to indicate message to the switching equipment, so that the switching equipment generates flow table item, the flow table item is used to indicate the friendship Exchange device is indicated, to the datagram when the data message is matched with the match information according to the self-defining operation Text performs the control command.So so that the control command that the switching equipment is supported can be real in the switching equipment Existing, compared with prior art, the embodiment of the present invention can solve the problem that OpenFlow switching equipment can only be by OpenFlow agreements The function of regulation is controlled management to OpenFlow switching equipment or message, it is impossible to realize outside the Open Flow agreements The problem of function.
As shown in figure 8, the control system of data message provided in an embodiment of the present invention, including above-mentioned control device 61 with And switching equipment 62.
, referring to above-mentioned control device and the embodiment of switching equipment, here is omitted for its specific implementation.
The control system of data message provided in an embodiment of the present invention, because control device is according to match information and operation letter The corresponding relation of breath generates flow table item operation instruction message, and the operation information includes that self-defining operation is indicated and switching equipment institute The control command of support, the self-defining operation is indicated for indicating to perform the control command;The control device sends institute Flow table item operation instruction message is stated to the switching equipment, so that the switching equipment generates flow table item, the flow table item is used for The switching equipment is indicated when the data message is matched with the match information, is indicated according to the self-defining operation, it is right The data message performs the control command.So so that the control command that the switching equipment is supported can be in the friendship Realize in exchange device, compared with prior art, the embodiment of the present invention can solve the problem that OpenFlow switching equipment can only pass through Function is controlled management to OpenFlow switching equipment or message specified in OpenFlow agreements, it is impossible to realize described The problem of the function outside OpenFlow agreements.
Through the above description of the embodiments, those skilled in the art can be understood that the present invention can be borrowed Software is helped to add the mode of required common hardware to realize, naturally it is also possible to which by hardware, but in many cases the former is more preferably Embodiment.Based on such understanding, the portion that technical scheme substantially contributes in other words to prior art Dividing can be embodied in the form of software product, and the computer software product is stored in the storage medium that can read, and such as be counted The floppy disk of calculation machine, hard disk or CD etc., including some instructions are used so that computer equipment (can be personal computer, Server, or the network equipment etc.) perform method described in each embodiment of the invention.
The above, the only specific embodiment of the present invention, but protection scope of the present invention is not limited thereto, any Those familiar with the art the invention discloses technical scope in, change or replacement can be readily occurred in, all should contain Cover within protection scope of the present invention.Therefore, protection scope of the present invention described should be defined by scope of the claims.

Claims (15)

1. a kind of control method of data message, it is characterised in that include:
Control device generates flow table item operation instruction message, the flow table item according to the corresponding relation of match information and operation information Operation instruction message includes the correspondence pass of the match information and the operation information, the match information and the operation information System is configured in advance, and the operation information includes the control command that self-defining operation is indicated and switching equipment is supported, described Self-defining operation is indicated for indicating to perform the control command;
The control device sends the flow table item operation instruction message to the switching equipment, so that the switching equipment is generated Flow table item, the matching domain of the flow table item includes the match information, and the operation domain of the flow table item includes the operation information, The flow table item is used to indicate that the switching equipment, when the data message is matched with the match information, is made by oneself according to described Adopted operation instruction, to the data message control command is performed.
2. method according to claim 1, it is characterised in that also include:
The control device receives the type information and system version information of the switching equipment;
The control device generates flow table item operation instruction message according to the corresponding relation of match information and operation information, including:
The control device is according to the match information and the corresponding relation of the operation information, and the type of the switching equipment Number information and system version information, generate the flow table item operation instruction message.
3. method according to claim 1 and 2, it is characterised in that the control device is according to match information and operation letter The corresponding relation of breath is generated before flow table item operation instruction message, is also included:
The control device receives the data message that the switching equipment sends.
4. a kind of control method of data message, it is characterised in that include:
Switching equipment receiving control apparatus send flow table item operation instruction message, the flow table item operation instruction message include With information and operation information, the operation information includes the control life that self-defining operation is indicated and the switching equipment is supported Order, the self-defining operation is indicated for indicating to perform the control command;
The switching equipment generates flow table item according to the flow table item operation instruction message, and the matching domain of the flow table item includes institute Match information is stated, the operation domain of the flow table item includes the operation information, and the flow table item is used to indicate the switching equipment When the data message is matched with the match information, indicated according to the self-defining operation, the data message is performed The control command.
5. method according to claim 4, it is characterised in that also include:
It is described if the data message is matched with the match information of the flow table item when the data message is received Switching equipment indicates according to the self-defining operation of the flow table item, the data message is performed described in the flow table item Control command.
6. the method according to claim 4 or 5, it is characterised in that the stream that the switching equipment receiving control apparatus send Table entry operation is indicated before message, also included:
The switching equipment sends the type information and system version information of the switching equipment to the control device.
7. method according to claim 6, it is characterised in that the flow table item that the switching equipment receiving control apparatus send Before operation instruction message, also include:
The switching equipment sends the data message to the control device.
8. a kind of control device, it is characterised in that include:
First signal generating unit, for generating flow table item operation instruction message according to the corresponding relation of match information and operation information, The flow table item operation instruction message includes the match information and the operation information, and the match information and the operation are believed The corresponding relation of breath is configured in advance, and the operation information includes the control that self-defining operation is indicated and switching equipment is supported Order, the self-defining operation is indicated for indicating to perform the control command;
First transmitting element, for sending the flow table item operation instruction message to the switching equipment, so that the exchange sets Standby to generate flow table item, the matching domain of the flow table item includes the match information, and the operation domain of the flow table item includes the behaviour Make information, the flow table item is used to indicate the switching equipment when data message is matched with the match information, according to described Self-defining operation is indicated, to the data message execution control command.
9. control device according to claim 8, it is characterised in that also include:
First receiving unit, for receiving the type information and system version information of the switching equipment;
First signal generating unit, specifically for:
According to the match information and the corresponding relation of the operation information, and the type information and system of the switching equipment Version information, generates the flow table item operation instruction message.
10. control device according to claim 8 or claim 9, it is characterised in that also include:
Second receiving unit, for receiving the data message that the switching equipment sends.
11. a kind of switching equipment, it is characterised in that include:
3rd receiving unit, for the flow table item operation instruction message that receiving control apparatus send, the flow table item operation instruction Message includes match information and operation information, and the operation information includes that self-defining operation is indicated and the switching equipment is supported Control command, the self-defining operation indicated for indicating to perform the control command;
Second signal generating unit, for generating flow table item, the matching domain of the flow table item according to the flow table item operation instruction message Including the match information, the operation domain of the flow table item includes the operation information, and the flow table item is used to indicate the friendship Exchange device indicates according to the self-defining operation when data message is matched with the match information, the data message is held The row control command.
12. switching equipment according to claim 11, it is characterised in that also include:
Performance element, for when the data message is received, if the data message is matched with the described of the flow table item Information matches, indicate according to the self-defining operation of the flow table item, and to the data message institute of the flow table item is performed State control command.
13. switching equipment according to claim 11 or 12, it is characterised in that also include:
Second transmitting element, the type information and system version information for sending the switching equipment sets to the control It is standby.
14. switching equipment according to claim 13, it is characterised in that also include:
3rd transmitting element, for sending the data message to the control device.
15. a kind of control systems of data message, it is characterised in that including the control device described in any one of claim 8-10 And the switching equipment described in any one of claim 11-14.
CN201280000936.3A 2012-06-29 2012-06-29 Method, device and system for controlling data packets Active CN103703726B (en)

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2012/077979 WO2014000290A1 (en) 2012-06-29 2012-06-29 Method, device and system for controlling data packets

Publications (2)

Publication Number Publication Date
CN103703726A CN103703726A (en) 2014-04-02
CN103703726B true CN103703726B (en) 2017-04-26

Family

ID=49782128

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201280000936.3A Active CN103703726B (en) 2012-06-29 2012-06-29 Method, device and system for controlling data packets

Country Status (2)

Country Link
CN (1) CN103703726B (en)
WO (1) WO2014000290A1 (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP3091705B1 (en) * 2014-01-23 2018-09-05 Huawei Technologies Co., Ltd. Tunnel processing method for packet, switching device and control device
CN105359470B (en) * 2014-05-27 2019-05-24 华为技术有限公司 Flow table management method and relevant device and system
KR101886291B1 (en) 2014-06-30 2018-09-06 후아웨이 테크놀러지 컴퍼니 리미티드 Flow entry configuration method, apparatus, and system
CN113311809A (en) * 2021-05-28 2021-08-27 苗叶 Industrial control system-based safe operation and maintenance instruction blocking device and method

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102349268A (en) * 2009-03-09 2012-02-08 日本电气株式会社 Openflow communication system and openflow communication method

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP2582092A3 (en) * 2007-09-26 2013-06-12 Nicira, Inc. Network operating system for managing and securing networks
CN101572670B (en) * 2009-05-07 2011-08-10 成都市华为赛门铁克科技有限公司 Data packet processing method based on flow table, device and network system
CN102473111B (en) * 2009-07-31 2016-08-03 日本电气株式会社 Server, service provider system and the offer method of virtual infrastructure are provided
EP2479937B1 (en) * 2009-09-14 2020-10-21 Nec Corporation Node, control server, communication method and program for packet processing using openflow
WO2012066830A1 (en) * 2010-11-18 2012-05-24 日本電気株式会社 Closed-path formation forestalling system and closed-path formation forestalling method
ES2565628T3 (en) * 2011-07-06 2016-04-06 Huawei Technologies Co., Ltd. Message processing procedure and related device

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102349268A (en) * 2009-03-09 2012-02-08 日本电气株式会社 Openflow communication system and openflow communication method

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
"自定义协议在多机通讯中的实现";刘小虎 等;《微处理机》;20050430;全文 *

Also Published As

Publication number Publication date
WO2014000290A1 (en) 2014-01-03
CN103703726A (en) 2014-04-02

Similar Documents

Publication Publication Date Title
CN104243317B (en) A kind of method and apparatus for realizing IP routing forwardings
CN104639470B (en) Traffic identifier packaging method and system
CN103763310B (en) Firewall service system and method based on virtual network
CN104253767B (en) A kind of implementation method of virtual burst network and a kind of interchanger
US20140181292A1 (en) Systems and methods for topology discovery and application in a border gateway protocol based data center
CN108512703A (en) BRAS turns backup method, device, equipment and the machine readable storage medium of control separation
CN103703726B (en) Method, device and system for controlling data packets
CN108667695A (en) A kind of BRAS turns the backup method and device of control separation
CN106034077A (en) Dynamic route configuration method, device and system thereof
CN104704772B (en) Communication system, virtual network managing device, virtual network management method
CN103229468A (en) Packet-switching resource distribution method and device
CN104104520A (en) Charging method and system based on OPenFlow protocol
CN106664216A (en) Method and apparatus for switching vnf
CN106412880B (en) A kind of wireless mesh safety classification transmission method based on SDN
CN109474449A (en) A kind of method and device of processing network slice example
CN109660441A (en) The method and device of multicast replication in Overlay network
CN106134133A (en) Tunnel passes through WAN time-critical message between substation
CN104243196A (en) Virtual network mapping protection method and system under SDN architecture
CN106850304A (en) A kind of gateway group method and system based on SDN frameworks
CN102884762B (en) Network path control method, equipment and system
CN102821099B (en) Message forwarding method, equipment and system
CN106878480A (en) A kind of DHCP service process sharing method and device
CN108173695A (en) A kind of cloud environment down-off monitoring system and method
CN109412850A (en) Message subscribing control method and device
CN104205747B (en) Pseudo-wire group in packet switching network

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant