CN111416754B - Method, device, equipment and medium for restoring storage network port rate - Google Patents

Method, device, equipment and medium for restoring storage network port rate Download PDF

Info

Publication number
CN111416754B
CN111416754B CN202010176121.7A CN202010176121A CN111416754B CN 111416754 B CN111416754 B CN 111416754B CN 202010176121 A CN202010176121 A CN 202010176121A CN 111416754 B CN111416754 B CN 111416754B
Authority
CN
China
Prior art keywords
network port
storage network
storage
speed
rate
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
Application number
CN202010176121.7A
Other languages
Chinese (zh)
Other versions
CN111416754A (en
Inventor
郑强
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Suzhou Inspur Intelligent Technology Co Ltd
Original Assignee
Suzhou Inspur Intelligent Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Suzhou Inspur Intelligent Technology Co Ltd filed Critical Suzhou Inspur Intelligent Technology Co Ltd
Priority to CN202010176121.7A priority Critical patent/CN111416754B/en
Publication of CN111416754A publication Critical patent/CN111416754A/en
Application granted granted Critical
Publication of CN111416754B publication Critical patent/CN111416754B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/08Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters
    • H04L43/0876Network utilisation, e.g. volume of load or congestion level
    • H04L43/0894Packet rate
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/06Management of faults, events, alarms or notifications
    • H04L41/0631Management of faults, events, alarms or notifications using root cause analysis; using analysis of correlation between notifications, alarms or events based on decision criteria, e.g. hierarchy, tree or time analysis
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/06Management of faults, events, alarms or notifications
    • H04L41/0654Management of faults, events, alarms or notifications using network fault recovery
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L47/00Traffic control in data switching networks
    • H04L47/10Flow control; Congestion control
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L69/00Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
    • H04L69/24Negotiation of communication capabilities

Landscapes

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

Abstract

The application discloses a method, a device, equipment and a computer readable storage medium for restoring a storage network port rate, wherein the method comprises the following steps: receiving a storage network port rate acquisition command; acquiring a link data packet of a protocol layer of a storage network port, and acquiring the real-time rate of the storage network port from the link data packet; judging whether the real-time speed of the storage network port is lower than the specification speed of the storage network port; if yes, determining a storage network port speed reduction incentive according to the link data packet, and repairing the storage network port speed according to the storage network port speed reduction incentive. According to the technical scheme, the speed of the storage network port is repaired in an automatic mode without human intervention, so that the speed repairing efficiency of the storage network port can be improved, the repairing accuracy can be improved, and the product quality can be improved.

Description

Method, device, equipment and medium for restoring storage network port rate
Technical Field
The present application relates to the field of storage network port rate repair technologies, and in particular, to a method, an apparatus, a device, and a computer-readable storage medium for repairing a storage network port rate.
Background
In order to enable the storage production line to normally perform data transmission so as to improve the efficiency of data transmission, it is necessary to detect and repair the speed of the storage net port during the production of the storage production line so as to enable the speed of the storage net port to be within a normal range as much as possible.
At present, when the net gape speed is restoreed storing in the production line, whether the current speed of net gape is normal is judged to the colour that staff's manual work observed net gape pilot lamp usually, if abnormal, then follow-up reason and the manual work of confirming the reduction of storage net gape speed through the manual work again restores, and this kind of mode is not only consuming time hard, is carrying out the quality of the difficult assurance product of the in-process of mass production moreover.
In summary, how to improve the repair efficiency of the storage network port rate and improve the product quality is a technical problem to be solved urgently by those skilled in the art.
Disclosure of Invention
In view of the above, an object of the present application is to provide a method, an apparatus, a device, and a computer-readable storage medium for repairing a storage network port rate, which are used to improve the repair efficiency of the storage network port rate and improve the quality of a product.
In order to achieve the above purpose, the present application provides the following technical solutions:
a method for repairing a storage network port rate comprises the following steps:
receiving a storage network port rate acquisition command;
acquiring a link data packet of a protocol layer of a storage network port, and acquiring the real-time rate of the storage network port from the link data packet;
judging whether the real-time speed of the storage network port is lower than the specification speed of the storage network port;
if yes, determining a storage network port speed reduction incentive according to the link data packet, and repairing the storage network port speed according to the storage network port speed reduction incentive.
Preferably, determining a storage network port speed reduction incentive according to the link data packet, and repairing the storage network port speed according to the storage network port speed reduction incentive includes:
if the storage network port speed reduction cause is determined to be network blockage, the link data packet is obtained after waiting for a preset time length, and the step of obtaining the real-time speed of the storage network port from the link data packet is executed;
if the storage network port speed reduction cause is determined to be that a fault occurs between the storage network port and the switch, repairing or resetting the fault between the storage network port and the switch;
if the storage network port speed reduction is determined to be induced to have a fault due to the network protocol automatic negotiation, the automatic negotiation of the network protocol is initiated, and the speed of the storage network port is repaired through the automatic negotiation of the network protocol.
Preferably, when acquiring the storage network interface protocol layer link data packet, the method further includes:
acquiring the current color of an indicator lamp at the storage net mouth;
correspondingly, when determining whether the real-time rate of the storage network port is lower than the specification rate of the storage network port, the method further includes:
judging whether the current color of the indicator light is the same as the specification color of the indicator light; the specification color of the indicator light corresponds to the rate of the storage net mouth which is the specification rate;
and if the real-time speed of the storage network port is lower than the specification speed of the storage network port and the current color of the indicator light is different from the specification color of the indicator light, determining that the storage network port is decelerated.
Preferably, after determining that the storage portal is slowed down, the method further includes:
and displaying the speed reduction inducement of the storage network port on a screen, and sending short messages or mails of the speed reduction of the storage network port to workers.
Preferably, if the real-time rate of the storage network port is equal to the specification rate of the storage network port and the current color of the indicator light is different from the specification color of the indicator light, the method further includes:
and displaying a prompt that the color display of the indicator light is incorrect on a screen.
A storage portal rate repair device, comprising:
the receiving module is used for receiving a storage network port rate acquisition command;
the first acquisition module is used for acquiring a link data packet of a protocol layer of the storage network port and acquiring the real-time rate of the storage network port from the link data packet;
the first judging module is used for judging whether the real-time speed of the storage network port is lower than the specification speed of the storage network port;
and the repairing module is used for determining a storage network port speed reduction incentive according to the link data packet and repairing the storage network port speed according to the storage network port speed reduction incentive if the real-time speed of the storage network port is determined to be lower than the specification speed of the storage network port.
Preferably, the repair module includes:
a first repairing unit, configured to, if it is determined that the storage network port speed reduction cause is network congestion, wait for a preset time period to obtain the link data packet, and perform the step of obtaining the real-time rate of the storage network port from the link data packet;
the second repair unit is used for repairing or resetting the fault between the storage network port and the switch if the storage network port speed reduction cause is determined to be the fault between the storage network port and the switch;
and the third repairing unit is used for initiating the auto-negotiation of the network protocol if the storage network port is determined to be slowed down and induce the fault caused by the auto-negotiation of the network protocol, so as to repair the speed of the storage network port through the auto-negotiation of the network protocol.
Preferably, the method further comprises the following steps:
the second acquisition module is used for acquiring the current color of the indicator light at the storage network port when acquiring a link data packet of a protocol layer of the storage network port;
the second judgment module is used for judging whether the current color of the indicator light is the same as the specification color of the indicator light when judging whether the real-time speed of the storage network port is lower than the specification speed of the storage network port; the specification color of the indicator light corresponds to the rate of the storage net mouth which is the specification rate;
and the determining module is used for determining that the storage network port is decelerated if the real-time speed of the storage network port is lower than the specification speed of the storage network port and the current color of the indicator lamp is different from the specification color of the indicator lamp.
A storage portal rate repair device, comprising:
a memory for storing a computer program;
a processor configured to implement the steps of the storage portal rate repair method according to any one of the above when executing the computer program.
A computer-readable storage medium having stored thereon a computer program which, when executed by a processor, carries out the steps of a storage portal rate repair method as claimed in any one of the preceding claims.
The application provides a method, a device, equipment and a computer readable storage medium for restoring a storage network port rate, wherein the method comprises the following steps: receiving a storage network port rate acquisition command; acquiring a link data packet of a protocol layer of a storage network port, and acquiring the real-time rate of the storage network port from the link data packet; judging whether the real-time speed of the storage network port is lower than the specification speed of the storage network port; if yes, determining a storage network port speed reduction incentive according to the link data packet, and repairing the storage network port speed according to the storage network port speed reduction incentive.
According to the technical scheme, after the storage network port speed obtaining command is received, the storage network port link data packet is obtained, the real-time speed of the storage network port is obtained from the link data packet, the storage network port speed reduction inducement is determined according to the link data packet when the real-time speed is judged to be lower than the specification speed, automatic restoration of the storage network port speed is achieved according to the determined storage network port speed reduction inducement, manual intervention is not needed, therefore, the efficiency of restoring the storage network port speed can be improved, the accuracy of restoration can be improved, and the quality of products can be improved.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings needed to be used in the description of the embodiments or the prior art will be briefly introduced below, it is obvious that the drawings in the following description are only embodiments of the present application, and for those skilled in the art, other drawings can be obtained according to the provided drawings without creative efforts.
Fig. 1 is a flowchart of a method for repairing a storage network port rate according to an embodiment of the present application;
fig. 2 is a flowchart of another method for repairing a storage network port rate according to an embodiment of the present disclosure;
fig. 3 is a schematic structural diagram of a storage network port rate repair apparatus according to an embodiment of the present disclosure;
fig. 4 is a schematic structural diagram of a storage network port rate repair device according to an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present application, and not all of the embodiments. 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 application.
Referring to fig. 1, which shows a flowchart of a method for repairing a storage portal rate according to an embodiment of the present application, a method for repairing a storage portal rate according to an embodiment of the present application may include:
s11: and receiving a storage network port rate acquisition command.
When the storage network port rate needs to be checked and detected, a storage network port rate acquisition command sent by a worker can be received.
S12: and acquiring a link data packet of a protocol layer of the storage network port, and acquiring the real-time rate of the storage network port from the link data packet.
After receiving the storage network port rate obtaining command, the link data packet of the storage network port protocol layer can be obtained, and the real-time rate of the storage network port is obtained from the obtained link data packet.
S13: judging whether the real-time speed of the storage network port is lower than the specification speed of the storage network port; if yes, go to step S14.
Comparing the obtained real-time rate of the storage network port with the specification rate of the storage network port, and judging whether the real-time rate of the storage network port is lower than the specification rate of the storage network port, if not, indicating that the storage network port is not decelerated, if so, indicating that the storage network port is decelerated, and at this time, executing step S14.
Compared with the method for judging whether the storage net port is decelerated through manually observing the indicator lamp in the prior art, the method for judging whether the storage net port is decelerated through acquiring the real-time speed of the storage net port and comparing the real-time speed of the storage net port with the specification speed of the storage net port can realize automatic judgment on whether the storage net port is decelerated, reduce the labor input cost, and have the characteristics of visual and accurate judgment and the like.
S14: and determining a storage network port speed reduction incentive according to the link data packet, and repairing the storage network port speed according to the storage network port speed reduction incentive.
After the storage network port is determined to be slowed down, the storage network port slowdown incentive can be determined according to the acquired link data packet, so that the storage network port slowdown incentive can be automatically analyzed and determined, and the efficiency and the accuracy of storage network port slowdown incentive analysis are improved.
After determining storage net gape deceleration inducement, can lure the reason to restore storage net gape speed according to the storage net gape deceleration that determines to the realization is restoreed the automation of storage net gape speed, thereby improves the prosthetic efficiency and the accuracy of storage net gape speed, and then improves the quality of product, and improves the stability of product work, and reduces the human input cost.
According to the technical scheme, after the storage network port speed obtaining command is received, the storage network port link data packet is obtained, the real-time speed of the storage network port is obtained from the link data packet, the storage network port speed reduction inducement is determined according to the link data packet when the real-time speed is judged to be lower than the specification speed, automatic restoration of the storage network port speed is achieved according to the determined storage network port speed reduction inducement, manual intervention is not needed, therefore, the efficiency of restoring the storage network port speed can be improved, the accuracy of restoration can be improved, and the quality of products can be improved.
Referring to fig. 2, a flowchart of another storage portal rate repair method provided in the embodiment of the present application is shown. The method for repairing a storage network port rate provided in an embodiment of the present application, determining a storage network port speed reduction incentive according to a link data packet, and repairing the storage network port rate according to the storage network port speed reduction incentive, may include:
s141: if the storage network port speed reduction cause is determined to be network blockage, obtaining a link data packet after waiting for a preset time length, and executing the step of obtaining the real-time speed of the storage network port from the link data packet;
s142: if the storage network port speed reduction is determined to be induced to cause the fault between the storage network port and the switch, repairing or resetting the fault between the storage network port and the switch;
s143: if the storage network port speed reduction is determined to be induced to have a fault due to the network protocol automatic negotiation, the automatic negotiation of the network protocol is initiated, and the speed of the storage network port is repaired through the automatic negotiation of the network protocol.
When step S14 is executed, if it is determined that the cause of the speed reduction of the storage network port is network congestion according to the link data packet, the link data packet may be acquired after waiting for a preset time period, and after the link data packet is acquired, the step of acquiring the real-time rate of the storage network port from the link data packet may be executed, and subsequent steps S13, S14, and the like may be executed; if the storage network port is determined to be slowed down because of the fault between the storage network port and the switch according to the link data packet, the health state between the storage network port and the switch can be automatically detected, and the fault between the storage network port and the switch can be automatically repaired or reset so as to automatically solve the fault between the storage network port and the switch, so that the real-time rate of the storage network port can reach the specification rate; if the storage network port speed reduction is determined to be induced to have a fault due to the network protocol automatic negotiation according to the link data packet, namely the storage network port speed reduction is caused by the network protocol automatic negotiation problem, the automatic negotiation of the network protocol can be automatically initiated to renegotiate the speed of the storage network port, so that the speed of the storage network port can be automatically repaired, and after the repair is completed, the subsequent flow can be normally carried out.
The above process not only can realize the automatic analysis of the storage network port speed reduction inducement, but also can realize the automatic restoration of the storage network port speed according to the storage network port speed reduction inducement, thereby improving the efficiency and the accuracy of the speed restoration of the storage network port and further improving the stability and the reliability of the work of the storage network port.
The method for repairing a storage network port rate provided in the embodiment of the present application, when acquiring a storage network port protocol layer link data packet, may further include:
acquiring the current color of an indicator lamp at a storage network port;
correspondingly, when determining whether the real-time rate of the storage port is lower than the specification rate of the storage port, the method may further include:
judging whether the current color of the indicator light is the same as the specification color of the indicator light; the specification color of the indicator light corresponds to the rate of the storage network port as the specification rate;
and if the real-time speed of the storage network port is lower than the specification speed of the storage network port and the current color of the indicator lamp is different from the specification color of the indicator lamp, determining that the storage network port is decelerated.
When a protocol layer link data packet of the storage network port is acquired, the current color of an indicator lamp at the storage network port can be acquired simultaneously, whether the current color of the indicator lamp is the same as the specification color of the indicator lamp is judged simultaneously when the real-time speed of the storage network port is judged to be lower than the specification speed of the storage network port, and if the current color of the indicator lamp is different from the specification color of the indicator lamp when the real-time speed of the storage network port is judged to be lower than the specification speed of the storage network port, the storage network port can be determined to be decelerated, wherein the specification color of the indicator lamp corresponds to the specification speed of the storage network port, namely, the color is the color corresponding to the normal speed of the storage network port and the normal indicator lamp.
The mode of judging whether the storage network port is decelerated or not by combining the real-time speed of the storage network port and the color of the indicator lamp has higher judgment accuracy.
The method for repairing the storage network port rate provided by the embodiment of the application, after determining that the storage network port is slowed down, may further include:
and displaying the speed reduction inducement of the storage network port on a screen, and sending short messages or mails of the speed reduction of the storage network port to workers.
After the storage network port is determined to be decelerated, the storage network port deceleration inducement can be displayed on a screen, and a short message or a mail for decelerating the storage network port can be sent to a worker, so that the worker can timely know the deceleration of the storage network port through the short message or the mail, and can timely know the specific storage network port deceleration inducement through the screen on a production line, thereby facilitating the worker to modify or adjust the production process and the like, and further facilitating the improvement of the product quality.
In the method for repairing a storage network port rate provided in an embodiment of the present application, if the real-time rate of the storage network port is equal to the specification rate of the storage network port and the current color of the indicator light is different from the specification color of the indicator light, the method may further include:
an indication that the indicator light is incorrectly displayed is displayed on the screen.
When carrying out storage net gape speed and pilot lamp colour and judging, if the real-time speed of storage net gape equals with the specification speed of storage net gape and the present colour of pilot lamp is inequality with the specification colour of pilot lamp, then can demonstrate the suggestion that the pilot lamp colour shows incorrectly on the screen to the staff can look over and maintain the pilot lamp etc. so that the pilot lamp can normally work.
An embodiment of the present application further provides a storage network port rate recovery apparatus, see fig. 3, which shows a schematic structural diagram of a storage network port rate recovery apparatus provided in an embodiment of the present application, and the storage network port rate recovery apparatus may include:
a receiving module 31, configured to receive a storage network port rate obtaining command;
a first obtaining module 32, configured to obtain a link data packet of a protocol layer of a storage network interface, and obtain a real-time rate of the storage network interface from the link data packet;
a first judging module 33, configured to judge whether the real-time rate of the storage network port is lower than a specification rate of the storage network port;
and the repairing module 34 is configured to determine a storage network port speed reduction incentive according to the link data packet if it is determined that the real-time speed of the storage network port is lower than the specification speed of the storage network port, and repair the storage network port speed according to the storage network port speed reduction incentive.
In an embodiment of the present application, a repair module 34 of a device for repairing a storage network port rate may include:
the first repairing unit is used for waiting for a preset time length to obtain a link data packet and executing the step of obtaining the real-time rate of the storage network port from the link data packet if the storage network port speed reduction incentive is determined to be network congestion;
the second repair unit is used for repairing or resetting the fault between the storage network port and the switch if the storage network port is determined to be decelerated and induced to be in fault between the storage network port and the switch;
and the third repair unit is used for initiating the auto-negotiation of the network protocol if the storage network port is determined to be slowed down and induce the failure due to the auto-negotiation of the network protocol, so as to repair the speed of the storage network port through the auto-negotiation of the network protocol.
The device for restoring the rate of the storage network port provided by the embodiment of the application can further comprise:
the second acquisition module is used for acquiring the current color of the indicator light at the storage network port when acquiring the link data packet of the protocol layer of the storage network port;
the second judgment module is used for judging whether the current color of the indicator light is the same as the specification color of the indicator light when judging whether the real-time speed of the storage network port is lower than the specification speed of the storage network port; the specification color of the indicator light corresponds to the rate of the storage network port as the specification rate;
and the determining module is used for determining that the storage network port is decelerated if the real-time speed of the storage network port is lower than the specification speed of the storage network port and the current color of the indicator lamp is different from the specification color of the indicator lamp.
The device for restoring the rate of the storage network port provided by the embodiment of the application can further comprise:
and the display module is used for displaying the speed reduction inducement of the storage network port on a screen after the speed reduction of the storage network port is determined, and sending short messages or mails of the speed reduction of the storage network port to workers.
The device for restoring the rate of the storage network port provided by the embodiment of the application can further comprise:
and the prompt module is used for displaying a prompt that the color of the indicator lamp is displayed incorrectly on the screen if the real-time speed of the storage network port is equal to the specification speed of the storage network port and the current color of the indicator lamp is different from the specification color of the indicator lamp.
An embodiment of the present application further provides a storage network port rate repair device, refer to fig. 4, which shows a schematic structural diagram of a storage network port rate repair device provided in an embodiment of the present application, and the storage network port rate repair device may include:
a memory 41 for storing a computer program;
the processor 42, when executing the computer program stored in the memory 41, may implement the following steps:
receiving a storage network port rate acquisition command; acquiring a link data packet of a protocol layer of a storage network port, and acquiring the real-time rate of the storage network port from the link data packet; judging whether the real-time speed of the storage network port is lower than the specification speed of the storage network port; if yes, determining a storage network port speed reduction incentive according to the link data packet, and repairing the storage network port speed according to the storage network port speed reduction incentive.
An embodiment of the present application further provides a computer-readable storage medium, on which a computer program is stored, where the computer program, when executed by a processor, can implement the following steps:
receiving a storage network port rate acquisition command; acquiring a link data packet of a protocol layer of a storage network port, and acquiring the real-time rate of the storage network port from the link data packet; judging whether the real-time speed of the storage network port is lower than the specification speed of the storage network port; if yes, determining a storage network port speed reduction incentive according to the link data packet, and repairing the storage network port speed according to the storage network port speed reduction incentive.
For a description of a relevant part in a storage network port rate recovery apparatus, a device, and a computer-readable storage medium provided in the embodiments of the present application, reference may be made to a detailed description of a corresponding part in a storage network port rate recovery method provided in the embodiments of the present application, and details are not repeated here.
It is noted that, herein, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Furthermore, 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 elements inherent in the list. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in a process, method, article, or apparatus that comprises the element. In addition, parts of the above technical solutions provided in the embodiments of the present application, which are consistent with the implementation principles of corresponding technical solutions in the prior art, are not described in detail so as to avoid redundant description.
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 (8)

1. A method for repairing a storage network port rate, comprising:
receiving a storage network port rate acquisition command;
acquiring a link data packet of a protocol layer of a storage network port, and acquiring the real-time rate of the storage network port from the link data packet;
judging whether the real-time speed of the storage network port is lower than the specification speed of the storage network port;
if yes, determining a storage network port speed reduction incentive according to the link data packet, and repairing the storage network port speed according to the storage network port speed reduction incentive;
determining a storage network port speed reduction incentive according to the link data packet, and repairing the storage network port speed according to the storage network port speed reduction incentive, wherein the method comprises the following steps:
if the storage network port speed reduction cause is determined to be network blockage, the link data packet is obtained after waiting for a preset time length, and the step of obtaining the real-time speed of the storage network port from the link data packet is executed;
if the storage network port speed reduction cause is determined to be that a fault occurs between the storage network port and the switch, repairing or resetting the fault between the storage network port and the switch;
if the storage network port speed reduction is determined to be induced to have a fault due to the network protocol automatic negotiation, the automatic negotiation of the network protocol is initiated, and the speed of the storage network port is repaired through the automatic negotiation of the network protocol.
2. The method according to claim 1, wherein when acquiring the link packet of the storage portal protocol layer, the method further comprises:
acquiring the current color of an indicator lamp at the storage net mouth;
correspondingly, when determining whether the real-time rate of the storage network port is lower than the specification rate of the storage network port, the method further includes:
judging whether the current color of the indicator light is the same as the specification color of the indicator light; the specification color of the indicator light corresponds to the rate of the storage net mouth which is the specification rate;
and if the real-time speed of the storage network port is lower than the specification speed of the storage network port and the current color of the indicator light is different from the specification color of the indicator light, determining that the storage network port is decelerated.
3. The method according to claim 2, further comprising, after determining that the storage portal is slowed down:
and displaying the speed reduction inducement of the storage network port on a screen, and sending short messages or mails of the speed reduction of the storage network port to workers.
4. The method according to claim 2, wherein if the real-time rate of the storage net port is equal to the specification rate of the storage net port and the current color of the indicator light is different from the specification color of the indicator light, the method further comprises:
and displaying a prompt that the color display of the indicator light is incorrect on a screen.
5. A storage portal rate repair device, comprising:
the receiving module is used for receiving a storage network port rate acquisition command;
the first acquisition module is used for acquiring a link data packet of a protocol layer of the storage network port and acquiring the real-time rate of the storage network port from the link data packet;
the first judging module is used for judging whether the real-time speed of the storage network port is lower than the specification speed of the storage network port;
a repair module, configured to determine a storage network port speed reduction cause according to the link data packet if it is determined that the real-time rate of the storage network port is lower than the specification rate of the storage network port, and repair the storage network port speed according to the storage network port speed reduction cause;
the repair module includes:
a first repairing unit, configured to, if it is determined that the storage network port speed reduction cause is network congestion, wait for a preset time period to obtain the link data packet, and perform the step of obtaining the real-time rate of the storage network port from the link data packet;
the second repair unit is used for repairing or resetting the fault between the storage network port and the switch if the storage network port speed reduction cause is determined to be the fault between the storage network port and the switch;
and the third repairing unit is used for initiating the auto-negotiation of the network protocol if the storage network port is determined to be slowed down and induce the fault caused by the auto-negotiation of the network protocol, so as to repair the speed of the storage network port through the auto-negotiation of the network protocol.
6. The storage portal rate repair device of claim 5, further comprising:
the second acquisition module is used for acquiring the current color of the indicator light at the storage network port when acquiring a link data packet of a protocol layer of the storage network port;
the second judgment module is used for judging whether the current color of the indicator light is the same as the specification color of the indicator light when judging whether the real-time speed of the storage network port is lower than the specification speed of the storage network port; the specification color of the indicator light corresponds to the rate of the storage net mouth which is the specification rate;
and the determining module is used for determining that the storage network port is decelerated if the real-time speed of the storage network port is lower than the specification speed of the storage network port and the current color of the indicator lamp is different from the specification color of the indicator lamp.
7. A storage portal rate repair device, comprising:
a memory for storing a computer program;
a processor for implementing the steps of the storage portal rate repair method of any of claims 1 to 4 when executing the computer program.
8. A computer-readable storage medium, having stored thereon a computer program which, when being executed by a processor, carries out the steps of the storage portal rate repair method according to any one of claims 1 to 4.
CN202010176121.7A 2020-03-13 2020-03-13 Method, device, equipment and medium for restoring storage network port rate Active CN111416754B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010176121.7A CN111416754B (en) 2020-03-13 2020-03-13 Method, device, equipment and medium for restoring storage network port rate

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010176121.7A CN111416754B (en) 2020-03-13 2020-03-13 Method, device, equipment and medium for restoring storage network port rate

Publications (2)

Publication Number Publication Date
CN111416754A CN111416754A (en) 2020-07-14
CN111416754B true CN111416754B (en) 2022-02-22

Family

ID=71493007

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010176121.7A Active CN111416754B (en) 2020-03-13 2020-03-13 Method, device, equipment and medium for restoring storage network port rate

Country Status (1)

Country Link
CN (1) CN111416754B (en)

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100438424C (en) * 2002-12-28 2008-11-26 鸿富锦精密工业(深圳)有限公司 Network equipment state information display system and method
CN103001808B (en) * 2012-12-24 2017-07-25 上海斐讯数据通信技术有限公司 A kind of port failure detection interchanger and implementation method
CN106533550A (en) * 2016-12-15 2017-03-22 郑州云海信息技术有限公司 Ten-gigabit network port detection tool and method
CN107508727B (en) * 2017-08-31 2020-11-27 苏州浪潮智能科技有限公司 Automatic network card information checking method and device
CN108933712A (en) * 2018-07-18 2018-12-04 郑州云海信息技术有限公司 A kind of acquisition methods and device of network connection state
CN108965062A (en) * 2018-08-07 2018-12-07 郑州云海信息技术有限公司 A kind of network interface test method, device, equipment and the storage medium of Onboard NIC

Also Published As

Publication number Publication date
CN111416754A (en) 2020-07-14

Similar Documents

Publication Publication Date Title
CN110648085B (en) Operation and maintenance method and system for comprehensive energy park
KR101822018B1 (en) Server for discriminating quality of welding integratingly and method for discriminating quality of welding integratingly thereof
CN110943894A (en) Message testing method and device
CN111416754B (en) Method, device, equipment and medium for restoring storage network port rate
CN111143325A (en) Data acquisition monitoring method, monitoring device and readable storage medium
CN106776911B (en) Method and system for optimizing lot exception handling caused by WAT machine alarm
CN114218430A (en) Remote cooperative equipment operation and maintenance system, method and device
JP2003241999A (en) Maintenance management system
CN108632109B (en) Network communication quality obtaining method, device and system
CN113220379B (en) Task processing method and device, electronic equipment and readable storage medium
CN111124818A (en) Monitoring method, device and equipment for Expander
CN112278014A (en) Train fault processing method and device
JP4893093B2 (en) Work instruction system, work instruction device, work instruction program, and work instruction method
CN107894425A (en) The defects of one kind is based on two-dimentional automatic optical detector detects accessory system
JP2000293411A (en) Device and method for fault management and recording medium
CN113269394A (en) Data processing method, device and equipment and readable storage medium
JP2018085796A (en) Test support method of protective relay, and protective relay
CN112348211A (en) Process diagnostic method, device, equipment and medium
CN112787883A (en) Method, device and equipment for detecting NAT (network Address translation) fault of equipment
CN110703730A (en) Data acquisition testing method and device based on MES
JP6794822B2 (en) production management system
JP5068351B2 (en) Network evaluation system, network evaluation method, and program
CN114464547A (en) Wafer inspection method, device, equipment and storage medium
JP4021874B2 (en) Fault management device
CN116224968A (en) Automatic diagnosis method and system for whole vehicle based on MES system

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