CN113300975A - Control method of network equipment, network transmission method, device and equipment - Google Patents

Control method of network equipment, network transmission method, device and equipment Download PDF

Info

Publication number
CN113300975A
CN113300975A CN202010698778.XA CN202010698778A CN113300975A CN 113300975 A CN113300975 A CN 113300975A CN 202010698778 A CN202010698778 A CN 202010698778A CN 113300975 A CN113300975 A CN 113300975A
Authority
CN
China
Prior art keywords
pfc
state
network
equipment
network device
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.)
Pending
Application number
CN202010698778.XA
Other languages
Chinese (zh)
Inventor
张彭城
周磊
曾宪龙
席永青
施学美
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Alibaba Group Holding Ltd
Original Assignee
Alibaba Group Holding 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 Alibaba Group Holding Ltd filed Critical Alibaba Group Holding Ltd
Priority to CN202010698778.XA priority Critical patent/CN113300975A/en
Publication of CN113300975A publication Critical patent/CN113300975A/en
Pending legal-status Critical Current

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/24Traffic characterised by specific attributes, e.g. priority or QoS
    • H04L47/2425Traffic characterised by specific attributes, e.g. priority or QoS for supporting services specification, e.g. SLA
    • H04L47/2433Allocation of priorities to traffic types
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L47/00Traffic control in data switching networks
    • H04L47/50Queue scheduling

Landscapes

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

Abstract

The embodiment of the invention provides a control method of network equipment, a network transmission method, a device and equipment. The method comprises the following steps: acquiring a flow control PFC operation state based on priority of network equipment; when the PFC operation state is the closed state, recording the duration time of the PFC operation state being the closed state; and controlling the network equipment based on the duration so as to reduce the probability of traffic storm in the network corresponding to the network equipment. By acquiring the priority-based flow control PFC running state of the network equipment, recording the duration that the PFC running state is the closed state when the PFC running state is the closed state, and then controlling the network equipment based on the duration, the network equipment is flexibly and effectively controlled based on different running states of the network equipment, flow storms in networks in various application scenes are effectively reduced or prevented, and the practicability and the application range of the method are further improved.

Description

