CN111163015A - Message sending method and device and convergence and diversion equipment - Google Patents

Message sending method and device and convergence and diversion equipment Download PDF

Info

Publication number
CN111163015A
CN111163015A CN201911345166.6A CN201911345166A CN111163015A CN 111163015 A CN111163015 A CN 111163015A CN 201911345166 A CN201911345166 A CN 201911345166A CN 111163015 A CN111163015 A CN 111163015A
Authority
CN
China
Prior art keywords
output port
flow table
aggregation
output
network message
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201911345166.6A
Other languages
Chinese (zh)
Other versions
CN111163015B (en
Inventor
李春明
蔡文杰
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Hongfujin Precision Industry Shenzhen Co Ltd
Tongding Interconnection Information Co Ltd
Original Assignee
Hongfujin Precision Industry Shenzhen Co Ltd
Tongding Interconnection Information Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Hongfujin Precision Industry Shenzhen Co Ltd, Tongding Interconnection Information Co Ltd filed Critical Hongfujin Precision Industry Shenzhen Co Ltd
Priority to CN201911345166.6A priority Critical patent/CN111163015B/en
Publication of CN111163015A publication Critical patent/CN111163015A/en
Application granted granted Critical
Publication of CN111163015B publication Critical patent/CN111163015B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • 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/215Flow control; Congestion control using token-bucket
    • 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
    • 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/12Avoiding congestion; Recovering from congestion
    • H04L47/125Avoiding congestion; Recovering from congestion by balancing the load, e.g. traffic engineering
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L49/00Packet switching elements
    • H04L49/30Peripheral units, e.g. input or output ports
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L49/00Packet switching elements
    • H04L49/50Overload detection or protection within a single switching element
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/50Reducing energy consumption in communication networks in wire-line communication networks, e.g. low power modes or reduced link rate

Abstract

The invention provides a message sending method, a message sending device and convergence and diversion equipment, and relates to the technical field of internet. The method comprises the steps that the aggregation and distribution equipment judges whether the network message meets a preset output allowing condition or not based on the acquired attribute information of the network message, and then determines a target output port corresponding to the network message from a plurality of output ports and outputs the network message through the target output port when the network message meets the preset output allowing condition. The invention solves the technical problem of uneven flow output of each output port caused by load balancing output according to flows of the current convergence and shunt equipment.

Description

Message sending method and device and convergence and diversion equipment
Technical Field
The invention relates to the technical field of internet, in particular to a message sending method, a message sending device and convergence and diversion equipment.
Background
With the rapid increase of network traffic, it is difficult for a single network device to process the traffic of the whole network, and multiple network devices are usually used to form a service processing system to provide services to the outside. The network message convergence and distribution equipment is responsible for distributing the converged network messages to different equipment of the service system. The shunting mode usually calculates the hash value of the five-tuple of the message, namely the IP of the source and the destination, the port of the source and the destination and the protocol, and determines the output port of the message after taking the module of the total number of the output ports of the device, thereby finally distributing the message belonging to the same flow to the same processing end point and realizing the same source and destination of the message. The message distribution mode of the current convergence and shunt equipment is simple and easy to implement, but the current convergence and shunt equipment also has inherent defects. For example, network messages are output according to a flow, which may cause uneven traffic output of each output port, thereby affecting the overall performance and stability of the output port.
Disclosure of Invention
The invention aims to provide a message sending method, a message sending device and convergence and diversion equipment to solve the problems. In order to achieve the purpose, the technical scheme adopted by the invention is as follows:
in a first aspect, an embodiment of the present application provides a packet sending method, which is applied to a convergence and offloading device, where the convergence and offloading device includes a plurality of output ports, and the method includes: the convergence and diversion equipment receives network messages in the network message flow; the aggregation and distribution equipment acquires attribute information of the network message; and the convergence and diversion device judges whether the network message meets a preset output-allowed condition or not based on the attribute information, and if so, the convergence and diversion device determines a target output port corresponding to the network message from the plurality of output ports and outputs the network message through the target output port.
In the embodiment of the application, the convergence and shunt device judges whether the network packet meets the preset allowable output condition or not based on the acquired attribute information of the network packet, and then determines a target output port corresponding to the network packet from a plurality of output ports and outputs the network packet through the target output port when the network packet meets the preset allowable output condition, so that the technical problem that the traffic output of each output port is uneven due to the fact that the current convergence and shunt device performs load balancing output according to flows is solved.
Optionally, the determining, by the aggregation and offloading device, whether the network packet meets a preset condition for allowing output based on the attribute information includes: the aggregation and distribution equipment searches a flow table corresponding to the network message flow based on the attribute information; if the aggregation and distribution device finds the flow table entry corresponding to the network message from the flow table, it indicates that the network message meets a preset allowable output condition.
In this embodiment of the present application, after searching for the flow table corresponding to the network packet flow based on the attribute information, the convergence and offloading device then searches for the flow table entry corresponding to the network packet from the flow table to further control selection of the output port, thereby implementing homologous co-location of packet distribution.
Optionally, each of the plurality of output ports is configured with a token bucket, and after the step of the aggregation and offloading device searching for the flow table corresponding to the network packet flow based on the attribute information, the method further includes: if the flow table entry corresponding to the network message is not found from the flow table, the aggregation and distribution device obtains an initial output port from the plurality of output ports based on the attribute information; the aggregation and distribution equipment judges whether the number of tokens in a token bucket corresponding to the initial output port is greater than a preset constant, and if the number of tokens is greater than the preset constant, the aggregation and distribution equipment indicates that the network message meets a preset allowable output condition.
In the embodiment of the application, the convergence and shunt device determines that the number of tokens in the token bucket corresponding to the obtained initial output port is greater than a preset constant by correspondingly configuring the token bucket for each output port, and indicates that the initial output port is selected as a target output port of a network message, so that the message is not only uniformly output, but also homologized according to the flow.
Optionally, after the step of determining, by the aggregation and offloading device, whether the number of tokens in the token bucket corresponding to the initial output port is greater than a preset constant, the method further includes:
if the aggregation and distribution equipment judges that the number of tokens is not greater than a preset constant, arranging a plurality of residual output ports except the initial output port from the plurality of output ports in a descending order according to the number of tokens in token buckets corresponding to the plurality of residual output ports, and selecting the residual output port arranged at the first position; and the aggregation and distribution equipment judges whether the number of tokens in the token bucket corresponding to the first remaining output port is greater than the preset constant, and if so, the aggregation and distribution equipment indicates that the network message meets a preset allowable output condition.
In the embodiment of the application, the convergence and shunt device controls the selection of the target output port of the network message through the token bucket, so that the message is not only uniformly output, but also homodromous according to the flow.
Optionally, the determining, by the aggregation and offloading device, a target output port corresponding to the network packet from the plurality of output ports includes: the aggregation shunt equipment determines the remaining output ports arranged at the first position as target output ports corresponding to the network messages; and the aggregation and distribution equipment establishes a flow table item corresponding to the network message and stores the established flow table item in a flow table corresponding to the network message flow based on the attribute information and the remaining output ports arranged at the first position.
In the embodiment of the application, the aggregation and distribution device takes the number of messages of each message flow as a variable, dynamically selects a corresponding target output port according to the number of tokens in the token bucket, and stores a newly-built flow table item into the flow table, thereby providing a basis for directly inquiring the flow table to directly obtain the output port when other subsequent messages of the network message flow arrive, and further realizing uniform message output and simultaneous homing according to the flows.
Optionally, the determining, by the aggregation and offloading device, a target output port corresponding to the network packet from the plurality of output ports further includes: the convergence and diversion device determines the initial output port as a target output port corresponding to the network message; and the aggregation and distribution equipment establishes a flow table entry corresponding to the network message based on the attribute information and the initial output port and stores the established flow table entry in a flow table corresponding to the network message flow.
In the embodiment of the application, the aggregation and distribution device takes the number of messages of each message flow as a variable, dynamically selects a corresponding target output port according to the number of tokens in the token bucket, and stores a newly-built flow table item into the flow table, so that a foundation is provided for directly inquiring the flow table to directly obtain the output port when other subsequent messages of the network message flow arrive, and therefore, the messages are not only uniformly output, but also homologously received according to the flow.
Optionally, the method further comprises: and the aggregation and distribution equipment checks whether the filling time interval of the token bucket is overtime, and if so, at least one token is added to the token bucket corresponding to each output port in the plurality of output ports.
In the embodiment of the application, the aggregation and distribution device further realizes that the message is not only output uniformly, but also homodromous according to the flow through a mode of periodically adding token quantity of the token bucket.
Optionally, one of the output ports is stored in a flow table entry corresponding to the network packet, and the aggregation and offloading device determines a target output port corresponding to the network packet from the output ports, further including:
and the aggregation and distribution equipment acquires an output port in the flow table entry from the flow table entry corresponding to the network message and determines the output port in the flow table entry as a target output port corresponding to the network message.
In the embodiment of the application, the convergence and shunt device outputs the network message through dynamically selecting the corresponding target output port in a flow table entry mode, so that the message is not only uniformly output, but also homodromous according to the flow.
Optionally, the method further comprises: the aggregation shunt device scans the corresponding flow table of the stored network message flow at regular time, and if the overtime flow table item is detected, the overtime flow table item is removed from the flow table where the overtime flow table item is located.
In the embodiment of the application, the convergence and shunt device avoids the consumption of the flow table space by setting the overtime management mode of the flow table, so as to further realize that the message is not only output uniformly, but also co-hosted according to the flow homology.
In a second aspect, an embodiment of the present invention provides a packet sending apparatus, operating in a convergence and offloading device, where the convergence and offloading device includes a plurality of output ports, and the apparatus includes: the device comprises a receiving unit, an acquisition unit and an output unit. And the receiving unit is used for receiving the network message in the network message flow. And the acquisition unit is used for acquiring the attribute information of the network message. And the output unit is used for judging whether the network message meets a preset output-allowed condition or not based on the attribute information, and if so, the convergence and shunt equipment determines a target output port corresponding to the network message from the plurality of output ports and outputs the network message through the target output port.
In a third aspect, an embodiment of the present application provides a convergence and offloading device, which includes a plurality of output ports, a processor, and a memory. Each of the plurality of output ports is connected to the processor by a bus. The processor and the memory are electrically connected by a bus. The memory has program code stored therein. The processor is used for reading the program codes from the memory through the bus and running the program codes to execute the method.
The embodiment of the application provides a message sending method, a message sending device and convergence and shunt equipment, wherein the method comprises the steps that the convergence and shunt equipment judges whether a network message meets a preset output permission condition or not based on acquired attribute information of the network message, then when the network message meets the preset output permission condition, a target output port corresponding to the network message is determined from a plurality of output ports, and the network message is output through the target output port, so that the technical problem that the flow output of each output port is uneven due to the fact that the current convergence and shunt equipment carries out load balance output according to flows is solved.
Additional features and advantages of the invention will be set forth in the description which follows, and in part will be obvious from the description, or may be learned by the practice of the embodiments of the invention. The objectives and other advantages of the invention will be realized and attained by the structure particularly pointed out in the written description and claims hereof as well as the appended drawings.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings needed to be used in the embodiments will be briefly described below, it should be understood that the following drawings only illustrate some embodiments of the present invention and therefore should not be considered as limiting the scope, and for those skilled in the art, other related drawings can be obtained according to the drawings without inventive efforts.
FIG. 1 is an environment in which embodiments of the present invention may be used;
fig. 2 is a flowchart of a message sending method according to an embodiment of the present invention;
fig. 3 is a flowchart of another message sending method according to an embodiment of the present invention;
fig. 4 is a schematic diagram of token numbers of token buckets corresponding to a plurality of output ports in a convergence/diversion device at a certain time in an application example of the message sending method according to the embodiment of the present invention;
fig. 5 is a schematic diagram of a flow table and a flow entry in an application example of the packet sending method according to the embodiment of the present invention;
fig. 6 is a flowchart of a step of periodically adding a token in a message sending method according to an embodiment of the present invention;
fig. 7 is a flowchart of a timing management step of a flow table in a message sending method according to an embodiment of the present invention;
fig. 8 is a block diagram of a message sending apparatus according to an embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, but not all, embodiments of the present invention. The components of embodiments of the present invention generally described and illustrated in the figures herein may be arranged and designed in a wide variety of different configurations. Thus, the following detailed description of the embodiments of the present invention, presented in the figures, is not intended to limit the scope of the invention, as claimed, but is merely representative of selected embodiments of the invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
It should be noted that: like reference numbers and letters refer to like items in the following figures, and thus, once an item is defined in one figure, it need not be further defined and explained in subsequent figures. Meanwhile, in the description of the present invention, the terms "first", "second", and the like are used only for distinguishing the description, and are not to be construed as indicating or implying relative importance.
In the process of implementing the technical scheme in the embodiment of the present invention, the inventor of the present invention finds that the prior art is as follows: network packets may be generally divided into streams, where a stream refers to a series of packets having the same source and destination IP, source and destination port, and protocol number. The network packet aggregation and distribution device is responsible for distributing the aggregated network packet to different devices (which may be hardware server groups or other processing modules inside a software system) of the service system, as shown in fig. 1. When distributing messages to a back-end processing system, it is required to send messages of the same flow to the same back-end processing machine, that is, all messages of the same flow need to be sent to the same back-end processing system from the same output port, which is called homogeneous co-homing in the flow splitting.
The general implementation of this shunting is as follows:
step 1: receiving a message, analyzing a message header, and taking a quintuple (a source destination IP, a source destination port and a protocol number) of the message;
step 2: performing hash calculation on the quintuple obtained in the step 1 according to a predetermined hash function to obtain a hash value N;
and step 3: and (3) further performing modulo operation on the hash value N obtained in the step (2), and taking the total number M of the output ports as a modulo to obtain a value L, wherein L is the output port number of the message (assuming that the port number starts from 0), namely the value range of L is 0-M-1.
And (3) the convergence and distribution equipment performs the steps 1 to 3 on each received message to complete the distribution work of homologous and homoclinic.
Further, the inventor of the present application finds that the current packet distribution method is simple and easy to implement, but has an inherent disadvantage that the traffic output of each output port may not be uniform. Because the streaming mode is distributed by using message streams as granularity, uniform distribution can be achieved in the stream dimension, but the size of different message streams (that is, the number of messages contained in a stream) is not considered to be different, for example, the size of a video stream is obviously different from that of an IM chat stream, so the streaming mode cannot perform accurate load balancing output at the message level. This problem can further lead to two problems: 1) the processing unit in the back-end service system receives inconsistent numbers of messages, which may cause uneven processing pressure of each processing unit, and the difference may exceed 5% and even reach 10%, thereby affecting the overall performance and stability of the processing unit; 2) in extreme cases, the aggregation and distribution device itself may cause packet loss phenomenon at individual interfaces, mainly when the traffic approaches the output peak value, the traffic received by the individual port exceeds other ports, so that the total output traffic of the individual port exceeds the limit of the output port, which may cause the device to discard an excessive part of messages. Further, the inventor finds that the existing convergence and shunt equipment performs load balancing output according to flows, so that the technical problem of uneven flow output of each output port is caused.
The inventor of the present application, in order to improve the above technical problems, invented the technical solutions provided in the embodiments of the present invention. Embodiments provided in embodiments of the present invention will be described in detail below with reference to specific examples and the accompanying drawings.
Referring to fig. 2, an embodiment of the present application provides a packet sending method, which is applied to a convergence and offloading device, where the convergence and offloading device includes a plurality of output ports, and the method may include: step S200, step S210, and step S220.
Step S200: and the convergence and diversion equipment receives the network message in the network message flow.
Step S210: and the aggregation and distribution equipment acquires the attribute information of the network message.
In the embodiment of the present application, the attribute information may include five tuples, i.e., source destination IP, source destination port, and protocol number.
Step S210 may include: the convergence and diversion device analyzes the message header of the network message to obtain the quintuple of the network message.
Step S220: and the convergence and diversion device judges whether the network message meets a preset output-allowed condition or not based on the attribute information, and if so, the convergence and diversion device determines a target output port corresponding to the network message from the plurality of output ports and outputs the network message through the target output port.
It is understood that in the embodiments of the present application, there are defined: the convergence and diversion device comprises M output ports, each output port in the M output ports is correspondingly provided with a token bucket, the initial value of the number of tokens in the token bucket is the maximum value Bc, the token filling speed is Tc, the filling interval is Sc, and Lc tokens are subtracted from the token bucket corresponding to the output port when the output port sends a message of Lc Bytes. If the number of the remaining tokens in the token bucket is larger than the preset constant, the output port can receive and output a new network message flow. The predetermined constant may be 0.
The convergence and diversion device establishes a flow table for the network message flow, establishes a flow table entry for a first message when receiving the first message of the network message flow, and records an output port of the message. The flow table has a size of C, and C may determine a specific numerical value according to the device memory and the network traffic scale, and generally C is on the order of tens of thousands to tens of millions.
Alternatively, referring to fig. 2 and fig. 3 in combination, step S220 may include: sub-step S221, sub-step S222, sub-step S2221, sub-step S2222, sub-step S2223, sub-step S2224, and sub-step S2225. Step S220 may also include sub-step S222 a.
Substep S221: and the aggregation and distribution equipment searches a flow table corresponding to the network message flow based on the attribute information.
Sub-step S222 a: if the aggregation and distribution device finds the flow table entry corresponding to the network message from the flow table, it indicates that the network message meets a preset allowable output condition.
In this embodiment of the present application, after searching for the flow table corresponding to the network packet flow based on the attribute information, the convergence and offloading device then searches for the flow table entry corresponding to the network packet from the flow table to further control selection of the output port, thereby implementing homologous co-location of packet distribution.
Further, referring to fig. 3, each of the output ports is configured with a token bucket, and after the sub-step S221, the method may further include:
substep S222: if the flow table entry corresponding to the network message is not found from the flow table, the aggregation and distribution device obtains an initial output port from the plurality of output ports based on the attribute information;
sub-step S2221 a: the aggregation and distribution equipment judges whether the number of tokens in a token bucket corresponding to the initial output port is greater than a preset constant, and if the number of tokens is greater than the preset constant, the aggregation and distribution equipment indicates that the network message meets a preset allowable output condition.
In the embodiment of the present application, the preset constant may be 0.
In the embodiment of the application, the convergence and shunt device determines that the number of tokens in the token bucket corresponding to the obtained initial output port is greater than a preset constant by correspondingly configuring the token bucket for each output port, and indicates that the initial output port is selected as a target output port of a network message, so that the message is not only uniformly output, but also homologized according to the flow.
Obtaining an initial output port from the plurality of output ports based on the attribute information may include:
taking the quintuple of the network message as a key, calculating to obtain a hash value, modulo M, and obtaining N which is L% M, wherein M is the total number of the output ports, L is the hash value, N is the initial output port, and the value range of N is 0- (M-1).
For example, the attribute information includes a quintuple, the convergence and offloading device executes steps S200 to S210 to obtain the quintuple of the network packet, looks up a flow table by using the quintuple of the network packet as a key, and if the result is found, indicates that the network packet belongs to an existing network packet flow; the aggregation and distribution equipment acquires an output port in a flow entry from the flow entry corresponding to the network message and determines the output port in the flow entry as a target output port corresponding to the network message; outputting the network message through the target output port, subtracting the length value of the network message from the number of tokens in the token bucket corresponding to the target output port, updating the flow entry timestamp, and going to step 200 to continue processing the next network message; if the corresponding flow entry is not found, it indicates that the network packet is the first packet of the network packet flow, and the process goes to substep S222, i.e., a hash value is calculated by using the five-tuple of the network packet as a key, and modulo M is taken, so as to preliminarily obtain an initial output port number N ═ L% M. M is the total number of the output ports, L is a hash value, N is the number of the initial output port, and the value range of N is 0- (M-1).
Further, after the step of determining, by the aggregation and offloading device, whether the number of tokens in the token bucket corresponding to the initial output port is greater than a preset constant, the method further includes:
substep S2221: if the aggregation and distribution equipment judges that the number of tokens is not greater than a preset constant, arranging a plurality of residual output ports except the initial output port from the plurality of output ports in a descending order according to the number of tokens in token buckets corresponding to the plurality of residual output ports, and selecting the residual output port arranged at the first position;
substep S2222: and the aggregation and distribution equipment judges whether the number of tokens in the token bucket corresponding to the first remaining output port is greater than the preset constant, and if so, the aggregation and distribution equipment indicates that the network message meets a preset allowable output condition.
In the embodiment of the application, the convergence and shunt device controls the selection of the target output port of the network message through the token bucket, so that the message is not only uniformly output, but also homodromous according to the flow.
It can be understood that, if the aggregation and offloading device determines that the number of tokens in the token bucket corresponding to the remaining output port arranged in the first place is not greater than the preset constant, it indicates that the network packet does not satisfy the preset allowable output condition, and discards the network packet.
As an embodiment, the determining, by the aggregation and offloading device, a target output port corresponding to the network packet from the plurality of output ports includes:
substep S2223: the aggregation shunt equipment determines the remaining output ports arranged at the first position as target output ports corresponding to the network messages;
substep S2224: and the aggregation and distribution equipment establishes a flow table item corresponding to the network message and stores the established flow table item in a flow table corresponding to the network message flow based on the attribute information and the remaining output ports arranged at the first position.
For example, the aggregation and offloading device establishes a flow entry for the network packet in a flow table by using a five-tuple of the network packet as a key, records the remaining output ports arranged in the first place in the flow entry, and stores the remaining output ports in the flow table corresponding to the network packet flow.
In the embodiment of the application, the aggregation and distribution device takes the number of messages of each message flow as a variable, dynamically selects a corresponding target output port according to the number of tokens in the token bucket, and stores a newly-built flow table item into the flow table, thereby providing a basis for directly inquiring the flow table to directly obtain the output port when other subsequent messages of the network message flow arrive, and further realizing uniform message output and simultaneous homing according to the flows.
The determining, by the aggregation and offloading device, a target output port corresponding to the network packet from the plurality of output ports and outputting the network packet through the target output port includes:
substep S2225: the convergence and diversion device outputs the network message through the target output port and subtracts the length value of the network message from the number of tokens in the token bucket corresponding to the target output port.
To further illustrate the effectiveness of the message sending method provided in the embodiment of the present application, the aggregation and offloading device is configured to include 5 output ports, which are respectively numbered as 1, 2, 3, 4, and 5. Each output port is correspondingly provided with a token bucket, and the token in each token bucket is full when the system is initialized. As the output port continuously receives the packet, the tokens in the token bucket are also consumed, and the number of tokens in the token bucket at a certain time is schematically shown in fig. 4: the current number of tokens at each output port is indicated by shading, and it can be seen that the number of tokens remaining at output port 2 is the largest at this time, and the token at output port 4 is used up.
For example, at this moment, the convergence and offloading device receives a network message stream, which is denoted as a first message of stream1, and a quintuple of the first message is: sip is 1.2.3.4; dip is 5.6.. 7.8; sport is 1234; 555 dport; and 7, according to the method provided by the application, the first message cannot find a corresponding flow table item from the flow table, and an initial output port is selected according to the five-tuple information hash. The initial output port obtained after the hash is the output port 4. As the token of output port 4 has been exhausted, a new flow of messages will no longer be accepted. So one of the remaining output ports No. 1, 2, 3, 5 is selected as the target output port. The four ports are sorted in descending order of the number of remaining tokens, and output port 2 is selected as the final target output port. A flow table is then established for the flow and relevant information is recorded. Flow table schematic 5 is as follows: the flow table is a hash table with N slots, and the flow table entry is hung under a certain slot in a linked list mode. The stream entry of the stream1 in this example is suspended in slot 2 of the stream table, and the content of the stream entry is as shown in fig. 5.
In this embodiment, all output messages need to consume tokens in the token bucket, and the load between each interface is controlled by the token bucket algorithm, so that a new message stream is reasonably scheduled, and the output uniformity of each output port is realized.
As another embodiment, after the sub-step S2221a, the step S220 further includes: the aggregation and offloading device determines a target output port corresponding to the network packet from the plurality of output ports, and further includes:
sub-step S2221a 1: the convergence and diversion device determines the initial output port as a target output port corresponding to the network message;
sub-step S2221a 2: and the aggregation and distribution equipment establishes a flow table entry corresponding to the network message based on the attribute information and the initial output port and stores the established flow table entry in a flow table corresponding to the network message flow.
In the embodiment of the application, the aggregation and distribution device takes the number of messages of each message flow as a variable, dynamically selects a corresponding target output port according to the number of tokens in the token bucket, and stores a newly-built flow table item into the flow table, so that a foundation is provided for directly inquiring the flow table to directly obtain the output port when other subsequent messages of the network message flow arrive, and therefore, the messages are not only uniformly output, but also homologously received according to the flow.
For example, the aggregation and offloading device establishes a flow entry for the network packet in a flow table by using a five-tuple of the network packet as a key, records the initial output port in the flow entry, and stores the initial output port in a flow table corresponding to the network packet flow.
In the embodiment of the application, the aggregation and distribution device takes the number of messages of each message flow as a variable, dynamically selects a corresponding target output port according to the number of tokens in the token bucket, and stores a newly-built flow table item into the flow table, so that a foundation is provided for directly inquiring the flow table to directly obtain the output port when other subsequent messages of the network message flow arrive, and therefore, the messages are not only uniformly output, but also homologously received according to the flow.
In the embodiment of the application, all output messages need to consume tokens in the token bucket, and the load among all interfaces is controlled through the token bucket algorithm, so that the new message flow is reasonably scheduled, and the output uniformity of all output ports is realized.
As another implementation manner, after the sub-step S222a, the step S220 may further include that one of the plurality of output ports is stored in a flow table entry corresponding to the network packet, and the determining, by the aggregation and offloading device, a target output port corresponding to the network packet from the plurality of output ports further includes:
sub-step S222a 1: and the aggregation and distribution equipment acquires an output port in the flow table entry from the flow table entry corresponding to the network message and determines the output port in the flow table entry as a target output port corresponding to the network message.
In the embodiment of the application, the convergence and shunt device outputs the network message through dynamically selecting the corresponding target output port in a flow table entry mode, so that the message is not only uniformly output, but also homodromous according to the flow.
It can be understood that, with reference to fig. 2 and fig. 3, according to the actual situation of the received network packet, the convergence and offloading device executes step S200, step S210, sub-step S221, sub-step S222, sub-step S2221, sub-step S2222, sub-step S2223, sub-step S2224, and sub-step S2225 to implement the method; or the convergence and offloading device executes step S200, step S210, sub-step S221, sub-step S222, sub-step S2221a, sub-step S2221a1, sub-step S2221a2, and sub-step S2225 to implement the method; or the convergence and offloading device executes step S200, step S210, sub-step S221, sub-step S222a, sub-step S222a1, and sub-step S2225 to implement the method.
The convergence and shunt device adds a token bucket for each output port, and reasonably selects the output port for the message flow through the token bucket. When performing quintuple hash on a packet to select an output port, it is necessary to further check whether a packet token bucket corresponding to the selected output port allows output, and if there is no token in the token bucket, the output port cannot be selected as the output port of the packet flow. And selecting one of the other output ports with the remaining tokens as a final output port. Namely, the token bucket influences the output port selection of the message flow, and the problem of uneven distribution caused by flow output is avoided, so that the purposes of homoclinic according to the flow and uniform message output are achieved.
In the embodiment of the application, a flow table is added to ensure the same source and the same destination of the message distribution. The invention can form the secondary selection of the output port after adding the port token bucket, therefore in order to guarantee the homologous homologism of message distribution, establish a flow table entry for each message flow when receiving the first message of the message flow, and record the output port selected according to the method of the invention in the flow table, the flow table of direct inquiry is outputted according to the output port recorded when the subsequent other message of the flow arrives. Thereby ensuring the same source and sink output of message distribution. The method realizes the distribution according to the stream and the balanced output according to the number of the messages, and realizes the accurate and uniform distribution of the whole message.
Further, the method may further include:
and the aggregation and distribution equipment checks whether the filling time interval of the token bucket is overtime, and if so, at least one token is added to the token bucket corresponding to each output port in the plurality of output ports.
In the embodiment of the application, the aggregation and distribution device further realizes that the message is not only output uniformly, but also homodromous according to the flow through a mode of periodically adding token quantity of the token bucket.
For example, please refer to fig. 6, the aggregation and offloading device sets a token addition timer interval Sc, checks whether a filling time interval of the token bucket is overtime, if so, sequentially adds Tc tokens to the token bucket corresponding to each of the output ports, sleeps for 10ms, and continues timing check.
Further, to avoid the flow table space being exhausted, the method further comprises:
the aggregation shunt device scans the corresponding flow table of the stored network message flow at regular time, and if the overtime flow table item is detected, the overtime flow table item is removed from the flow table where the overtime flow table item is located.
For example, please refer to fig. 7, the aggregation and offloading device sets a flow table timeout time, reads a flow table corresponding to a stored network packet, scans the flow table from a header of the flow table, compares a timestamp in a flow entry of the flow table with a current time, deletes the timeout flow entry from the flow table where the timeout flow entry is located if the timeout flow entry is detected, determines whether a tail of the flow table is reached, continues to detect a next flow entry in the flow table if the tail of the flow table is not reached, and reads a new flow table for detection if the tail of the flow table is reached.
In the embodiment of the application, the convergence and shunt device avoids the consumption of the flow table space by setting the overtime management mode of the flow table, so as to further realize that the message is not only output uniformly, but also co-hosted according to the flow homology.
When the convergence and shunt device performs hash selection on the message flow to output ports, the number of messages of each flow, namely the size of the flow, is also taken into consideration as a variable, when the output ports are selected for the newly-built flow, the current output flows of all the output ports are considered in a whole disc mode, and when the flow output by a certain port is overlarge, the message flow selects a port with the minimum output quantity from other output ports as the output port. Selection control of the output ports is achieved by setting a token bucket for each output port. If tokens exist in the token bucket corresponding to the port selected for the first time, allowing the port to output, and directly selecting the port; and if the number of tokens in the token bucket corresponding to the port is less than or equal to 0, the message flow can not be accepted and output from the port. And selecting one output port with the most tokens left as a final output port from other output ports with the tokens left in the token bucket. And each flow selects a port and establishes a flow table when in the first message, and the output port is stored in the flow table. When the subsequent message of the flow arrives, the output port in the flow table is directly searched for output, and the same source and the same destination of the flow are achieved.
The embodiment of the application provides a message sending method, which comprises the steps that a convergence and shunt device judges whether a network message meets a preset output permission condition or not based on acquired attribute information of the network message, and then determines a target output port corresponding to the network message from a plurality of output ports and outputs the network message through the target output port when the network message meets the preset output permission condition, so that the technical problem that the flow output of each output port is uneven due to the fact that the current convergence and shunt device carries out load balancing output according to flows is solved.
Referring to fig. 8, an embodiment of the present invention provides a message sending apparatus 800, operating in a convergence and offloading device, where the convergence and offloading device includes a plurality of output ports, and the apparatus 800 may include: a receiving unit 810, an obtaining unit 820 and an output unit 830.
A receiving unit 810, configured to receive a network packet in a network packet stream.
An obtaining unit 820, configured to obtain attribute information of the network packet.
An output unit 830, configured to determine, based on the attribute information, whether the network packet meets a preset output-allowed condition, if so, the aggregation and offloading device determines a target output port corresponding to the network packet from the multiple output ports and outputs the network packet through the target output port.
The output unit 830 is further configured to search a flow table corresponding to the network packet flow based on the attribute information; if the flow table entry corresponding to the network message is found from the flow table, it indicates that the network message meets a preset allowable output condition.
Each of the output ports is correspondingly configured with a token bucket, and the output unit 830 is further configured to obtain an initial output port from the output ports based on the attribute information if the flow entry corresponding to the network packet is not found from the flow table; and judging whether the number of tokens in a token bucket corresponding to the initial output port is greater than a preset constant, if so, indicating that the network message meets a preset allowable output condition.
The output unit 830 is further configured to, if it is determined that the number of tokens is not greater than the preset constant, arrange a plurality of remaining output ports from the plurality of output ports except the initial output port in a descending order according to the number of tokens in a token bucket corresponding to each of the plurality of remaining output ports, and select a remaining output port arranged at a first position; and judging whether the number of tokens in the token bucket corresponding to the first-order residual output port is greater than the preset constant, if so, indicating that the network message meets the preset allowable output condition.
An output unit 830, further configured to determine the remaining output ports ranked first as target output ports corresponding to the network packet; and establishing a flow table entry corresponding to the network message and storing the established flow table entry in a flow table corresponding to the network message flow based on the attribute information and the remaining output ports arranged at the first position.
An output unit 830, further configured to determine the initial output port as a target output port corresponding to the network packet; and establishing a flow table entry corresponding to the network message based on the attribute information and the initial output port, and storing the established flow table entry in a flow table corresponding to the network message flow.
The flow table entry corresponding to the network packet stores one of the output ports, and the output unit 830 is further configured to obtain the output port in the flow table entry from the flow table entry corresponding to the network packet and determine the output port in the flow table entry as the target output port corresponding to the network packet.
The output unit 830 is further configured to check whether a filling time interval of the token bucket is over time, and if the filling time interval is over time, add at least one token to the token bucket corresponding to each of the plurality of output ports.
The output unit 830 is further configured to prepare a corresponding flow table of the network packet flow that is periodically scanned and stored, and if an overtime flow table entry is detected, remove the overtime flow table entry from the flow table where the overtime flow table entry is located.
The above units may be implemented by software codes, and in this case, the above units may be stored in a memory. The above units may also be implemented by hardware, for example, an integrated circuit chip.
The message sending apparatus 800 according to the embodiment of the present invention has the same implementation principle and technical effect as those of the foregoing method embodiments, and for brief description, reference may be made to corresponding contents in the foregoing method embodiments for parts that are not mentioned in the apparatus embodiments.
In a third aspect, an embodiment of the present application provides a convergence and offloading device, which includes a plurality of output ports, a processor, and a memory. Each of the plurality of output ports is connected to the processor by a bus. The processor and the memory are electrically connected by a bus. The memory has program code stored therein. The processor is used for reading the program codes from the memory through the bus and running the program codes to execute the method.
The convergence and shunt device further comprises a storage controller, and the storage, the storage controller, the processor, the peripheral interface and the output port are electrically connected directly or indirectly to realize data transmission or interaction. For example, electrical connections between these components may be made through one or more communication or signal buses. The message sending method comprises at least one software functional module, which may be stored in a memory in the form of software or firmware (firmware), for example a software functional module or a computer program comprised by the message sending apparatus, respectively.
The memory may store various software programs and modules, such as program instructions/modules corresponding to the message sending method and apparatus provided in the embodiments of the present application. The processor executes various functional applications and data processing by running software programs and modules stored in the memory, that is, implements the message sending method in the embodiment of the present application.
The Memory may include, but is not limited to, Random Access Memory (RAM), Read Only Memory (ROM), Programmable Read Only Memory (PROM), Erasable Read Only Memory (EPROM), electrically Erasable Read Only Memory (EEPROM), and the like.
The processor may be an integrated circuit chip having signal processing capabilities. The processor may be a general-purpose processor, and includes a Central Processing Unit (CPU), a Network Processor (NP), and the like; but may also be a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), a Field Programmable Gate Array (FPGA) or other programmable logic device, discrete gate or transistor logic device, discrete hardware components. Which may implement or perform the methods, steps, and logic blocks disclosed in the embodiments of the present application. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
In the embodiments provided in the present application, it should be understood that the disclosed apparatus and method can be implemented in other ways. The apparatus embodiments described above are merely illustrative, and for example, the flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of apparatus, methods and computer program products according to various embodiments of the present invention. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
In addition, the functional modules in the embodiments of the present invention may be integrated together to form an independent part, or each module may exist separately, or two or more modules may be integrated to form an independent part.
The functions, if implemented in the form of software functional modules and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes. It is noted that, herein, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in a process, method, article, or apparatus that comprises the element.
The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention, and various modifications and changes may be made by those skilled in the art. Any modification, equivalent replacement, or improvement made within the spirit and principle of the present invention should be included in the protection scope of the present invention.
The above description is only for the specific embodiments of the present invention, but the scope of the present invention is not limited thereto, and any person skilled in the art can easily conceive of the changes or substitutions within the technical scope of the present invention, and all the changes or substitutions should be covered within the scope of the present invention. Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.

