CN113938414B - Network storm processing method, system, equipment and computer storage medium - Google Patents
Network storm processing method, system, equipment and computer storage medium Download PDFInfo
- Publication number
- CN113938414B CN113938414B CN202111333280.4A CN202111333280A CN113938414B CN 113938414 B CN113938414 B CN 113938414B CN 202111333280 A CN202111333280 A CN 202111333280A CN 113938414 B CN113938414 B CN 113938414B
- Authority
- CN
- China
- Prior art keywords
- network
- switch
- network storm
- determining
- preset value
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L45/00—Routing or path finding of packets in data switching networks
- H04L45/32—Flooding
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L47/00—Traffic control in data switching networks
- H04L47/10—Flow control; Congestion control
- H04L47/29—Flow control; Congestion control using a combination of thresholds
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02D—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
- Y02D30/00—Reducing energy consumption in communication networks
- Y02D30/70—Reducing energy consumption in communication networks in wireless communication networks
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
The application discloses a network storm processing method, a system, equipment and a computer readable storage medium, which are used for determining the target quantity of data packets transmitted by a switch in a target network; determining the communication performance of the switch; determining a network storm threshold of the switch based on the communication performance and the target number; and performing network storm control on the switch based on the network storm threshold. In the application, the network storm threshold of the switch is determined according to the target number of the data packets transmitted by the switch and the communication performance of the switch, so that the determined network storm threshold is consistent with the actual working state of the switch, and the accuracy is high, thus, if the network storm is managed and controlled based on the network storm threshold subsequently, the accuracy of the network storm management and control can be improved. The network storm processing system, the network storm processing equipment and the computer readable storage medium provided by the application also solve the corresponding technical problems.
Description
Technical Field
The present application relates to the field of computer technologies, and in particular, to a method, a system, an apparatus, and a computer storage medium for processing a network storm.
Background
With the popularization of networks and the increase of devices in the networks, network storms may exist in the networks, and the network storms, namely, switches, perform flooding operation on broadcast frames, which can cause the message rate on the devices to reach 100 orders of magnitude and seriously exceed the limit transmission speed of transmission media, so that normal communication frames cannot be clocked, network congestion is caused, and finally, data frames are lost.
In order to avoid data frame loss, the network storm can be managed by setting a network storm threshold, for example, the network storm threshold is determined according to the prior experience or the default value provided by a switch manufacturer as a reference, but such network storm threshold cannot accurately avoid the network storm, resulting in poor accuracy of data transmission.
In summary, how to accurately manage the network storm is a problem to be solved by those skilled in the art.
Disclosure of Invention
The application aims to provide a network storm processing method which can solve the technical problem of how to accurately manage and control network storms to a certain extent. The application also provides a network storm processing system, a device and a computer readable storage medium.
In order to achieve the above object, the present application provides the following technical solutions:
a method of handling a network storm, comprising:
determining a target number of data packets transmitted by a switch in a target network;
determining the communication performance of the switch;
determining a network storm threshold for the switch based on the communication performance and the target number;
and performing network storm control on the switch based on the network storm threshold.
Preferably, the determining the target number of data packets transmitted by the switch in the target network includes:
determining a first number of data packets transmitted by the switch in the target network based on a first operation formula;
determining the target number based on the first number;
the first operation formula includes:
wherein P is n Representing the first number; n (N) Ops Indicating the number of operator stations; n (N) RTS Representing the number of controllers in the target network; e represents the number of connected devices on the switch; s=0 means that there is no cascading of the switches; s=1 indicates that the switch has a cascade.
Preferably, the determining the target number based on the first number includes:
judging whether the first quantity is smaller than a first preset value or not;
if the first number is greater than or equal to the first preset value, the first preset value is used as the target number;
and if the first quantity is smaller than the first preset value, taking the first quantity as the target quantity.
Preferably, the communication performance includes a communication unit of pps;
the determining a network storm threshold for the switch based on the communication performance and the target number comprises:
determining the network storm threshold of the switch based on the communication performance and the target number based on a second operational formula;
the second operation formula includes:
wherein delta v Representing the network storm threshold; v=0 means that the target number is smaller than a; v=1 means that the target number is equal to or greater than a; a represents a second preset value.
Preferably, the communication performance includes a communication unit of kbps;
the determining a network storm threshold for the switch based on the communication performance and the target number comprises:
determining the network storm threshold of the switch based on the communication performance and the target number based on a third operational formula;
the third operation formula includes:
wherein delta v Representing the network storm threshold; s represents the network transmission speed value of the switch; v=0 means that the network transmission speed value is smaller than a third preset value; v=1, where the network transmission speed value is greater than or equal to the third preset value; b represents a fourth preset value.
Preferably, the communication performance includes a communication unit being a bandwidth percentage;
the determining a network storm threshold for the switch based on the communication performance and the target number comprises:
determining the network storm threshold of the switch based on the communication performance and the target number based on a fourth operational formula;
the fourth operation formula includes:
wherein delta v Representing the network storm threshold; SP represents the bandwidth percentage value; v=0 means that the bandwidth percentage value is smaller than a fifth preset value; v=1 means that the bandwidth percentage value is equal to or greater than the fifth preset value; f represents the fifth preset value; d represents a sixth preset value.
A network storm processing system, comprising:
a first determining module, configured to determine a target number of data packets transmitted by a switch in a target network;
a second determining module, configured to determine a communication performance of the switch;
a third determining module, configured to determine a network storm threshold of the switch based on the communication performance and the target number;
and the first processing module is used for controlling the network storm of the switch based on the network storm threshold.
Preferably, the first determining module includes:
a first determining unit, configured to determine, based on a first operation formula, a first number of data packets transmitted by the switch in the target network;
a second determining unit configured to determine the target number based on the first number;
the first operation formula includes:
wherein P is n Representing the first number; n (N) Ops Indicating the number of operator stations; n (N) RTS Representing the number of controllers in the target network; e represents the number of connected devices on the switch; s=0 means that there is no cascading of the switches; s=1 indicates that the switch has a cascade.
A network storm processing device, comprising:
a memory for storing a computer program;
a processor for implementing the steps of any of the network storm processing methods described above when executing the computer program.
A computer readable storage medium having stored therein a computer program which when executed by a processor implements the steps of any of the network storm processing methods described above.
The application provides a network storm processing method, which is used for determining the target quantity of data packets transmitted by a switch in a target network; determining the communication performance of the switch; determining a network storm threshold of the switch based on the communication performance and the target number; and performing network storm control on the switch based on the network storm threshold. In the application, the network storm threshold of the switch is determined according to the target number of the data packets transmitted by the switch and the communication performance of the switch, so that the determined network storm threshold is consistent with the actual working state of the switch, and the accuracy is high, thus, if the network storm is managed and controlled based on the network storm threshold subsequently, the accuracy of the network storm management and control can be improved. The network storm processing system, the network storm processing equipment and the computer readable storage medium provided by the application also solve the corresponding technical problems.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings that are required to be used in the embodiments or the description of the prior art will be briefly described below, and it is obvious that the drawings in the following description are only embodiments of the present application, and that other drawings can be obtained according to the provided drawings without inventive effort for a person skilled in the art.
FIG. 1 is a first flowchart of a network storm processing method according to an embodiment of the application;
fig. 2 is a schematic structural diagram of a network storm processing system according to an embodiment of the present application;
fig. 3 is a schematic structural diagram of a fan rotation speed processing device according to an embodiment of the present application;
fig. 4 is another schematic structural diagram of a fan rotation speed processing device according to an embodiment of the present application.
Detailed Description
The following description of the embodiments of the present application will be made clearly and completely with reference to the accompanying drawings, in which it is apparent that the embodiments described are only some embodiments of the present application, but not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the application without making any inventive effort, are intended to be within the scope of the application.
Referring to fig. 1, fig. 1 is a first flowchart of a network storm processing method according to an embodiment of the application.
The network storm processing method provided by the embodiment of the application can comprise the following steps:
step S101: a target number of data packets transmitted by a switch in a target network is determined.
In practical application, the target number of data packets transmitted by the switch in the target network can be determined first, so that the working pressure of the switch can be reflected by the target number, and the specific data packet determining method can be determined according to the actual requirement. The type of the target network may also be determined according to actual needs, for example, the target network may be a distributed control system network, etc., which is not limited herein.
Step S102: the communication performance of the switch is determined.
In practical application, after determining the target number of data packets transmitted by the switch in the target network, the communication performance of the switch needs to be determined, so as to estimate the capacity of the switch for relieving the working pressure by means of the communication performance, and the type and the determining mode of the communication performance can be determined according to practical needs.
Step S103: a network storm threshold for the switch is determined based on the communication performance and the target number.
In practical application, after the target number and the communication performance are determined, the network storm threshold of the switch can be determined based on the communication performance and the target number, namely, the network storm threshold is determined according to the working pressure of the switch and the capability of relieving the working pressure, so that the determined network storm threshold accords with the actual working state of the switch, and the accuracy is high.
It should be noted that, the process of determining the network storm threshold of the switch based on the communication performance and the target number may be determined according to actual needs, and the present application is not limited herein.
Step S104: and performing network storm control on the switch based on the network storm threshold.
In practical application, after the network storm threshold of the switch is determined based on the communication performance and the target number, the network storm can be managed and controlled based on the network storm threshold, and the specific process of the network storm threshold can be flexibly determined according to the actual needs.
The application provides a network storm processing method, which is used for determining the target quantity of data packets transmitted by a switch in a target network; determining the communication performance of the switch; determining a network storm threshold of the switch based on the communication performance and the target number; and performing network storm control on the switch based on the network storm threshold. In the application, the network storm threshold of the switch is determined according to the target number of the data packets transmitted by the switch and the communication performance of the switch, so that the determined network storm threshold is consistent with the actual working state of the switch, and the accuracy is high, thus, if the network storm is managed and controlled based on the network storm threshold subsequently, the accuracy of the network storm management and control can be improved.
In the network storm processing method provided by the embodiment of the application, in the process of determining the target number of the data packets transmitted by the switch in the target network, in order to accurately determine the target number, the method can:
determining a first number of data packets transmitted by a switch in a target network based on a first operation formula;
determining a target number based on the first number;
the first operation formula includes:
wherein P is n Representing a first number; n (N) Ops Indicating the number of operator stations; n (N) RTS Representing the number of controllers in the target network; e represents the number of connected devices on the switch; s=0 indicates that there is no cascading of switches; s=1 indicates that the switch has a cascade.
The target number can be accurately determined according to the number of the operator stations, the number of controllers, the number of the connection devices on the switch and the cascading situation of the switch, and the operator stations, namely servers for on-site monitoring, management and the like, need to be described; a cascade of switches refers to a cascade of one switch with other switches.
In a specific application scenario, in order to avoid that the accuracy of a final network storm threshold is affected by too small target quantity, in the process of determining the target quantity based on the first quantity, whether the first quantity is smaller than a first preset value or not can be judged; if the first number is greater than or equal to the first preset value, the first preset value is used as the target number; and if the first quantity is smaller than the first preset value, taking the first quantity as a target quantity.
It should be noted that, the first preset value may be flexibly determined according to actual needs, for example, the first preset value may be 2000, etc., which is not limited herein.
In the network storm processing method provided by the embodiment of the application, the communication performance can comprise the communication unit of pps (packet per second, data packet number per second);
accordingly, in the process of determining the network storm threshold of the switch based on the communication performance and the target number, the network storm threshold of the switch can be determined based on the communication performance and the target number based on the second operation formula;
the second operation formula includes:
wherein delta v Representing a network storm threshold; v=0 means that the target number is smaller than a; v=1 means that the target number is equal to or greater than a; a represents a second preset value.
It should be noted that, the second preset value may be flexibly determined according to actual needs, for example, the second preset value may be 125, etc., which is not limited herein.
In the network storm processing method provided by the embodiment of the application, the communication performance can comprise a communication unit of kbps (kilobit per second, kilobits per second);
accordingly, in the process of determining the network storm threshold of the switch based on the communication performance and the target number, the network storm threshold of the switch may be determined based on the communication performance and the target number based on the third operation formula;
the third operational formula includes:
wherein delta v Representing a network storm threshold; s represents the network transmission speed value of the switch; v=0 means that the network transmission speed value is smaller than the third preset value; v=1 indicates that the network transmission speed value is greater than or equal to a third preset value; b represents a fourth preset value.
It should be noted that, the third preset value and the fourth preset value may be determined according to actual needs, for example, the third preset value may be 64, the fourth preset value may be 128, etc., and the present application is not limited herein.
In the network storm processing method provided by the embodiment of the application, the communication performance can comprise the communication unit of bandwidth percentage;
accordingly, in the process of determining the network storm threshold of the switch based on the communication performance and the target number, the network storm threshold of the switch may be determined based on the communication performance and the target number based on the fourth operation formula;
the fourth operational formula includes:
wherein delta v Representing a network storm threshold; SP represents the bandwidth percentage value; v=0 means that the bandwidth percentage value is smaller than a fifth preset value; v=1 represents that the bandwidth percentage value is equal to or greater than a fifth preset value; f represents a fifth preset value; d represents a sixth preset value.
It should be noted that, the fifth preset value and the sixth preset value may be determined according to actual needs, for example, the fifth preset value may be 7, the sixth preset value may be 512, etc., and the present application is not limited herein.
Referring to fig. 2, fig. 2 is a schematic structural diagram of a network storm processing system according to an embodiment of the application.
The network storm processing system provided by the embodiment of the application can comprise:
a first determining module 101, configured to determine a target number of data packets transmitted by a switch in a target network;
a second determining module 102, configured to determine a communication performance of the switch;
a third determining module 103, configured to determine a network storm threshold of the switch based on the communication performance and the target number;
the first processing module 104 is configured to perform network storm control on the switch based on the network storm threshold.
The first determining module of the network storm processing system provided by the embodiment of the application may include:
a first determining unit, configured to determine, based on a first operation formula, a first number of data packets transmitted by a switch in a target network;
a second determining unit configured to determine a target number based on the first number;
the first operation formula includes:
wherein P is n Representing a first number; n (N) Ops Indicating the number of operator stations; n (N) RTS Representing the number of controllers in the target network; e represents the number of connected devices on the switch; s=0 indicates that there is no cascading of switches; s=1 indicates that the switch has a cascade.
The second determining unit of the network storm processing system provided by the embodiment of the application may be specifically configured to: judging whether the first quantity is smaller than a first preset value or not; if the first number is greater than or equal to the first preset value, the first preset value is used as the target number; and if the first quantity is smaller than the first preset value, taking the first quantity as a target quantity.
The network storm processing system provided by the embodiment of the application can have the communication performance that the communication unit is pps;
the third determination module may include:
the third determining unit is used for determining a network storm threshold of the switch based on the second operation formula and the communication performance and the target number;
the second operation formula includes:
wherein delta v Representing a network storm threshold; v=0 means that the target number is smaller than a; v=1 means that the target number is equal to or greater than a; a represents a second preset value.
The network storm processing system provided by the embodiment of the application has the communication performance comprising a communication unit of kbps;
the third determination module may include:
a fourth determining unit, configured to determine a network storm threshold of the switch based on the communication performance and the target number based on the third operation formula;
the third operational formula includes:
wherein delta v Representing a network storm threshold; s represents the network transmission speed value of the switch; v=0 means that the network transmission speed value is smaller than the third preset value; v=1 indicates that the network transmission speed value is greater than or equal to a third preset value; b represents a fourth preset value.
The network storm processing system provided by the embodiment of the application has the communication performance comprising the communication unit of bandwidth percentage;
the third determination module may include:
a fifth determining unit, configured to determine a network storm threshold of the switch based on the fourth operation formula and based on the communication performance and the target number;
the fourth operational formula includes:
wherein delta v Representing a network storm threshold; SP represents the bandwidth percentage value; v=0 means that the bandwidth percentage value is smaller than a fifth preset value; v=1 represents that the bandwidth percentage value is equal to or greater than a fifth preset value; f represents a fifth preset value; d represents a sixth preset value.
The application also provides a network storm processing device and a computer readable storage medium, which have the corresponding effects of the network storm processing method provided by the embodiment of the application. Referring to fig. 3, fig. 3 is a schematic structural diagram of a fan rotation speed processing apparatus according to an embodiment of the application.
The network storm processing device provided by the embodiment of the application comprises a memory 201 and a processor 202, wherein a computer program is stored in the memory 201, and the processor 202 realizes the following steps when executing the computer program:
determining a target number of data packets transmitted by a switch in a target network;
determining the communication performance of the switch;
determining a network storm threshold of the switch based on the communication performance and the target number;
and performing network storm control on the switch based on the network storm threshold.
The network storm processing device provided by the embodiment of the application comprises a memory 201 and a processor 202, wherein a computer program is stored in the memory 201, and the processor 202 realizes the following steps when executing the computer program: determining a first number of data packets transmitted by a switch in a target network based on a first operation formula;
determining a target number based on the first number;
the first operation formula includes:
wherein P is n Representing a first number; n (N) Ops Indicating the number of operator stations; n (N) RTS Representing the number of controllers in the target network; e represents the number of connected devices on the switch; s=0 indicates that there is no cascading of switches; s=1 indicates that the switch has a cascade.
The network storm processing device provided by the embodiment of the application comprises a memory 201 and a processor 202, wherein a computer program is stored in the memory 201, and the processor 202 realizes the following steps when executing the computer program: judging whether the first quantity is smaller than a first preset value or not; if the first number is greater than or equal to the first preset value, the first preset value is used as the target number; and if the first quantity is smaller than the first preset value, taking the first quantity as a target quantity.
The network storm processing device provided by the embodiment of the application comprises a memory 201 and a processor 202, wherein a computer program is stored in the memory 201, and the processor 202 realizes the following steps when executing the computer program: the communication performance comprises the units of pps; determining a network storm threshold of the switch based on the communication performance and the target number based on a second operation formula;
the second operation formula includes:
wherein delta v Representing a network storm threshold; v=0 means that the target number is smaller than a; v=1 means that the target number is equal to or greater than a; a represents a second preset value.
The network storm processing device provided by the embodiment of the application comprises a memory 201 and a processor 202, wherein a computer program is stored in the memory 201, and the processor 202 realizes the following steps when executing the computer program: the communication performance includes a communication unit of kbps; determining a network storm threshold of the switch based on the communication performance and the target number based on a third operation formula;
the third operational formula includes:
wherein delta v Representing a network storm threshold; s represents the network transmission speed value of the switch; v=0 means that the network transmission speed value is smaller than the third preset value; v=1 indicates that the network transmission speed value is greater than or equal to a third preset value; b represents a fourth preset value.
The network storm processing device provided by the embodiment of the application comprises a memory 201 and a processor 202, wherein a computer program is stored in the memory 201, and the processor 202 realizes the following steps when executing the computer program: the communication performance comprises the communication units of bandwidth percentage; determining a network storm threshold of the switch based on the communication performance and the target number based on a fourth operation formula;
the fourth operational formula includes:
wherein delta v Representing a network storm threshold; SP represents the bandwidth percentage value; v=0 means that the bandwidth percentage value is smaller than a fifth preset value; v=1 represents that the bandwidth percentage value is equal to or greater than a fifth preset value; f represents a fifth preset value; d represents a sixth preset value.
Referring to fig. 4, another network storm processing device provided in the embodiment of the present application may further include: an input port 203 connected to the processor 202 for transmitting an externally input command to the processor 202; a display unit 204 connected to the processor 202, for displaying the processing result of the processor 202 to the outside; and the communication module 205 is connected with the processor 202 and is used for realizing the communication between the network storm processing device and the outside. The display unit 204 may be a display panel, a laser scanning display, or the like; communication means employed by the communication module 205 include, but are not limited to, mobile high definition link technology (HML), universal Serial Bus (USB), high Definition Multimedia Interface (HDMI), wireless connection: wireless fidelity (WiFi), bluetooth communication, bluetooth low energy communication, ieee802.11s based communication.
The embodiment of the application provides a computer readable storage medium, wherein a computer program is stored in the computer readable storage medium, and when the computer program is executed by a processor, the following steps are realized:
determining a target number of data packets transmitted by a switch in a target network;
determining the communication performance of the switch;
determining a network storm threshold of the switch based on the communication performance and the target number;
and performing network storm control on the switch based on the network storm threshold.
The embodiment of the application provides a computer readable storage medium, wherein a computer program is stored in the computer readable storage medium, and when the computer program is executed by a processor, the following steps are realized: determining a first number of data packets transmitted by a switch in a target network based on a first operation formula;
determining a target number based on the first number;
the first operation formula includes:
wherein P is n Representing a first number; n (N) Ops Indicating the number of operator stations; n (N) RTS Representing the number of controllers in the target network; e represents the number of connected devices on the switch; s=0 indicates that there is no cascading of switches; s=1 indicates that the switch has a cascade.
The embodiment of the application provides a computer readable storage medium, wherein a computer program is stored in the computer readable storage medium, and when the computer program is executed by a processor, the following steps are realized: judging whether the first quantity is smaller than a first preset value or not; if the first number is greater than or equal to the first preset value, the first preset value is used as the target number; and if the first quantity is smaller than the first preset value, taking the first quantity as a target quantity.
The embodiment of the application provides a computer readable storage medium, wherein a computer program is stored in the computer readable storage medium, and when the computer program is executed by a processor, the following steps are realized: the communication performance comprises the units of pps; determining a network storm threshold of the switch based on the communication performance and the target number based on a second operation formula;
the second operation formula includes:
wherein delta v Representing a network storm threshold; v=0 means that the target number is smaller than a; v=1 means that the target number is equal to or greater than a; a represents a second preset value.
The embodiment of the application provides a computer readable storage medium, wherein a computer program is stored in the computer readable storage medium, and when the computer program is executed by a processor, the following steps are realized: the communication performance includes a communication unit of kbps; determining a network storm threshold of the switch based on the communication performance and the target number based on a third operation formula;
the third operational formula includes:
wherein delta v Representing a network storm threshold; s represents the network transmission speed value of the switch; v=0 means that the network transmission speed value is smaller than the third preset value; v=1 indicates that the network transmission speed value is greater than or equal to a third preset value; b represents a fourth preset value.
The embodiment of the application provides a computer readable storage medium, wherein a computer program is stored in the computer readable storage medium, and when the computer program is executed by a processor, the following steps are realized: the communication performance comprises the communication units of bandwidth percentage; determining a network storm threshold of the switch based on the communication performance and the target number based on a fourth operation formula;
the fourth operational formula includes:
wherein delta v Representing a network storm threshold; SP represents the bandwidth percentage value; v=0 means that the bandwidth percentage value is smaller than a fifth preset value; v=1 represents that the bandwidth percentage value is equal to or greater than a fifth preset value; f represents a fifth preset value; d represents a sixth preset value.
The computer readable storage medium to which the present application relates includes Random Access Memory (RAM), memory, read Only Memory (ROM), electrically programmable ROM, electrically erasable programmable ROM, registers, hard disk, a removable disk, a CD-ROM, or any other form of storage medium known in the art.
The description of the relevant parts in the network storm processing system, the device and the computer readable storage medium provided by the embodiment of the application is referred to in the detailed description of the corresponding parts in the network storm processing method provided by the embodiment of the application, and is not repeated here. In addition, the parts of the above technical solutions provided in the embodiments of the present application, which are consistent with the implementation principles of the corresponding technical solutions in the prior art, are not described in detail, so that redundant descriptions are avoided.
It is further noted that relational terms such as first and second, and the like are used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Moreover, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising one … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
The previous description of the disclosed embodiments is provided to enable any person skilled in the art to make or use the present application. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the generic principles defined herein may be applied to other embodiments without departing from the spirit or scope of the application. Thus, the present application is not intended to be limited to the embodiments shown herein but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.
Claims (5)
1. A method for handling a network storm, comprising:
determining a target number of data packets transmitted by a switch in a target network;
determining the communication performance of the switch;
determining a network storm threshold for the switch based on the communication performance and the target number;
performing network storm control on the switch based on the network storm threshold;
wherein, the determining the target number of the data packets transmitted by the switch in the target network includes:
determining a first number of data packets transmitted by the switch in the target network based on a first operation formula;
determining the target number based on the first number;
the first operation formula includes:
wherein P is n Representing the first number; n (N) Ops Indicating the number of operator stations; n (N) RTS Representing the number of controllers in the target network; e represents the number of connected devices on the switch; s=0 means that there is no cascading of the switches; s=1 indicates that the switch has a cascade;
wherein the communication performance comprises a communication unit of bandwidth percentage; the determining a network storm threshold for the switch based on the communication performance and the target number comprises:
determining the network storm threshold of the switch based on the communication performance and the target number based on a fourth operational formula;
the fourth operation formula includes:
wherein delta v Representing the network storm threshold; SP represents the bandwidth percentage value; v=0 means that the bandwidth percentage value is smaller than a fifth preset value; v=1 means that the bandwidth percentage value is equal to or greater than the fifthA preset value; f represents the fifth preset value; d represents a sixth preset value;
or, the communication performance includes a communication unit of kbps; the determining a network storm threshold for the switch based on the communication performance and the target number comprises:
determining the network storm threshold of the switch based on the communication performance and the target number based on a third operational formula;
the third operation formula includes:
wherein delta v Representing the network storm threshold; s represents the network transmission speed value of the switch; v=0 means that the network transmission speed value is smaller than a third preset value; v=1, where the network transmission speed value is greater than or equal to the third preset value; b represents a fourth preset value.
2. The method of claim 1, wherein the determining the target number based on the first number comprises:
judging whether the first quantity is smaller than a first preset value or not;
if the first number is greater than or equal to the first preset value, the first preset value is used as the target number;
and if the first quantity is smaller than the first preset value, taking the first quantity as the target quantity.
3. A network storm processing system, comprising:
a first determining module, configured to determine a target number of data packets transmitted by a switch in a target network;
a second determining module, configured to determine a communication performance of the switch;
a third determining module, configured to determine a network storm threshold of the switch based on the communication performance and the target number;
the first processing module is used for controlling the network storm of the switch based on the network storm threshold;
wherein the first determining module includes:
a first determining unit, configured to determine, based on a first operation formula, a first number of data packets transmitted by the switch in the target network;
a second determining unit configured to determine the target number based on the first number;
the first operation formula includes:
wherein P is n Representing the first number; n (N) Ops Indicating the number of operator stations; n (N) RTS Representing the number of controllers in the target network; e represents the number of connected devices on the switch; s=0 means that there is no cascading of the switches; s=1 indicates that the switch has a cascade;
wherein the communication performance comprises a communication unit of bandwidth percentage; the third determination module includes:
a fifth determining unit configured to determine the network storm threshold of the switch based on the communication performance and the target number based on a fourth operation formula;
the fourth operation formula includes:
wherein delta v Representing the network storm threshold; SP represents the bandwidth percentage value; v=0 means that the bandwidth percentage value is smaller than a fifth preset value; v=1 means that the bandwidth percentage value is equal to or greater than the fifth preset value; f represents the fifth preset value; d represents a sixth preset value;
or, the communication performance includes a communication unit of kbps; the third determination module includes:
a fourth determining unit configured to determine the network storm threshold of the switch based on the communication performance and the target number based on a third operation formula;
the third operation formula includes:
wherein delta v Representing the network storm threshold; s represents the network transmission speed value of the switch; v=0 means that the network transmission speed value is smaller than a third preset value; v=1, where the network transmission speed value is greater than or equal to the third preset value; b represents a fourth preset value.
4. A network storm processing device, comprising:
a memory for storing a computer program;
a processor for implementing the steps of the network storm processing method according to any of claims 1 to 2 when executing said computer program.
5. A computer readable storage medium, characterized in that the computer readable storage medium has stored therein a computer program which, when executed by a processor, implements the steps of the network storm handling method according to any of claims 1 to 2.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202111333280.4A CN113938414B (en) | 2021-11-11 | 2021-11-11 | Network storm processing method, system, equipment and computer storage medium |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202111333280.4A CN113938414B (en) | 2021-11-11 | 2021-11-11 | Network storm processing method, system, equipment and computer storage medium |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| CN113938414A CN113938414A (en) | 2022-01-14 |
| CN113938414B true CN113938414B (en) | 2023-09-12 |
Family
ID=79286270
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN202111333280.4A Active CN113938414B (en) | 2021-11-11 | 2021-11-11 | Network storm processing method, system, equipment and computer storage medium |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN113938414B (en) |
Citations (6)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2012105051A (en) * | 2010-11-10 | 2012-05-31 | Hitachi Ltd | Dynamic storm control setting method using lan switch |
| CN106712899A (en) * | 2016-11-25 | 2017-05-24 | 浙江宇视科技有限公司 | Port rate adjustment method and device |
| CN109165519A (en) * | 2018-09-12 | 2019-01-08 | 杭州和利时自动化有限公司 | A kind of method and system based on controller defending against network storm |
| CN110798382A (en) * | 2019-10-29 | 2020-02-14 | 迈普通信技术股份有限公司 | Port storm threshold control method and device |
| WO2021043012A1 (en) * | 2019-09-03 | 2021-03-11 | 华为技术有限公司 | Method, apparatus, and device for blocking signaling storm, and storage medium |
| CN112995002A (en) * | 2021-04-27 | 2021-06-18 | 融智通科技(北京)股份有限公司 | Switch ring network design method, switch and storage medium |
Family Cites Families (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US6834311B2 (en) * | 2001-04-04 | 2004-12-21 | Sun Microsystems, Inc. | Method, system, and program for enabling communication between devices using dynamic addressing |
| US10348628B2 (en) * | 2013-09-12 | 2019-07-09 | Vmware, Inc. | Placement of virtual machines in a virtualized computing environment |
| US11294748B2 (en) * | 2019-11-18 | 2022-04-05 | International Business Machines Corporation | Identification of constituent events in an event storm in operations management |
-
2021
- 2021-11-11 CN CN202111333280.4A patent/CN113938414B/en active Active
Patent Citations (6)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2012105051A (en) * | 2010-11-10 | 2012-05-31 | Hitachi Ltd | Dynamic storm control setting method using lan switch |
| CN106712899A (en) * | 2016-11-25 | 2017-05-24 | 浙江宇视科技有限公司 | Port rate adjustment method and device |
| CN109165519A (en) * | 2018-09-12 | 2019-01-08 | 杭州和利时自动化有限公司 | A kind of method and system based on controller defending against network storm |
| WO2021043012A1 (en) * | 2019-09-03 | 2021-03-11 | 华为技术有限公司 | Method, apparatus, and device for blocking signaling storm, and storage medium |
| CN110798382A (en) * | 2019-10-29 | 2020-02-14 | 迈普通信技术股份有限公司 | Port storm threshold control method and device |
| CN112995002A (en) * | 2021-04-27 | 2021-06-18 | 融智通科技(北京)股份有限公司 | Switch ring network design method, switch and storage medium |
Also Published As
| Publication number | Publication date |
|---|---|
| CN113938414A (en) | 2022-01-14 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US11695629B2 (en) | Method and apparatus for configuring a network parameter | |
| CN107426772B (en) | Dynamic competition window adjusting method, device and equipment based on Q learning | |
| US12041688B2 (en) | Screen projection method and system | |
| CN111278047B (en) | Method, system, electronic device and medium for processing CSI of non-serving cell | |
| CN112703781B (en) | Wireless signal sending method, wireless signal sending device and terminal equipment | |
| CN110032364B (en) | Data processing method, device, electronic equipment and computer storage medium | |
| WO2018103405A1 (en) | Method for identifying access point and hotspot, and related product | |
| KR20200131639A (en) | Gateway appratus and controlling method thereof | |
| CN112202654A (en) | Control instruction processing method, device, equipment and storage medium | |
| CN115037700A (en) | A complex network data packet transmission method, system, terminal and storage medium | |
| CN107968848B (en) | A method, terminal device and storage medium for obtaining IP address | |
| WO2018196834A1 (en) | Method and device for adjusting downtilt angle of antenna | |
| CN111586714A (en) | Network port allocation method, device, electronic equipment and computer usable medium | |
| CN103518205A (en) | Method for limiting operation authority and automation device | |
| US20230081467A1 (en) | Method for downlink control information design, electronic device, and storage medium | |
| CN112003796B (en) | Broadcast message processing method, system, equipment and computer storage medium | |
| CN113938414B (en) | Network storm processing method, system, equipment and computer storage medium | |
| CN112134763A (en) | Method, system, equipment and medium for transmitting layered messages among cluster nodes | |
| EP3565217B1 (en) | Method for realizing value-added service and cloud server | |
| CN115037786B (en) | Method for improving data transmission efficiency and related equipment | |
| CN110290552B (en) | Method and device for measuring cache depth, storage medium and electronic device | |
| CN111818665A (en) | Method, device, equipment and storage medium for adjusting contention window of communication equipment | |
| CN111130863A (en) | Virtual network card management method, system, equipment and computer storage medium | |
| CN111858129A (en) | Erasure code reading request processing method, system, equipment and computer medium | |
| CN113746731B (en) | Ethernet communication system, ethernet communication redundancy method and device |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| PB01 | Publication | ||
| PB01 | Publication | ||
| SE01 | Entry into force of request for substantive examination | ||
| SE01 | Entry into force of request for substantive examination | ||
| GR01 | Patent grant | ||
| GR01 | Patent grant |