Control method of network equipment, network transmission method, device and equipment
Technical Field
The present invention relates to the field of internet technologies, and in particular, to a method for controlling a network device, a method, an apparatus, and a device for network transmission.
Background
Ethernet can avoid network packet loss through Priority-based flow control (PFC) technology. However, after the PFC technology is introduced, traffic storm is easily caused due to the technical characteristics of the PFC technology, so that the whole network is easily broken down.
Disclosure of Invention
The embodiment of the invention provides a control method of network equipment, a network transmission method, a device and equipment, which are used for reducing or preventing a flow storm from occurring in a network.
In a first aspect, an embodiment of the present invention provides a method for controlling a network device, including:
acquiring a flow control PFC operation state based on priority of network equipment;
when the PFC operation state is a closed state, recording the duration time of the PFC operation state being the closed state;
and controlling the network equipment based on the duration so as to reduce the probability of traffic storm in the network corresponding to the network equipment.
In a second aspect, an embodiment of the present invention provides a control apparatus for a network device, including:
the first acquisition module is used for acquiring the priority-based flow control PFC running state of the network equipment;
the first recording module is used for recording the duration time of the PFC operation state as the off state when the PFC operation state is the off state;
and the first control module is used for controlling the network equipment based on the duration so as to reduce the probability of the occurrence of the traffic storm in the network corresponding to the network equipment.
In a third aspect, an embodiment of the present invention provides an electronic device, including: a memory, a processor; wherein the memory is configured to store one or more computer instructions, wherein the one or more computer instructions, when executed by the processor, implement a method of controlling a network device in the first aspect.
In a fourth aspect, an embodiment of the present invention provides a computer storage medium for storing a computer program, where the computer program is used to enable a computer to implement the control method of the network device in the first aspect when executed.
In a fifth aspect, an embodiment of the present invention provides a method for network transmission, including:
acquiring a network transmission request aiming at network equipment;
determining the operation state of the flow control PFC based on the priority of the network equipment according to the network transmission request;
when the PFC operation state is a closed state, recording the duration time of the PFC operation state being the closed state;
and controlling the network transmission operation of the network equipment based on the duration so as to reduce the probability of traffic storm in the network corresponding to the network equipment.
In a sixth aspect, an embodiment of the present invention provides an apparatus for network transmission, including:
the second acquisition module is used for acquiring a network transmission request aiming at the network equipment;
the second determination module is used for determining the operation state of the flow control PFC based on the priority of the network equipment according to the network transmission request;
the second recording module is used for recording the duration time of the PFC operation state as the off state when the PFC operation state is the off state;
and the second processing module is used for controlling the network transmission operation of the network equipment based on the duration so as to reduce the probability of the occurrence of the traffic storm in the network corresponding to the network equipment.
In a seventh aspect, an embodiment of the present invention provides an electronic device, including: a memory, a processor; wherein the memory is configured to store one or more computer instructions, wherein the one or more computer instructions, when executed by the processor, implement a method of network transmission in the fifth aspect.
In an eighth aspect, an embodiment of the present invention provides a computer storage medium for storing a computer program, where the computer program is used to enable a computer to implement the network transmission method in the fifth aspect when executed.
According to the control method of the network device, the network transmission method, the device and the equipment provided by the embodiment, the flow control PFC running state based on the priority of the network device is obtained, when the PFC running state is in the closed state, the duration time that the PFC running state is in the closed state is recorded, and then the network device can be controlled based on the duration time, so that the network device can be flexibly and effectively controlled based on different running states of the network device, the flow storm occurring in the network in each application scene is effectively reduced or prevented, and the practicability and the application range of the method are further improved.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, and it is obvious that the drawings in the following description are some embodiments of the present invention, and those skilled in the art can also obtain other drawings according to the drawings without creative efforts.
Fig. 1 is a schematic diagram of a network structure formed based on network devices according to an embodiment of the present invention;
fig. 2 is a flowchart illustrating a control method for a network device according to an embodiment of the present invention;
fig. 3 is a schematic view of a scenario of a control method of a network device according to an embodiment of the present invention;
fig. 4 is a schematic flowchart of acquiring a priority-based flow control PFC operating state of a network device according to an embodiment of the present invention;
fig. 5 is a flowchart illustrating another control method for a network device according to an embodiment of the present invention;
fig. 6 is a flowchart illustrating a control method for a network device according to another embodiment of the present invention;
fig. 7 is a flowchart illustrating a control method for a network device according to another embodiment of the present invention;
fig. 8 is a flowchart illustrating a control method for a network device according to another embodiment of the present invention;
fig. 9 is a schematic flowchart of a method for controlling a receiving device according to an embodiment of the present invention;
fig. 10 is a flowchart illustrating a control method of a sending device according to an embodiment of the present invention;
fig. 11 is a schematic structural diagram of a control apparatus of a network device according to an embodiment of the present invention;
fig. 12 is a schematic structural diagram of an electronic device corresponding to the control device of the network device provided in the embodiment shown in fig. 11;
fig. 13 is a flowchart illustrating a method for network transmission according to an embodiment of the present invention;
fig. 14 is a schematic structural diagram of an apparatus for network transmission according to an embodiment of the present invention;
fig. 15 is a schematic structural diagram of an electronic device corresponding to the control device of the network device according to the embodiment shown in fig. 14.
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. 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.
The terminology used in the embodiments of the invention is for the purpose of describing particular embodiments only and is not intended to be limiting of the invention. As used in the examples of the present invention and the appended claims, the singular forms "a", "an", and "the" are intended to include the plural forms as well, and "a" and "an" generally include at least two, but do not exclude at least one, unless the context clearly dictates otherwise.
It should be understood that the term "and/or" as used herein is merely one type of association that describes an associated object, meaning that three relationships may exist, e.g., a and/or B may mean: a exists alone, A and B exist simultaneously, and B exists alone. In addition, the character "/" herein generally indicates that the former and latter related objects are in an "or" relationship.
The words "if", as used herein, may be interpreted as "at … …" or "at … …" or "in response to a determination" or "in response to a detection", depending on the context. Similarly, the phrases "if determined" or "if detected (a stated condition or event)" may be interpreted as "when determined" or "in response to a determination" or "when detected (a stated condition or event)" or "in response to a detection (a stated condition or event)", depending on the context.
It is also noted that the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a good or system that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such good or system. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a commodity or system that includes the element.
Definition of terms:
ethernet Pause (Ethernet Pause): in the running process of the ethernet, a packet loss situation may occur, and in order to avoid the performance influence on the network caused by the ethernet packet loss, an ethernet pause operation is introduced. The principle is that when the cache of a receiving end (including a switch or a network card and the like) exceeds a preset threshold, the receiving end sends a pause frame to a sending end to enable the sending end to stop sending messages, and therefore the situation of data packet loss in the Ethernet can be avoided. The pause frame may include: and the sending end stops sending the message when receiving the function closing pause frame and resumes sending the message when receiving the function opening pause frame.
Compared with ethernet suspension, Priority-based flow control (PFC for short) has one more reference dimension for a Priority group, 8 Priority groups are defined for each device port, and then different Differentiated Services Code Points (DSCP) can be mapped to different Priority groups, so that different network devices can be controlled differently based on different application requirements. Such as: for a Remote Direct Memory Access (RDMA) network, the network cannot lose packets, and therefore, the PFC function needs to be started; for a Transmission Control Protocol (TCP), the network may lose packets, so that the PFC function is not required to be started, and the PFC function may be started only for a priority group where the RDMA is located, thereby implementing different controls on the RDMA network and the TCP network.
PFC function off pause frame (PFC xoff frame): after the pfc function is started by a node in the network, in order to prevent packet loss caused by full cache, incoming cache information may be detected, and after the incoming cache exceeds a preset threshold, a receiving end may send a pfc function shutdown pause frame to a previous hop of traffic, so that the previous hop stops sending a message to the receiving end.
PFC function start pause frame (PFC xon frame): when the incoming cache is lower than a preset threshold value, the pfc function startup pause frame can be sent to the previous hop, so that the previous hop can send the message to the incoming cache.
PFC storm: when an abnormality occurs in a switch or a network card in the network, for example: the method comprises the steps that a message of a pause frame closed by the pfc function continuously appears in a network, so that a network node on the upper layer stops sending the message, and a network node on the upper layer sends a message of the pause frame closed by the pfc function to a network node on the upper layer, so that a storm is easily formed in transmission, and all network nodes in the network cannot normally send flow.
Deadlock of the PFC function: after a forwarding loop appears in the network, the PFC also forms a loop, and after the forwarding loop of the network is recovered, the PFC cannot be recovered because the buffers continuously form a mutual dependence relationship.
In order to facilitate understanding of the technical solution in this embodiment, the following briefly describes related technologies:
the specific principle that the ethernet avoids network packet loss through the pfc function is as follows: when the occupancy of the network node in the buffer exceeds a preset threshold, a pfc xoff frame is sent to the previous hop node, once the previous hop receives the pfc xoff frame, the sending of a message to the next hop is stopped, data messages in the network node of the previous hop are accumulated in the buffer, and once the occupancy exceeds the preset threshold, the pfc xoff frame is sent to the previous hop, so that hop-by-hop backpressure finally enables the sending end to stop sending the message.
For example, as shown in fig. 1, the network includes a convergence switch 1 and a convergence switch 2, the convergence switch 1 and the convergence switch 2 are all in communication connection with the switch 1, the switch 2, the switch 3, and the switch 4, and the convergence switch 1 and the convergence switch 2 are used for managing and controlling the switch 1, the switch 2, the switch 3, and the switch 4; the switch 1 is connected with the server 1 and the server 2 in a communication way and used for managing and controlling the server 1 and the server 2, and the switch 4 is connected with the server 3 in a communication way and used for managing and controlling the server 3.
Under normal conditions, after a sending end stops sending a message, the cache of nodes on a path is released hop by hop, finally, when the cache is lower than a preset threshold value, a receiving end sends a pfc xon frame to the sending end, and a network node receiving the pfc xon frame can continue sending the message, so that under normal conditions, the pfc xoff frame and the pfc xon frame message are alternated in a network, and normal forwarding of the network is ensured while no packet loss is ensured; for example: the server 1 can send the pfc xoff frame and the pfc xon frame alternately to the switch 1 in a normal case.
Under an abnormal condition, if a software program bug, bit jump, network card abnormality, server abnormality and the like occur in a network, the cache scheduling of any one node is easily abnormal, for example: and if the data can not be forwarded in the cache, the node can always send the pfc xoff frame and can not send the pfc xon frame again. The consequence of this is that all nodes in the network can never send messages, resulting in a PFC storm, and there are many ways to trigger the PFC storm, for example: the PFC function deadlock caused by a network loop, and a persistent PFC storm caused by a cache blocking of a network node, etc.
The ethernet avoids network packet loss through the PFC technology, but the PFC storm is easily caused due to the technical characteristics of the PFC, which causes the whole network to be broken down. Therefore, in order to reduce or avoid the influence of a PFC storm on a network, the present embodiment provides a method, an apparatus, and a device for controlling a network device, in which a priority-based flow control PFC operating state of the network device is obtained, when the PFC operating state is an off state, a duration that the PFC operating state is the off state is recorded, and the network device is controlled based on the duration, so that the reasonable control of the turning off and the restoring of the PFC function based on different operating conditions in the network is achieved, the method is applicable to most application scenarios, and the flow storm occurring in the network corresponding to the network device is also effectively prevented, thereby further improving the practicability of the method.
The following is a detailed description of the control method, apparatus and implementation procedure of the network device, and the sequence of steps in the following method embodiments is only an example and is not strictly limited.
Fig. 2 is a flowchart illustrating a method for controlling a network device according to an embodiment of the present invention; fig. 3 is a schematic view of a scenario of a control method of a network device according to an embodiment of the present invention; referring to fig. 2 to 3, the present embodiment provides a method for controlling a network device, where an execution subject of the method is a control apparatus of the network device, and the control apparatus of the network device may be implemented as software or a combination of software and hardware. Specifically, the method may include:
step S201: and acquiring the operating state of the flow control PFC based on the priority of the network equipment.
Step S202: and when the PFC operation state is the off state, recording the duration of the PFC operation state being the off state.
Step S203: and controlling the network equipment based on the duration so as to reduce the probability of traffic storm in the network corresponding to the network equipment.
The following is a detailed description of the above steps:
step S201: and acquiring the operating state of the flow control PFC based on the priority of the network equipment.
Wherein the network device may include at least one of: the sending equipment is used for realizing data sending operation; a receiving device for implementing data receiving operations, it being understood that the sending device and the receiving device in different application scenarios may be different, for example: the transmitting device may be a convergence switch for managing/controlling the switch, and the receiving device may be a switch; alternatively, the transmitting device may be a switch for managing/controlling the server, the receiving device may be a server, and the like.
In addition, the embodiment does not limit the specific implementation manner for acquiring the priority-based flow control PFC operating state of the network device, and a person skilled in the art may set the operation manner according to a specific application scenario and an application requirement, for example: the PFC operation state can be stored in a preset area, and the PFC operation state can be acquired by accessing the preset area, so that a control device of the network equipment can stably and effectively acquire the PFC operation state. Or, the identification information for identifying the PFC operation state is stored in the network device, and in order to obtain the PFC operation state of the network device, the identification information for identifying the PFC operation state may be obtained first, and then the PFC operation state of the network device may be determined through the identification information, thereby effectively achieving that the control device of the network device may stably and effectively obtain the priority-based flow control PFC operation state of the network device.
Certainly, obtaining the operation state of the flow control PFC based on the priority of the network device is not limited to the implementation manner defined above, and a person skilled in the art may also use other manners to obtain the operation state of the flow control PFC based on the priority of the network device as long as the accuracy and reliability of obtaining the operation state of the PFC can be ensured, which is not described herein again.
Step S202: and when the PFC operation state is the off state, recording the duration of the PFC operation state being the off state.
The PFC operation state may include a start-up state and a shut-down state; after the PFC operation state is obtained, the PFC operation state may be analyzed and identified, and when it is determined that the PFC operation state is the off state, it indicates that the PFC function of the network device is already turned off, and at this time, in order to accurately control (start) the network device, the duration that the PFC operation state is the off state may be recorded.
Optionally, when it is detected that the PFC operation state is the off state, a timer may be started to perform a timing operation, so as to record a duration time that the PFC operation state is the off state. It can be understood that, when the operating state of the PFC changes from the off state to the on state, the timer stops the timing operation, so that the duration of the off state of the PFC can be obtained by reading the data recorded by the timer.
Step S203: and controlling the network equipment based on the duration so as to reduce the probability of traffic storm in the network corresponding to the network equipment.
After the duration that the PFC operation state is the off state is obtained, the network device may be controlled based on the duration to reduce the probability of the traffic storm occurring in the network corresponding to the network device, or even prevent the traffic storm occurring in the network corresponding to the network device. Specifically, the controlling the network device based on the duration in this embodiment may include:
step S2031: and when the duration time is greater than or equal to the preset time threshold, the PFC function of the network equipment is closed. Alternatively, the first and second electrodes may be,
step S2032: and when the duration time is less than the preset time threshold, clearing the duration time and adjusting the PFC operation state to be a starting state.
Specifically, a preset time threshold corresponding to the network device is configured in advance, and the preset time threshold is a maximum time limit value for allowing the PFC function of the network device to remain on. After the duration time is acquired, the duration time may be analyzed and compared with the preset time threshold, and when the duration time is greater than or equal to the preset time threshold, it is indicated that the duration time for the PFC function of the network device to keep the off state exceeds the maximum time limit for the PFC function of the network device to keep on.
When the operation state of the PFC is adjusted from the off state to the on state, that is, the off state of the PFC is stopped, at this time, the duration that the operation state of the PFC is the off state may be obtained, and when the duration is less than the preset time threshold, it indicates that the duration that the PFC function of the network device maintains the off state is less than the maximum time limit that the PFC function of the network device maintains the on state, so that the PFC function of the network device may be controlled to maintain the on state. In order to conveniently and accurately control the network equipment in the next PFC operation period, the duration can be cleared, and the PFC operation state is adjusted to be the starting state, so that the stability and the reliability of the control of the network equipment are further improved.
Specifically, referring to fig. 3, the network device includes a network device 1 and a network device 2, and the network device 2 is communicatively connected to the network device 1 and configured to send a data packet to the network device 1.
After the network device 1 receives the data packet sent by the network device 2, the data packet may be analyzed and processed, and when the cache of the network device 1 is greater than or equal to the preset threshold, in order to ensure quality and efficiency of data processing, the network device 1 may send a PFC function shutdown pause frame (PFC xoff frame) to the network device 2, so that the network device 2 stops sending the data packet to the network device 1 based on the PFC xoff frame.
After the network device 1 transmits the PFC xoff frame to the network device 2, the network device 1 may adjust the PFC operation state of the uplink transmission port to an off state based on the transmitted PFC xoff frame, and start a timer to perform a timing operation, so as to obtain a duration T during which the PFC operation state is the off state.
In an implementable manner, obtaining the duration T for which the PFC operating state is the off state may be achieved by: when the buffer of the network device 1 is greater than or equal to the preset threshold, the PFC operation state of the uplink transmission port of the network device 1 is continuously adjusted to the off state, and at this time, the duration T for which the PFC operation state is the off state may be obtained by the timer.
In another realizable manner, obtaining the duration T for which the PFC operating state is the off state may be accomplished by: when the buffer in the network device 1 is smaller than the preset threshold, in order to improve the quality and efficiency of data processing, the network device 1 may send a PFC function start pause frame (PFC xon frame) to the network device 2, so that the network device 2 starts sending a data packet to the network device 1 based on the PFC xon frame, and at this time, the PFC operation state of the uplink sending port of the network device 1 is adjusted from a closed state to an open state. At this time, the timer may stop the time counting operation based on the transmitted PFC xon frame, and thus may obtain the duration T in which the PFC operation state is the off state.
After the duration T is obtained, the duration T may be analyzed and compared with a preset time threshold Tth, and when T < Tth, it indicates that the operation state of the uplink transmission port of the network device 1 has been adjusted from the off state to the on state, and then the duration T recorded by the timer may be cleared, so as to control the network device 1 in the next PFC operation period.
When T is greater than or equal to Tth, it indicates that the operation state of the uplink transmission port of the network device 1 is a closed state, and at this time, in order to ensure the quality and efficiency of data transmission in the network, the PFC function of the network device 1 may be closed, so that the data packet in the network is transmitted through the following network devices.
According to the control method of the network device provided by the embodiment, the priority-based flow control PFC running state of the network device is obtained, when the PFC running state is in the closed state, the duration time that the PFC running state is in the closed state is recorded, and then the network device can be controlled based on the duration time, so that the network device can be flexibly and effectively controlled based on different running states of the network device, flow storms in networks in various application scenes are effectively reduced or prevented, and the practicability and the application range of the method are further improved.
Fig. 4 is a schematic flowchart of acquiring a priority-based flow control PFC operating state of a network device according to an embodiment of the present invention; on the basis of the foregoing embodiment, with reference to fig. 4, in this embodiment, a specific obtaining manner of the PFC operation state is not limited, and a person skilled in the art may set the PFC operation state according to a specific application scenario and an application requirement, and preferably, obtaining the flow control PFC operation state based on the priority of the network device in this embodiment may include:
step S401: and acquiring a device operation message corresponding to the network device.
Step S402: and determining the flow control PFC operation state based on the priority of the network equipment based on the equipment operation message.
The device operation packet may include at least one of the following: the PFC starting message is used for starting the PFC operation, and the PFC closing message is used for closing the PFC operation. It can be understood that the PFC start message is used to start the PFC operation of the network device, and the PFC close message is used to close the PFC operation of the network device.
In addition, the specific implementation manner of obtaining the device operation packet corresponding to the network device is not limited in this embodiment, and a person skilled in the art may set the method according to a specific application requirement and an application scenario, and optionally, when the network device includes a receiving device for implementing a data receiving operation, obtaining the device operation packet corresponding to the network device includes: and acquiring the equipment operation message sent by the sending equipment through a receiving port of the receiving equipment.
Optionally, when the network device includes a sending device for implementing data sending operation, acquiring the device operation packet corresponding to the network device may include: and acquiring the equipment operation message corresponding to the sending equipment through the sending port of the sending equipment.
After the device operation packet is obtained, the flow control PFC operation state based on the priority of the network device may be determined based on the device operation packet, specifically, for the network device, the flow control PFC operation state based on the priority may include a sending port and a receiving port, for both the sending port and the receiving port, a port flag bit is corresponding to each of the sending port and the receiving port, the port flag bit is used to identify the PFC operation state of the port of the network device, and the PFC operation state of the port may be adjusted and determined based on the received/sent PFC function pause frames (PFC xoff frame and PFC xon frame).
For example, when a receiving port of the network device receives a PFC xoff message, the receiving state of the receiving port may be changed to an "in _ xoff state" for identifying that the PFC operation state of the receiving port is an off state based on the PFC xoff message, and at this time, the PFC operation state of the receiving port of the network device may be determined to be the in _ xoff state.
If the receiving port of the network device receives a PFC xon message, the receiving state of the receiving port may be changed to an "in _ xon state" for identifying that the PFC operating state of the receiving port is an on state based on the PFC xon message, and at this time, the PFC operating state of the receiving port of the network device may be determined to be an in _ xon state.
Similarly, if the transmitting port of the network device transmits a PFC xoff message, the transmitting state of the transmitting port may be changed to an "out _ xoff state" for identifying that the PFC operating state of the transmitting port is the off state based on the PFC xoff message, and at this time, the PFC operating state of the transmitting port of the network device may be determined to be the in _ xoff state.
If the transmitting port of the network device transmits a PFC xon message, the transmitting state of the transmitting port may be changed to an "out _ xon state" for identifying that the PFC operating state of the transmitting port is the startup state based on the PFC xon message, and at this time, it may be determined that the PFC operating state of the transmitting port of the network device is the out _ xon state.
Optionally, when it is detected that the network device receives a xoff message, a corresponding timer is started, so as to record duration that the PFC operation state is the off state through the timer.
In the embodiment, the device operation message corresponding to the network device is acquired, and then the priority-based flow control PFC operation state of the network device is determined based on the device operation message, so that the PFC operation state of the network device can be accurately and effectively determined, the implementation mode is simple, and the practicability of the method is further improved.
In an implementation manner, after the PFC function of the network device is turned off, the method in this embodiment may further include: and adjusting the PFC operation state of the network equipment to a recoverable state.
The control operation on the network device may include controlling to turn off a PFC function of the network device and to turn on the PFC function of the network device; after the PFC function of the network equipment is closed, the PFC operation state of the network equipment can be adjusted to be a recoverable state, so that the network equipment can be accurately and effectively controlled.
In another implementation manner, referring to fig. 5, after adjusting the PFC operating state of the network device to a recoverable state, the method in this embodiment may further include:
step S501: and receiving a PFC starting message for starting the PFC operation.
Step S502: and adjusting the PFC running state of the network equipment to be a starting state based on the PFC starting message.
Specifically, after the PFC operation state of the network device is adjusted to a recoverable state, the network device may still receive a PFC start message for starting the PFC operation. After the network device receives the PFC start message, the PFC operation state of the network device may be adjusted to the start state based on the received PFC start message, thereby implementing an effective control operation on the network device in a recoverable state.
In another implementation manner, referring to fig. 6, after adjusting the PFC operating state of the network device to a recoverable state, the method in this embodiment may further include:
step S601: and acquiring the incoming cache occupation information corresponding to the sending equipment.
Step S602: and controlling the PFC operation state of the sending equipment based on the incoming buffer occupation information.
When the network device includes a sending device for implementing data sending operation, if the PFC operation state of the sending device is a recoverable state, that is, the PCF operation state of the sending port of the sending device is a closed and recoverable state. At this time, in order to accurately and effectively control the sending device, the ingress cache occupation information corresponding to the sending device may be acquired, and after the ingress cache occupation information is acquired, the PFC operating state of the sending device may be controlled based on the ingress cache occupation information. Specifically, based on the incoming buffer occupancy information, controlling the PFC operation state of the sending device may include:
step S6021: and when the incoming cache occupation information is less than or equal to a preset occupation threshold value, adjusting the PFC operation state to a starting state. Alternatively, the first and second electrodes may be,
step S6022: and when the incoming cache occupation information is larger than a preset occupation threshold value, controlling the running state of the PFC to be kept unchanged.
The preset occupancy threshold is a maximum buffer occupancy limit value that is configured in advance and used for identifying that the sending device can keep normal data processing operation, and it can be understood that the preset occupancy threshold may be different in different application scenarios.
After the incoming cache occupation information is acquired, in order to know the data processing state of the sending device, the incoming cache occupation information may be analyzed and compared with a preset occupation threshold, and when the incoming cache occupation information is less than or equal to the preset occupation threshold, it is indicated that the data processing state of the sending device at this time is a normal state, and further, the PFC operation state may be adjusted to a start state. When the incoming cache occupation information is larger than the preset occupation threshold, the data processing state of the sending equipment at the moment is an abnormal state, and further the PFC operation state is controlled to be kept unchanged, namely the PFC operation state of the sending equipment is kept in a recoverable state.
In this embodiment, after the PFC operating state of the sending device is adjusted to the recoverable state, the PFC operating state of the sending device is controlled based on the ingress cache occupancy information by acquiring the ingress cache occupancy information corresponding to the sending device, so that the adjustment of the PFC operating state of the sending device based on different data processing states of the sending device is effectively achieved, and specifically, when the data processing state of the sending device is a normal state, the PFC function of the sending device is started; when the data processing state of the sending equipment is an abnormal state, the sending equipment is kept to be in a restorable state, so that the stable reliability of the sending equipment for data processing is ensured, the quality and the efficiency of the data processing are improved, and the practicability of the method is further improved.
Fig. 7 is a flowchart illustrating a control method for a network device according to another embodiment of the present invention; on the basis of any of the above embodiments, with continued reference to fig. 7, the method in this embodiment may further include:
step S701: and acquiring the quantity information that the PFC operation state is the off state within a preset time period.
Step S702: and controlling the network equipment based on the quantity information so as to reduce the probability of the traffic storm in the network corresponding to the network equipment.
The preset time period refers to preconfigured time period information, the specific time duration of the preset time period is not limited in this embodiment, and a person skilled in the art can arbitrarily set the preset time period according to a specific application scenario and an application requirement, for example: the preset time period may be 5min, 10min, or 15min, etc.
After the preset time period is determined, the number information that the PFC operation state of the network device is the off state in the preset time period may be counted, and specifically, the number information that the PFC operation state of the network device is the off state may be counted by a counter.
For example, taking time t1, time t2, and time t3 within a preset time period as an example, at time t1, when the PFC operation state of the network device is in an off state, the counter +1 is used. At time t2, when the PFC operation state of the network device is the startup state, the counter remains unchanged. At time t3, when the PFC operation state of the network device is adjusted from the on state to the off state, the counter +1 is set, so that the number information that the PFC operation state is the off state may be acquired as 2.
After the quantity information is acquired, the network device may be controlled based on the quantity information to reduce the probability of a traffic storm occurring in the network corresponding to the network device. Specifically, the controlling the network device based on the quantity information may include: and when the quantity information is greater than or equal to the preset quantity threshold value, the PFC function of the network equipment is closed, and the PFC operation state of the network equipment is adjusted to a recovery prohibition state.
Specifically, after the quantity information is acquired, the quantity information may be analyzed and compared with a preset quantity threshold, and when the quantity information is greater than or equal to the preset quantity threshold, it indicates that the frequency of the change of the PFC operation state of the network device is large in a preset time period, that is, the operation state of the network device in the preset time period is unstable.
Fig. 8 is a flowchart illustrating a control method for a network device according to another embodiment of the present invention; on the basis of any one of the above embodiments, with reference to fig. 8, the method in this embodiment may further include:
step S801: acquiring the change frequency of the PFC operation state within a preset time period;
step S802: and controlling the network equipment based on the change frequency so as to reduce the probability of the occurrence of the traffic storm in the network corresponding to the network equipment.
Wherein the varying frequency may comprise at least one of: the PFC operation state is adjusted from a starting state to a first change frequency of a closing state; and the PFC operation state is adjusted to the second change frequency of the starting state from the closing state. Specifically, within a preset time period, the number of times of change of the PFC operation state of the network device may be counted, and then the ratio of the number of times of change to the corresponding time period is determined as the change frequency, so that the change frequency of the PFC operation state may be obtained.
For example, when the number of times of change of the PFC operation state of the network device from the on state to the off state is 1 within the preset time period T, 1/T may be determined as a first change frequency f1 of adjusting the PFC operation state from the on state to the off state, where the first change frequency is the change frequency of the PFC operation state.
Similarly, when the number of times of change of the PFC operation state of the network device from the off state to the on state is 1 within the preset time period T, 1/T may be determined as a second change frequency f2 of adjusting the PFC operation state from the off state to the on state, where the second change frequency is the change frequency of the PFC operation state.
The preset time period T includes a first time period T1 and a second time period T2, and within the preset time period T1, the number of times of change of the PFC operation state of the network device from the off state to the on state is 1, then 1/T1 may be determined as a second change frequency f2 of the PFC operation state from the off state to the on state; within the preset time period T2, if the number of changes of the PFC operation state of the network device from the on state to the off state is 2, 2/T2 may be determined as the first change frequency f1 from the off state to the on state. Then, the sum of the first variation frequency and the second variation frequency may be determined as the variation frequency of the PFC operation state.
It can be understood that a person skilled in the art may also use other manners to obtain the change frequency of the PFC operation state, as long as the accuracy and reliability of obtaining the change frequency of the PFC operation state can be ensured, which is not described herein again.
After the change frequency is obtained, the network device may be controlled based on the change frequency to reduce the probability of a traffic storm occurring in the network corresponding to the network device. Specifically, the controlling the network device based on the change frequency may include: and when the change frequency is greater than or equal to the preset frequency threshold, the PFC function of the network equipment is closed, and the PFC operation state of the network equipment is adjusted to a recovery prohibition state.
Specifically, when the change frequency is greater than or equal to the preset frequency threshold, it indicates that the change frequency of the PFC operation state of the network device is relatively large in the preset time period, that is, the operation state of the network device is relatively unstable in the preset time period, and at this time, in order to ensure the quality and efficiency of data processing, the PFC operation state of the network device may be adjusted to a recovery prohibition state, so that data processing operations are performed by other network devices in the network, and the quality and efficiency of data processing are further improved.
In specific application, the present application embodiment provides a method for controlling a network device, which can effectively reduce or even prevent the diffusion of a PFC storm in a network, that is, can implement that when an abnormality is detected in transmission or reception in the network, the PFC function of a corresponding node can be turned off, so that the PFC storm can be reduced or prevented from being transmitted or diffused by the corresponding node. And, after the pfc function of the corresponding node is turned off, the pfc function can be restored based on the abnormal end state of the current node, thereby effectively improving the quality and efficiency of data processing.
The method is realized according to the following principle: after the network node in the network sends the PFC xoff frame to the previous node, the previous node may stop sending the packet to the network node based on the received PFC xoff frame, and at this time, the packet in the buffer of the network node is released due to normal forwarding. After the cache of the network node is released for a period of time (the memory cache information is less than the preset cache threshold), the PFC xon frame may be sent to the node at the previous stage.
Based on the above description, in a normal situation, a port of a network node may alternately send or receive a PFC xoff frame and a PFC xon frame, and a situation that the PFC xoff frame is continuously sent or received does not occur, so that whether a PFC operation state of the network node is abnormal or not may be determined by detecting whether the sent and received PFC xoff frame is continuous or not, and a PFC function of the network node is turned off or recovered based on a detection result of whether the operation state is abnormal or not.
To facilitate understanding of a specific implementation process in this embodiment, a receiving device is taken as an example to describe a control method of a network device, and specifically, as shown in fig. 9, this application embodiment provides a control method of a receiving device, where the method may include:
step 1: when the interface of the receiving device receives the PFC xoff message, the PFC operation state of the interface is modified to the identification information "in _ xoff" for identifying that the PFC operation state of the receiving port is the off state, and meanwhile, a timer is started, assuming that the threshold time corresponding to the timer is T1.
Step 2: if the interface of the receiving device receives the PFC xon message within the time T1, the PFC operation state of the interface may be changed from "in _ xoff" to "in _ xon" based on the PFC xon message, at this time, the timer is cleared, and the timer is started after waiting for the next reception of the PFC xoff message.
And step 3: if the interface of the receiving equipment does not receive the PFC xon message within the time of T1, the PFC operation state of the interface is not changed, and the time of the timer reaches the threshold time, the PFC operation state of the receiving equipment is determined to be abnormal, and then the PFC function of the interface is closed and set to be in an automatically recoverable state, at this time, the current receiving equipment is effectively prevented from spreading the PFC storm to the next-stage network node.
And 4, step 4: after the PFC function of the interface is turned off and set to the automatically recoverable state, if the interface of the receiving apparatus receives the PFC xon message, the PFC operation state of the interface may be changed from "in _ xoff" to "in _ xon" based on the PFC xon message, while the PFC function of the receiving apparatus is recovered.
In addition, taking a sending device as a network device as an example, a control method of the network device is described, specifically, as shown in fig. 10, the present application embodiment provides a control method of a sending device, where the method may include:
step 21: when an interface of the sending device sends a PFC xoff message, the PFC operation state of the interface is modified to identification information "out _ xoff" for identifying that the PFC operation state of the sending port is an off state, and a timer is started at the same time, assuming that a threshold time corresponding to the timer is T2.
Step 22: if the interface of the sending device sends the PFC _ xon message within the time of T2, the PFC operation state of the interface may be changed from "out _ xoff" to "out _ xon" based on the PFC _ xon message, at this time, the timer is cleared, and the timer is started after waiting for the next sending of the PFC xoff message.
Step 23: if the interface of the sending equipment does not send the PFC xon message within the time of T2, the PFC operating state of the interface is not changed, and after the time of the timer reaches the threshold time, the PFC operating state of the sending equipment is determined to be abnormal, and then the PFC function of the interface is closed and set to be in an automatically recoverable state, at this time, the sending equipment does not send the PFC xoff message to the outside any more, which effectively prevents the current sending equipment from diffusing the PFC storm to the next stage.
Step 24: after the PFC function is turned off, counting the incoming buffer occupancy information of the sending device, and if the detected incoming buffer occupancy information is smaller than a preset buffer threshold value xon, indicating that the incoming buffer of the sending device has been released, so as to recover the PFC function of the sending device.
In addition, the method in this application embodiment may further include a processing method for an abnormal situation, specifically, the method may include:
step 31: the number of times of shutting down the pfc function of the network device interface is recorded, that is, after the pfc function is shut down by the network device interface, a counter for counting the number of times of shutting down the pfc function is started.
Step 32: if the shutdown pfc function of the interface of the network device exceeds N times (N can be set by self-definition) within the preset time, the shutdown pfc function of the interface of the network device can be set to be in the non-automatic recovery state. In this state, even if the interface of the network device receives the pfc xon message, the pfc running state of the interface cannot be adjusted based on the pfc xon message, that is, the pfc function cannot be recovered based on the pfc xon message, so that the situation that a pfc storm repeatedly occurs due to an extremely unstable factor existing in a network node is effectively avoided, and the stable reliability of network running is further ensured.
The method for controlling the network device provided by the embodiment of the application has the advantages that the PFC function of the network device in each application scene is reasonably designed, and particularly, the PFC operation state of the network device can be detected, closed and recovered based on different application scenes and operation states of the network device, so that the influence on the network due to the closed PFC function is effectively reduced, the method can be suitable for more application scenes, the PFC storm condition in the application scenes is further reduced and prevented, the stability and the reliability of the method are effectively improved, and the popularization and the application of the market are facilitated.
Fig. 11 is a schematic structural diagram of a control apparatus of a network device according to an embodiment of the present invention; referring to fig. 11, the present embodiment provides a control apparatus of a network device, which can be used to execute the control method of the network device shown in fig. 2. Specifically, the control method may include:
the first obtaining module 11 is configured to obtain a priority-based flow control PFC operating state of a network device;
the first recording module 12 is configured to record, when the PFC operation state is the off state, a duration that the PFC operation state is the off state;
the first control module 13 is configured to control the network device based on the duration to reduce a probability of a traffic storm occurring in a network corresponding to the network device.
Optionally, when the first obtaining module 11 obtains the operation state of the flow control PFC of the network device based on the priority, the first obtaining module 11 is configured to perform: acquiring a device operation message corresponding to the network device; and determining the flow control PFC operation state based on the priority of the network equipment based on the equipment operation message.
Optionally, the network device comprises at least one of: the sending equipment is used for realizing data sending operation; a receiving device for implementing data reception operations.
Optionally, when the first obtaining module 11 obtains the device operation packet corresponding to the network device, the first obtaining module 11 is configured to perform: and acquiring the equipment operation message sent by the sending equipment through a receiving port of the receiving equipment.
Optionally, when the first obtaining module 11 obtains the device operation packet corresponding to the network device, the first obtaining module 11 is configured to perform: and acquiring the equipment operation message corresponding to the sending equipment through the sending port of the sending equipment.
Optionally, the device running packet includes at least one of: the PFC starting message is used for starting the PFC operation, and the PFC closing message is used for closing the PFC operation.
Optionally, when the first obtaining module 11 controls the network device based on the duration, the first obtaining module 11 is configured to perform: when the duration time is greater than or equal to a preset time threshold, the PFC function of the network equipment is closed; or when the duration is less than the preset time threshold, clearing the duration and adjusting the PFC operation state to be a starting state.
Optionally, after the PFC function of the network device is turned off, the first control module 13 in this embodiment may be configured to perform: and adjusting the PFC operation state of the network equipment to a recoverable state.
Optionally, after adjusting the PFC operating state of the network device to a recoverable state, the first obtaining module 11 and the first control module 13 in this embodiment may be configured to perform the following steps:
a first obtaining module 11, configured to receive a PFC start message for starting a PFC operation;
the first control module 13 is configured to adjust a PFC operating state of the network device to a starting state based on the PFC start packet.
Optionally, the network device includes a sending device for implementing data sending operation; after adjusting the PFC operating state of the network device to a recoverable state, the first obtaining module 11 and the first control module 13 in this embodiment may be configured to perform the following steps:
a first obtaining module 11, configured to obtain incoming cache occupation information corresponding to a sending device;
the first control module 13 is configured to control a PFC operation state of the sending device based on the incoming buffer occupancy information.
Optionally, when the first control module 13 controls the PFC operation state of the sending device based on the incoming buffer occupancy information, the first control module 13 may be configured to perform: when the incoming cache occupation information is less than or equal to a preset occupation threshold value, adjusting the PFC operation state to a starting state; or when the incoming cache occupation information is larger than a preset occupation threshold, controlling the running state of the PFC to be kept unchanged.
Optionally, the first obtaining module 11 and the first control module 13 in this embodiment may be configured to perform the following steps:
the first obtaining module 11 is configured to obtain quantity information that the PFC operation state is an off state within a preset time period;
the first control module 13 is configured to control the network device based on the quantity information, so as to reduce a probability of a traffic storm occurring in a network corresponding to the network device.
Optionally, when the first control module 13 controls the network device based on the quantity information, the first control module 13 is configured to perform: and when the quantity information is greater than or equal to the preset quantity threshold value, the PFC function of the network equipment is closed, and the PFC operation state of the network equipment is adjusted to a recovery prohibition state.
Optionally, the first obtaining module 11 and the first control module 13 in this embodiment may be configured to perform the following steps:
the first obtaining module 11 is configured to obtain a change frequency of a PFC operation state within a preset time period;
the first control module 13 is configured to control the network device based on the change frequency, so as to reduce a probability of a traffic storm occurring in a network corresponding to the network device.
Optionally, the varying frequency comprises at least one of: the PFC operation state is adjusted from a starting state to a first change frequency of a closing state; and the PFC operation state is adjusted to the second change frequency of the starting state from the closing state.
Optionally, when the first control module 13 controls the network device based on the change frequency, the first control module 13 is configured to perform: and when the change frequency is greater than or equal to the preset frequency threshold, the PFC function of the network equipment is closed, and the PFC operation state of the network equipment is adjusted to a recovery prohibition state.
The apparatus shown in fig. 11 can perform the method of the embodiment shown in fig. 2-10, and the detailed description of this embodiment can refer to the related description of the embodiment shown in fig. 2-10. The implementation process and technical effect of the technical solution refer to the descriptions in the embodiments shown in fig. 2 to fig. 10, and are not described herein again.
In one possible design, the structure of the apparatus shown in fig. 11 may be implemented as an electronic device, which may be a desktop computer, a server, a switch, or other devices. As shown in fig. 12, the electronic device may include: a first processor 21 and a first memory 22. Wherein the first memory 22 is used for storing programs that support the electronic device to execute the control method of the network device provided in the embodiments shown in fig. 2-10, and the first processor 21 is configured to execute the programs stored in the first memory 22.
The program comprises one or more computer instructions, wherein the one or more computer instructions, when executed by the first processor 21, are capable of performing the steps of:
acquiring a flow control PFC operation state based on priority of network equipment;
when the PFC operation state is the closed state, recording the duration time of the PFC operation state being the closed state;
and controlling the network equipment based on the duration so as to reduce the probability of traffic storm in the network corresponding to the network equipment.
Optionally, the first processor 21 is configured to perform all or part of the steps in the embodiments of fig. 2-10 described above.
The electronic device may further include a first communication interface 23 for communicating with other devices or a communication network.
In addition, an embodiment of the present invention provides a computer storage medium for storing computer software instructions for an electronic device, which includes a program for executing the control method of the network device in the method embodiments shown in fig. 2 to 10.
Fig. 13 is a flowchart illustrating a method for network transmission according to an embodiment of the present invention; referring to fig. 13, the present embodiment provides a network transmission method, in which the execution subject of the method is a network transmission device, and the network transmission device may be implemented as software, or a combination of software and hardware. Specifically, the method may include:
step S1301: a network transmission request for a network device is obtained.
Wherein the network device may include at least one of: the sending equipment is used for realizing data sending operation; a receiving device for implementing data reception operations. It can be understood that different network transmission requests may correspond to different network devices, where network transmission refers to a process of performing communication between arbitrary network devices according to a network transmission protocol, and specifically, a network transmission request may include a data sending request, a data receiving request, a data query request, a data response request, and the like for a network device, and those skilled in the art may set the network transmission request according to specific application requirements and design requirements, which are not described herein again.
In addition, the embodiment does not limit the obtaining manner of the network transmission request, and a person skilled in the art may set the obtaining manner according to a specific application scenario and an application requirement, for example: the network transmission request can be directly input to the network transmission device by the user, so that the network transmission device can stably and effectively acquire the network transmission request. Or the network transmission request can be sent to the network transmission device by other devices, so that the network transmission device can stably and effectively acquire the network transmission request.
Of course, obtaining the network transmission request is not limited to the implementation manner defined above, and those skilled in the art may also use other manners to obtain the network transmission request as long as the accuracy and reliability of obtaining the network transmission request can be ensured, which is not described herein again.
Step S1302: and determining the operation state of the flow control PFC based on the priority of the network equipment according to the network transmission request.
Step S1303: and when the PFC operation state is the off state, recording the duration time of the PFC operation state being the off state.
Specifically, in this embodiment, the specific implementation manner and implementation effect of determining the PFC operation state of the network device and recording the duration time of the PFC operation state as the off state are similar to those of steps S201 to S202 in the foregoing embodiment, and specific reference may be made to the above statements, which are not repeated herein.
Step S1304: and controlling the network transmission operation of the network equipment based on the duration so as to reduce the probability of traffic storm in the network corresponding to the network equipment.
After the duration that the PFC operating state is the off state is obtained, the duration may be analyzed to control the network transmission operation of the network device based on the duration, specifically, in different application scenarios, different network transmission operations may be corresponded to, for example: the network transmission operation of the network equipment is controlled by the duration, so that the probability of traffic storm occurring in the network corresponding to the network equipment can be effectively reduced.
In the network transmission method provided by this embodiment, a network transmission request for a network device is obtained, and then a priority-based flow control PFC operating state of the network device is determined according to the network transmission request; when the PFC operation state is the closed state, the duration that the PFC operation state is the closed state is recorded, and then the network equipment can be controlled based on the duration, so that the network transmission operation of the network equipment can be flexibly and effectively controlled based on different operation states of the network equipment, flow storms in networks in various application scenes can be effectively reduced or prevented, and the practicability and the application range of the method are further improved.
In some examples, determining the priority-based flow control PFC operating state of the network device according to the network transmission request may include: acquiring a device operation message corresponding to the network device according to the network transmission request; and determining the flow control PFC operation state of the network equipment based on the priority based on the equipment operation message.
In some examples, obtaining the device operation packet corresponding to the network device may include: and acquiring the equipment operation message sent by the sending equipment through the receiving port of the receiving equipment.
In some examples, obtaining the device operation packet corresponding to the network device may include: and acquiring the equipment operation message corresponding to the sending equipment through the sending port of the sending equipment.
In some examples, the device operation message includes at least one of: the PFC starting message is used for starting the PFC operation, and the PFC closing message is used for closing the PFC operation.
In some examples, controlling network transmission operations of the network device based on the duration may include: when the duration is greater than or equal to a preset time threshold, the PFC function of the network equipment is closed; or when the duration is less than a preset time threshold, clearing the duration and adjusting the PFC operation state to a starting state.
In some examples, after the PFC function of the network device is turned off, this embodiment may further include: and adjusting the PFC operation state of the network equipment to a recoverable state.
In some examples, after adjusting the PFC operating state of the network device to a recoverable state, the method in this embodiment may further include: receiving a PFC starting message for starting PFC operation; and adjusting the PFC running state of the network equipment to be a starting state based on the PFC starting message.
In some examples, the network device includes a sending device to implement a data sending operation; after adjusting the PFC operating state of the network device to a recoverable state, the method in this embodiment may further include: acquiring the access cache occupation information corresponding to the sending equipment; and controlling the PFC operation state of the sending equipment based on the incoming buffer occupation information.
In some examples, controlling the PFC operating state of the transmitting device based on the ingress buffer occupancy information may include: when the incoming cache occupation information is less than or equal to a preset occupation threshold value, adjusting the PFC operation state to a starting state; or, when the incoming cache occupation information is greater than a preset occupation threshold, controlling the running state of the PFC to be kept unchanged.
In some examples, the method in this embodiment may further include: acquiring quantity information that the PFC operation state is a closed state within a preset time period; and controlling the network transmission operation of the network equipment based on the quantity information so as to reduce the probability of the occurrence of the traffic storm in the network corresponding to the network equipment.
In some examples, controlling network transmission operations of the network device based on the quantity information may include: and when the quantity information is greater than or equal to a preset quantity threshold value, the PFC function of the network equipment is closed, and the PFC operation state of the network equipment is adjusted to a recovery prohibition state.
In some examples, the method in this embodiment may further include: acquiring the change frequency of the PFC operation state within a preset time period; and controlling the network transmission operation of the network equipment based on the change frequency so as to reduce the probability of the occurrence of the traffic storm in the network corresponding to the network equipment.
In some examples, the varying frequency includes at least one of: the PFC operation state is adjusted from a starting state to a first change frequency of a closing state; and the PFC operation state is adjusted to a second change frequency of the starting state from the closing state.
In some examples, controlling network transmission operations of the network device based on the varying frequency may include: and when the change frequency is greater than or equal to a preset frequency threshold, the PFC function of the network equipment is closed, and the PFC operation state of the network equipment is adjusted to a recovery prohibition state.
The implementation process and implementation effect of the above method steps in this embodiment and the method in the embodiment shown in fig. 3 to 10, and parts not described in detail in this embodiment, may refer to the related description of the embodiment shown in fig. 3 to 10. The implementation process and technical effect of the technical solution are described in the embodiments shown in fig. 3 to 10, and are not described herein again.
Fig. 14 is a schematic structural diagram of an apparatus for network transmission according to an embodiment of the present invention; referring to fig. 14, the present embodiment provides a network transmission apparatus, which may perform the network transmission method corresponding to fig. 13, and specifically, the network transmission apparatus may include:
a second obtaining module 31, configured to obtain a network transmission request for a network device;
a second determining module 32, configured to determine, according to the network transmission request, a priority-based flow control PFC operating state of the network device;
a second recording module 33, configured to record, when the PFC operation state is an off state, a duration that the PFC operation state is the off state;
a second processing module 34, configured to control a network transmission operation of the network device based on the duration, so as to reduce a probability that a traffic storm occurs in a network corresponding to the network device.
In some examples, in determining the priority-based flow control PFC operating state of the network device according to the network transmission request, the second determining module 32 may be configured to perform: acquiring a device operation message corresponding to the network device according to the network transmission request; and determining the flow control PFC operation state of the network equipment based on the priority based on the equipment operation message.
In some examples, the network device includes at least one of: the sending equipment is used for realizing data sending operation; a receiving device for implementing data reception operations.
In some examples, when obtaining the device operation packet corresponding to the network device, the second determining module 32 may be configured to: and acquiring the equipment operation message sent by the sending equipment through the receiving port of the receiving equipment.
In some examples, when obtaining the device operation packet corresponding to the network device, the second determining module 32 may be configured to: and acquiring the equipment operation message corresponding to the sending equipment through the sending port of the sending equipment.
In some examples, the device operation message includes at least one of: the PFC starting message is used for starting the PFC operation, and the PFC closing message is used for closing the PFC operation.
In some examples, in controlling network transmission operations of the network device based on the duration, the second processing module 34 may be to: when the duration is greater than or equal to a preset time threshold, the PFC function of the network equipment is closed; or when the duration is less than a preset time threshold, clearing the duration and adjusting the PFC operation state to a starting state.
In some examples, after the PFC function of the network device is turned off, the second processing module 34 in this embodiment may be configured to perform: and adjusting the PFC operation state of the network equipment to a recoverable state.
In some examples, after adjusting the PFC operating state of the network device to a recoverable state, the second obtaining module 31 and the second processing module 34 in this embodiment may be respectively configured to perform the following steps:
a second obtaining module 31, configured to receive a PFC start message for starting a PFC operation;
and the second processing module 34 is configured to adjust the PFC operating state of the network device to a starting state based on the PFC starting packet.
In some examples, the network device includes a sending device to implement a data sending operation; after adjusting the PFC operating state of the network device to be a recoverable state, the second obtaining module 31 and the second processing module 34 in this embodiment may be respectively configured to perform the following steps:
a second obtaining module 31, configured to obtain incoming cache occupation information corresponding to the sending device;
and a second processing module 34, configured to control a PFC operation state of the sending device based on the incoming buffer occupancy information.
In some examples, when controlling the PFC operation state of the sending device based on the ingress buffer occupancy information, the second processing module 34 is configured to perform: when the incoming cache occupation information is less than or equal to a preset occupation threshold value, adjusting the PFC operation state to a starting state; or, when the incoming cache occupation information is greater than a preset occupation threshold, controlling the running state of the PFC to be kept unchanged.
In some examples, the second obtaining module 31 and the second processing module 34 in this embodiment may be respectively configured to perform the following steps:
a second obtaining module 31, configured to obtain, within a preset time period, quantity information that the PFC operation state is an off state;
a second processing module 34, configured to control a network transmission operation of the network device based on the quantity information, so as to reduce a probability that a traffic storm occurs in a network corresponding to the network device.
In some examples, in controlling network transmission operations of the network device based on the quantity information, the second processing module 34 may be configured to perform: and when the quantity information is greater than or equal to a preset quantity threshold value, the PFC function of the network equipment is closed, and the PFC operation state of the network equipment is adjusted to a recovery prohibition state.
In some examples, the second obtaining module 31 and the second processing module 34 in this embodiment may be respectively configured to perform the following steps:
a second obtaining module 31, configured to obtain a change frequency of the PFC operating state within a preset time period;
a second processing module 34, configured to control a network transmission operation of the network device based on the change frequency, so as to reduce a probability of a traffic storm occurring in a network corresponding to the network device.
In some examples, the varying frequency includes at least one of: the PFC operation state is adjusted from a starting state to a first change frequency of a closing state; and the PFC operation state is adjusted to a second change frequency of the starting state from the closing state.
In some examples, in controlling network transmission operations of the network device based on the change frequency, the second processing module 34 may be configured to perform: and when the change frequency is greater than or equal to a preset frequency threshold, the PFC function of the network equipment is closed, and the PFC operation state of the network equipment is adjusted to a recovery prohibition state.
The apparatus shown in fig. 14 can execute the method of the embodiment shown in fig. 13, and reference may be made to the related description of the embodiment shown in fig. 13 for a part of this embodiment that is not described in detail. The implementation process and technical effect of the technical solution refer to the description in the embodiment shown in fig. 13, and are not described herein again.
In one possible design, the structure of the apparatus shown in fig. 14 may be implemented as an electronic device, which may be a desktop computer, a server, a network transmission device, or other devices. As shown in fig. 15, the electronic device may include: a second processor 41 and a second memory 42. Wherein the second memory 42 is used for storing programs that support the electronic device to execute the method of network transmission provided in the embodiment shown in fig. 13, and the second processor 41 is configured to execute the programs stored in the second memory 42.
The program comprises one or more computer instructions, wherein the one or more computer instructions, when executed by the second processor 41, are capable of performing the steps of:
acquiring a network transmission request aiming at network equipment;
determining the operation state of the flow control PFC based on the priority of the network equipment according to the network transmission request;
when the PFC operation state is a closed state, recording the duration time of the PFC operation state being the closed state;
and controlling the network transmission operation of the network equipment based on the duration so as to reduce the probability of traffic storm in the network corresponding to the network equipment.
Optionally, the second processor 41 is configured to perform all or part of the steps in the embodiment shown in fig. 13.
The electronic device may further include a second communication interface 43 for communicating with other devices or a communication network.
In addition, an embodiment of the present invention provides a computer storage medium for storing computer software instructions for an electronic device, which includes a program for executing the method for network transmission in the method embodiment shown in fig. 13.
The above-described embodiments of the apparatus are merely illustrative, and the units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of the present embodiment. One of ordinary skill in the art can understand and implement it without inventive effort.
Through the above description of the embodiments, those skilled in the art will clearly understand that each embodiment can be implemented by adding a necessary general hardware platform, and of course, can also be implemented by a combination of hardware and software. With this understanding in mind, the above-described aspects and portions of the present technology which contribute substantially or in part to the prior art may be embodied in the form of a computer program product, which may be embodied on one or more computer-usable storage media having computer-usable program code embodied therein, including without limitation disk storage, CD-ROM, optical storage, and the like.
The present invention is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
In a typical configuration, a computing device includes one or more processors (CPUs), input/output interfaces, network interfaces, and memory.
The memory may include forms of volatile memory in a computer readable medium, Random Access Memory (RAM) and/or non-volatile memory, such as Read Only Memory (ROM) or flash memory (flash RAM). Memory is an example of a computer-readable medium.
Computer-readable media, including both non-transitory and non-transitory, removable and non-removable media, may implement information storage by any method or technology. The information may be computer readable instructions, data structures, modules of a program, or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), Static Random Access Memory (SRAM), Dynamic Random Access Memory (DRAM), other types of Random Access Memory (RAM), Read Only Memory (ROM), Electrically Erasable Programmable Read Only Memory (EEPROM), flash memory or other memory technology, compact disc read only memory (CD-ROM), Digital Versatile Discs (DVD) or other optical storage, magnetic cassettes, magnetic tape magnetic disk storage or other magnetic storage devices, or any other non-transmission medium that can be used to store information that can be accessed by a computing device. As defined herein, a computer readable medium does not include a transitory computer readable medium such as a modulated data signal and a carrier wave.
Finally, it should be noted that: the above examples are only intended to illustrate the technical solution of the present invention, but not to limit it; although the present invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; and such modifications or substitutions do not depart from the spirit and scope of the corresponding technical solutions of the embodiments of the present invention.