Claims (11)

1. A message sending method is applied to a convergence and shunt device, wherein the convergence and shunt device comprises a plurality of output ports, and the method comprises the following steps:
the convergence and diversion equipment receives network messages in the network message flow;
the aggregation and distribution equipment acquires attribute information of the network message;
and the convergence and diversion device judges whether the network message meets a preset output-allowed condition or not based on the attribute information, and if so, the convergence and diversion device determines a target output port corresponding to the network message from the plurality of output ports and outputs the network message through the target output port.
2. The method according to claim 1, wherein the determining, by the aggregation and offloading device, whether the network packet meets a preset output-allowed condition based on the attribute information includes:
the aggregation and distribution equipment searches a flow table corresponding to the network message flow based on the attribute information;
if the aggregation and distribution device finds the flow table entry corresponding to the network message from the flow table, it indicates that the network message meets a preset allowable output condition.
3. The method according to claim 2, wherein each of the plurality of output ports is configured with a token bucket, and after the step of the aggregation and offloading device searching a flow table corresponding to the network packet flow based on the attribute information, the method further comprises:
if the flow table entry corresponding to the network message is not found from the flow table, the aggregation and distribution device obtains an initial output port from the plurality of output ports based on the attribute information;
the aggregation and distribution equipment judges whether the number of tokens in a token bucket corresponding to the initial output port is greater than a preset constant, and if the number of tokens is greater than the preset constant, the aggregation and distribution equipment indicates that the network message meets a preset allowable output condition.
4. The method according to claim 3, wherein after the step of determining, by the aggregation offload device, whether the number of tokens in the token bucket corresponding to the initial output port is greater than a preset constant, the method further includes:
if the aggregation and distribution equipment judges that the number of tokens is not greater than a preset constant, arranging a plurality of residual output ports except the initial output port from the plurality of output ports in a descending order according to the number of tokens in token buckets corresponding to the plurality of residual output ports, and selecting the residual output port arranged at the first position;
and the aggregation and distribution equipment judges whether the number of tokens in the token bucket corresponding to the first remaining output port is greater than the preset constant, and if so, the aggregation and distribution equipment indicates that the network message meets a preset allowable output condition.
5. The method according to claim 4, wherein the determining, by the aggregation and offloading device, a target output port corresponding to the network packet from the plurality of output ports includes:
the aggregation shunt equipment determines the remaining output ports arranged at the first position as target output ports corresponding to the network messages;
and the aggregation and distribution equipment establishes a flow table item corresponding to the network message and stores the established flow table item in a flow table corresponding to the network message flow based on the attribute information and the remaining output ports arranged at the first position.
6. The method according to claim 3, wherein the aggregation and offloading device determines a target output port corresponding to the network packet from the plurality of output ports, further comprising:
the convergence and diversion device determines the initial output port as a target output port corresponding to the network message;
and the aggregation and distribution equipment establishes a flow table entry corresponding to the network message based on the attribute information and the initial output port and stores the established flow table entry in a flow table corresponding to the network message flow.
7. The method of claim 3, further comprising:
and the aggregation and distribution equipment checks whether the filling time interval of the token bucket is overtime, and if so, at least one token is added to the token bucket corresponding to each output port in the plurality of output ports.
8. The method according to claim 2, wherein one of the output ports is stored in a flow table entry corresponding to the network packet, and the aggregation offload device determines a target output port corresponding to the network packet from the output ports, further comprising:
and the aggregation and distribution equipment acquires an output port in the flow table entry from the flow table entry corresponding to the network message and determines the output port in the flow table entry as a target output port corresponding to the network message.
9. The method according to any one of claims 2-8, further comprising:
the aggregation shunt device scans the corresponding flow table of the stored network message flow at regular time, and if the overtime flow table item is detected, the overtime flow table item is removed from the flow table where the overtime flow table item is located.
10. A message sending apparatus, operating on a convergence and offloading device, where the convergence and offloading device includes a plurality of output ports, the apparatus comprising:
a receiving unit, configured to receive a network packet in a network packet stream;
an obtaining unit, configured to obtain attribute information of the network packet;
and the output unit is used for judging whether the network message meets a preset output-allowed condition or not based on the attribute information, and if so, the convergence and shunt equipment determines a target output port corresponding to the network message from the plurality of output ports and outputs the network message through the target output port.
11. The convergence and shunt device is characterized by comprising a plurality of output ports, a processor and a memory, wherein each output port of the plurality of output ports is connected to the processor through a bus, and the processor and the memory are electrically connected through the bus; the memory has program code stored therein; the processor, which is used to read and run the program code from the memory through the bus, executes the method of any one of claims 1-9.
CN201911345166.6A 2019-12-24 2019-12-24 Message sending method and device and convergence and distribution equipment Active CN111163015B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911345166.6A CN111163015B (en) 2019-12-24 2019-12-24 Message sending method and device and convergence and distribution equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911345166.6A CN111163015B (en) 2019-12-24 2019-12-24 Message sending method and device and convergence and distribution equipment

