CN104219178A - Openflow-based control message processing method, Openflow-based control message transmitting device, Openflow-based control message receiving device and Openflow-based control message processing system - Google Patents

Openflow-based control message processing method, Openflow-based control message transmitting device, Openflow-based control message receiving device and Openflow-based control message processing system Download PDF

Info

Publication number
CN104219178A
CN104219178A CN201310218940.3A CN201310218940A CN104219178A CN 104219178 A CN104219178 A CN 104219178A CN 201310218940 A CN201310218940 A CN 201310218940A CN 104219178 A CN104219178 A CN 104219178A
Authority
CN
China
Prior art keywords
message
fragment
fragment message
control message
last
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Withdrawn
Application number
CN201310218940.3A
Other languages
Chinese (zh)
Inventor
刘国满
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
ZTE Corp
Original Assignee
ZTE Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by ZTE Corp filed Critical ZTE Corp
Priority to CN201310218940.3A priority Critical patent/CN104219178A/en
Priority to PCT/CN2014/075806 priority patent/WO2014194724A1/en
Publication of CN104219178A publication Critical patent/CN104219178A/en
Withdrawn legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/64Hybrid switching systems
    • H04L12/6418Hybrid transport
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/66Arrangements for connecting between networks having differing types of switching systems, e.g. gateways
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L47/00Traffic control in data switching networks
    • H04L47/10Flow control; Congestion control
    • H04L47/36Flow control; Congestion control by determining packet size, e.g. maximum transfer unit [MTU]

Abstract

The invention discloses an Openflow-based control message processing method. The Openflow-based control message processing method includes partitioning data of control messages into a plurality of segments when a transmitting end judges that the data of the control messages need to be partitioned, and encapsulating each segment into fragmentation message to generate a plurality of fragmentation messages; enabling the transmitting end to transmit the multiple fragmentation messages to a receiving end; judging whether each fragmentation message is the last fragmentation message of the corresponding control message or not after the receiving end receives the fragmentation message, or judging whether all the fragmentation messages of each control message are completely received or not; assembling the received fragmentation messages of each same control message to generate the control message if the fragmentation message is the last fragmentation message of the control message or all the fragmentation messages of the control message are completely received. At least one fragmentation message of each control message carries segmentation indication information of the control message, and each piece of segmentation indication information is used for indicating the number of the partitioned segments of the corresponding control message or indicating completion of the segments of the control message to the receiving end. The invention further provides an Openflow-based control message transmitting device, an Openflow-based control message receiving device and an Openflow-based control message processing system.

Description