Claims (36)

1. A method for controlling a network device, comprising:
acquiring a flow control PFC operation state based on priority of network equipment;
when the PFC operation state is a closed state, recording the duration time of the PFC operation state being the closed state;
and controlling the network equipment based on the duration so as to reduce the probability of traffic storm in the network corresponding to the network equipment.
2. The method of claim 1, wherein obtaining the priority-based flow control PFC operation state of the network device comprises:
acquiring a device operation message corresponding to the network device;
and determining the flow control PFC operation state of the network equipment based on the priority based on the equipment operation message.
3. The method of claim 1, wherein the network device comprises at least one of: the sending equipment is used for realizing data sending operation; a receiving device for implementing data reception operations.
4. The method of claim 3, wherein obtaining the device operation packet corresponding to the network device comprises:
and acquiring the equipment operation message sent by the sending equipment through the receiving port of the receiving equipment.
5. The method of claim 3, wherein obtaining the device operation packet corresponding to the network device comprises:
and acquiring the equipment operation message corresponding to the sending equipment through the sending port of the sending equipment.
6. The method according to claim 4 or 5,
the device operation message includes at least one of: the PFC starting message is used for starting the PFC operation, and the PFC closing message is used for closing the PFC operation.
7. The method of claim 3, wherein controlling the network device based on the duration comprises:
when the duration is greater than or equal to a preset time threshold, the PFC function of the network equipment is closed; alternatively, the first and second electrodes may be,
and when the duration time is less than a preset time threshold, clearing the duration time and adjusting the PFC operation state to be a starting state.
8. The method of claim 7, wherein after turning off the PFC function of the network device, the method further comprises:
and adjusting the PFC operation state of the network equipment to a recoverable state.
9. The method of claim 8, wherein after adjusting the PFC operating state of the network device to a recoverable state, the method further comprises:
receiving a PFC starting message for starting PFC operation;
and adjusting the PFC running state of the network equipment to be a starting state based on the PFC starting message.
10. The method of claim 8, wherein the network device comprises a sending device for implementing data sending operations; after adjusting the PFC operating state of the network device to a recoverable state, the method further comprises:
acquiring the access cache occupation information corresponding to the sending equipment;
and controlling the PFC operation state of the sending equipment based on the incoming buffer occupation information.
11. The method of claim 10, wherein controlling the PFC operating state of the sending device based on the ingress buffer occupancy information comprises:
when the incoming cache occupation information is less than or equal to a preset occupation threshold value, adjusting the PFC operation state to a starting state; alternatively, the first and second electrodes may be,
and when the incoming cache occupation information is larger than a preset occupation threshold value, controlling the operation state of the PFC to be kept unchanged.
12. The method according to any one of claims 1-5, further comprising:
acquiring quantity information that the PFC operation state is a closed state within a preset time period;
and controlling the network equipment based on the quantity information so as to reduce the probability of the occurrence of the traffic storm in the network corresponding to the network equipment.
13. The method of claim 12, wherein controlling the network device based on the quantity information comprises:
and when the quantity information is greater than or equal to a preset quantity threshold value, the PFC function of the network equipment is closed, and the PFC operation state of the network equipment is adjusted to a recovery prohibition state.
14. The method according to any one of claims 1-5, further comprising:
acquiring the change frequency of the PFC operation state within a preset time period;
and controlling the network equipment based on the change frequency so as to reduce the probability of the occurrence of the traffic storm in the network corresponding to the network equipment.
15. The method of claim 14, wherein the varying frequency comprises at least one of:
the PFC operation state is adjusted from a starting state to a first change frequency of a closing state;
and the PFC operation state is adjusted to a second change frequency of the starting state from the closing state.
16. The method of claim 14, wherein controlling the network device based on the varying frequency comprises:
and when the change frequency is greater than or equal to a preset frequency threshold, the PFC function of the network equipment is closed, and the PFC operation state of the network equipment is adjusted to a recovery prohibition state.
17. A control apparatus of a network device, comprising:
the first acquisition module is used for acquiring the priority-based flow control PFC running state of the network equipment;
the first recording module is used for recording the duration time of the PFC operation state as the off state when the PFC operation state is the off state;
and the first control module is used for controlling the network equipment based on the duration so as to reduce the probability of the occurrence of the traffic storm in the network corresponding to the network equipment.
18. An electronic device, comprising: a memory, a processor; wherein the memory is configured to store one or more computer instructions, wherein the one or more computer instructions, when executed by the processor, implement a method of controlling a network device according to any one of claims 1 to 16.
19. A method of network transmission, comprising:
acquiring a network transmission request aiming at network equipment;
determining the operation state of the flow control PFC based on the priority of the network equipment according to the network transmission request;
when the PFC operation state is a closed state, recording the duration time of the PFC operation state being the closed state;
and controlling the network transmission operation of the network equipment based on the duration so as to reduce the probability of traffic storm in the network corresponding to the network equipment.
20. The method of claim 19, wherein determining the priority-based flow control PFC operating state of the network device according to the network transmission request comprises:
acquiring a device operation message corresponding to the network device according to the network transmission request;
and determining the flow control PFC operation state of the network equipment based on the priority based on the equipment operation message.
21. The method of claim 19, wherein the network device comprises at least one of: the sending equipment is used for realizing data sending operation; a receiving device for implementing data reception operations.
22. The method of claim 21, wherein obtaining the device operation packet corresponding to the network device comprises:
and acquiring the equipment operation message sent by the sending equipment through the receiving port of the receiving equipment.
23. The method of claim 21, wherein obtaining the device operation packet corresponding to the network device comprises:
and acquiring the equipment operation message corresponding to the sending equipment through the sending port of the sending equipment.
24. The method of claim 22 or 23,
the device operation message includes at least one of: the PFC starting message is used for starting the PFC operation, and the PFC closing message is used for closing the PFC operation.
25. The method of claim 21, wherein controlling network transmission operations of the network device based on the time duration comprises:
when the duration is greater than or equal to a preset time threshold, the PFC function of the network equipment is closed; alternatively, the first and second electrodes may be,
and when the duration time is less than a preset time threshold, clearing the duration time and adjusting the PFC operation state to be a starting state.
26. The method of claim 25, wherein after turning off the PFC function of the network device, the method further comprises:
and adjusting the PFC operation state of the network equipment to a recoverable state.
27. The method of claim 26, wherein after adjusting the PFC operating state of the network device to a recoverable state, the method further comprises:
receiving a PFC starting message for starting PFC operation;
and adjusting the PFC running state of the network equipment to be a starting state based on the PFC starting message.
28. The method of claim 26, wherein the network device comprises a sending device configured to perform data sending operations; after adjusting the PFC operating state of the network device to a recoverable state, the method further comprises:
acquiring the access cache occupation information corresponding to the sending equipment;
and controlling the PFC operation state of the sending equipment based on the incoming buffer occupation information.
29. The method of claim 28, wherein controlling the PFC operating state of the sending device based on the ingress buffer occupancy information comprises:
when the incoming cache occupation information is less than or equal to a preset occupation threshold value, adjusting the PFC operation state to a starting state; alternatively, the first and second electrodes may be,
and when the incoming cache occupation information is larger than a preset occupation threshold value, controlling the operation state of the PFC to be kept unchanged.
30. The method according to any one of claims 19-23, further comprising:
acquiring quantity information that the PFC operation state is a closed state within a preset time period;
and controlling the network transmission operation of the network equipment based on the quantity information so as to reduce the probability of the occurrence of the traffic storm in the network corresponding to the network equipment.
31. The method of claim 30, wherein controlling network transmission operations of the network device based on the quantity information comprises:
and when the quantity information is greater than or equal to a preset quantity threshold value, the PFC function of the network equipment is closed, and the PFC operation state of the network equipment is adjusted to a recovery prohibition state.
32. The method according to any one of claims 19-23, further comprising:
acquiring the change frequency of the PFC operation state within a preset time period;
and controlling the network transmission operation of the network equipment based on the change frequency so as to reduce the probability of the occurrence of the traffic storm in the network corresponding to the network equipment.
33. The method of claim 32, wherein the varying frequency comprises at least one of:
the PFC operation state is adjusted from a starting state to a first change frequency of a closing state;
and the PFC operation state is adjusted to a second change frequency of the starting state from the closing state.
34. The method of claim 32, wherein controlling network transmission operations of the network device based on the varying frequency comprises:
and when the change frequency is greater than or equal to a preset frequency threshold, the PFC function of the network equipment is closed, and the PFC operation state of the network equipment is adjusted to a recovery prohibition state.
35. An apparatus for network transmission, comprising:
the second acquisition module is used for acquiring a network transmission request aiming at the network equipment;
the second determination module is used for determining the operation state of the flow control PFC based on the priority of the network equipment according to the network transmission request;
the second recording module is used for recording the duration time of the PFC operation state as the off state when the PFC operation state is the off state;
and the second processing module is used for controlling the network transmission operation of the network equipment based on the duration so as to reduce the probability of the occurrence of the traffic storm in the network corresponding to the network equipment.
36. An electronic device, comprising: a memory, a processor; wherein the memory is configured to store one or more computer instructions, wherein the one or more computer instructions, when executed by the processor, implement a method of network transmission as claimed in any one of claims 19 to 34.
CN202010698778.XA 2020-07-20 2020-07-20 Control method of network equipment, network transmission method, device and equipment Pending CN113300975A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010698778.XA CN113300975A (en) 2020-07-20 2020-07-20 Control method of network equipment, network transmission method, device and equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010698778.XA CN113300975A (en) 2020-07-20 2020-07-20 Control method of network equipment, network transmission method, device and equipment