Publications (2)

Publication Number Publication Date
CN111163015A true CN111163015A (en) 2020-05-15
CN111163015B CN111163015B (en) 2023-05-09

Family

ID=70557889

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911345166.6A Active CN111163015B (en) 2019-12-24 2019-12-24 Message sending method and device and convergence and distribution equipment

Country Status (1)

Country Link
CN (1) CN111163015B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112468469A (en) * 2020-11-17 2021-03-09 武汉绿色网络信息服务有限责任公司 Method and device for ensuring homologous co-homing of multi-homing messages of SCTP (stream control Transmission protocol)
CN114531405A (en) * 2020-10-31 2022-05-24 华为技术有限公司 Flow table processing method and related equipment
CN114884882A (en) * 2022-06-16 2022-08-09 深圳星云智联科技有限公司 Traffic visualization method, device and equipment and storage medium

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101272346A (en) * 2008-04-29 2008-09-24 华为技术有限公司 Method and device for packet flux monitoring
CN102904826A (en) * 2012-09-28 2013-01-30 华为技术有限公司 Method and device for sharing traffic load
CN104079499A (en) * 2014-07-18 2014-10-01 福建星网锐捷网络有限公司 Message processing method and device based on token buckets
CN104301246A (en) * 2014-10-27 2015-01-21 盛科网络(苏州)有限公司 Large-flow load balanced forwarding method and device based on SDN
US20170005935A1 (en) * 2014-01-23 2017-01-05 Zte Corporation Load Balancing Method and System
CN106612242A (en) * 2016-11-09 2017-05-03 新华三技术有限公司 Traffic forwarding method and device
US10015096B1 (en) * 2016-06-20 2018-07-03 Amazon Technologies, Inc. Congestion avoidance in multipath routed flows
CN108781167A (en) * 2016-04-06 2018-11-09 华为技术有限公司 Flow control methods and equipment in software defined network SDN

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101272346A (en) * 2008-04-29 2008-09-24 华为技术有限公司 Method and device for packet flux monitoring
CN102904826A (en) * 2012-09-28 2013-01-30 华为技术有限公司 Method and device for sharing traffic load
US20170005935A1 (en) * 2014-01-23 2017-01-05 Zte Corporation Load Balancing Method and System
CN104079499A (en) * 2014-07-18 2014-10-01 福建星网锐捷网络有限公司 Message processing method and device based on token buckets
CN104301246A (en) * 2014-10-27 2015-01-21 盛科网络(苏州)有限公司 Large-flow load balanced forwarding method and device based on SDN
CN108781167A (en) * 2016-04-06 2018-11-09 华为技术有限公司 Flow control methods and equipment in software defined network SDN
US10015096B1 (en) * 2016-06-20 2018-07-03 Amazon Technologies, Inc. Congestion avoidance in multipath routed flows
CN106612242A (en) * 2016-11-09 2017-05-03 新华三技术有限公司 Traffic forwarding method and device

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114531405A (en) * 2020-10-31 2022-05-24 华为技术有限公司 Flow table processing method and related equipment
CN112468469A (en) * 2020-11-17 2021-03-09 武汉绿色网络信息服务有限责任公司 Method and device for ensuring homologous co-homing of multi-homing messages of SCTP (stream control Transmission protocol)
CN114884882A (en) * 2022-06-16 2022-08-09 深圳星云智联科技有限公司 Traffic visualization method, device and equipment and storage medium
CN114884882B (en) * 2022-06-16 2023-11-21 深圳星云智联科技有限公司 Flow visualization method, device, equipment and storage medium

