WO2014127517A1 - 报文处理方法、转发器、报文处理设备、报文处理系统 - Google Patents

报文处理方法、转发器、报文处理设备、报文处理系统 Download PDF

Info

Publication number
WO2014127517A1
WO2014127517A1 PCT/CN2013/071747 CN2013071747W WO2014127517A1 WO 2014127517 A1 WO2014127517 A1 WO 2014127517A1 CN 2013071747 W CN2013071747 W CN 2013071747W WO 2014127517 A1 WO2014127517 A1 WO 2014127517A1
Authority
WO
WIPO (PCT)
Prior art keywords
message
reporting
flow
control
packet
Prior art date
Application number
PCT/CN2013/071747
Other languages
English (en)
French (fr)
Inventor
倪慧
谭仕勇
熊志伟
蔡慧
Original Assignee
华为技术有限公司
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 华为技术有限公司 filed Critical 华为技术有限公司
Priority to PCT/CN2013/071747 priority Critical patent/WO2014127517A1/zh
Priority to CN201380000317.9A priority patent/CN104160735B/zh
Publication of WO2014127517A1 publication Critical patent/WO2014127517A1/zh
Priority to US14/819,241 priority patent/US9800479B2/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/06Generation of reports
    • H04L43/062Generation of reports related to network traffic
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/16Threshold monitoring
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/20Arrangements for monitoring or testing data switching networks the monitoring system or the monitored elements being virtualised, abstracted or software-defined entities, e.g. SDN or NFV
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W24/00Supervisory, monitoring or testing arrangements
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/74Address processing for routing
    • H04L45/745Address table lookup; Address filtering