Based on Openflow, control message processing method, dispensing device, receiving system and system
Technical field
The present invention relates to field of information transmission, relate in particular to a kind of based on Openflow control message processing method, dispensing device, receiving system and system.
Background technology
For current Openflow latest edition 1.3, it has been stipulated in the requests such as performance mutual between OF controller and OF switch, state and response message message, the state of existence to a plurality of ports and a plurality of stream tables, the information such as performance and statistics, if be encapsulated in single Openflow protocol massages, because transmitting MTU (the Maximum Transmission Unit of link, MTU) restriction such as, need to control message to this length and cut apart and burst, be encapsulated in a plurality of Openflow messages and transmit; On existing version, in Openflow agreement, use a kind of Multipart Message (many burst information) message structure, the long message of controlling is carried out to burst encapsulation transmission.Wherein, as shown in Figure 1, wherein, in the OF Header in this structure (Openflow heading), being made as 18, to identify current message be Multipart Request message to Multipart Request (request of many bursts) message structure; By type (type) field, identify control information type message; By the 1st bit in Flags (sign) field, identify and be whether fragment message (with respect to IP message MF sign) or follow-uply whether have one or more request messages.And for corresponding response message Multipart Reply (many bursts are replied), as shown in Figure 2, in this structure, in OF Header, being made as 19, to identify current message be Multipart Reply message to its message information structure.
While using above-mentioned two kinds of message structures, destination node (equipment) is not known when to start assembling and is processed this length and control message, has affected the treatment effeciency of node.
Summary of the invention
The technical problem to be solved in the present invention is to provide a kind of based on Openflow control message processing method, dispensing device, receiving system and system, improves and controls message treatment effeciency.
In order to address the above problem, the invention provides and a kind ofly based on Openflow, control message processing method, comprising:
When transmitting terminal judgement need to be cut apart the data of control message, by the Data Segmentation of described control message, it is multistage, every section is encapsulated as a fragment message and generates a plurality of fragment messages, wherein, in described a plurality of fragment message, at least exist a fragment message to carry the segmentation indication information of described control message, described segmentation indication information is used to indicate to be controlled the segmentation number that message cuts apart described in receiving terminal or indicates described control message fragment to finish;
Described transmitting terminal sends to described receiving terminal by described a plurality of fragment messages.
Said method also can have following characteristics, and the segmentation indication information that at least exists a fragment message to carry described control message in described a plurality of fragment messages comprises:
Whether in each fragment message, carry this fragment message is the indication information of last fragment message of this control message;
Or, in the fragment message at the last data segment place of described control message, carry the ENMES information of controlling;
Or, at least one fragment message of described a plurality of fragment messages, carry the divided segmentation number of described control message.
Said method also can have following characteristics, and whether described this fragment message that carries in each fragment message is that the indication information of last fragment message of this control message comprises:
When described fragment message is last fragment message of described control message, the specific fields in the fragment message head of described fragment message is set to the first preset value, indicating current fragment message is last fragment message of described control message;
When described fragment message is non-last fragment message of described control message, specific fields in the fragment message head of described fragment message is set to the value outside described the first preset value, and indicating current fragment message is non-last fragment message of described control message.
Said method also can have following characteristics, carries to control ENMES information and comprise in the fragment message at the last data segment place of described control message:
In the payload data part of the fragment message at last data segment place of described control message, increase specific end identification information, indicating the data segment that described fragment message carries is last data segment of described control message.
Said method also can have following characteristics, and described specific end identification information is end type, length, value END TLV information.
The present invention also provides a kind of and controls message processing method based on Openflow, comprising:
Receiving terminal receives after fragment message, judges whether described fragment message is last fragment message of controlling message, or, whether finished receiving the affiliated all fragment messages of controlling message of this fragment message; If so, the fragment message that belongs to same control message having received is assembled, generated and control message.
Said method also can have following characteristics, according to following mode, judges whether described fragment message is last fragment message of controlling message:
If the specific fields in the fragment message head of described fragment message indicates this fragment message for controlling last fragment message of message, judge that described fragment message is for controlling last fragment message of message under it;
Or if carry specific end identification information in the payload data part of described fragment message, described fragment message is to control last fragment message of message under it.
Said method also can have following characteristics, and described specific end identification information is end type, length, value END TLV information.
Said method also can have following characteristics, judges whether to finish receiving all fragment messages of controlling message under this fragment message according to following mode:
In at least one fragment message of the affiliated control message of described fragment message, receive the divided segmentation number of described control message, and the number of the current fragment message that belongs to this control message having received is described segmentation number, judgement has finished receiving the affiliated all fragment messages of controlling message of this fragment message.
The present invention also provides a kind of and controls packet transmission device based on Openflow, comprising:
Cut apart module, in the time of need to cutting apart the data of control message for judging, by the Data Segmentation of described control message, it is multistage, every section is encapsulated as a fragment message and generates a plurality of fragment messages, wherein, in described a plurality of fragment messages, at least one fragment message, carry the segmentation indication information of described control message, described segmentation indication information is used to indicate to be controlled the segmentation number that message cuts apart described in receiving terminal or indicates described control message fragment to finish;
Sending module, for sending to described receiving terminal by described a plurality of fragment messages.
Said apparatus also can have following characteristics, described in cut apart module and in described a plurality of fragment messages, at least one fragment message, carry the segmentation indication information of described control message and comprise:
Whether in each fragment message, carry this fragment message is the indication information of last fragment message of this control message;
Or, in the fragment message at the last data segment place of described control message, carry the ENMES information of controlling;
Or, at least one fragment message of described a plurality of fragment messages, carry the divided segmentation number of described control message.
Said apparatus also can have following characteristics, described in cut apart module whether in each fragment message, carry this fragment message be that the indication information of last fragment message of this control message comprises:
When described fragment message is last fragment message of described control message, the specific fields in the fragment message head of described fragment message is set to the first preset value, indicating current fragment message is last fragment message of described control message;
When described fragment message is non-last fragment message of described control message, specific fields in the fragment message head of described fragment message is set to the value outside described the first preset value, and indicating current fragment message is non-last fragment message of described control message.
Said apparatus also can have following characteristics, described in cut apart module and in the fragment message at the last data segment place of described control message, carry and control ENMES information and comprise:
In payload data part in the fragment message at last data segment place of described control message, increase specific end identification information, indicating the data segment that described fragment message carries is last data segment of described control message.
Said apparatus also can have following characteristics, and described specific end identification information is end type, length, value END TLV information.
The present invention also provides a kind of and controls message receiving system based on Openflow, comprising:
Receiver module, for receiving fragment message;
Knockdown block, for judging whether described fragment message is last fragment message of controlling message, or, whether finished receiving the affiliated all fragment messages of controlling message of this fragment message; If so, the fragment message that belongs to same control message having received is assembled, generated and control message.
Said apparatus also can have following characteristics, and described Knockdown block judges according to following mode whether described fragment message is last fragment message of controlling message:
If the specific fields in the fragment message head of described fragment message indicates this fragment message for controlling last fragment message of message, judge that described fragment message is for controlling last fragment message of message under it;
Or if carry specific end identification information in the payload data part of described fragment message, described fragment message is to control last fragment message of message under it.
Said apparatus also can have following characteristics, and described specific end identification information is end type, length, value END TLV information.
Said apparatus also can have following characteristics, and described Knockdown block judges whether to finish receiving the affiliated all fragment messages of controlling message of this fragment message according to following mode:
In at least one fragment message of the affiliated control message of described fragment message, receive the divided segmentation number of described control message, and the number of the current fragment message that belongs to this control message having received is described segmentation number, judgement has finished receiving the affiliated all fragment messages of controlling message of this fragment message.
The present invention also provides a kind of and controls message handling system based on Openflow, comprises the above-mentioned control packet transmission device of stating and above-mentioned control message receiving system.
Method and apparatus described in the employing embodiment of the present invention, compare with Multipart Message information processing mechanism on existing Openflow version, by setting last latter end Data Identification information or carrying segmentation number information, facilitate destination node identification latter end fragment message, thereby carry out message restructuring, can improve the efficiency that message is processed, save the time that data assembling is processed.
Accompanying drawing explanation
Fig. 1 is Multipart Request message structure schematic diagram;
Fig. 2 is Multipart Reply message structure schematic diagram;
Fig. 3 is embodiment of the present invention control information communication structure schematic diagram;
Fig. 4 is the long message dividing processing example schematic of controlling of the embodiment of the present invention;
Fig. 5 is embodiment of the present invention sending node message dividing processing schematic diagram;
Fig. 6 is embodiment of the present invention receiving node message assembling schematic diagram;
Fig. 7 is that the embodiment of the present invention is controlled packet transmission device block diagram;
Fig. 8 is that the embodiment of the present invention is controlled message receiving system block diagram;
Fig. 9 is that the embodiment of the present invention is controlled message handling system block diagram.
Embodiment
For making the object, technical solutions and advantages of the present invention clearer, hereinafter in connection with accompanying drawing, embodiments of the invention are elaborated.It should be noted that, in the situation that not conflicting, the embodiment in the application and the feature in embodiment be combination in any mutually.
In addition, although there is shown logical order in flow process, in some cases, can carry out shown or described step with the order being different from herein.
The embodiment of the present invention provides a kind of and controls message processing method based on Openflow, comprising:
When transmitting terminal judgement need to be cut apart the data of control message, by the Data Segmentation of described control message, it is multistage, every section is encapsulated as a fragment message and generates a plurality of fragment messages, wherein, in described a plurality of fragment message, at least exist a fragment message to carry the segmentation indication information of described control message, described segmentation indication information is used to indicate to be controlled the segmentation number that message cuts apart described in described receiving terminal or indicates described control message fragment to finish;
Described transmitting terminal sends to receiving terminal by described a plurality of fragment messages.
In a kind of alternative of the present embodiment, the segmentation indication information that at least exists a fragment message to carry described control message in described a plurality of fragment messages comprises:
Whether in each fragment message, carry this fragment message is the indication information of last fragment message of this control message;
Or, in the fragment message at the last data segment place of described control message, carry the ENMES information of controlling;
Or, at least one fragment message of described a plurality of fragment messages, carry the divided segmentation number of described control message, and, in described a plurality of fragment messages, carry the identification information that belongs to same control message.
In a kind of alternative of the present embodiment, whether described this fragment message that carries in each fragment message is that the indication information of last fragment message of this control message comprises:
When described fragment message is last fragment message of described control message, the specific fields in the fragment message head of described fragment message is set to the first preset value, indicating current fragment message is last fragment message of described control message;
When described fragment message is non-last fragment message of described control message, specific fields in the fragment message head of described fragment message is set to the value outside described the first preset value, and indicating current fragment message is non-last fragment message of described control message.This specific fields can be 1bit, is now a specific identifier position, can be also many bits.The application is not construed as limiting this.
In a kind of alternative of the present embodiment, in the fragment message at the last data segment place of described control message, carry and control ENMES information and comprise:
In the payload data part of the fragment message at last data segment place of described control message, increase specific end identification information, indicating the data segment that described fragment message carries is last data segment of described control message.Described specific end identification information can be end type, length, value (END TLV) information, certainly, can be also other appointed information.The position of specific end identification information can be the end position of payload data part, also can original position, or other appointed position, etc., the application is not construed as limiting this.
The embodiment of the present invention also provides a kind of and controls message processing method based on Openflow, comprising:
Receiving terminal receives after fragment message, judges whether described fragment message is last fragment message of controlling message, or, whether finished receiving the affiliated all fragment messages of controlling message of this fragment message; If so, the fragment message that belongs to same control message having received is assembled, generated and control message.
In a kind of alternative of the present embodiment, according to following mode, judge whether described fragment message is last fragment message of controlling message:
If the specific fields in the fragment message head of described fragment message indicates this fragment message for controlling last fragment message of message, judge that described fragment message is for controlling last fragment message of message under it;
Or if carry specific end identification information in the payload data part of described fragment message, described fragment message is to control last fragment message of message under it.
A kind of mode judging according to specific fields is: when the specific fields in the fragment message head of described fragment message is the first preset value, represent that current fragment message is for controlling last fragment message of message under it; When the specific fields in the fragment message head of described fragment message is the value outside described the first preset value, represent that current fragment message is for controlling non-last fragment message of message under it.
In a kind of alternative of the present embodiment, described specific end identification information is END TLV information.
In a kind of alternative of the present embodiment, according to following mode, judge whether to finish receiving all fragment messages of controlling message under this fragment message:
In at least one fragment message of the affiliated control message of described fragment message, receive the divided segmentation number of described control message, and the number of the current fragment message that belongs to this control message having received is described segmentation number, judgement has finished receiving the affiliated all fragment messages of controlling message of this fragment message.
In the embodiment of the present invention, by specific END TLV or setting identification position or field, identify that to be whether this length control latter end data in message or set the number of segmentation, destination node is received after this control message, can or set the number of segmentation according to this sign, segment data is carried out to different disposal operation, improved the efficiency of the processing message of node.
OF (Openflow) controller and OF (Openflow) switch take below alternately as example further illustrates the present invention, but the invention is not restricted to mutual between OF controller and OF switch, also be not limited to Openflow field, can be for the communication in other field.
As shown in Figure 3, between OF controller and OF switch, control message interaction, mainly by escape way, send.As Fig. 5, shown in 6, the control message processing method that the embodiment of the present invention provides comprises:
Step 101, when OF controller or OF switch need to send to its opposite end one while controlling message (control request message or control response message), according to MTU size on escape way, judge whether that the data that need to control message to this carry out dividing processing;
Step 102, if the length of whole control message is greater than MTU, needs this control message to cut apart, and is divided into a plurality of short control messages, and each is encapsulated in a Multipart infomational message and transmits; Wherein, in Multipart infomational message, except carrying the heading OF header of former control message, also having increased the heading of Multipart self, is then to cut apart from former control message the data segment obtaining.
Step 103, when being packaged into Multipart infomational message, can be handled as follows:
If current Multipart infomational message is for controlling last Multipart infomational message of message, the value of setting the specific identifier position of Multipart infomational message head is the first preset value; If current Multipart infomational message is for controlling non-last Multipart infomational message of message, the value of setting the specific identifier position of Multipart infomational message head is non-the first preset value, such as being the second preset value that is different from the first preset value; Wherein, existing field can be used in this specific identifier position, such as the Flags field of OFHeader, can be also new field, and the application is not construed as limiting this; The first preset value can be 1 or other value, and the second preset value can be 0 or other value;
Or, if current Multipart infomational message is for controlling last Multipart infomational message of message, payload data in this Multipart infomational message partly increases by one and controls ENMES indication information, such as increasing END TLV, to identify this control data message, finish, wherein, control the end that ENMES indication information can be positioned at payload data part, also can be positioned at the section start of payload data part;
Or, on the Multipart of Multipart message header, add the segmentation number that this control message is divided into.Can only in a Multipart infomational message of same control message, increase segmentation number, also can in a plurality of Multipart infomational messages of same control message, increase segmentation number; Such as, only in first Multipart infomational message of same control message, increase segmentation number.The specific identification information that control message under Multipart infomational message carries in OF Header is indicated.In the OF Header of the Multipart infomational message of same control message, carry identical specific identification information, indicate it to belong to the same long message of controlling.
Above-mentioned steps 101-103 is referring to Fig. 5.
Step 104, when the OF of opposite end controller or OF switch receive the Multipart Request/Reply message that opposite end sends over, Multipart Message header is analyzed, if not latter end Multipart message, carry out after decapsulation, the payload user data part of this Multipart message is first saved; Or according to the entrained segmentation number of Multipart infomational message, judge whether to receive the number of the Multipart infomational message that this control message divided of being over.
Step 105, if receiving its specific identifier place value on Multipart header is the first preset value, or partly there is END TLV information at the payload data of Multipart infomational message, illustrate that this Multipart infomational message message is under it, to control the latter end data of message, or the number that receives Multipart infomational message equals segmentation number, carry out decapsulation, then start the assembling of this control message and process operation.Above-mentioned steps 104-105 is referring to Fig. 6.
For specific implementation process, take and shown in Fig. 4, control message fragment to process example be example, comprising:
Step 201, for the controller of OF shown in Fig. 3 and OF switch, often need to by the escape way between the two, send based on states such as stream table, ports, the request such as performance and statistics and response message information, owing to once may sending the information of a plurality of ports and a plurality of stream tables aspect, can form a long control message;
Step 202, when OF controller sends a long solicited message message to OF switch, as shown in Figure 4; When it sends by single Openflow protocol massages, frame length after its encapsulation is greater than MTU on escape way, thereby cause data message normally not forward, so need OF controller, before forwarding, this length solicited message message is carried out to burst processing, the control message of this length is divided into three short Multipart infomational messages as shown in Figure 4: Multipart packet1 (many fragment packets 1), Multipart packet2 (many fragment packets 2) and Multipart Packet3 (many fragment packets 3); And in each Multipart message, flags field is made as to 1, in addition, by the position, specific identifier position in last fragment message Multipart Packet3 or increase END TLV in payload data part, or at Multipart packet1, in a fragment message of Multipart packet2 and Multipart Packet3 indication, carry segmentation number and be 3 information; Whether in the present embodiment, by specific identifier position, identifying is last Multipart message, i.e. MF flag in Fig. 4, and wherein, if MF=0, non-last Multipart message, if MF=1 is last Multipart message.
Step 203, OF controller sends to the OF switch of opposite end successively by three Multipart infomational messages having cut apart by escape way;
Step 204, OF switch receives after Multipart infomational message, Multipart message information is analyzed, if first receive the Multipart Packet1 message after cutting apart, according to the not set of specific identifier position, or not exist END TLV or statistics to receive segmentation number be 1, be less than segmentation number 3 (in the present embodiment, suppose that segmentation number carried by Multipart Packet1 message), judging this is non-latter end fragment message, carry out after decapsulation, payload data part is first preserved, do not carry out assembly operation;
Step 205, when OF switch receives Multipart packet2 message, carry out analysis operation the same as Multipartpacket1, judging equally this is non-latter end fragment message, and its payload data is partly saved, and does not carry out assembly operation;
Step 206, when OF switch receives Multipart Packet3 message, due to set of specific identifier position (MF=1) on its Multipart header, or, have END TLV message, or the number of the fragment message that receives of statistics equals segmentation number 3, illustrate and receive final stage data, so after Multipart Packet3 decapsulation, start the assembling of this control message and process operation;
Step 207, OF group of switches installs after the control message of this length, according to solicited message in this message, makes accordingly and replying, and this response message is sent to the OF controller of opposite end by escape way.
In a kind of alternative of the present embodiment, if indicate (without specific identifier position and END TLV information) by segmentation number, and segmentation number is carried by Multipart Packet2 message, receive after Multipart Packet1, carry out decapsulation, payload data part is first preserved, do not carry out assembly operation;
Receive after Multipart Packet2, obtain the segmentation number information of wherein carrying, 3, the fragment message that judges the control message that the current Multipart of receiving Packet2 is affiliated only has two (Multipart Packet1 and Multipart Packet2), judge that Multipart Packet2 is not last fragment message, Multipart Packet2 is carried out to decapsulation, payload data part is first preserved, do not carry out assembly operation;
Receive after Multipart Packet3, the fragment message that judges the control message that the current Multipart of receiving Packet3 is affiliated has 3, equal segmentation number, carry out decapsulation, start the assembling of this control message and process operation, by Multipart Packet1,2,3 are assembled into one controls message.
In a kind of alternative of the present embodiment, if indicate (without specific identifier position and END TLV information) by segmentation number, and segmentation number is carried by Multipart Packet3 message, processing mode is similar, receive Multipart Packet1, after 2, carry out decapsulation, payload data part is first preserved, do not carry out assembly operation; Receive after Multipart Packet3, obtaining segmentation number information is 3, and the fragment message number of controlling message under the current Multipart of receiving Packet3 has been 3, equal segmentation number, carry out decapsulation, start the assembling of this control message and process operation, by Multipart Packet1,2,3 are assembled into one controls message.
The embodiment of the present invention provides a kind of and controls packet transmission device based on Openflow, as shown in 7, comprising:
Cut apart module, in the time of need to cutting apart the data of control message for judging, by the Data Segmentation of described control message, it is multistage, every section is encapsulated as a fragment message and generates a plurality of fragment messages, wherein, in described a plurality of fragment messages, at least one fragment message, carry the segmentation indication information of described control message, described segmentation indication information is used to indicate to be controlled the segmentation number that message cuts apart described in receiving terminal or indicates described control message fragment to finish;
Sending module, for sending to described receiving terminal by described a plurality of fragment messages.
In a kind of alternative of the present embodiment, described in cut apart module and in described a plurality of fragment messages, at least one fragment message, carry the segmentation indication information of described control message and comprise:
Whether in each fragment message, carry this fragment message is the indication information of last fragment message of this control message;
Or, in the fragment message at the last data segment place of described control message, carry the ENMES information of controlling;
Or, at least one fragment message of described a plurality of fragment messages, carry the divided segmentation number of described control message, and, in described a plurality of fragment messages, carry the identification information that belongs to same control message.
In a kind of alternative of the present embodiment, described in cut apart module whether in each fragment message, carry this fragment message be that the indication information of last fragment message of this control message comprises:
When described fragment message is last fragment message of described control message, the specific fields in the fragment message head of described fragment message is set to the first preset value, indicating current fragment message is last fragment message of described control message;
When described fragment message is non-last fragment message of described control message, specific fields in the fragment message head of described fragment message is set to the value outside described the first preset value, and indicating current fragment message is non-last fragment message of described control message.
In a kind of alternative of the present embodiment, described in cut apart module and in the fragment message at the last data segment place of described control message, carry and control ENMES information and comprise:
In payload data part in the fragment message at last data segment place of described control message, increase specific end identification information, indicating the data segment that described fragment message carries is last data segment of described control message.
In a kind of alternative of the present embodiment, described specific end identification information is end type length value END TLV information.
The embodiment of the present invention provides a kind of and controls message receiving system based on Openflow, as shown in Figure 8, comprising:
Receiver module, for receiving fragment message;
Knockdown block, for judging whether described fragment message is last fragment message of controlling message, or, whether finished receiving the affiliated all fragment messages of controlling message of this fragment message; If so, the fragment message that belongs to same control message having received is assembled, generated and control message.
In a kind of alternative of the present embodiment, described Knockdown block judges according to following mode whether described fragment message is last fragment message of controlling message:
If the specific fields in the fragment message head of described fragment message indicates this fragment message for controlling last fragment message of message, judge that described fragment message is for controlling last fragment message of message under it;
Or if carry specific end identification information in the payload data part of described fragment message, described fragment message is to control last fragment message of message under it.
In a kind of alternative of the present embodiment, described specific end identification information is END TLV information.
In a kind of alternative of the present embodiment, described Knockdown block judges whether to finish receiving the affiliated all fragment messages of controlling message of this fragment message according to following mode:
In at least one fragment message of the affiliated control message of described fragment message, receive the divided segmentation number of described control message, and the number of the current fragment message that belongs to this control message having received is described segmentation number, judgement has finished receiving the affiliated all fragment messages of controlling message of this fragment message.
The embodiment of the present invention provides a kind of control message handling system, as shown in Figure 9, comprises above-mentioned control packet transmission device and controls message receiving system.
One of ordinary skill in the art will appreciate that all or part of step in said method can come instruction related hardware to complete by program, described program can be stored in computer-readable recording medium, as read-only memory, disk or CD etc.Alternatively, all or part of step of above-described embodiment also can realize with one or more integrated circuits.Correspondingly, each the module/unit in above-described embodiment can adopt the form of hardware to realize, and also can adopt the form of software function module to realize.The present invention is not restricted to the combination of the hardware and software of any particular form.