Also Published As

Publication number Publication date
CN111163015B (en) 2023-05-09

Similar Documents

Publication Publication Date Title
US20220329525A1 (en) Load balancing method and device
CN111163015A (en) Message sending method and device and convergence and diversion equipment
US8284791B2 (en) Systems and methods for load balancing of management traffic over a link aggregation group
CN104756451A (en) A method for dynamic load balancing of network flows on lag interfaces
CN104702523A (en) Packet forwarding apparatus and method
US10027571B2 (en) Load balancing
CN105516347A (en) Method and device for load balance allocation of streaming media server
CN111181798A (en) Network delay measuring method and device, electronic equipment and storage medium
CN107819797B (en) Access request processing method and device
US8320247B2 (en) Dynamic queue management
CN110798400B (en) Message forwarding method and device
US20210367902A1 (en) Method and devices for domain name bandwidth adjustment
US20230246944A1 (en) Shaping outgoing traffic of network packets in a network management system
CN108566344B (en) Message processing method and device
CN104580008A (en) Method and device for improving multi-queue random message discarding accuracy based on hardware
CN104135445A (en) Stream-based link aggregation load balancing method and device
WO2016122708A1 (en) Determining a sampling rate for data traffic
CN116582493A (en) Data center network link selection method and device and electronic equipment
US8792339B2 (en) Method and system for moving distinctive traffic flows to a different priority service flow
US11438270B2 (en) Data scheduling method and tor switch
EP4024789A1 (en) Method of detecting out-of-order message flow, message processing method, and device
CN113806083B (en) Method and device for processing aggregate flow data
CN108196956A (en) A kind of NAS service nodes realize the method and system of NAS services
US11456958B1 (en) Method and system for meter conformance in a switch
CN117914783A (en) Method, device, equipment and storage medium for processing flow data in real time

Legal Events

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