Publications (1)

Publication Number Publication Date
CN113300975A true CN113300975A (en) 2021-08-24

Family

ID=77318219

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010698778.XA Pending CN113300975A (en) 2020-07-20 2020-07-20 Control method of network equipment, network transmission method, device and equipment

Country Status (1)

Country Link
CN (1) CN113300975A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113872885A (en) * 2021-09-30 2021-12-31 新华三信息安全技术有限公司 Method and equipment for controlling message forwarding
CN113965523A (en) * 2021-10-28 2022-01-21 锐捷网络股份有限公司 Loop-based PFC deadlock processing method and device
CN114301815A (en) * 2021-12-30 2022-04-08 山石网科通信技术股份有限公司 Broadcast storm processing method and device
CN115883466A (en) * 2023-03-03 2023-03-31 苏州浪潮智能科技有限公司 Switch control method and device, storage medium and electronic device
CN116595235A (en) * 2023-05-15 2023-08-15 重庆市敏城电子有限公司 Communication control method and device of network filter and electronic equipment

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102523161A (en) * 2011-12-16 2012-06-27 盛科网络(苏州)有限公司 Flow control method and system of cross-Ethernet switched network cloud
US20140146666A1 (en) * 2012-11-28 2014-05-29 Broadcom Corporation Deadlock recovery for distributed devices
CN107948103A (en) * 2017-11-29 2018-04-20 南京大学 A kind of interchanger PFC control methods and control system based on prediction
WO2020124303A1 (en) * 2018-12-17 2020-06-25 Telefonaktiebolaget Lm Ericsson (Publ) METHOD AND APPARATUS FOR PACKET DELAY MANAGEMENT IN eCPRI NETWORK

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102523161A (en) * 2011-12-16 2012-06-27 盛科网络(苏州)有限公司 Flow control method and system of cross-Ethernet switched network cloud
US20140146666A1 (en) * 2012-11-28 2014-05-29 Broadcom Corporation Deadlock recovery for distributed devices
CN107948103A (en) * 2017-11-29 2018-04-20 南京大学 A kind of interchanger PFC control methods and control system based on prediction
WO2020124303A1 (en) * 2018-12-17 2020-06-25 Telefonaktiebolaget Lm Ericsson (Publ) METHOD AND APPARATUS FOR PACKET DELAY MANAGEMENT IN eCPRI NETWORK

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113872885A (en) * 2021-09-30 2021-12-31 新华三信息安全技术有限公司 Method and equipment for controlling message forwarding
CN113872885B (en) * 2021-09-30 2024-02-09 新华三信息安全技术有限公司 Method and equipment for controlling message forwarding
CN113965523A (en) * 2021-10-28 2022-01-21 锐捷网络股份有限公司 Loop-based PFC deadlock processing method and device
CN114301815A (en) * 2021-12-30 2022-04-08 山石网科通信技术股份有限公司 Broadcast storm processing method and device
CN114301815B (en) * 2021-12-30 2024-03-15 山石网科通信技术股份有限公司 Method and device for processing broadcast storm
CN115883466A (en) * 2023-03-03 2023-03-31 苏州浪潮智能科技有限公司 Switch control method and device, storage medium and electronic device
CN116595235A (en) * 2023-05-15 2023-08-15 重庆市敏城电子有限公司 Communication control method and device of network filter and electronic equipment
CN116595235B (en) * 2023-05-15 2024-01-30 重庆市敏城电子有限公司 Communication control method and device of network filter and electronic equipment