Claims (19)

1. based on Openflow, control a message processing method, it is characterized in that, comprising:
When transmitting terminal judgement need to be cut apart the data of control message, by the Data Segmentation of described control message, it is multistage, every section is encapsulated as a fragment message and generates a plurality of fragment messages, wherein, in described a plurality of fragment message, at least exist a fragment message to carry the segmentation indication information of described control message, described segmentation indication information is used to indicate to be controlled the segmentation number that message cuts apart described in receiving terminal or indicates described control message fragment to finish;
Described transmitting terminal sends to described receiving terminal by described a plurality of fragment messages.
2. the method for claim 1, is characterized in that, the segmentation indication information that at least exists a fragment message to carry described control message in described a plurality of fragment messages comprises:
Whether in each fragment message, carry this fragment message is the indication information of last fragment message of this control message;
Or, in the fragment message at the last data segment place of described control message, carry the ENMES information of controlling;
Or, at least one fragment message of described a plurality of fragment messages, carry the divided segmentation number of described control message.
3. method as claimed in claim 2, is characterized in that, whether described this fragment message that carries in each fragment message is that the indication information of last fragment message of this control message comprises:
When described fragment message is last fragment message of described control message, the specific fields in the fragment message head of described fragment message is set to the first preset value, indicating current fragment message is last fragment message of described control message;
When described fragment message is non-last fragment message of described control message, specific fields in the fragment message head of described fragment message is set to the value outside described the first preset value, and indicating current fragment message is non-last fragment message of described control message.
4. method as claimed in claim 2, is characterized in that, carries to control ENMES information and comprise in the fragment message at the last data segment place of described control message:
In the payload data part of the fragment message at last data segment place of described control message, increase specific end identification information, indicating the data segment that described fragment message carries is last data segment of described control message.
5. method as claimed in claim 4, is characterized in that, described specific end identification information is end type, length, value END TLV information.
6. based on Openflow, control a message processing method, it is characterized in that, comprising:
Receiving terminal receives after fragment message, judges whether described fragment message is last fragment message of controlling message, or, whether finished receiving the affiliated all fragment messages of controlling message of this fragment message; If so, the fragment message that belongs to same control message having received is assembled, generated and control message.
7. method as claimed in claim 6, is characterized in that, according to following mode, judges whether described fragment message is last fragment message of controlling message:
If the specific fields in the fragment message head of described fragment message indicates this fragment message for controlling last fragment message of message, judge that described fragment message is for controlling last fragment message of message under it;
Or if carry specific end identification information in the payload data part of described fragment message, described fragment message is to control last fragment message of message under it.
8. method as claimed in claim 7, is characterized in that, described specific end identification information is end type, length, value END TLV information.
9. method as claimed in claim 6, is characterized in that, judges whether to finish receiving all fragment messages of controlling message under this fragment message according to following mode:
In at least one fragment message of the affiliated control message of described fragment message, receive the divided segmentation number of described control message, and the number of the current fragment message that belongs to this control message having received is described segmentation number, judgement has finished receiving the affiliated all fragment messages of controlling message of this fragment message.
10. based on Openflow, control a packet transmission device, it is characterized in that, comprising:
Cut apart module, in the time of need to cutting apart the data of control message for judging, by the Data Segmentation of described control message, it is multistage, every section is encapsulated as a fragment message and generates a plurality of fragment messages, wherein, in described a plurality of fragment messages, at least one fragment message, carry the segmentation indication information of described control message, described segmentation indication information is used to indicate to be controlled the segmentation number that message cuts apart described in receiving terminal or indicates described control message fragment to finish;
Sending module, for sending to described receiving terminal by described a plurality of fragment messages.
11. devices as claimed in claim 10, is characterized in that, described in cut apart module and in described a plurality of fragment messages, at least one fragment message, carry the segmentation indication information of described control message and comprise:
Whether in each fragment message, carry this fragment message is the indication information of last fragment message of this control message;
Or, in the fragment message at the last data segment place of described control message, carry the ENMES information of controlling;
Or, at least one fragment message of described a plurality of fragment messages, carry the divided segmentation number of described control message.
12. devices as claimed in claim 11, is characterized in that, described in cut apart module whether in each fragment message, carry this fragment message be that the indication information of last fragment message of this control message comprises:
When described fragment message is last fragment message of described control message, the specific fields in the fragment message head of described fragment message is set to the first preset value, indicating current fragment message is last fragment message of described control message;
When described fragment message is non-last fragment message of described control message, specific fields in the fragment message head of described fragment message is set to the value outside described the first preset value, and indicating current fragment message is non-last fragment message of described control message.
13. devices as claimed in claim 11, is characterized in that, described in cut apart module and in the fragment message at the last data segment place of described control message, carry and control ENMES information and comprise:
In payload data part in the fragment message at last data segment place of described control message, increase specific end identification information, indicating the data segment that described fragment message carries is last data segment of described control message.
14. devices as claimed in claim 13, is characterized in that, described specific end identification information is end type, length, value END TLV information.
Based on Openflow, control message receiving system for 15. 1 kinds, it is characterized in that, comprising:
Receiver module, for receiving fragment message;
Knockdown block, for judging whether described fragment message is last fragment message of controlling message, or, whether finished receiving the affiliated all fragment messages of controlling message of this fragment message; If so, the fragment message that belongs to same control message having received is assembled, generated and control message.
16. devices as claimed in claim 15, is characterized in that, described Knockdown block judges according to following mode whether described fragment message is last fragment message of controlling message:
If the specific fields in the fragment message head of described fragment message indicates this fragment message for controlling last fragment message of message, judge that described fragment message is for controlling last fragment message of message under it;
Or if carry specific end identification information in the payload data part of described fragment message, described fragment message is to control last fragment message of message under it.
17. devices as claimed in claim 16, is characterized in that, described specific end identification information is end type, length, value END TLV information.
18. devices as claimed in claim 15, is characterized in that, described Knockdown block judges whether to finish receiving the affiliated all fragment messages of controlling message of this fragment message according to following mode:
In at least one fragment message of the affiliated control message of described fragment message, receive the divided segmentation number of described control message, and the number of the current fragment message that belongs to this control message having received is described segmentation number, judgement has finished receiving the affiliated all fragment messages of controlling message of this fragment message.
Based on Openflow, control message handling system for 19. 1 kinds, it is characterized in that, comprise control packet transmission device as described in as arbitrary in claim 10 to 14 and as arbitrary in claim 15 to 18 as described in control message receiving system.
CN201310218940.3A 2013-06-04 2013-06-04 Openflow-based control message processing method, Openflow-based control message transmitting device, Openflow-based control message receiving device and Openflow-based control message processing system Withdrawn CN104219178A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201310218940.3A CN104219178A (en) 2013-06-04 2013-06-04 Openflow-based control message processing method, Openflow-based control message transmitting device, Openflow-based control message receiving device and Openflow-based control message processing system
PCT/CN2014/075806 WO2014194724A1 (en) 2013-06-04 2014-04-21 Openflow-based control message processing method, sending device, and receiving device and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310218940.3A CN104219178A (en) 2013-06-04 2013-06-04 Openflow-based control message processing method, Openflow-based control message transmitting device, Openflow-based control message receiving device and Openflow-based control message processing system