Definitions

  • the present invention relates to network communication, and specifically relates to a message processing method, a repeater, a message processing device, and a message processing system under the control forwarding decoupling architecture. Background technique
  • SDN software-Defined Network
  • the SDN decouples the control logic and the forwarding function of the network element, and centrally deploys the control logic, so that the control and maintenance of the network can be realized simply by operating the control plane device, thereby improving network management efficiency, and
  • the forwarding plane device is simplified, which is beneficial to the high performance and reusability of the forwarding device.
  • SDN concept is being widely applied to data center networks and telecommunication networks.
  • the following SDN-based network is called a network that controls the forwarding decoupling architecture.
  • the controller is responsible for determining the forwarding action (such as forwarding, discarding, and modifying) of the service flow according to the packet characteristics (such as IP quintuple, Ethernet frame header, VLAN ID, etc.). Packet header, encapsulation, decapsulation, etc., and send the corresponding flow rules (including flow matching information (such as IP quintuple, Ethernet frame header, etc.) and corresponding actions) to the forwarder, and the forwarder obtains And store the The flow rule is used to perform the corresponding action on the subsequent packets matching the flow rule, so as to implement packet forwarding.
  • the packet characteristics such as IP quintuple, Ethernet frame header, VLAN ID, etc.
  • Packet header, encapsulation, decapsulation, etc. and send the corresponding flow rules (including flow matching information (such as IP quintuple, Ethernet frame header, etc.) and corresponding actions) to the forwarder, and the forwarder obtains And store the The flow rule is used to perform the corresponding action on the subsequent packets
  • each packet that cannot match any of the flow rules stored in the flow table triggers a message report message. Therefore, before the forwarder receives the flow rule installation message and successfully installs the flow rule, even the message of the same flow will cause multiple messages to be reported.
  • the repeater may receive a large number of streams belonging to the same stream at the same time.
  • User packets which result in a large number of concurrent messages being reported.
  • the message reporting of these messages not only consumes the computing resources of the repeater and the controller, but also occupies the signaling transmission resources, such as the failure of the flow rule installation message transmission, which in turn causes more messages to be reported, which makes the control of the entire system.
  • the interface is in an overload state. Summary of the invention
  • the technical problem to be solved by the present invention is how to effectively reduce the message reported in the control forwarding decoupling architecture.
  • a packet processing method applicable to a control forwarding decoupling architecture including a repeater and a controller including: The message reporting control information, where the message reporting control information includes a reporting control indication and a control threshold; and the repeater stops according to the reporting control instruction, when the control parameter reaches or exceeds the control threshold Sending a message report message related to a flow to the controller.
  • the control threshold is a maximum reporting frequency, and the control parameter is used to count the frequency of the message reporting message related to the flow; or the control threshold is a maximum reporting time, and the control parameter is used to collect statistics related to the flow.
  • the duration of the message sent by the message is sent; or the control threshold is the maximum number of times of reporting, and the control parameter is used to count the number of times the message is sent by the message related to the flow.
  • the forwarder obtains the packet reporting control information by using one or more of the following manners: the forwarder reads the local The configuration information, where the local configuration information includes the message reporting control information; the repeater receives a configuration message from the controller, where the configuration message carries the message reporting control information; The forwarder receives the flow rule installation message from the controller, where the flow rule installation message carries the message report control information.
  • the method further includes: after the sending of the message reporting message related to the flow is stopped, the repeater sends the unreported message of the flow
  • the buffer is buffered to a buffer area that is associated with the buffered area of the reported message of the flow, and the unfiltered message is a message that is not sent by the corresponding message, and the reported message is Refers to the message that has been sent to the corresponding message reporting message; and the repeater receives the flow rule installation message sent by the controller, and performs the described manner on the cached report message and the unreported message.
  • the processing action defined by the flow rule installation message is defined by the flow rule installation message.
  • the method further includes: after the sending of the message reporting message related to the flow is stopped, the forwarder loses the unreported message of the flow The packet is not sent, and the unreported packet is a packet that does not send a corresponding message.
  • the packet reporting control information further includes a reporting threshold; the packet processing method further includes: the number of unreported packets in the flow In the case that the reporting threshold is reached, the The forwarder sends an unreported message report message to the controller, where the unreported message refers to a message that does not send a corresponding message report message, and the unreported message report message includes flow matching information and a report.
  • the packet reporting control information further includes a reporting threshold; the packet processing method further includes: the number of unreported packets in the flow In the case that the reporting threshold is reached, the The forwarder sends an unreported message report message to the controller, where the unreported message refers to a message that does not send a corresponding message report message, and the unreported message report message includes flow matching information and a report.
  • the message reporting control information further includes a report indication; the message processing method further includes: when the control parameter reaches the control threshold In the case, the repeater sends a pause report message to the controller, where the pause report message includes flow matching information and a pause report reason.
  • a repeater including: a report control information acquiring unit, configured to acquire message reporting control information, where the message reports control information And the reporting control unit is connected to the reporting control information acquiring unit, configured to: according to the reporting control instruction, if the control parameter reaches or exceeds the control threshold, The repeater stops sending a message reporting message related to a flow to the controller that implements control forwarding decoupling with the repeater.
  • the control threshold includes one or more of a maximum reporting frequency, a maximum reporting duration, and a maximum reporting frequency, where: the maximum reporting frequency indicates permission The maximum frequency of the message sent by the forwarder for the message, and the report control unit makes the frequency when the frequency of the message sent by the message related to the flow is up to or exceeds the maximum reported frequency.
  • the forwarding device stops sending a message reporting message related to the flow; the maximum reporting time length indicates a maximum duration for allowing the repeater to send a message for a flow, and is used to collect a packet related to a flow.
  • the report control unit When the duration of the report message is up to or exceeds the maximum report duration, the report control unit causes the repeater to stop sending a message report message related to the stream; and the maximum number of times of reporting indicates that the repeater is allowed Needle The highest number of times the message is sent to a flow, and the reporting control unit stops the repeater when the number of times the message is reported to be related to a flow is up to or exceeds the maximum number of times the message is sent. Send a message report message related to the flow.
  • the reporting control information acquiring unit acquires the packet reporting control information by using one or more of the following manners: reading the transponder Local configuration information, where the local configuration information includes the message reporting control information; receiving a configuration message from the controller, where the configuration message carries the message reporting control information; and, receiving the source information The flow rule installation message of the controller, where the flow rule installation message carries the message reporting control information.
  • the method further includes: an unreported message buffer unit, connected to the reporting control unit, configured to stop the transponder from being sent by the reporting control unit After the message related to the flow is reported, the unreported message of the flow is cached to a buffer area that is associated with the buffered area of the reported message of the flow or has the same identifier, where the unreported message is The message that the corresponding message is not sent is sent, and the message that has been sent is the message that has been sent by the corresponding message.
  • the packet reporting control information further includes a reporting threshold; the transponder further includes an unreported packet reporting unit, and the unreported packet reporting unit And if the number of the unreported packets of the flow reaches the report threshold, the forwarder sends an unreported message report message to the controller, where the unreported message refers to not being sent.
  • the message of the unreported message report includes the flow matching information and the packet statistical information.
  • the message reporting control information further includes a report indication
  • the forwarder further includes a pause report report.
  • the repeater is caused to send a pause report message to the controller, where the pause report message includes flow matching information and a pause report reason.
  • a message processing apparatus including a communication interface, a processor, and a computer readable medium connected by a bus, the computer readable medium Used to store program code processing methods.
  • a message processing device including: a receiver, configured to receive a user message; and a transmitter, configured to The message processing device together implements the control forwarding decoupling controller to send a message report message; and the processor, configured to obtain the message report control information, where the message report control information includes a report control indication and a control threshold, and the processing The device is further configured to, according to the reporting control indication, stop the transmitter from transmitting a message reporting message related to a flow if the control parameter reaches or exceeds the control threshold.
  • the control threshold is a maximum reporting frequency, and the control parameter is used to collect a frequency of sending a message reported by the flow; or
  • the control threshold is a maximum reporting time, and the control parameter is used to count the duration of the message reporting message related to the flow; or the control threshold is the maximum number of times of reporting, and the control parameter is used for statistics and The number of times the flow-related message is reported.
  • the processor acquires the message reporting control information by using one or more of the following manners: reading the message processing Local configuration information of the device, where the local configuration information includes the message reporting control information; receiving the information from the controller a configuration message, where the configuration message carries the message reporting control information; and, receiving a flow rule installation message from the controller, where the flow rule installation message carries the message reporting control information.
  • the message reporting control information further includes a report indication
  • the processor is further configured to: when the control parameter reaches the control threshold And causing the sender to send a pause report message to the controller, where the pause report message includes flow matching information and a reason for suspension report.
  • the packet reporting control information further includes a reporting threshold
  • the processor is further configured to: the number of unreported packets in the flow reaches the In the case of reporting the threshold, the sender is configured to send an unreported message report message to the controller, where the unreported message is a message that does not send a corresponding message report message, and the unreported message
  • the text report message includes flow matching information and message statistics.
  • the processor is further configured to: after the transmitter stops sending the message related to the flow, the flow is not
  • the report message is buffered to a buffer area that is associated with the buffered area of the reported message of the flow or has the same identifier.
  • the unreported message is a message that does not send a corresponding message, and the reported message is sent.
  • a packet is a packet that has been sent with the corresponding packet.
  • a message processing system including: any one of the above-mentioned repeaters; and implementing control forwarding decoupling together with the repeater Controller.
  • a message processing system comprising: any one of the above message processing devices; and implementing control with the message processing device Forward the decoupled controller.
  • the message processing method, the repeater, the message processing device, and the message processing system according to the above embodiment of the present invention can be effectively controlled by controlling the transmission of the message reporting message belonging to the same flow according to the message reporting control information.
  • Reduce unnecessary packet reporting which can effectively improve the efficiency of the flow rule request, reduce the load on the control forwarding interface, reduce the resource consumption of the controller and the repeater, and improve the stability of the system operation.
  • 1 is a timing diagram showing a prior art processing method based on OF protocol
  • FIG. 2 is a timing diagram showing a message processing method in a control forwarding decoupling architecture according to an embodiment of the invention
  • FIG. 3 is a timing diagram showing a method for processing a message in a control forwarding decoupling architecture according to another embodiment of the present invention.
  • FIG. 4 is a timing diagram showing a method for processing a message in a control forwarding decoupling architecture according to still another embodiment of the present invention.
  • FIG. 5 is a timing diagram showing a method for processing a message in a control forwarding decoupling architecture according to still another embodiment of the present invention.
  • FIG. 6 is a timing diagram showing a method for processing a message in a control forwarding decoupling architecture according to still another embodiment of the present invention.
  • FIG. 7 is a block diagram showing a schematic structure of a repeater according to an embodiment of the present invention
  • FIG. 8 is a block diagram showing a structure of a packet processing apparatus according to an embodiment of the present invention. as well as
  • Fig. 9 is a block diagram showing the structure of a message processing apparatus according to another embodiment of the present invention. detailed description
  • OF is the most typical and widely used protocol in SDN networks.
  • the network elements in the OF protocol include an OF controller (OpenFlow controller) and an OF repeater.
  • the OF forwarder obtains and stores the flow rule, and performs a corresponding action on the subsequent packet conforming to the flow rule, so as to implement packet forwarding.
  • FIG. 1 is a timing diagram showing a prior art processing method based on OF protocol.
  • the basic process of user packet forwarding control based on the OF protocol includes:
  • the OF forwarder stores the packet locally, and obtains the corresponding buffer ID, and the OF forwarder buffers the area ID and the packet.
  • the reason for the request (OFPR_NO_MATCH means "no matching flow table") is reported by a message, such as Packetjn (buffer id,
  • OF controller ⁇ According to the characteristics of the message determines the action that should be performed on the message, such as forwarding to the designated port, discarding, modifying, encapsulating, decapsulating, and so on.
  • the OF controller generates a flow rule based on the determined action to be performed, and sends the generated flow rule and buffer id to the OF forwarder through a flow rule message, such as Flow_mod (buffer id, flow entry).
  • the flow rule includes the matching item information corresponding to the flow, such as an Ethernet frame header, an IP header information, or a combination of any information in a TCP/UDP port number.
  • the OF forwarder stores (installs) the flow rule into the flow table, and obtains a packet requesting the request from the buffer corresponding to the buffer id, and executes the action included in the flow rule .
  • the flow regulator is received at the OF forwarder Before the message Flow_mod is installed and the flow rules are successfully installed, even packets of the same stream will result in multiple Packetjn. This not only consumes the computing resources of the OF repeater and the OF controller, but also occupies signaling transmission resources, so that the control interface of the entire system is in an overload state.
  • the packet processing method includes: the forwarder acquiring the packet report control information including at least the report control indication and the control threshold; and the forwarder according to the report control indication, when the control parameter reaches or exceeds the control threshold, the forwarder controls The device stops sending message reports related to a flow.
  • the control threshold may include one or more of a maximum reporting frequency, a maximum reporting duration, and a maximum reporting frequency, where: the maximum reporting frequency indicates a maximum frequency at which the forwarding device is allowed to send a message for a flow, and When the control threshold includes the maximum reporting frequency, the control parameter is used to count the frequency of sending a message reporting message related to a flow; the maximum reporting duration indicates the maximum duration of the message that the repeater is allowed to send a message to a flow, and the control threshold is When the maximum reporting time is included, the control parameter is used to count the duration of the message reporting message sent by a flow; and the maximum number of times the message is sent indicates the maximum number of times the repeater is allowed to send a message to a stream, and the control threshold includes When the maximum number of times of reporting is used, the control parameter is used to count the number of times the message is reported to be sent by a flow.
  • the forwarder can obtain the message reporting control information by using one or more of the following modes: The forwarder reads the local configuration information including the message reporting control information, and the forwarder receives the report from the controller. The message reports the configuration information of the control information, and the forwarder receives the flow rule installation message carrying the message reporting control information from the controller.
  • the packets belonging to the same stream are transmitted according to the message reporting control information.
  • the report message is sent for control, and the message processing method can effectively avoid the generation of a large number of message report messages caused by, for example, burst messages, thereby effectively reducing the load on the control forwarding interface and reducing the resource occupation of the controller and the repeater. And improve the stability of the system operation.
  • the forwarder may buffer the unreported message of the flow to the flow.
  • the buffer area of the reported message is associated with or has the same identified buffer area.
  • the unreported packet is a packet that has not been sent with the corresponding packet
  • the reported packet is a packet that has been sent with the corresponding packet.
  • the forwarder when it receives the flow rule installation message sent by the controller, it can perform the processing actions defined by the flow rule installation message, such as forwarding and discarding, on the cached reported message and the unreported message belonging to the flow. , modification, encapsulation, decapsulation, etc.
  • the forwarder may discard the unreported message of the flow after stopping sending the message related to the flow. In this case, the forwarder only needs to perform processing on the cached reported message after obtaining the flow rule. Compared to the implementation of caching unreported messages, although this implementation may result in traffic retransmissions, it can appropriately reduce the buffer pressure of the repeater.
  • the message reporting control information may further include a report indication.
  • the message processing method may further include: when the control parameter reaches the control threshold, the repeater sends a pause report message to the controller.
  • the suspending report report message may include one or more of flow matching information, suspending reporting reason, and packet statistical information.
  • the message reporting control information may further include a reporting threshold.
  • the foregoing method can further include: when the number of unreported messages of the flow reaches a reporting threshold, the repeater can control The device sends an unreported message report message.
  • the unreported message report message may include one or more of flow matching information, message statistical information, and a reason for sending the report.
  • FIG. 2 is a timing diagram showing a message processing method in a control forwarding decoupling architecture according to an embodiment of the invention.
  • the OpenFlow protocol is used as an example.
  • the OF forwarder obtains the packet report control information by receiving the configuration message from the OF controller, and caches the unreported message belonging to the same flow to the reported flow.
  • the buffer area of the message has the same ID in the buffer area.
  • the unreported packet is a packet that has not been sent with the corresponding packet
  • the reported packet is a packet that has been sent with the corresponding packet.
  • the basic process of the processing method includes:
  • the OF controller sends the packet report control information to the OF forwarder, for example, Set_config (the message reporting control information).
  • the message reporting control information may include information such as a reporting control indication and a control threshold.
  • the maximum reporting frequency of 1 time/second can be set as the control threshold.
  • the report control indication in the message reporting control information is true (indicating that the message is to be sent to the OF controller)
  • the OF forwarder controls the transmission of Packet_in according to the control threshold in the message reporting control information.
  • the OF forwarder stops transmitting when a control parameter for counting, for example, frequency, duration, and/or number of times transmitted by the Packet_in associated with the flow reaches or exceeds a control threshold.
  • the Packet in associated with the flow caches the unreported packets belonging to the flow into the buffer corresponding to the bufferjd.
  • the maximum reporting frequency can be set to 1 time/second as the control threshold, that is, only p ac ket_in is allowed to be sent once per second. In this case, the control parameters need to count the frequency of Packetjn transmissions associated with the flow.
  • the OF controller formulates the flow rule corresponding to the packet according to the received Packetjn message, and sends the buffer_id and the flow rule flow entry corresponding to the packet to the OF forwarder through the Flow_mod message.
  • the OF forwarder installs the flow rule sent by the OF controller into the flow table, and obtains all the stored messages from the buffer corresponding to the bufferjd, and performs the processing action corresponding to the flow rule on the packet. , such as forwarding, discarding, modifying, encapsulating, decapsulating, etc.
  • the message processing method can effectively reduce unnecessary message reporting and improve flow rule request by controlling the message sending message transmission of the same stream according to the message reporting control information. s efficiency.
  • the unreported message may also be directly discarded to reduce the buffer pressure.
  • the OF forwarder only needs to report and slow down after obtaining the flow rule.
  • the stored message performs processing.
  • FIG. 3 is a timing diagram showing a method for processing a message in a control forwarding decoupling architecture according to another embodiment of the present invention.
  • the OpenFlow protocol is used as an example.
  • the OF forwarder obtains the packet reporting control information by reading the local configuration information, and caches the unreported packets belonging to the same flow to the reported packet of the flow.
  • the cache area associated with the cache area As shown in Figure 3, the basic process of the packet processing method includes:
  • the OF forwarder obtains the message reporting control information from the local configuration information before performing the message reporting to the OF controller.
  • the message reporting control information may include information such as a reporting control indication and a control threshold.
  • the maximum reporting time of 3 seconds can be set as the control threshold.
  • the OF forwarder matches the packet with the flow table. If no matching flow rule is found, the packet is buffered into the buffer and the packet is sent. The message Packetjn is reported to the OF controller to obtain the corresponding flow rule.
  • the OF forwarder stops transmitting the flow related to the flow.
  • Packet in caches the unreported packets belonging to the flow into the buffer area, and associates the buffer areas with the buffered area of the flowed reported message.
  • the maximum reporting time of 3 seconds can be set as the control threshold, that is, only the Packet_in message can be normally sent within the first 3 seconds. In this case, the control parameters need to count the duration of the Packet_in transmission associated with the flow.
  • the association of the buffer area may be implemented by any method including, but not limited to, the following: for example, the buffer area ID of the stream that is not up to 4 ⁇ 4 ⁇ and the buffer area of the reported message of the stream.
  • the ID is recorded in the same linked list, and the buffer ID of the unreported message of the flow is recorded in the same array as the buffer ID of the reported message of the flow, or the buffer of the unreported message of the flow and
  • the buffered area of the reported packet of the flow is bound to the same flow identifier.
  • the OF controller formulates the flow rule corresponding to the packet according to the received Packetjn message, and sends the buffer_id and the flow rule flow entry corresponding to the packet to the OF forwarder through the Flow_mod message.
  • the OF forwarder installs the flow rule delivered by the OF controller into the flow table, and obtains all the stored messages from the bufferjd and its associated buffer area, and performs flow rule corresponding to the message. Process actions such as forwarding, discarding, modifying, encapsulating, decapsulating, and so on.
  • FIG. 4 is a timing diagram showing a method for processing a message in a control forwarding decoupling architecture according to still another embodiment of the present invention.
  • the OpenFlow protocol is used as an example.
  • the OF forwarder obtains the packet report control information by reading the local configuration information and receiving the configuration message from the OF controller, and buffers the unreported packets belonging to the same flow to the OF. In the buffer with the same ID as the buffer of the reported message of the stream.
  • the basic process of the packet processing method includes:
  • the OF forwarder obtains the first packet from the local configuration information at startup. Report control information.
  • the first message reporting control information may include information such as a reporting control indication, a first control threshold, and the like.
  • the OF controller sends the second message reporting control information to the O F forwarder, for example, Set_config (; the message reporting control information) through the configuration message.
  • the second message reporting control information may include one or more of a reporting control indication, a second control threshold, and the like.
  • the OF forwarder combines the first message reporting control information with the second message reporting control information, and may specifically combine the first control threshold and the second control threshold to determine a control threshold that needs to be performed. If the first control threshold conflicts with the second control threshold, the OF forwarder needs to determine the priority of the two according to the local policy, and adopt the higher priority as the control threshold.
  • the first control threshold includes a maximum reporting frequency of 5 times/second and a maximum number of times of reporting
  • the second control threshold includes a maximum reporting frequency of 3 times/second and a maximum number of reporting times of five times.
  • the OF controller can consider that the second control threshold has a higher priority, and accordingly, the control threshold that needs to be executed is set to the maximum reporting frequency of 3 times/second and the maximum number of times of reporting 5 times.
  • the report control indication in the message reporting control information is true (indicating that the message is to be sent to the OF controller)
  • the OF forwarder controls the transmission of Packet_in according to the control threshold in the message reporting control information.
  • the OF repeater stops transmitting.
  • the Packet in associated with the stream is cached in the cache area corresponding to the buffer with the same ID as the buffer of the reported message of the stream, that is, the buffer_id.
  • the maximum reporting frequency of 3 times/second and the maximum number of times of reporting can be set as the control threshold, that is, only Packet_in is allowed to be sent once per second, and only the first five Packet_ins are allowed to be transmitted.
  • the control parameters need to count the frequency and number of times Packetjn is sent in relation to the flow.
  • the OF controller formulates the flow rule corresponding to the packet according to the received Packetjn message, and sends the buffer_id and the flow rule flow entry corresponding to the packet to the OF forwarder through the Flow_mod message.
  • the OF forwarder installs the flow rule sent by the OF controller into the flow table, and obtains all the stored messages from the buffer corresponding to the bufferjd, and performs the processing action corresponding to the flow rule on the message. , such as forwarding, discarding, modifying, encapsulating, decapsulating, etc.
  • FIG. 5 is a timing diagram showing a method for processing a message in a control forwarding decoupling architecture according to still another embodiment of the present invention.
  • the OpenFlow protocol is used as an example.
  • the OF forwarder receives the flow rule installation message from the OF controller to obtain the message reporting control information, and the statistics information of the unreported message belonging to a flow is not reported.
  • the report message is reported to the OF controller.
  • the basic process of the packet processing method includes:
  • the OF controller sends a flow rule including the message reporting control information to the OF forwarder through a flow rule installation message, for example, Flow_mod (flow entry, Action: SET TO CONTROLLER, message reporting control information).
  • Flow_mod flow entry, Action: SET TO CONTROLLER, message reporting control information
  • the Flow_mod message may be caused by other message reporting messages, or may be initiated by the OF controller, which is not limited by the present invention.
  • the Flow_mod message may include flow matching information, corresponding processing actions (which may include performing reporting to the OF controller), and message reporting control information.
  • the message reporting control information may include information such as a report control indication, a control threshold, and a report threshold.
  • the maximum reporting frequency of 5 times/second can be set as the control threshold.
  • the OF forwarder matches the packet with the flow table. If the packet can match the flow rule, the corresponding processing action is performed.
  • the processing action includes reporting the message to the OF controller, so the OF forwarder sends the message reporting message Packetjn to the OF controller.
  • the processing action may further include other actions, such as forwarding, discarding, modifying, encapsulating, decapsulating, and the like.
  • the OF repeater stops transmitting The stream is related to Packet_in.
  • the maximum upper 4 ⁇ frequency 5 times/second can be set as the control threshold, that is, only 5 times of Packet_in is allowed to be sent per second. In this case, the control parameters need to count the number of Packetjn transmissions associated with the flow.
  • the OF forwarder when the number of the upper limit of the flow reaches the threshold of 4, the OF forwarder sends the message to the OF controller that is not up to 4, 4, and 4 packets, Packet_report, For example, Packet_report (flow, packet statistics, reason).
  • the Packet_report message may include the flow matching information (such as the IP quintuple, the Ethernet frame header, and the like), the packet statistics information (such as the number of packets, the packet size, the packet occupation bandwidth, etc.), and may also include The reason for sending the report, etc.
  • the flow matching information such as the IP quintuple, the Ethernet frame header, and the like
  • the packet statistics information such as the number of packets, the packet size, the packet occupation bandwidth, etc.
  • the reason for sending the report etc.
  • FIG. 6 is a timing diagram showing a method for processing a message in a control forwarding decoupling architecture according to still another embodiment of the present invention.
  • control forwarding decoupling architecture includes controlling the forwarding decoupled gateway controller (GW controller) and the gateway forwarder (GW forwarder).
  • the GW forwarder obtains the message reporting control information by receiving a flow rule installation message from the G W controller.
  • the GW forwarder performs the sending control of the message reporting message according to the message reporting control information, and sends a pause report message to the GW controller.
  • the basic process of the method for processing the text includes:
  • the GW controller sends the flow rule including the message reporting control information to the GW forwarder, for example, Flow-installation (flow entry, message reporting control information).
  • the Flow_mod message may include flow matching information, a corresponding processing action (the processing action may include performing reporting to the OF controller), and message reporting control information.
  • the message reporting control information may include information such as a report control indication, a control threshold, and a report indication. In one possible implementation, it can be set The maximum number of times of reporting is 5 times as the control threshold.
  • the GW forwarder matches the message with the flow table, and sends a message report message report to the GW controller according to the matched flow rule.
  • the Packet_report message may carry all or part of the content of the packet, such as Packet_report(packet).
  • the GW controller performs other processing actions on the message, such as forwarding, discarding, encapsulating, decapsulating, and the like.
  • the GW repeater stops. Sending the Packet report related to the stream For example, you can set the maximum number of times 4 times as the control threshold, that is, only the first 5 Packet_reports are allowed to be sent. In this case, the control parameters need to count the number of times the Packet_report is sent in relation to the flow.
  • the Packet_report_paused message may include the flow matching information (such as the IP quintuple, the Ethernet frame header, and the like), the reason for the suspension of the report, and the like, and may also include the packet statistics (such as the number of packets, the size of the packet, The packet occupies bandwidth, etc., such as Packet report paused (flow, packet statistics, reason).
  • the final execution control threshold may be partially or completely
  • the invention is not limited by the configuration information of the local device, the configuration message sent by the GW controller, or the flow rule installation message sent by the GW controller.
  • FIG. 7 is a block diagram showing a schematic structure of a repeater according to an embodiment of the present invention.
  • the repeater 700 is applicable to a control forwarding decoupling architecture that further includes a controller 600 that implements control forwarding decoupling with the repeater 700, and may include a report control information obtaining unit 710 and a report control unit 720.
  • the reporting control information acquiring unit 710 is configured to obtain the message reporting control information, and the message reporting control information may include information such as a reporting control indication and a control threshold.
  • the report control unit 720 is connected to the report control information obtaining unit 710, and is configured to, according to the report control instruction, stop the forwarder 700 from transmitting the message report related to the flow to the controller 600, if the control parameter reaches or exceeds the control threshold. Eliminate
  • the control threshold may include one or more of a maximum reporting frequency, a maximum reporting duration, and a maximum reporting frequency, where: the maximum reporting frequency indicates a maximum frequency that the repeater 700 is allowed to send a message for a stream. And when the control threshold includes the maximum reporting frequency, the control parameter is used to count the frequency of the message reporting message related to the one stream; the maximum reporting time length indicates the maximum duration of the message that the repeater is allowed to send the message for a stream, and When the control threshold includes the maximum reporting duration, the control parameter is used to count the duration of the message reporting message related to a flow; and the maximum number of times the report indicates the maximum number of times the repeater is allowed to send a message to a stream, and is controlled.
  • the control parameter is used to count the number of times the message is reported to be sent by a flow.
  • the report control information obtaining unit 710 can obtain the message report control information by reading one or more of the following manners: reading the local configuration information of the forwarder 700, where the local configuration information includes the message report control information. Receiving a configuration message from the controller 600, the configuration message carrying the message reporting control information; and receiving a flow rule installation message from the controller 600, the flow rule installation message carrying the message reporting control information.
  • the repeater 700 may further include an unreported message buffer unit 730.
  • the unreported message buffering unit 730 is connected to the reporting control unit 720, and is configured to cache the unreported message of the stream after the reporting control unit 720 stops the sending of the message reporting message related to the stream.
  • the buffer of the streamed reported message is associated with or has the same identified buffer.
  • the unreported packet is a packet that has not been sent by the corresponding packet, and the reported packet is a packet that has been sent by the corresponding packet.
  • the forwarder 700 may perform the process of defining the flow rule installation message for the cached reported message and the unreported message belonging to the flow. action.
  • the repeater 700 may further include an unmarked unit 740.
  • the message reporting control information may further include a reporting threshold, so that the unreported message reporting unit 740 may enable the repeater 700 if the number of unreported messages of the flow reaches a reporting threshold.
  • An unreported message report message is sent to the controller 600.
  • the unreported message report message may include flow matching information and message statistics, and may also include a reason for sending the report.
  • the repeater 700 A report reporting unit 750 may also be included.
  • the message reporting control information may further include a report indication, so that in the case that the control parameter reaches the control threshold, the pause report reporting unit 750 may cause the repeater 700 to send a pause report message to the controller 600.
  • the pause report message may include flow matching information, a reason for suspending the report, and may also include message statistics.
  • FIG. 8 is a block diagram showing the structure of a message processing apparatus according to an embodiment of the present invention.
  • the message processing device 800 may be a host server with computing power, a personal computer PC, or a portable computer or terminal that can be carried.
  • the specific embodiments of the present invention do not limit the specific implementation of the computing node.
  • Communication Interface 820 memory array 830 ⁇ Bus 840.
  • the processor 810, the communication interface 820, and the memory 830 complete communication with each other via the bus 840.
  • the communication interface 820 is configured to communicate with a network element, where the network element includes, for example, a virtual machine management center, shared storage, and the like.
  • the processor 810 is used to execute programs.
  • the processor 810 may be a central processing unit CPU, or an Application Specific Integrated Circuit (ASIC), or one or more integrated circuits configured to implement embodiments of the present invention.
  • ASIC Application Specific Integrated Circuit
  • Memory 830 is used to store programs and/or data.
  • Memory 830 may include high speed RAM memory and may also include non-volatile memory, such as at least one disk memory.
  • Memory 830 can also be a memory array.
  • Memory 830 may also be partitioned, and the blocks may be combined into a virtual volume according to certain rules.
  • the above program may be program code including computer operating instructions.
  • the program can be specifically used to: enable control forwarding in a decoupling architecture
  • the forwarding device obtains the message reporting control information, where the message reporting control information includes the reporting control indication and the control threshold; and the forwarding device is configured to report, for example, the frequency of the message related to the flow reporting message according to the reporting control indication. If the control parameter of duration, and/or number of times reaches or exceeds the control threshold, the repeater stops sending a message report message related to the flow to the controller.
  • FIG. 9 is a block diagram showing the structure of a message processing apparatus according to another embodiment of the present invention.
  • the message processing device 900 can be a transponder in a control forwarding decoupling architecture.
  • the message processing device 900 can include a receiver 910, a processor 920, and a transmitter 930, where: the receiver 910 is configured to receive a user message; and the transmitter 930 is configured to process the message with the message.
  • the device 900 is configured to implement the control forwarding decoupling controller 600 to send a message reporting message; and the processor 920 is configured to obtain the message reporting control information, where the message reporting control information may include a reporting control indication and a control threshold.
  • the processor 920 is further configured to, according to the reporting control indication, stop the transmitter 930 from transmitting a message reporting message related to the flow to the controller 600 if the control parameter reaches or exceeds the control threshold.
  • the control threshold may include one or more of a maximum reporting frequency, a maximum reporting duration, and a maximum reporting frequency, where: the maximum reporting frequency indicates that the transmitter 930 is allowed to send a report for one stream.
  • the maximum frequency of the message is reported, and when the control threshold includes the maximum reporting frequency, the control parameter is used to count the frequency of the message reporting message associated with a flow; the maximum reporting duration indicates that the transmitter 930 is allowed to send a message for a stream.
  • the maximum duration of the message and when the control threshold includes the maximum reporting duration, the control parameter is used to count the duration of the message reporting message related to a flow; and the maximum number of reports indicates that the transmitter 930 is allowed to send the message for one stream. Reporting The maximum number of times, and when the control threshold includes the maximum number of times of reporting, the control parameter is used to count the number of times the message is reported to be sent by a flow.
  • the forwarding device can effectively reduce unnecessary message reporting and improve the efficiency of the flow rule request by controlling the message sending message transmission of the same flow according to the message reporting control information. .
  • the processor 920 can obtain the message reporting control information by using one or more of the following manners: reading local configuration information of the message processing device 900, where the local configuration information includes the message Receiving the control information; receiving the configuration message from the controller 600, wherein the configuration message carries the message reporting control information; and receiving the flow rule installation message from the controller 600, wherein the flow rule installation message carries The message reports control information.
  • the message reporting control information may further include a report indication.
  • the processor 920 is further configured to: when the control parameter reaches the control threshold, cause the transmitter 930 to send a pause report message to the controller 600, where the pause report message may include flow matching information. And suspend reporting reasons.
  • the message reporting control information may further include a reporting threshold.
  • the processor 920 is further configured to: when the number of unreported packets of the flow reaches the reporting threshold, cause the transmitter 930 to send an unreported message report message to the controller 600, where the unreported message The packet is a packet that does not send a corresponding packet report message, and the unreported packet report message includes flow matching information and packet statistics.
  • the processor is further configured to cache the unreported message of the flow after the sender stops sending the message related to the flow to report the message a buffer area associated with the buffered area of the reported message of the flow or having the same identifier, wherein the unreported message is a message that does not send a corresponding message, and the reported message refers to Send the corresponding message report Message message.
  • the processor 920 may report the cached reported message belonging to the flow and not reported. The message performs the processing action defined by the flow rule installation message.
  • the function is implemented in the form of computer software and sold or used as a stand-alone product, then all or part of the technical solution of the present invention (eg, contributing to the prior art) may be considered to some extent.
  • Part is embodied in the form of computer software products.
  • the computer software product is typically stored in a computer readable storage medium, including thousands of instructions for causing a computer device (which may be a personal computer, server, or network device, etc.) to perform all or part of the steps of various embodiments of the present invention. .
  • the foregoing storage medium includes a medium that can store program codes, such as a USB flash drive, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk, or an optical disk.
  • the message processing method, the repeater, the controller, and the message processing device provided by the embodiment of the present invention can be applied to a communication network that controls the forwarding decoupling architecture, which can effectively reduce unnecessary message reporting, thereby enabling Effectively improve the efficiency of the flow rule request, reduce the load on the control forwarding interface, reduce the resource consumption of the controller and the repeater, and improve the stability of the system operation.

Landscapes

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

Abstract

本发明实施例公开了可应用于包括转发器和控制器的控制转发解耦架构的报文处理方法、转发器、报文处理设备、报文处理系统,包括:转发器获取包括上报控制指示和控制阈值的报文上报控制信息;以及转发器根据上报控制指示,在控制参数达到或超过控制阈值的情况下,停止发送与一个流相关的报文上报消息。通过根据报文上报控制信息对属于同一个流的报文上报消息发送进行控制,能够有效减少不必要的报文上报,从而可有效提高流规则请求的效率、降低控制转发接口的负荷、减少控制器和转发器的资源占用、并提高系统运行的稳定性。

Description

报文处理方法、 转发器、 报文处理设备、 报文处理系统 技术领域
[01 ] 本发明涉及网络通信,具体涉及控制转发解耦架构下的报 文处理方法、 转发器、 报文处理设备、 报文处理系统。 背景技术
[02] 在目前的电信网络中, 存在着众多复杂的网络设备, 如路 由器、 网关、 交换机、 防火墙和各类服务器等。 这些设备分别 支持各类的网络协议, 从而实现网元间的互联互通。 每一台设 备都由内部的报文转发模块和各类协议控制模块组成。 这种分 布式的控制模块部署方式, 使得网络的部署和管理非常复杂, 为了实施某个控制参数的修改或升级, 网络操作员必须对每台 设备进行单独的操作。
[03] 为解决网元的部署灵活性和可管理性,业界提出了软件定 义网络 ( Software-Defined Network , SDN ) 的相无念。 SDN通过 将网元的控制逻辑和转发功能解耦, 并将控制逻辑进行集中部 署, 使得对网络的控制和维护工作能够简单地通过对控制面设 备的操作实现, 从而提高网络的管理效率, 并使得转发面设备 更为简单化, 有利于实现转发设备的高性能和可重用性。 目前 SDN思想正在被广泛应用到数据中心网络和电信网络中, 以下 将基于 SDN思想的网络称为控制转发解耦架构的网络。
[04] 在控制转发解耦架构的网络中,控制器负责根据报文特征 (如 IP五元组、 以太网帧头、 VLAN ID等) 确定业务流的转发 动作 (如转发、 丟弃、 修改报文头、 封装、 解封装等), 并通过 将对应的流规则 (包括流匹配信息 (如 IP五元组、 以太网帧头 等) 和对应执行的动作) 下发给转发器, 转发器获取并存储该 流规则, 对于后续符合该流规则的报文执行对应的动作, 从而 实现报文的转发。
[05] 在现有技术中,每个无法匹配流表中所存储任一流规则的 报文都会触发一个报文上报消息。 因此, 在转发器接收到流规 则安装消息并成功安装流规则之前, 即使同一个流的报文也会 导致多个报文上报消息。
[06] 例如, 在某些大数据量报文传输场景中, 如用户报文突发 传输、 或大量用户同时切换到新的转发器等, 转发器可能同时 收到大量的属于同一个流的用户报文, 从而导致大量并发的报 文上报消息。 这些报文上报消息不仅消耗了转发器和控制器的 计算资源, 而且会占用信令传输资源, 如导致流规则安装消息 传输失败, 进而会导致更多的报文上报消息, 使得整个系统的 控制接口处于过载状态。 发明内容
技术问题
[07] 有鉴于此,本发明要解决的技术问题是如何有效减少控制 转发解耦架构中的报文上报消息。
解决方案
[08] 为了解决上述技术问题, 根据本发明的一实施例, 提供了 可应用于包括转发器和控制器的控制转发解耦架构的一种报文 处理方法, 其包括: 所述转发器获取报文上报控制信息, 其中 所述报文上报控制信息包括上报控制指示和控制阈值; 以及, 所述转发器根据所述上报控制指示, 在控制参数达到或超过所 述控制阈值的情况下, 停止向所述控制器发送与一个流相关的 报文上报消息。
[09] 对于上述 4艮文处理方法, 在一种可能的实现方式中, 所述 控制阈值为最大上报频率, 所述控制参数用于统计与该流相关 的报文上报消息发送的频率; 或者, 所述控制阈值为最大上报 时长, 所述控制参数用于统计与该流相关的报文上报消息发送 的持续时间; 或者, 所述控制阈值为最大上报次数, 所述控制 参数用于统计与该流相关的报文上报消息发送的次数。
[ 10] 对于上述报文处理方法, 在一种可能的实现方式中, 所述 转发器通过以下方式中的一种或多种来获取所述报文上报控制 信息: 所述转发器读取本地配置信息, 其中所述本地配置信息 包含所述报文上报控制信息; 所述转发器接收来自所述控制器 的配置消息,其中所述配置消息携带有所述报文上报控制信息; 以及, 所述转发器接收来自所述控制器的流规则安装消息, 其 中所述流规则安装消息携带有所述报文上报控制信息。
[ 1 1 ] 对于上述 4艮文处理方法, 在一种可能的实现方式中, 还包 括: 在停止发送与该流相关的报文上报消息之后, 所述转发器 将该流的未上报报文緩存到与该流的已上报报文的緩存区相关 联或具有相同标识的緩存区, 其中所述未上报报文是指未发送 相应报文上报消息的报文, 所述已上报报文是指已发送相应报 文上报消息的报文; 以及, 所述转发器接收所述控制器发送的 流规则安装消息, 对所緩存的所述已上报报文和所述未上报报 文执行所述流规则安装消息定义的处理动作。
[ 12] 对于上述 4艮文处理方法, 在一种可能的实现方式中, 还包 括: 在停止发送与该流相关的报文上报消息之后, 所述转发器 将该流的未上报报文丟弃, 其中所述未上报报文是指未发送相 应报文上报消息的报文。
[ 13] 对于上述报文处理方法, 在一种可能的实现方式中, 所述 报文上报控制信息还包括报告阈值;所述报文处理方法还包括, 在该流的未上报报文的数量达到所述报告阈值的情况下, 所述 转发器向所述控制器发送未上报报文报告消息, 其中, 所述未 上报报文是指未发送相应报文上报消息的报文, 所述未上报报 文报告消息包括流匹配信息和报文统计信息。
[ 14] 对于上述报文处理方法, 在一种可能的实现方式中, 所述 报文上报控制信息还包括报告指示;所述报文处理方法还包括, 在所述控制参数达到所述控制阈值的情况下, 所述转发器向所 述控制器发送暂停上报报告消息, 其中, 所述暂停上报报告消 息包括流匹配信息和暂停上报原因。
[ 15] 为了解决上述技术问题, 根据本发明另一实施例, 提供了 一种转发器, 其包括: 上报控制信息获取单元, 用于获取报文 上报控制信息, 其中所述报文上报控制信息包括上报控制指示 和控制阈值; 以及, 上报控制单元, 与所述上报控制信息获取 单元连接, 用于根据所述上报控制指示, 在控制参数达到或超 过所述控制阈值的情况下, 使所述转发器停止向与所述转发器 一起实现控制转发解耦的控制器发送与一个流相关的报文上报 消息。
[ 16] 对于上述转发器, 在一种可能的实现方式中, 所述控制阈 值包括最大上报频率、 最大上报时长、 最大上报次数中的一种 或多种, 其中: 所述最大上报频率表示允许所述转发器针对一 个流发送报文上报消息的最大频率, 并且在用于统计与一个流 相关的报文上报消息发送的频率达到或超过所述最大上报频率 时, 所述上报控制单元使所述转发器停止发送与该流相关的报 文上报消息; 所述最大上报时长表示允许所述转发器针对一个 流发送报文上报消息的最大时长, 并且在用于统计与一个流相 关的报文上报消息发送的持续时间达到或超过所述最大上报时 长时, 所述上报控制单元使所述转发器停止发送与该流相关的 报文上报消息; 以及所述最大上报次数表示允许所述转发器针 对一个流发送报文上报消息的最高次数, 并且在用于统计与一 个流相关的报文上报消息发送的次数达到或超过所述最大上报 次数时, 所述上报控制单元使所述转发器停止发送与该流相关 的报文上报消息。
[ 17] 对于上述转发器, 在一种可能的实现方式中, 所述上报控 制信息获取单元通过以下方式中的一种或多种来获取所述报文 上报控制信息: 读取所述转发器的本地配置信息, 其中所述本 地配置信息包含所述报文上报控制信息; 接收来自所述控制器 的配置消息,其中所述配置消息携带有所述报文上报控制信息; 以及, 接收来自所述控制器的流规则安装消息, 其中所述流规 则安装消息携带有所述报文上报控制信息。
[ 18] 对于上述转发器, 在一种可能的实现方式中, 还包括: 未 上报报文緩存单元, 与所述上报控制单元连接, 用于在所述上 报控制单元使所述转发器停止发送与该流相关的报文上报消息 之后, 将该流的未上报报文緩存到与该流的已上报报文的緩存 区相关联或具有相同标识的緩存区, 其中所述未上报报文是指 未发送相应报文上报消息的报文, 所述已上报报文是指已发送 相应报文上报消息的报文。
[ 19] 对于上述转发器, 在一种可能的实现方式中, 所述报文上 报控制信息还包括报告阈值; 所述转发器还包括未上报报文报 告单元, 所述未上报报文报告单元用于在该流的未上报报文的 数量达到所述报告阈值的情况下, 使所述转发器向所述控制器 发送未上报报文报告消息, 其中所述未上报报文是指未发送相 应报文上报消息的报文, 所述未上报报文报告消息包括流匹配 信息和报文统计信息。
[20] 对于上述转发器, 在一种可能的实现方式中, 所述报文上 报控制信息还包括报告指示, 所述转发器还包括暂停上报报告 制阈值的情况下, 使所述转发器向所述控制器发送暂停上报报 告消息, 其中所述暂停上报报告消息包括流匹配信息和暂停上 报原因。
[21 ] 为了解决上述技术问题, 根据本发明的又一实施例, 提供 了一种报文处理设备, 其包括通过总线连接的通信接口、 处理 器以及计算机可读介质, 所述计算机可读介质用于存储程序代 文处理方法。
[22] 为了解决上述技术问题, 根据本发明的又一实施例, 提供 了一种报文处理设备, 其包括: 接收器, 用于接收用户报文; 发送器, 用于向与所述报文处理设备一起实现控制转发解耦的 控制器发送报文上报消息; 以及处理器, 用于获取报文上报控 制信息, 其中所述报文上报控制信息包括上报控制指示和控制 阈值, 所述处理器还用于根据所述上报控制指示, 在控制参数 达到或超过所述控制阈值的情况下, 使所述发送器停止发送与 一个流相关的报文上报消息。
[23] 对于上述报文处理设备, 在一种可能的实现方式中, 所述 控制阈值为最大上报频率, 所述控制参数用于统计与该流相关 的报文上报消息发送的频率; 或者, 所述控制阈值为最大上报 时长, 所述控制参数用于统计与该流相关的报文上报消息发送 的持续时间; 或者, 所述控制阈值为最大上报次数, 所述控制 参数用于统计与该流相关的报文上报消息发送的次数。
[24] 对于上述报文处理设备, 在一种可能的实现方式中, 所述 处理器通过以下方式中的一种或多种来获取所述报文上报控制 信息: 读取所述报文处理设备的本地配置信息, 其中所述本地 配置信息包含所述报文上报控制信息; 接收来自所述控制器的 配置消息, 其中所述配置消息携带有所述报文上报控制信息; 以及, 接收来自所述控制器的流规则安装消息, 其中所述流规 则安装消息携带有所述报文上报控制信息。
[25] 对于上述报文处理设备, 在一种可能的实现方式中, 所述 报文上报控制信息还包括报告指示, 所述处理器还用于在所述 控制参数达到所述控制阈值的情况下, 使所述发送器向所述控 制器发送暂停上报报告消息, 其中所述暂停上报报告消息包括 流匹配信息和暂停上报原因。
[26] 对于上述报文处理设备, 在一种可能的实现方式中, 所述 报文上报控制信息还包括报告阈值, 所述处理器还用于在该流 的未上报报文的数量达到所述报告阈值的情况下, 使所述发送 器向所述控制器发送未上报报文报告消息, 其中所述未上报报 文是指未发送相应报文上报消息的报文, 所述未上报报文报告 消息包括流匹配信息和报文统计信息。
[27] 对于上述报文处理设备, 在一种可能的实现方式中, 所述 处理器还用于在使所述发送器停止发送与该流相关的报文上报 消息之后, 将该流的未上报报文緩存到与该流的已上报报文的 緩存区相关联或具有相同标识的緩存区, 其中所述未上报报文 是指未发送相应报文上报消息的报文, 所述已上报报文是指已 发送相应报文上报消息的报文。
[28] 为了解决上述技术问题, 根据本发明的再一实施例, 提供 了一种报文处理系统, 其包括: 上述任一转发器; 以及, 与所 述转发器一起实现控制转发解耦的控制器。
[29] 为了解决上述技术问题, 根据本发明的再一实施例, 提供 了一种报文处理系统, 其包括: 上述任一报文处理设备; 以及, 与所述报文处理设备一起实现控制转发解耦的控制器。
发明有益效果 [30] 通过根据报文上报控制信息对属于同一个流的报文上报 消息发送进行控制, 根据本发明上述实施例的报文处理方法、 转发器、 报文处理设备、 报文处理系统能够有效减少不必要的 报文上报, 从而可有效提高流规则请求的效率、 降低控制转发 接口的负荷、 减少控制器和转发器的资源占用、 并提高系统运 行的稳定性。
[3 1 ] ^据下面参考附图对示例性实施例的详细说明,本发明的 其它特征及方面将变得清楚。 附图说明
[32] 包含在说明书中并且构成说明书的一部分的附图与说明 书一起示出了本发明的示例性实施例、 特征和方面, 并且用于 解释本发明的原理。
图 1示出现有技术中基于 OF协议的 4艮文处理方法的时序示 意图;
图 2示出根据本发明一实施例的控制转发解耦架构中的报 文处理方法的时序示意图;
图 3示出根据本发明另一实施例的控制转发解耦架构中的 4艮文处理方法的时序示意图;
图 4示出根据本发明又一实施例的控制转发解耦架构中的 4艮文处理方法的时序示意图;
图 5示出根据本发明又一实施例的控制转发解耦架构中的 4艮文处理方法的时序示意图;
图 6示出根据本发明又一实施例的控制转发解耦架构中的 4艮文处理方法的时序示意图;
图 7示出根据本发明一实施例的转发器的示意结构框图; 图 8示出根据本发明一实施例的报文处理设备的结构框图; 以及
图 9示出根据本发明另一实施例的报文处理设备的结构框 图。 具体实施方式
[33] 以下将参考附图详细说明本发明的各种示例性实施例、特 征和方面。附图中相同的附图标记表示功能相同或相似的元件。 尽管在附图中示出了实施例的各种方面, 但是除非特别指出, 不必按比例绘制附图。
[34] 在这里专用的词"示例性 "意为 "用作例子、 实施例或说明 性"。这里作为 "示例性"所说明的任何实施例不必解释为优于或 好于其它实施例。
[35] 另外, 为了更好的说明本发明, 在下文的具体实施方式中 给出了众多的具体细节。 本领域技术人员应当理解, 没有这些 具体细节, 本发明同样可以实施。 在另外一些实例中, 对于大 家熟知的方法、 手段、 元件和电路未作详细描述, 以便于凸显 本发明的主旨。
[36] 如背景技术部分所述, 对于控制转发解耦架构的网络系 统, 在现有技术中, 每个无法匹配流表中所存储流规则的用户 报文都会触发一个报文上报消息, 这使得整个系统的控制接口 在某些场景下容易处于过载状态, 并将以 OpenFlow (开放流, 以下简称为 OF ) 协议为例详细解释如下。
[37] OF是 SDN网络中的最典型和应用最多的协议。 OF协议中 的网元包括 OF控制器 ( OpenFlow controller ) 和 OF转发器
( OpenFlow Switch )0 其中, OF控制器负责根据报文特征 (如 IP五元组、 以太网帧头、 VLAN ID等) 确定业务流的转发动作
(如转发、 丟弃、 修改报文头、 封装、 解封装等), 并通过将对 应的流规则 (包括流匹配信息 (如 IP五元组、 以太网帧头等) 和对应执行的动作)下发给 OF转发器。 OF转发器获取并存储该 流规则, 对于后续符合该流规则的报文执行对应的动作, 从而 实现报文的转发。
[38] 图 1示出现有技术中基于 OF协议的 4艮文处理方法的时序 示意图。 如图 1所示, 基于 OF协议进行用户报文转发控制的基 本流程包括:
[39] 1、 当 OF转发器收到用户报文 ( packet data ) 时, 判断流 表中是否有该报文可匹配的流规则 ( flow entry )。
[40] 其中 , 可以根据报文的以太网帧头、 IP头信息或者
TCP/UDP端口号中任意信息的组合, 来进行匹配判断。
[41 ] 2、 若流表中没有该报文可匹配的流规则时, OF转发器将 该报文存储到本地, 并获得对应的緩存区 ID, OF转发器将緩存 区 ID、 报文以及请求原因 ( OFPR_NO_MATCH表示 "无匹配流 表 " ) 通 过报文上报 消 息 、 例 如 Packetjn (buffer id,
OFPR NO MATCH)上报给 OF控制器。
[42] 3、 OF控制器 ^据报文特征决定对该报文应该执行的动 作, 如转发到指定端口、 丟弃、 修改、 封装、 解封装等。 OF控 制器基于所决定的应该执行的动作生成流规则, 并将生成的流 规则及 buffer id通过流规则消息、 例如 Flow_mod (buffer id, flow entry)发送给 OF转发器。
[43] 其中,流规则包括该流对应的匹配项信息,如以太网帧头、 IP头信息或者 TCP/UDP端口号中任意信息的组合。
[44] 4、 OF转发器将该流规则存储(安装)到流表, 并从 buffer i d对应的緩存区中获取触发请求的报文, 对该报文执行流规贝 'J 中包含的动作。
[45] 根据上述的报文转发控制流程, 在 OF转发器接收到流规 则安装消息 Flow_mod并成功安装流规则之前, 即使同一个流的 报文也会导致多个 Packetjn。这不仅消耗了 OF转发器和 OF控制 器的计算资源, 而且会占用信令传输资源, 使得整个系统的控 制接口处于过载状态。
[46] 为了有效减少控制转发解耦架构中的报文上报,根据本发 明的一个方面, 提出了一种报文处理方法。 该报文处理方法包 括: 转发器获取至少包括上报控制指示和控制阈值的报文上报 控制信息; 以及, 转发器根据上报控制指示, 在控制参数达到 或超过控制阈值的情况下, 转发器向控制器停止发送与一个流 相关的报文上报消息。
[47] 其中, 控制阈值可包括最大上报频率、 最大上报时长、 最 大上报次数中的一种或多种, 其中: 最大上报频率表示允许转 发器针对一个流发送报文上报消息的最大频率, 并且在控制阈 值包括最大上报频率时, 控制参数用于统计与一个流相关的报 文上报消息发送的频率; 最大上报时长表示允许转发器针对一 个流发送报文上报消息的最大时长, 并且在控制阈值包括最大 上报时长时, 控制参数用于统计与一个流相关的报文上报消息 发送的持续时间; 以及最大上报次数表示允许转发器针对一个 流发送报文上报消息的最高次数, 并且在控制阈值包括最大上 报次数时, 控制参数用于统计与一个流相关的报文上报消息发 送的次数。
[48] 此外,转发器可通过以下方式中的一种或多种来获取报文 上报控制信息: 转发器读取包含报文上报控制信息的本地配置 信息, 转发器从控制器接收携带有报文上报控制信息的配置消 息, 以及转发器从控制器接收携带有报文上报控制信息的流规 则安装消息。
[49] 这样,通过根据报文上报控制信息对属于同一个流的报文 上报消息发送进行控制, 上述报文处理方法能够有效避免由于 例如突发报文导致的大量报文上报消息的产生, 从而可有效降 低控制转发接口的负荷、 减少控制器和转发器的资源占用、 并 提高系统运行的稳定性。
[50] 对于上述 4艮文处理方法, 在一种可能的实施方式中, 在停 止发送与该流相关的报文上报消息之后, 转发器可将该流的未 上报报文緩存到与该流的已上报报文的緩存区相关联或具有相 同标识的緩存区。 其中, 未上报报文是指未发送相应报文上报 消息的报文,已上报报文是指已发送相应报文上报消息的报文。 这样, 当转发器接收到控制器发送的流规则安装消息时, 可对 所緩存的属于这个流的已上报报文和未上报报文执行流规则安 装消息定义的处理动作, 例如转发、 丟弃、 修改、 封装、 解封 装等。
[5 1 ] 在另一种可能的实施方式中,转发器可在停止发送与该流 相关的报文上报消息之后将该流的未上报报文丟弃。 在这种情 况下, 转发器在获取流规则后仅需要对緩存的已上报报文执行 处理动作。 与緩存未上报报文的实施方式相比, 尽管这种实施 方式可能导致业务流重传, 但其可以适当降低转发器的緩存压 力。
[52] 在一种可能的实现方式中,报文上报控制信息还可包括报 告指示。 在这种情况下, 上述报文处理方法还可包括: 在上述 控制参数达到控制阈值的情况下, 转发器向控制器发送暂停上 报报告消息。 其中, 暂停上报报告消息可以包括流匹配信息、 暂停上报原因、 报文统计信息的一种或多种。
[53 ] 在一种可能的实现方式中,报文上报控制信息还可包括报 告阈值。 在这种情况下, 上述 4艮文处理方法还可包括: 在该流 的未上报报文的数量达到报告阈值的情况下, 转发器可向控制 器发送未上报报文报告消息。 其中, 未上报报文报告消息可以 包括流匹配信息、 报文统计信息以及发送报告的原因的一种或 多种。
实施例 1
[54] 图 2示出根据本发明一实施例的控制转发解耦架构中的报 文处理方法的时序示意图。
[55] 本实施例以 OpenFlow协议为例, OF转发器通过从 OF控制 器接收配置消息来获取报文上报控制信息, 并将属于同一个流 的未上报报文緩存到与该流的已上报报文的緩存区具有相同 ID的緩存区中。 其中, 未上报报文是指未发送相应报文上报消 息的报文, 已上报报文是指已发送相应报文上报消息的报文。 如图 2所示, 该 4艮文处理方法的基本流程包括:
[56] 1、 在 OF转发器与 OF控制器建立连接时, OF控制器通过 配置消 息将报文上报控制信息发送给 OF转发器、 例如 Set_config (;报文上报控制信息)。
[57] 其中,报文上报控制信息可以包括上报控制指示和控制阈 值等信息。 在一种可能的实现方式中, 可设定最大上报频率 1 次 /秒作为控制阈值。
[58] 2、 当用户报文到达 OF转发器后, OF转发器将报文与流表 进行匹配, 若未找到能够匹配的流规则, 则将报文緩存到緩存 区中, 并发送报文上报消息 Packetjn到 OF控制器以获取对应的 流规则。
[59] 其中, Packetjn消息中可携带该报文全部或部分内容和 / 或对应的緩存区 buffer_id, 还可携带上报原因 NO_MATCH, 例 如 Packet_in (packet, buffer id, reason=NO_MATCH)。
[60] 3、 对于与该报文属于相同流的后续报文, 在报文上报控 制信息中的上报控制指示为真(表示要对向 OF控制器发送报文 上报消息进行控制) 的情况下, OF转发器根据报文上报控制信 息中的控制阈值来控制 Packet_in的发送。
[61 ] 在一种可能的实现方式中, 当用于统计与该流相关的 Packet_in发送的例如频率、 持续时间、 和 /或次数等的控制参数 达到或超过控制阈值时, OF转发器停止发送与该流相关的 Packet in, 并将属于该流的未上报报文都緩存到 bufferjd对应 的緩存区内。 例如, 可设定最大上报频率 1次 /秒作为控制阈值, 即每秒钟只允许发送一次 packet_in。 在这种情况下, 控制参数 需统计与该流相关的 Packetjn发送的频率。
[62] 4、 OF控制器根据接收到的 Packetjn消息制定该报文对应 的流规则, 并通过 Flow_mod消息将该报文对应的 buffer_id和流 规则 flow entry下发给 OF转发器。
[63] 5、 OF转发器将 OF控制器下发的流规则安装到流表中, 并 从 bufferjd对应的緩存区中取得所存储的所有报文, 对这些报 文执行流规则对应的处理动作, 如转发、 丟弃、 修改、 封装、 解封装等。
[64] 尽管以设定最大上报频率作为控制阈值进行了如上说明, 本领域技术人员应能理解, 控制阈值的具体设定应不限于此, 而完全可以采用例如最大上报次数或最大上报时长等的其它参 数, 甚至还可以采用这些参数的任意组合, 只要所采用的参数 或者参数组合能够抑制报文上报消息的发送即可。
[65] 通过根据报文上报控制信息对属于同一个流的报文上报 消息发送进行控制, 根据本发明上述实施例的报文处理方法能 够有效减少不必要的报文上报、 并提高流规则请求的效率。
[66] 此外, 对于本实施例以及以下任一实施例, 在一种可能的 实现方式中, 也可以直接丟弃未上报报文, 以降低緩存压力。 在这种情况下, OF转发器在获取流规则后仅需要对已上报并緩 存的报文执行处理动作。
实施例 2
[67] 图 3示出根据本发明另一实施例的控制转发解耦架构中的 4艮文处理方法的时序示意图。
[68] 本实施例以 OpenFlow协议为例, OF转发器通过读取本地 配置信息获取报文上报控制信息, 并将属于同一个流的未上报 报文緩存到与该流的已上报报文的緩存区关联的緩存区中。 如 图 3所示, 该报文处理方法的基本流程包括:
[69] 1、 OF转发器在向 OF控制器执行报文上报前, 从本地配置 信息中获取报文上报控制信息。
[70] 其中,报文上报控制信息可以包括上报控制指示和控制阈 值等信息。 在一种可能的实现方式中, 可设置最大上报时长 3 秒作为控制阈值。
[71 ] 2、 当用户报文到达 OF转发器后, OF转发器将报文与流表 进行匹配, 若未找到能够匹配的流规则, 则将报文緩存到緩存 区中, 并发送报文上报消息 Packetjn到 OF控制器以获取对应的 流规则。
[72] 其中, Packetjn消息中可携带该报文全部或部分内容和 / 或对应的緩存区 buffer_id, 还可携带上报原因 NO_MATCH, 例 如 Packet_in (packet, buffer id, reason=NO_MATCH)。
[73] 3、 对于与该报文属于相同流的后续报文, 在报文上报控 制信息中的上报控制指示为真(表示要对向 OF控制器发送报文 上报消息进行控制) 的情况下, OF转发器根据报文上报控制信 息中的控制阈值来控制报文上报消息的发送。
[74] 在一种可能的实现方式中, 当用于统计与该流相关的
Packet_in发送的频率、 持续时间、 和 /或次数等的控制参数达到 或超过控制 阈值时, OF转发器停止发送与该流相关的 Packet in , 将属于该流的未上报报文都緩存到緩存区内, 并将 这些緩存区与该流的已上报报文的緩存区进行关联。 例如, 可 设定最大上报时长 3秒作为控制阈值, 即只允许在最开始的 3秒 钟内正常发送 Packet_in消息。 在这种情况下, 控制参数需统计 与该流相关的 Packet_in发送的持续时间。
[75] 其中,可以通过包括但不限于以下任一方式来实现緩存区 的关联, 例如: 将该流的未上 4艮 4艮文的緩存区 ID与该流的已上 报报文的緩存区 ID记录到同一个链表、 将该流的未上报报文的 緩存区 I D与该流的已上报报文的緩存区 I D记录到同一个数组、 或者将该流的未上报报文的緩存区以及该流的已上报报文的緩 存区与相同的流标识进行绑定等。
[76] 4、 OF控制器根据接收到的 Packetjn消息制定该报文对应 的流规则, 并通过 Flow_mod消息将该报文对应的 buffer_id和流 规则 flow entry下发给 OF转发器。
[77] 5、 OF转发器将 OF控制器下发的流规则安装到流表中, 并 从 bufferjd及其关联的緩存区中取得所存储的所有报文, 对这 些报文执行流规则对应的处理动作, 如转发、 丟弃、 修改、 封 装、 解封装等等。
实施例 3
[78] 图 4示出根据本发明又一实施例的控制转发解耦架构中的 4艮文处理方法的时序示意图。
[79] 本实施例以 OpenFlow协议为例, OF转发器通过读取本地 配置信息以及从 O F控制器接收配置消息来获取报文上报控制 信息, 并将属于同一个流的未上报报文緩存到与该流的已上报 报文的緩存区具有相同 ID的緩存区中。 如图 4所示, 该报文处 理方法的基本流程包括:
[80] 1、 OF转发器在启动时从本地配置信息中获取第一报文上 报控制信息。
[81 ] 其中, 第一报文上报控制信息可以包括上报控制指示、 第 一控制阈值等信息。
[82] 2、 在 OF转发器与 OF控制器建立连接时, OF控制器通过 配置消息将第二报文上报控制信息发送给 O F转发器、 例如 Set_config (;报文上报控制信息)。
[83] 其中, 第二报文上报控制信息可以包括上报控制指示、 第 二控制阈值等信息中的一种或多种。
[84] 然后, OF转发器结合第一报文上报控制信息与第二报文 上报控制信息, 可具体为结合第一控制阈值与第二控制阈值, 以确定需要执行的控制阈值。 其中, 在第一控制阈值与第二控 制阈值存在冲突的情况下, OF转发器需要根据本地策略确定两 者的优先级, 并采用优先级较高者作为控制阈值。
[85] 例如, 假设第一控制阈值包括最大上报频率 5次 /秒、 最大 上报次数 10次, 第二控制阈值包括最大上报频率 3次 /秒、 最大 上报次数 5次。 通过进行比较, OF控制器可认为第二控制阈值 的优先级更高, 并据此将需要执行的控制阈值设定为最大上报 频率 3次 /秒、 最大上报次数 5次。
[86] 3、 当用户报文到达 OF转发器后, OF转发器将报文与流表 进行匹配, 若未找到能够匹配的流规则, 则将报文緩存到緩存 区中, 并发送报文上报消息 Packetjn到 OF控制器以获取对应的 流规则。
[87] 其中, Packetjn消息中可携带该报文全部或部分内容和 / 或对应的緩存区 buffer_id, 还可携带上报原因 NO_MATCH, 例 如 Packet_in (packet, buffer id, reason=NO_MATCH)。
[88] 4、 对于与该报文属于相同流的后续报文, 在报文上报控 制信息中的上报控制指示为真(表示要对向 OF控制器发送报文 上报消息进行控制) 的情况下, OF转发器根据报文上报控制信 息中的控制阈值来控制 Packet_in的发送。
[89] 在一种可能的实现方式中, 当用于统计与该流相关的 Packet_in发送的频率、 持续时间、 和 /或次数等的控制参数达到 或超过上述控制阈值时, OF转发器停止发送与该流相关的 Packet in , 并将属于该流的未上 4艮 4艮文都緩存到与该流的已上 报报文的緩存区具有相同 ID的緩存区、 即 buffer_id对应的緩存 区内。 例如, 可设定最大上报频率 3次 /秒、 最大上报次数 5次作 为控制阈值, 即每秒钟只允许发送一次 Packet_in、 并且只允许 发送前 5个 Packet_in。 在这种情况下, 控制参数需统计与该流相 关的 Packetjn发送的频率和次数。
[90] 5、 OF控制器根据接收到的 Packetjn消息制定该报文对应 的流规则, 并通过 Flow_mod消息将该报文对应的 buffer_id和流 规则 flow entry下发给 OF转发器。
[91 ] 6、 OF转发器将 OF控制器下发的流规则安装到流表中, 并 从 bufferjd对应的緩存区中取得所存储的所有报文, 对这些报 文执行流规则对应的处理动作, 如转发、 丟弃、 修改、 封装、 解封装等。
实施例 4
[92] 图 5示出根据本发明又一实施例的控制转发解耦架构中的 4艮文处理方法的时序示意图。
[93] 本实施例以 OpenFlow协议为例, OF转发器通过从 OF控制 器接收流规则安装消息来获取报文上报控制信息, 并将属于一 个流的未上报报文的统计信息通过未上报报文报告消息上报给 OF控制器。 如图 5所示, 该报文处理方法的基本流程包括:
[94] 1、 OF控制器通过流规则安装消息将包含报文上报控制信 息的流规则发送给 OF转发器、 例如 Flow_mod (flow entry, action: SET TO CONTROLLER, 报文上报控制信息)。
[95] 该 Flow_mod消息可能是由于其它报文上报消息引起的, 也可以是 OF控制器主动发起的, 本发明不做限定。
[96] 此外, Flow_mod消息可以包括流匹配信息、 对应的处理 动作 (所述处理动作可包括执行向 OF控制器上报) 以及报文上 报控制信息。 其中, 报文上报控制信息可以包括上报控制指示、 控制阈值、 报告阈值等信息。 在一种可能的实现方式中, 可设 置最大上报频率 5次 /秒作为控制阈值。
[97] 2、 当用户报文到达 OF转发器后, OF转发器将报文与流表 进行匹配, 若报文可以匹配到该流规则, 则执行对应的处理动 作。 所述处理动作包括将报文上报给 OF控制器, 因此 OF转发器 发送报文上报消息 Packetjn到 OF控制器。
[98] 其中, Packetjn消息中可携带该报文全部或部分内容, 可 选地包括緩存区 bufferjd以及上报原因,例如 Packetjn (packet, buffer id, reason=NO_MATCH)。
[99] 此外, 在一种可能的实现方式中, 所述处理动作还可包括 其它的动作, 例如转发、 丟弃、 修改、 封装、 解封装等。
[ 100] 3、 对于属于该流的后续报文, 在报文上报控制信息中的 上报控制指示为真(表示要对向 OF控制器发送报文上报消息进 行控制) 的情况下, OF转发器根据报文上报控制信息中的控制 阈值来控制 Packet_in的发送。
[ 101 ]在一种可能的实现方式中, 当用于统计与该流相关的 Packet_in发送的频率、 持续时间、 和 /或次数等的控制参数达到 或超过控制 阈值时, OF转发器停止发送与该流相关的 Packet_in。 例如, 可设定最大上 4艮频率 5次 /秒作为控制阈值, 即每秒钟只允许发送 5次 Packet_in。 在这种情况下, 控制参数需 统计与该流相关的 Packetjn发送的次数。 [ 102] 4、 可选地, 当该流的未上 4艮 4艮文的数量达到 4艮告阈值时, OF转发器向 OF控制器发送未上 4艮 4艮文 4艮告消息 Packet_report、 例如 Packet_report (flow, packet statistics, reason)。
[ 103]其中, Packet_report消息可包括流匹配信息 (如 IP五元组、 以太网帧头等)、 报文统计信息 (如报文个数、 报文大小、 报文 占用带宽等), 还可包括发送报告的原因等。
[ 104]尽管以从 OF控制器下发的流规则安装消息中获得全部的 报文上报控制信息为例进行了如上说明, 本领域技术人员应能 理解, 最终执行的控制阈值可部分或全部从本地配置信息、 OF 控制器下发的配置消息、 或 O F控制器下发的流规则安装消息中 获得, 本发明对此不做限定。
实施例 5
[ 105] 图 6示出根据本发明又一实施例的控制转发解耦架构中的 4艮文处理方法的时序示意图。
[ 106]在本实施例中,控制转发解耦架构包括控制转发解耦的网 关控制器 ( GW控制器) 和网关转发器 ( GW转发器)。 GW转发 器通过从 G W控制器接收流规则安装消息来获取报文上报控制 信息。 GW转发器根据报文上报控制信息执行报文上报消息的 发送控制, 并向 GW控制器发送暂停上报报告消息。 如图 6所示, 该 4艮文处理方法的基本流程包括:
[ 107] 1、 GW控制器通过流规则安装消息将包含报文上报控制 信息的流规则发送给 GW转发器、 例如 Flow—installation (flow entry, 报文上报控制信息)。
[ 108]该 Flow_mod消息可以包括流匹配信息、 对应的处理动作 (所述处理动作可包括执行向 OF控制器上报)以及报文上报控 制信息。 其中, 报文上报控制信息可以包括上报控制指示、 控 制阈值、 报告指示等信息。 在一种可能的实现方式中, 可设置 最大上报次数 5次作为控制阈值。
[ 109] 2、 当用户报文到达 GW转发器后, GW转发器将报文与流 表进行匹配 , 并根据 匹配的流规则发送报文上报消 息 Packet report到 GW控制器。
[ 1 10]其中, Packet_report消息中可携带该报文全部或部分内 容, 例如 Packet_report(packet)。
[ 1 1 1 ]在一种可能的实现方式中, GW控制器对报文执行其它的 处理动作, 例如转发、 丟弃、 封装、 解封装等。
[ 1 12] 3、 对于属于该流的后续报文, 在报文上报控制信息中的 上报控制指示为真 (表示要对向 GW控制器发送报文上报消息 进行控制) 的情况下, GW转发器根据报文上报控制信息中的 控制阈值来控制 Packet_report的发送。
[ 1 13]在一种可能的实现方式中, 当用于统计与该流相关的 Packet_report发送的频率、 持续时间、 和 /或次数等的控制参数 达到或超过该控制阈值时, GW转发器停止发送与该流相关的 Packet reporto 例如, 可设定最大上 4艮次数 5次作为控制阈值, 即只允许发送前 5个 Packet_report。 在这种情况下, 控制参数需 统计与该流相关的 Packet_report发送的次数。
[ 1 14] 4、 在一种可能的实现方式中, 在报文上报控制信息中的 报告指示为真 (表示要向 GW控制器报告暂停发送报文上报消 息这一事件)的情况下, 当上述控制参数达到控制阈值时, GW 转 发 器 向 GW 控 制 器 发 送 暂 停 上 报 报 告 消 息 Packet_report_paused。
[ 1 15]其中, Packet_report_paused消息可包括流匹配信息 (如 IP 五元组、 以太网帧头等)、 暂停上报的原因等, 还可包括报文统 计信息 (如报文个数、 报文大小、 报文占用带宽等), 例如 Packet report paused (flow, packet statistics, reason)。 [ 1 16]尽管以从 GW控制器下发的流规则安装消息中获得全部 的报文上报控制信息为例进行了如上说明, 本领域技术人员应 能理解,最终执行的控制阈值可部分或全部从本地的配置信息、 G W控制器下发的配置消息、 或 G W控制器下发的流规则安装消 息中获得, 本发明对此不做限定。
实施例 6
[ 1 17] 图 7示出根据本发明一实施例的转发器的示意结构框图。 如图 7所示,转发器 700可应用于还包括与转发器 700—起实现控 制转发解耦的控制器 600的控制转发解耦架构,可包括上报控制 信息获取单元 710、 上报控制单元 720。
[ 1 18]上报控制信息获取单元 710用于获取报文上报控制信息, 该报文上报控制信息可包括上报控制指示和控制阈值等信息。 上报控制单元 720与上报控制信息获取单元 710连接, 用于根据 上报控制指示, 在控制参数达到或超过控制阈值的情况下, 使 转发器 700停止向控制器 600发送与这个流相关的报文上报消
[ 1 19]其中, 控制阈值可包括最大上报频率、 最大上报时长、 最 大上报次数中的一种或多种, 其中: 最大上报频率表示允许转 发器 700针对一个流发送报文上报消息的最大频率,并且在控制 阈值包括最大上报频率时, 控制参数用于统计与一个流相关的 报文上报消息发送的频率; 最大上报时长表示允许转发器针对 一个流发送报文上报消息的最大时长, 并且在控制阈值包括最 大上报时长时, 控制参数用于统计与一个流相关的报文上报消 息发送的持续时间; 以及最大上报次数表示允许转发器针对一 个流发送报文上报消息的最高次数, 并且在控制阈值包括最大 上报次数时, 控制参数用于统计与一个流相关的报文上报消息 发送的次数。 [ 120 ]通过根据报文上报控制信息对属于同一个流的报文上报 消息发送进行控制, 根据本发明上述实施例的转发器能够有效 减少不必要的报文上报、 并提高流规则请求的效率。
[ 121 ]此外, 上报控制信息获取单元 710可通过以下方式中的一 种或多种来获取报文上报控制信息:读取转发器 700的本地配置 信息, 该本地配置信息包含报文上报控制信息; 接收来自控制 器 600的配置消息, 该配置消息携带有报文上报控制信息; 以及 接收来自控制器 600的流规则安装消息,该流规则安装消息携带 有报文上报控制信息。
[ 122]在一种可能的实现方式中, 如图 7所示, 转发器 700还可包 括未上报报文緩存单元 730。 未上报报文緩存单元 730与上报控 制单元 720连接,用于在上报控制单元 720使转发器 700停止发送 与该流相关的报文上报消息之后, 将该流的未上报报文緩存到 与该流的已上报报文的緩存区相关联或具有相同标识的緩存 区。 其中, 未上报报文是指未发送相应报文上报消息的报文, 已上报报文是指已发送相应报文上报消息的报文。 在这种实现 方式下, 转发器 700接收到控制器 600发送的流规则安装消息之 后, 可以对所緩存的属于这个流的已上报报文和未上报报文执 行该流规则安装消息定义的处理动作。
[ 123]此外, 在一种可能的实现方式中, 如图 7所示, 转发器 700 还可包括未上 4艮 4艮文 4艮告单元 740。 在这种实现方式下, 4艮文上 报控制信息还可包括报告阈值, 以使得在该流的未上报报文的 数量达到报告阈值的情况下,未上报报文报告单元 740可以使转 发器 700向控制器 600发送未上报报文报告消息。 其中, 该未上 报报文报告消息可包括流匹配信息和报文统计信息, 还可包括 发送报告的原因。
[ 124]此外, 在一种可能的实现方式中, 如图 7所示, 转发器 700 还可包括暂停上报报告单元 750。 在这种实现方式下, 报文上报 控制信息还可包括报告指示, 以使得在上述控制参数达到控制 阈值的情况下, 暂停上报报告单元 750可以使转发器 700向控制 器 600发送暂停上报报告消息。 其中, 该暂停上报报告消息可包 括流匹配信息、 暂停上报的原因, 还可包括报文统计信息。
实施例 7
[ 125] 图 8示出根据本发明一实施例的一种报文处理设备的结构 框图。 所述报文处理设备 800可以是具备计算能力的主机服务 器、 个人计算机 PC、 或者可携带的便携式计算机或终端等。 本 发明具体实施例并不对计算节点的具体实现做限定。
口 (Communications Interface)820 存储器 (memory array) 830^ 总线 840。 其中, 处理器 810、 通信接口 820、 以及存储器 830通 过总线 840完成相互间的通信。
[ 127]通信接口 820用于与网元通信, 其中网元包括例如虚拟机 管理中心、 共享存储等。
[ 128]处理器 810用于执行程序。处理器 810可能是一个中央处理 器 CPU, 或者是专用 集成电路 ASIC ( Application Specific Integrated Circuit ) , 或者是被配置成实施本发明实施例的一个 或多个集成电路。
[ 129]存储器 830用于存放程序和 /或数据。 存储器 830可能包含 高速 RAM存储器, 也可能还包括非易失性存储器(non- volatile memory) , 例如至少一个磁盘存储器。 存储器 830也可以是存储 器阵列。存储器 830还可能被分块, 并且所述块可按一定的规则 组合成虚拟卷。
[ 130]在一种可能的实施方式中,上述程序可为包括计算机操作 指令的程序代码。 该程序具体可用于: 使控制转发解耦架构中 的转发器获取报文上报控制信息, 其中报文上报控制信息包括 上报控制指示和控制阈值; 以及使转发器根据上报控制指示, 在用于统计与一个流相关的报文上报消息发送的例如频率、 持 续时间、和 /或次数等的控制参数达到或超过所述控制阈值的情 况下, 使转发器停止向控制器发送与这个流相关的报文上报消 息。
实施例 8
[ 13 1 ] 图 9示出根据本发明另一实施例的一种报文处理设备的结 构框图。所述报文处理设备 900可以是控制转发解耦架构中的转 发器。
[ 132]如图 9所示, 报文处理设备 900可包括接收器 910、 处理器 920以及发送器 930, 其中: 接收器 910用于接收用户报文; 发送 器 930用于向与报文处理设备 900—起实现控制转发解耦的控制 器 600发送报文上报消息; 以及处理器 920用于获取报文上报控 制信息, 其中该报文上报控制信息可包括上报控制指示和控制 阈值。 此外, 处理器 920还用于根据上报控制指示, 在控制参数 达到或超过控制阈值的情况下, 使发送器 930停止向控制器 600 发送与该流相关的报文上报消息。
[ 133]在一种可能的实现方式中, 控制阈值可包括最大上报频 率、 最大上报时长、 最大上报次数中的一种或多种, 其中: 最 大上报频率表示允许发送器 930针对一个流发送报文上报消息 的最大频率, 并且在控制阈值包括最大上报频率时, 控制参数 用于统计与一个流相关的报文上报消息发送的频率; 最大上报 时长表示允许发送器 930针对一个流发送报文上报消息的最大 时长, 并且在控制阈值包括最大上报时长时, 控制参数用于统 计与一个流相关的报文上报消息发送的持续时间; 以及, 最大 上报次数表示允许发送器 930针对一个流发送报文上报消息的 最高次数, 并且在控制阈值包括最大上报次数时, 控制参数用 于统计与一个流相关的报文上报消息发送的次数。
[ 134 ]通过根据报文上报控制信息对属于同一个流的报文上报 消息发送进行控制, 根据本发明上述实施例的转发器能够有效 减少不必要的报文上报、 并提高流规则请求的效率。
[ 135]此外, 处理器 920可通过以下方式中的一种或多种来获取 报文上报控制信息: 读取报文处理设备 900的本地配置信息, 其 中所述本地配置信息包含所述报文上报控制信息; 接收来自控 制器 600的配置消息,其中所述配置消息携带有所述报文上报控 制信息; 以及, 接收来自控制器 600的流规则安装消息, 其中所 述流规则安装消息携带有所述报文上报控制信息。
[ 136]在一种可能的实现方式中,所述报文上报控制信息还可包 括报告指示。 在这种情况下, 处理器 920还可用于在所述控制参 数达到所述控制阈值时, 使发送器 930向控制器 600发送暂停上 报报告消息, 其中所述暂停上报报告消息可包括流匹配信息和 暂停上报原因。
[ 137]在一种可能的实现方式中,所述报文上报控制信息还可包 括报告阈值。 在这种情况下, 处理器 920还可用于在该流的未上 报报文的数量达到所述报告阈值时, 使发送器 930向控制器 600 发送未上报报文报告消息, 其中所述未上报报文是指未发送相 应报文上报消息的报文, 所述未上报报文报告消息包括流匹配 信息和报文统计信息。
[ 138]此外, 在一种可能的实现方式中, 所述处理器还用于在使 所述发送器停止发送与该流相关的报文上报消息之后, 将该流 的未上报报文緩存到与该流的已上报报文的緩存区相关联或具 有相同标识的緩存区, 其中所述未上报报文是指未发送相应报 文上报消息的报文, 所述已上报报文是指已发送相应报文上报 消息的报文。 在这种实现方式下, 在报文处理设备 900中的接收 器 910接收到控制器 600发送的流规则安装消息之后,处理器 920 可以对所緩存的属于这个流的已上报报文和未上报报文执行该 流规则安装消息定义的处理动作。
[ 139]本领域普通技术人员可以意识到,本文所描述的实施例中 的各示例性单元及算法步骤, 能够以电子硬件、 或者计算机软 件和电子硬件的结合来实现。 这些功能究竟以硬件还是软件形 式来实现, 取决于技术方案的特定应用和设计约束条件。 专业 技术人员可以针对特定的应用选择不同的方法来实现所描述的 功能, 但是这种实现不应认为超出本发明的范围。
[ 140]如果以计算机软件的形式来实现所述功能并作为独立的 产品销售或使用时, 则在一定程度上可认为本发明的技术方案 的全部或部分 (例如对现有技术做出贡献的部分) 是以计算机 软件产品的形式体现的。 该计算机软件产品通常存储在计算机 可读取的存储介质中, 包括若千指令用以使得计算机设备 (可 以是个人计算机、 服务器、 或者网络设备等) 执行本发明各实 施例方法的全部或部分步骤。 而前述的存储介质包括 U盘、 移 动硬盘、 只读存储器 ( ROM, Read-Only Memory )、 随机存取 存储器 ( RAM, Random Access Memory )、 磁碟或者光盘等各 种可以存储程序代码的介质。
[ 141 ] 以上所述, 仅为本发明的具体实施方式, 但本发明的保护 范围并不局限于此, 也可以考虑将发明应用于 LTE-A的异构网 络中, 任何熟悉本技术领域的技术人员在本发明揭露的技术范 围内, 可轻易想到变化或替换, 都应涵盖在本发明的保护范围 之内。 因此, 本发明的保护范围应所述以权利要求的保护范围 为准。
实用性 [ 142]根据本发明实施例所提供的报文处理方法、 转发器、控制 器、 报文处理设备可应用于控制转发解耦架构的通信网络, 能 够有效减少不必要的报文上报, 从而可有效提高流规则请求的 效率、 降低控制转发接口的负荷、 减少控制器和转发器的资源 占用、 并提高系统运行的稳定性。

Claims

权 利 要 求 书
1、 一种报文处理方法, 应用于包括转发器和控制器的控 制转发解耦架构, 其特征在于, 包括:
所述转发器获取报文上报控制信息, 其中所述报文上报控 制信息包括上报控制指示和控制阈值; 以及
所述转发器根据所迷上报控制指示, 在控制参数达到或超 过所述控制阈值的情况下, 停止向所述控制器发送与一个流相 关的报文上报消息。
2、 根据权利要求 1所述的报文处理方法, 其特征在于, 所述控制阔值为最大上报频率, 所述控制参数用于统计与 该流相关的报文上报消息发送的频率; 或者,
所述控制阈值为最大上报时长, 所述控制参数用于统计与 该流相关的报文上报消息发送的持续时间; 或者,
所述控制阈值为最大上报次数, 所述控制参数用于统计与 该流相关的报文上报消息发送的次数。
3、 根据权利要求 1或 2所述的报文处理方法, 其特征在于, 所述转发器通过以下方式中的一种或多种来获取所迷报文上 报控制信息:
所述转发器读取本地配置信息, 其中所述本地配置信息包 含所述报文上报控制信息;
所述转发器接收来自所述控制器的配置消息, 其中所述配 置消息携带有所述报文上报控制信息; 以及
所述转发器接收来自所述控制器的流规则安装消息, 其中 所迷流规则安装消息携带有所述报文上报控制信息。
4、 根据权利要求 1至 3中任一项所述的报文处理方法, 其 特征在于, 所述报文上报控制信息还包括报告指示,
所述报文处理方法还包括, 在所述控制参数达到所述控制 阈值的情况下, 所述转发器向所述控制器发送暂停上报报告消 息,
其中, 所述暂停上报报告消息包括流匹配信息和暂停上报 原因。
5、 根据权利要求 1至 4中任一项所述的报文处理方法, 其 特征在于, 所述报文上报控制信息还包括报告阈值,
所述报文处理方法还包括, 在该流的未上报报文的数量达 到所述报告阈值的情况下, 所述转发器向所述控制器发送未上 报报文报告消息,
其中, 所述未上报报文是指未发送相应报文上报消息的报 文, 所述未上报报文报告消息包括流匹配信息和报文统计信
6、 根据权利要求 1至 4中任一项所述的报文处理方法, 其 特征在于, 还包括:
在停止发送与该流相关的报文上报消息之后, 所述转发器 将该流的未上报报文緩存到与该流的已上报报文的緩存区相 关联或具有相同标识的緩存区, 其中所述未上报报文是指未发 送相应报文上报消息的报文, 所述已上报报文是指已发送相应 报文上报消息的报文; 以及
所述转发器接收所述控制器发送的流规则安装消息, 对所 緩存的所述已上报报文和所述未上报报文执行所述流规则安 装消息定义的处理动作。
7、 根据权利要求 1至 4中任一项所述的报文处理方法, 其 特征在于, 还包括:
在停止发送与该流相关的报文上报消息之后, 所述转发器 将该流的未上报报文丟弃, 其中所述未上报报文是指未发送相 应报文上报消息的报文。
8、 一种转发器, 其特征在于, 包括: 上报控制信息获取单元, 用于获取报文上报控制信息, 其 中所述报文上报控制信息包括上报控制指示和控制阈值; 以及 上报控制单元, 与所述上报控制信息获取单元连接, 用于 根据所述上报控制指示, 在控制参数达到或超过所述控制阈值 的情况下, 使所述转发器停止向与所述转发器一起实现控制转 发解耦的控制器发送与一个流相关的报文上报消 , 。
9、 根据权利要求 8所述的转发器, 其特征在于,
所述控制阈值为最大上报频率, 所述控制参数用于统计与 该流相关的报文上报消息发送的频率; 或者,
所述控制阈值为最大上报时长, 所述控制参数用于统计与 该流相关的报文上报消息发送的持续时间; 或者,
所述控制阈值为最大上报次数, 所述控制参数用于统计与 该流相关的报文上报消息发送的次数。
10、 根据权利要求 8或 9所述的转发器, 其特征在于, 所述 上报控制信息获取单元通过以下方式中的一种或多种来获取 所述报文上报控制信息:
读取所述转发器的本地配置信息, 其中所述本地配置信息 包含所述报文上报控制信息;
接收来自所述控制器的配置消息, 其中所述配置消息携带 有所述报文上报控制信息; 以及
接收来自所述控制器的流规则安装消息, 其中所述流规则 安装消息携带有所述报文上报控制信息。
1 1、 根据权利要求 8至 10中任一项所述的转发器, 其特征 在于, 所述报文上报控制信息还包括报告指示, 所述转发器还 包括暂停上报报告单元,
所述暂停上报报告单元用于在所述控制参数达到所述控 制阈值的情况下, 使所述转发器向所述控制器发送暂停上报报 告消息, 其中所述暂停上报报告消息包括流匹配信息和暂停上 报原因。
12、 根据权利要求 8至 1 1中任一项所述的转发器, 其特征 在于, 所述报文上报控制信息还包括报告阈值, 所述转发器还 包括未上报报文报告单元,
所述未上报报文报告单元用于在该流的未上报报文的数 量达到所述报告阈值的情况下, 使所述转发器向所述控制器发 送未上报报文报告消息, 其中所述未上报报文是指未发送相应 报文上报消息的报文, 所述未上报报文报告消息包括流匹配信 息和报文统计信息。
13、 根据权利要求 8至 1 1中任一项所述的转发器, 其特征 在于, 还包括:
未上报报文緩存单元, 与所述上报控制单元连接, 用于在 所述上报控制单元使所述转发器停止发送与该流相关的报文 上报消息之后, 将该流的未上报报文緩存到与该流的已上报报 文的緩存区相关联或具有相同标识的緩存区, 其中所述未上报 报文是指未发送相应报文上报消息的报文, 所述已上报报文是 指已发送相应报文上报消息的报文。
14、 一种报文处理设备, 其特征在于, 包括通过总线连接 的通信接口、 处理器以及计算机可读介质,
所述计算机可读介质用于存储程序代码; 以及
1至 7中任一项所述的 4艮文处理方法。
15、 一种报文处理设备, 其特征在于, 包括:
接收器, 用于接收用户报文;
发送器, 用于向与所述报文处理设备一起实现控制转发解 耦的控制器发送报文上报消息; 以及 处理器, 用于获取报文上报控制信息, 其中所述报文上报 控制信息包括上报控制指示和控制阈值, 所述处理器还用于根 据所述上报控制指示, 在控制参数达到或超过所述控制阈值的 情况下, 使所述发送器停止发送与一个流相关的报文上报消 息。
16、 根据权利要求 15所述的报文处理设备, 其特征在于, 所述控制阈值为最大上报频率, 所述控制参数用于统计与 该流相关的报文上报消息发送的频率; 或者,
所述控制阈值为最大上报时长, 所述控制参数用于统计与 该流相关的报文上报消息发送的持续时间; 或者,
所述控制阈值为最大上报次数, 所述控制参数用于统计与 该流相关的报文上报消息发送的次数。
17、 根据权利要求 15或 16所述的报文处理设备, 其特征在 于, 所述处理器通过以下方式中的一种或多种来获取所述报文 上报控制信息:
读取所述 4艮文处理设备的本地配置信息, 其中所述本地配 置信息包含所述报文上报控制信息;
接收来自所述控制器的配置消息, 其中所述配置消息携带 有所述报文上报控制信息; 以及
接收来自所述控制器的流规则安装消息, 其中所述流规则 安装消息携带有所述报文上报控制信息。
18、 根据权利要求 15至 17中任一项所述的报文处理设备, 其特征在于, 所述报文上报控制信息还包括报告指示,
所述处理器还用于在所述控制参数达到所述控制阈值的 情况下, 使所述发送器向所述控制器发送暂停上报报告消息, 其中所述暂停上报报告消息包括流匹配信息和暂停上报原因。
19、 根据权利要求 15至 18中任一项所述的报文处理设备, 其特征在于, 所述报文上报控制信息还包括报告阈值, 所述处理器还用于在该流的未上报报文的数量达到所述 报告阈值的情况下, 使所述发送器向所述控制器发送未上报报 文报告消息, 其中所述未上报报文是指未发送相应报文上报消 息的报文, 所述未上报报文报告消息包括流匹配信息和报文统 计信息。
20、 根据权利要求 15至 18中任一项所述的报文处理设备, 流相关的报文上报消息之后, 将该流的未上报报文緩存到与该 流的已上报报文的緩存区相关联或具有相同标识的緩存区, 其 中所述未上报报文是指未发送相应报文上报消息的报文, 所述 已上报报文是指已发送相应报文上报消息的报文。
21、 一种报文处理系统, 其特征在于, 包括:
根据权利要求 8至 13中任一项所述的转发器; 以及
与所述转发器一起实现控制转发解耦的控制器。
22、 一种报文处理系统, 其特征在于, 包括:
根据权利要求 14至 20中任一项所述的报文处理设备; 以及 与所述报文处理设备一起实现控制转发解耦的控制器。
PCT/CN2013/071747 2013-02-21 2013-02-21 报文处理方法、转发器、报文处理设备、报文处理系统 WO2014127517A1 (zh)

Priority Applications (3)

Application Number Priority Date Filing Date Title
PCT/CN2013/071747 WO2014127517A1 (zh) 2013-02-21 2013-02-21 报文处理方法、转发器、报文处理设备、报文处理系统
CN201380000317.9A CN104160735B (zh) 2013-02-21 2013-02-21 发报文处理方法、转发器、报文处理设备、报文处理系统
US14/819,241 US9800479B2 (en) 2013-02-21 2015-08-05 Packet processing method, forwarder, packet processing device, and packet processing system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2013/071747 WO2014127517A1 (zh) 2013-02-21 2013-02-21 报文处理方法、转发器、报文处理设备、报文处理系统

Related Child Applications (1)

Application Number Title Priority Date Filing Date
US14/819,241 Continuation US9800479B2 (en) 2013-02-21 2015-08-05 Packet processing method, forwarder, packet processing device, and packet processing system

Publications (1)

Publication Number Publication Date
WO2014127517A1 true WO2014127517A1 (zh) 2014-08-28

Family

ID=51390476

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2013/071747 WO2014127517A1 (zh) 2013-02-21 2013-02-21 报文处理方法、转发器、报文处理设备、报文处理系统

Country Status (3)

Country Link
US (1) US9800479B2 (zh)
CN (1) CN104160735B (zh)
WO (1) WO2014127517A1 (zh)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2018521573A (ja) * 2015-06-10 2018-08-02 ノキア ソリューションズ アンド ネットワークス ゲゼルシャフト ミット ベシュレンクテル ハフツング ウント コンパニー コマンディトゲゼルシャフト Sdnセキュリティ
CN109450812A (zh) * 2018-12-29 2019-03-08 优刻得科技股份有限公司 处理数据包的方法、交换机和控制器以及介质

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP6462733B2 (ja) * 2014-06-18 2019-01-30 華為技術有限公司Huawei Technologies Co.,Ltd. サービスデータフローを制御する方法及び装置
CN108702326B (zh) * 2016-01-05 2021-03-19 瑞典爱立信有限公司 检测sdn控制平面循环的方法、设备和非暂时性机器可读介质
CN111200821B (zh) * 2018-11-16 2021-12-03 华为技术有限公司 一种容量规划方法及装置
WO2023092426A1 (zh) * 2021-11-25 2023-06-01 富士通株式会社 转发器、网络设备及其通信方法

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101111063A (zh) * 2006-07-20 2008-01-23 华为技术有限公司 最优小区更新方法及其系统、用户终端和网络
WO2011162215A1 (ja) * 2010-06-23 2011-12-29 日本電気株式会社 通信システム、制御装置、ノードの制御方法およびプログラム
CN102685006A (zh) * 2012-05-03 2012-09-19 中兴通讯股份有限公司 一种转发数据报文的方法及装置

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101111063A (zh) * 2006-07-20 2008-01-23 华为技术有限公司 最优小区更新方法及其系统、用户终端和网络
WO2011162215A1 (ja) * 2010-06-23 2011-12-29 日本電気株式会社 通信システム、制御装置、ノードの制御方法およびプログラム
CN102685006A (zh) * 2012-05-03 2012-09-19 中兴通讯股份有限公司 一种转发数据报文的方法及装置

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2018521573A (ja) * 2015-06-10 2018-08-02 ノキア ソリューションズ アンド ネットワークス ゲゼルシャフト ミット ベシュレンクテル ハフツング ウント コンパニー コマンディトゲゼルシャフト Sdnセキュリティ
US10547639B2 (en) 2015-06-10 2020-01-28 Nokia Solutions And Networks Gmbh & Co. Kg SDN security
US11140080B2 (en) 2015-06-10 2021-10-05 Nokia Solutions And Networks Gmbh & Co. Kg SDN security
CN109450812A (zh) * 2018-12-29 2019-03-08 优刻得科技股份有限公司 处理数据包的方法、交换机和控制器以及介质

Also Published As

Publication number Publication date
US20150341235A1 (en) 2015-11-26
CN104160735A (zh) 2014-11-19
CN104160735B (zh) 2018-07-13
US9800479B2 (en) 2017-10-24

Similar Documents

Publication Publication Date Title
WO2021207922A1 (zh) 报文传输方法、装置及系统
US9800479B2 (en) Packet processing method, forwarder, packet processing device, and packet processing system
JP5005003B2 (ja) トンネルのトランスポートチャネル上のデータストリームの送信を管理する方法、対応するトンネル終点及びコンピュータ読み取り可能な記憶媒体
US7835285B2 (en) Quality of service, policy enhanced hierarchical disruption tolerant networking system and method
US11722391B2 (en) Dynamic prediction and management of application service level agreements
WO2019134383A1 (zh) 控制网络拥塞的方法、接入设备和计算机可读存储介质
WO2013086897A1 (zh) 生成表项的方法、接收报文的方法及相应装置和系统
WO2020083272A1 (zh) 处理策略的生成方法、系统及存储介质
EP3982600A1 (en) Qos policy method, device, and computing device for service configuration
KR20200083582A (ko) 실시간 전송 네트워크 혼잡 조건에 기초하여 데이터 전송 네트워크 프로토콜을 가속 또는 감속하기 위한 시스템 및 방법
WO2013104178A1 (zh) 一种基于微波传输的以太网流量控制装置和方法
WO2019192318A1 (zh) 流量平滑方法、服务器及转发设备
US20160099891A1 (en) Packet processing method, apparatus and system
CN114095448A (zh) 一种拥塞流的处理方法及设备
CN113037691A (zh) 报文处理方法、装置及系统
WO2010081321A1 (zh) 实现上送速率动态联动的方法、装置和系统
WO2014180363A1 (zh) OpenFlow信令控制方法及装置
Liu et al. Optimizing tcp loss recovery performance over mobile data networks
WO2014100973A1 (zh) 视频处理方法、设备及系统
US10547549B2 (en) Processing data flows based on information provided via beacons
WO2019119836A1 (zh) 报文处理的方法和设备
JP5056621B2 (ja) パケット処理装置
US20240056885A1 (en) Multi-access traffic management
JP3845392B2 (ja) 帯域制御装置および帯域制御システム
CN116418744A (zh) 一种报文处理方法及相关设备

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 13875880

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 13875880

Country of ref document: EP

Kind code of ref document: A1