Similar Documents

Publication Publication Date Title
CN113300975A (en) Control method of network equipment, network transmission method, device and equipment
CN106708607B (en) Congestion control method and device for message queue
US9185120B2 (en) Method and system for mitigating interest flooding attacks in content-centric networks
US9237460B2 (en) Traffic control method and device
US20180167361A1 (en) Network Attack Prevention Method, Apparatus and System
US7911960B1 (en) Delayed-start method for minimizing internal switch congestion
CN109347757B (en) Message congestion control method, system, device and storage medium
US20080239961A1 (en) Packet routing based on application source
WO2018032936A1 (en) Method and device for checking domain name generated by domain generation algorithm
CN109560976B (en) Message delay monitoring method and device
US20210058811A1 (en) Method and apparatus for detecting time series data
CN113300816A (en) Node positioning method, network transmission method, device and equipment
CN110719256A (en) IP fragment attack defense method and device and network attack defense equipment
EP3266174B1 (en) Uplink port oversubscription determination
CN109982034A (en) Access request processing method and processing device in video monitoring system
CN113467969B (en) Method for processing message accumulation
CN112787942A (en) TCP congestion control method, device, terminal and readable storage medium
CN116055401A (en) Message processing method, device, equipment and storage medium
CN114301815B (en) Method and device for processing broadcast storm
US11848766B2 (en) Session detection and inference
CN111131066A (en) Traffic shaping method and device
US20050223056A1 (en) Method and system for controlling dataflow to a central system from distributed systems
CN113709214A (en) Message processing method and device, electronic equipment and storage medium
CN112291166A (en) Method, system and related device for processing discarded message
CN113852558A (en) Network congestion control method, device and computer readable storage medium

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
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20210824