Publications (1)

Publication Number Publication Date
CN104219178A true CN104219178A (en) 2014-12-17

Family

ID=52007516

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310218940.3A Withdrawn CN104219178A (en) 2013-06-04 2013-06-04 Openflow-based control message processing method, Openflow-based control message transmitting device, Openflow-based control message receiving device and Openflow-based control message processing system

Country Status (2)

Country Link
CN (1) CN104219178A (en)
WO (1) WO2014194724A1 (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107949856A (en) * 2015-09-01 2018-04-20 微软技术许可有限责任公司 Email diamond
CN110875911A (en) * 2018-09-03 2020-03-10 厦门奇力微电子有限公司 Communication protocol and communication method for supporting automatic identification of single data packet data bit number
CN112968844A (en) * 2021-02-05 2021-06-15 武汉绿色网络信息服务有限责任公司 Method and device for sending fragment message

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1492644A (en) * 2002-10-22 2004-04-28 华为技术有限公司 Processing method for super long message in two layered virtual special network
CN1852100A (en) * 2005-07-22 2006-10-25 华为技术有限公司 Method for receiving-end to regroup data bag
US7177279B2 (en) * 2001-04-24 2007-02-13 Agere Systems Inc. Buffer management for merging packets of virtual circuits
CN101184032A (en) * 2007-10-31 2008-05-21 中兴通讯股份有限公司 Stacked system equipment communication method
CN101938406A (en) * 2009-07-02 2011-01-05 华为技术有限公司 Method and device for microwave multichannel message transmission and transmission system thereof
CN102571572A (en) * 2011-12-28 2012-07-11 中国人民解放军国防科学技术大学 Short message satellite communication-based data transmission method and device

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100656366B1 (en) * 2005-11-23 2006-12-13 한국전자통신연구원 System for mesuring network quality(qos) using fragmented packet and method thereof
CN102123090B (en) * 2011-02-23 2012-07-04 中国人民解放军国防科学技术大学 IP (Internet protocol) fragment processing method based on two-level table storage and transport layer information inquiry

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7177279B2 (en) * 2001-04-24 2007-02-13 Agere Systems Inc. Buffer management for merging packets of virtual circuits
CN1492644A (en) * 2002-10-22 2004-04-28 华为技术有限公司 Processing method for super long message in two layered virtual special network
CN1852100A (en) * 2005-07-22 2006-10-25 华为技术有限公司 Method for receiving-end to regroup data bag
CN101184032A (en) * 2007-10-31 2008-05-21 中兴通讯股份有限公司 Stacked system equipment communication method
CN101938406A (en) * 2009-07-02 2011-01-05 华为技术有限公司 Method and device for microwave multichannel message transmission and transmission system thereof
CN102571572A (en) * 2011-12-28 2012-07-11 中国人民解放军国防科学技术大学 Short message satellite communication-based data transmission method and device

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107949856A (en) * 2015-09-01 2018-04-20 微软技术许可有限责任公司 Email diamond
CN107949856B (en) * 2015-09-01 2022-05-13 微软技术许可有限责任公司 Email parking lot
CN110875911A (en) * 2018-09-03 2020-03-10 厦门奇力微电子有限公司 Communication protocol and communication method for supporting automatic identification of single data packet data bit number
CN110875911B (en) * 2018-09-03 2022-03-04 厦门奇力微电子有限公司 Communication protocol and communication method for supporting automatic identification of single data packet data bit number
CN112968844A (en) * 2021-02-05 2021-06-15 武汉绿色网络信息服务有限责任公司 Method and device for sending fragment message
CN112968844B (en) * 2021-02-05 2022-05-31 武汉绿色网络信息服务有限责任公司 Method and device for sending fragment message

Also Published As

Publication number Publication date
WO2014194724A1 (en) 2014-12-11

Similar Documents

Publication Publication Date Title
US10305783B2 (en) Packet control method, switch, and controller
CN109391560B (en) Network congestion notification method, proxy node and computer equipment
EP3422656B1 (en) Udp protocol acceleration method and system
US10541899B2 (en) Data packet sending method and apparatus in IPv6 network
US9967193B2 (en) Method and system for increasing data flow transmission
WO2017054576A1 (en) Unicast tunnel building method, apparatus and system
US10797986B2 (en) Link discovery method and apparatus
CN111245776A (en) Vehicle-mounted data transmission method, device, equipment and storage medium
CN114079674B (en) Data processing method, user plane function and device
WO2018188663A1 (en) Method and device for information notification
CN109120540B (en) Method for transmitting message, proxy server and computer readable storage medium
US20170302762A1 (en) Sdn, sdn configuration method, sdn-based data transmission method, and network controller
EP3122012A1 (en) Data processing method and apparatus for openflow network
WO2021088813A1 (en) Packet encapsulating method and apparatus, and packet decapsulating method and apparatus
WO2023124098A1 (en) Method and communication apparatus for generating and sending acknowledgment frame in ieee 802.15.4 network
US7646738B2 (en) Wireless network information distribution method
CN107948217B (en) Switch system and communication method
US10230647B2 (en) Data packet processing method and device
CN107645391B (en) Port configuration method and device of interface expansion equipment
CN108173763B (en) Message processing method, device and system
CN113472718A (en) Service processing method, device, equipment and storage medium
CN104219178A (en) Openflow-based control message processing method, Openflow-based control message transmitting device, Openflow-based control message receiving device and Openflow-based control message processing system
US20240073128A1 (en) Message encapsulation and de-encapsulation method and device, storage medium, and electronic device
CN112737995B (en) Method, device and equipment for processing Ethernet frame and storage medium
WO2016119269A1 (en) Service data stream data packet processing method and device

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
WW01 Invention patent application withdrawn after publication
WW01 Invention patent application withdrawn after publication

Application publication date: 20141217