CN109962796B - Switch power-down warning method and device applied to railway video monitoring system - Google Patents

Switch power-down warning method and device applied to railway video monitoring system Download PDF

Info

Publication number
CN109962796B
CN109962796B CN201711408822.3A CN201711408822A CN109962796B CN 109962796 B CN109962796 B CN 109962796B CN 201711408822 A CN201711408822 A CN 201711408822A CN 109962796 B CN109962796 B CN 109962796B
Authority
CN
China
Prior art keywords
switch
detected
detection
remote
network interface
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
CN201711408822.3A
Other languages
Chinese (zh)
Other versions
CN109962796A (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.)
Beijing Century Oriental Zhihui Technology Co ltd
Original Assignee
Beijing Century Oriental Zhihui 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 Beijing Century Oriental Zhihui Technology Co ltd filed Critical Beijing Century Oriental Zhihui Technology Co ltd
Priority to CN201711408822.3A priority Critical patent/CN109962796B/en
Publication of CN109962796A publication Critical patent/CN109962796A/en
Application granted granted Critical
Publication of CN109962796B publication Critical patent/CN109962796B/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
    • 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
    • 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

Abstract

The invention discloses a switch power failure warning method and device applied to a railway video monitoring system. Wherein the method comprises the following steps: regularly detecting whether a remote IP of a network interface of a switch to be detected is online; obtaining a detection result of the far-end IP; and sending the detection result to an alarm server so that the alarm server sends a power failure alarm of the switch to be detected after judging that the detection results of all the remote IPs of the switch to be detected are offline. The device is used for executing the method. The switch power-down warning method and device applied to the railway video monitoring system provided by the invention reduce the detection cost of the switch.

Description

Switch power-down warning method and device applied to railway video monitoring system
Technical Field
The invention relates to the technical field of communication, in particular to a switch power failure warning method and device applied to a railway video monitoring system.
Background
With the gradual popularization of the comprehensive video monitoring system in the railway system, the importance of the monitoring system as an important security and protection technical means for railway transportation is increasingly shown. The railway digital comprehensive video monitoring system relates to various products and has high technical content, wherein the switch is important equipment for the railway comprehensive video monitoring system.
The switch can cause significant loss to existing traffic if it is powered down. At present, if the switch is powered off, operation and maintenance personnel can locate the failed switch by gradually checking the network, the method is large in workload and high in cost, or a monitor is used for checking the change of the power supply voltage to generate a power failure alarm of the switch, and the method needs to be provided with a detection circuit and is high in cost.
Therefore, how to provide a method to issue a power failure alarm to a failed switch and reduce the detection cost of the switch becomes an important issue to be solved urgently in the industry.
Disclosure of Invention
Aiming at the defects in the prior art, the invention provides a switch power failure warning method and device applied to a railway video monitoring system.
In a first aspect, the invention provides a switch power failure warning method applied to a railway video monitoring system, which comprises the following steps:
regularly detecting whether a remote IP of a network interface of a switch to be detected is online;
obtaining a detection result of the far-end IP;
and sending the detection result to an alarm server so that the alarm server sends a power failure alarm of the switch to be detected after judging that the detection results of all the remote IPs of the switch to be detected are offline.
In a second aspect, the present invention further provides a switch power failure warning method applied to a railway video monitoring system, including:
receiving detection results sent by a plurality of detection servers, wherein the detection results are obtained by the detection servers detecting whether the far-end IP of the network interface of the switch to be detected is on-line; wherein the remote IP is detected by a plurality of the detection servers;
and if judging that the detection results of all the remote IPs of the switch to be detected are offline, sending a power failure alarm of the switch to be detected.
In a third aspect, the present invention provides a detection server, including:
the detection unit is used for periodically detecting whether the far-end IP of the network interface of the switch to be detected is on line;
an obtaining unit, configured to obtain a detection result of the remote IP;
and the sending unit is used for sending the detection result to an alarm server so as to send the power failure alarm of the switch to be detected after the alarm server judges that the detection results of all the remote IPs of the switch to be detected are offline.
In a fourth aspect, the present invention provides an alert server, including:
the system comprises a receiving unit, a detecting unit and a processing unit, wherein the receiving unit is used for receiving detection results sent by a plurality of detection servers, and the detection results are obtained by the detection servers through detecting whether the far-end IP of a network interface of a switch to be detected is online or not; wherein the remote IP is detected by a plurality of the detection servers;
and the alarm unit is used for sending a power failure alarm of the switch to be detected after judging that the detection results of all the remote end IPs of the switch to be detected are offline.
In a fifth aspect, the present invention provides an electronic device, comprising: a processor, a memory, and a communication bus, wherein:
the processor and the memory are communicated with each other through the communication bus;
the memory stores program instructions executable by the processor, and the processor calls the program instructions to execute the following switch power-down warning method applied to the railway video monitoring system, provided by the embodiments:
the detection server periodically detects whether the far-end IP of the network interface of the switch to be detected is on-line;
the detection server obtains the detection result of the far-end IP;
and the detection server sends the detection result to an alarm server so that the alarm server sends a power failure alarm of the switch to be detected after judging that a plurality of detection results of all the remote IPs of the switch to be detected are offline.
In a sixth aspect, the present invention provides a non-transitory computer readable storage medium storing computer instructions for causing a computer to execute the following switch power down warning method applied to a railway video monitoring system as provided in the above embodiments:
the detection server periodically detects whether the far-end IP of the network interface of the switch to be detected is on-line;
the detection server obtains the detection result of the far-end IP;
and the detection server sends the detection result to an alarm server so that the alarm server sends a power failure alarm of the switch to be detected after judging that a plurality of detection results of all the remote IPs of the switch to be detected are offline.
The switch power-down warning method and the switch power-down warning equipment applied to the railway video monitoring system can regularly detect whether the far-end IP of the network interface of the switch to be detected is online or not and obtain the detection result of the far-end IP, and then send the detection result to the warning server, so that the warning server sends the switch to be detected power-down warning after judging that a plurality of detection results of all the far-end IPs of the switch to be detected are offline, and the detection cost of the switch is reduced.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, and it is obvious that the drawings in the following description are some embodiments of the present invention, and those skilled in the art can also obtain other drawings according to the drawings without creative efforts.
Fig. 1 is a schematic flow chart of a switch power-down warning method applied to a railway video monitoring system according to an embodiment of the present invention;
FIG. 2 is a schematic flow chart of a switch power-down warning method applied to a railway video monitoring system according to another embodiment of the present invention;
FIG. 3 is a schematic structural diagram of a detection server according to an embodiment of the present invention;
FIG. 4 is a schematic structural diagram of an alarm server according to an embodiment of the present invention;
FIG. 5 is a schematic physical structure diagram of an electronic device according to an embodiment of the invention;
fig. 6 is a schematic physical structure diagram of an electronic device according to another embodiment of the invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly described below with reference to the accompanying drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, but not all, embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Fig. 1 is a schematic flow chart of a switch power-down warning method applied to a railway video monitoring system according to an embodiment of the present invention, and as shown in fig. 1, the switch power-down warning method applied to the railway video monitoring system provided by the present invention includes:
s101, regularly detecting whether a remote IP of a network interface of a switch to be detected is online;
specifically, the detection server may periodically send a detection command, such as a ping command, to the switch to be detected to detect whether the far-end IP of the network interface of the switch to be detected is online. Wherein the period is set according to actual needs, for example, 500 milliseconds, and the embodiment of the present invention is not limited; the remote IP refers to an IP address of a device connected to the network interface of the switch to be tested via a network.
S102, obtaining a detection result of the far-end IP;
specifically, after the detection server sends a detection command to the switch to be detected periodically, a detection result of whether the remote IP is online may be obtained, for example, if the detection server does not receive feedback information of the switch to be detected within a preset time, the detection result is offline, which indicates that the switch to be detected is not connected to the device corresponding to the remote IP through the network; and if the detection server receives the feedback information of the switch to be detected within the preset time, the detection result is online, and the fact that the switch to be detected is connected with the device corresponding to the far-end IP through the network is indicated.
S103, sending the detection result to an alarm server so that the alarm server sends a power failure alarm of the switch to be detected after judging that the detection results of all the remote IPs of the switch to be detected are offline.
Specifically, after obtaining the detection result, the detection server sends the detection result to an alarm server through a network. The warning server can receive a plurality of detection results sent by the detection servers, a plurality of detection servers detect the far-end IPs, the warning server sends a power failure warning to the to-be-detected switch to the railway video monitoring system after judging that the detection results of all the far-end IPs of the to-be-detected switch are offline, and the power failure warning indicates that the to-be-detected switch is not in network connection with a device connected with the to-be-detected switch and has a fault.
The switch power-down warning method applied to the railway video monitoring system can regularly detect whether the far-end IP of the network interface of the switch to be detected is online or not and obtain the detection result of the far-end IP, and then send the detection result to the warning server, so that the warning server sends the switch to be detected power-down warning after judging that a plurality of detection results of all the far-end IPs of the switch to be detected are offline, and the detection cost of the switch is reduced.
On the basis of the foregoing embodiments, further, the periodically detecting whether the remote IP of the network interface of the switch to be tested is online includes:
and detecting whether the far-end IP of the network interface of the switch to be detected is on line every 1 s.
Specifically, the detection server detects the remote IP of the network interface of the switch to be detected once every 1 second when performing online detection. The detection is carried out every 1 second, no disturbance is formed on the railway video monitoring system, and consumed system resources are within a reasonable range.
On the basis of the foregoing embodiments, further, the periodically detecting whether the remote IP of the network interface of the switch to be tested is online includes:
and detecting whether a preset number of the remote IPs are online or not each time.
Specifically, the detection server detects a preset number of the remote IPs each time whether online detection is performed, where a value range of the preset number may be 5 to 10, and the preset number is set according to an actual situation, and the embodiment of the present invention is not limited.
Fig. 2 is a schematic flow chart of a switch power-down warning method applied to a railway video monitoring system according to another embodiment of the present invention, and as shown in fig. 2, the switch power-down warning method applied to the railway video monitoring system provided by the present invention includes:
s201, receiving detection results sent by a plurality of detection servers, wherein the detection results are obtained by the detection servers detecting whether the far-end IP of the network interface of the switch to be detected is on-line; wherein the remote IP is detected by a plurality of the detection servers;
specifically, the detection server may periodically send a detection command, such as a ping command, to the switch to be detected to detect whether the remote IP of the network interface of the switch to be detected is online, so as to obtain a detection result of whether the remote IP is online. The plurality of detection servers send the detection results to an alarm server, and the alarm server can receive the detection results sent by the plurality of detection servers. Wherein, the remote IP is detected by a plurality of the detection servers, that is, each remote IP has at least 2 detection results. The period is set according to actual needs, for example, 500 milliseconds, and the embodiment of the present invention is not limited.
For example, if the detection server does not receive the feedback information of the switch to be detected within a preset time, the detection result is offline, which indicates that the switch to be detected is not connected to the device corresponding to the remote IP through the network; and if the detection server receives the feedback information of the switch to be detected within the preset time, the detection result is online, and the fact that the switch to be detected is connected with the device corresponding to the far-end IP through the network is indicated.
S202, if the fact that the detection results of all the remote end IPs of the switch to be detected are offline is judged, a power failure alarm of the switch to be detected is sent out.
Specifically, after the alarm server obtains the detection results of all the remote IPs of the switch to be tested, if the detection results of each of the remote IPs of the switch to be tested are offline, it indicates that the switch to be tested is not in network connection with a device connected to the network thereof, and a fault occurs, the alarm server sends a power-down alarm of the switch to be tested to the railway video monitoring system.
According to the switch power-down warning method applied to the railway video monitoring system, the detection result of whether the far-end IP of the network interface of the switch to be detected is on line or not can be obtained regularly, and the switch to be detected is sent out power-down warning after the detection results of all the far-end IPs of the switch to be detected are judged to be off line, so that the detection cost of the switch is reduced.
Fig. 3 is a schematic structural diagram of a detection server according to an embodiment of the present invention, and as shown in fig. 3, the detection server provided by the present invention includes a detection unit 301, an obtaining unit 302, and a sending unit 303, where:
the detection unit 301 is configured to periodically detect whether a remote IP of a network interface of the switch to be detected is online; the obtaining unit 302 is configured to obtain a detection result of the remote IP; the sending unit 303 is configured to send the detection result to an alarm server, so that the alarm server sends a power failure alarm to the switch to be detected after determining that the multiple detection results of all the remote IPs of the switch to be detected are offline.
Specifically, the detection unit 301 may periodically send a detection command, such as a ping command, to the switch to be tested to detect whether the far-end IP of the network interface of the switch to be tested is online. Wherein the period is set according to actual needs, for example, 500 milliseconds, and the embodiment of the present invention is not limited; the remote IP refers to an IP address of a device connected to the network interface of the switch to be tested via a network.
After sending a detection command to the switch to be detected periodically, the obtaining unit 302 may obtain a detection result of whether the remote IP is online, for example, if the obtaining unit 302 does not receive the feedback information of the switch to be detected within a preset time, the detection result is offline, which indicates that the switch to be detected is not connected to the device corresponding to the remote IP through the network; if the obtaining unit 302 receives the feedback information of the switch to be tested within the preset time, the detection result is online, which indicates that the switch to be tested is connected to the device corresponding to the far-end IP through the network.
After obtaining the detection result, the sending unit 303 sends the detection result to an alarm server through a network. The warning server can receive detection results sent by the sending units 303, the remote IPs are multiple for each remote IP, the detection server detects the remote IP, the warning server sends a power failure warning to the railway video monitoring system after judging that the detection results of all the remote IPs of the switch to be detected are offline, and the power failure warning indicates that the switch to be detected is not in network connection with a device connected with the network, and a fault occurs.
According to the detection server provided by the invention, whether the far-end IP of the network interface of the switch to be detected is online or not can be periodically detected, the detection result of the far-end IP is obtained, and then the detection result is sent to the alarm server, so that the alarm server sends out the power-down alarm of the switch to be detected after judging that a plurality of detection results of all the far-end IPs of the switch to be detected are offline, and the detection cost of the switch is reduced.
On the basis of the foregoing embodiments, further, the detection unit 301 is specifically configured to:
and detecting the far-end IP of the network interface of the switch to be detected every 1 s.
Specifically, the detecting unit 301 detects the remote IP of the network interface of the switch to be detected once every 1 second when performing online detection. The detection is carried out every 1 second, no disturbance is formed on the railway video monitoring system, and consumed system resources are within a reasonable range.
On the basis of the foregoing embodiments, further, the detection unit 301 is specifically configured to:
detecting a preset number of the remote IPs each time.
Specifically, the detecting unit 301 detects a preset number of the remote IPs when performing online detection each time, where a value range of the preset number may be 5 to 10, and the preset number is set according to an actual situation, which is not limited in the embodiment of the present invention.
The detection server provided by the present invention is configured to execute the corresponding method flows provided by the above embodiments, and the specific processes are not described herein again.
Fig. 4 is a schematic structural diagram of an alarm server according to an embodiment of the present invention, and as shown in fig. 4, the alarm server provided in the present invention includes a receiving unit 401 and an alarm unit 402, where:
the receiving unit 401 is configured to receive detection results sent by multiple detection servers, where the detection results are obtained by the detection servers detecting whether a remote IP of a network interface of a switch to be detected is online; wherein the remote IP is detected by a plurality of the detection servers; the alarm unit 402 is configured to send a power down alarm to the switch to be tested after determining that the multiple detection results of all the remote IPs of the switch to be tested are offline.
Specifically, the detection server may periodically send a detection command, such as a ping command, to the switch to be detected to detect whether the remote IP of the network interface of the switch to be detected is online, so as to obtain a detection result of whether the remote IP is online. The plurality of detection servers send the detection results to the alert server, and the receiving unit 401 may receive the detection results sent by the plurality of detection servers. Wherein, the remote IP is detected by a plurality of the detection servers, that is, each remote IP has at least 2 detection results. The period is set according to actual needs, for example, 500 milliseconds, and the embodiment of the present invention is not limited.
After obtaining the detection results of all the remote IPs of the switch to be tested, if the detection results of each of the remote IPs of the switch to be tested are offline, it indicates that the switch to be tested is not in network connection with a device connected to the switch to be tested, and a fault occurs, the alarm unit 402 sends a power-down alarm to the railway video monitoring system for the switch to be tested.
According to the alarm server provided by the invention, the detection result of regularly detecting whether the far-end IP of the network interface of the switch to be detected is on-line can be obtained, and the power failure alarm of the switch to be detected is sent out after the detection results of all the far-end IPs of the switch to be detected are judged to be off-line, so that the detection cost of the switch is reduced.
The alarm server provided by the present invention is used for executing the corresponding method flows provided by the above embodiments, and the specific processes are not described herein again.
Fig. 5 is a schematic physical structure diagram of an electronic device according to an embodiment of the present invention, as shown in fig. 5, the electronic device includes a processor (processor)501, a memory (memory)502, and a communication bus 503;
the processor 501 and the memory 502 complete communication with each other through a communication bus 503;
the processor 501 is configured to call program instructions in the memory 502 to perform the following switch power down warning method applied to the railway video surveillance system, for example, including: regularly detecting whether a remote IP of a network interface of a switch to be detected is online; obtaining a detection result of the far-end IP; and sending the detection result to an alarm server so that the alarm server sends a power failure alarm of the switch to be detected after judging that the detection results of all the remote IPs of the switch to be detected are offline.
The present embodiments disclose a computer program product comprising a computer program stored on a non-transitory computer readable storage medium, the computer program comprising program instructions which, when executed by a computer, the computer is capable of performing a switch power down warning method applied to a railway video surveillance system, for example, comprising: obtaining a detection result of the far-end IP; and sending the detection result to an alarm server so that the alarm server sends a power failure alarm of the switch to be detected after judging that the detection results of all the remote IPs of the switch to be detected are offline.
The present embodiments provide a non-transitory computer readable storage medium storing computer instructions that cause the computer to perform a switch power down warning method applied to a railway video surveillance system, for example, comprising: obtaining a detection result of the far-end IP; and sending the detection result to an alarm server so that the alarm server sends a power failure alarm of the switch to be detected after judging that the detection results of all the remote IPs of the switch to be detected are offline.
Fig. 6 is a schematic physical structure diagram of an electronic device according to another embodiment of the present invention, as shown in fig. 6, the electronic device includes a processor (processor)601, a memory (memory)602, and a communication bus 603;
the processor 601 and the memory 602 complete communication with each other through a communication bus 603;
the processor 601 is configured to call the program instructions in the memory 602 to execute the following power down warning method for the switch of the railway video surveillance system, for example, including: receiving detection results sent by a plurality of detection servers, wherein the detection results are obtained by the detection servers detecting whether the far-end IP of the network interface of the switch to be detected is on-line; wherein the remote IP is detected by a plurality of the detection servers; and if judging that the detection results of all the remote IPs of the switch to be detected are offline, sending a power failure alarm of the switch to be detected.
The present embodiments disclose a computer program product comprising a computer program stored on a non-transitory computer readable storage medium, the computer program comprising program instructions which, when executed by a computer, the computer is capable of performing a switch power down warning method applied to a railway video surveillance system, for example, comprising: receiving detection results sent by a plurality of detection servers, wherein the detection results are obtained by the detection servers detecting whether the far-end IP of the network interface of the switch to be detected is on-line; wherein the remote IP is detected by a plurality of the detection servers; and if judging that the detection results of all the remote IPs of the switch to be detected are offline, sending a power failure alarm of the switch to be detected.
The present embodiments provide a non-transitory computer readable storage medium storing computer instructions that cause the computer to perform a switch power down warning method applied to a railway video surveillance system, for example, comprising: receiving detection results sent by a plurality of detection servers, wherein the detection results are obtained by the detection servers detecting whether the far-end IP of the network interface of the switch to be detected is on-line; wherein the remote IP is detected by a plurality of the detection servers; and if judging that the detection results of all the remote IPs of the switch to be detected are offline, sending a power failure alarm of the switch to be detected.
In addition, the logic instructions in the memory may be implemented in the form of software functional units and may be stored in a computer readable storage medium when sold or used as a stand-alone product. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium and includes instructions for causing a computer (which may be a personal computer, an apparatus, or a network device) to execute all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes.
The above-described embodiments of the apparatus are merely illustrative, and the units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of the present embodiment. One of ordinary skill in the art can understand and implement it without inventive effort.
Through the above description of the embodiments, those skilled in the art will clearly understand that each embodiment can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware. With this understanding in mind, the above-described technical solutions may be embodied in the form of a software product, which can be stored in a computer-readable storage medium such as ROM/RAM, magnetic disk, optical disk, etc., and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to execute the methods described in the embodiments or some parts of the embodiments.
Finally, it should be noted that: the above examples are only intended to illustrate the technical solution of the present invention, but not to limit it; although the present invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; and such modifications or substitutions do not depart from the spirit and scope of the corresponding technical solutions of the embodiments of the present invention.

Claims (8)

1. A switch power failure warning method applied to a railway video monitoring system is characterized by comprising the following steps:
regularly detecting whether a remote IP of a network interface of a switch to be detected is online;
obtaining a detection result of the far-end IP;
sending the detection result to an alarm server so that the alarm server sends a power-down alarm of the switch to be detected after judging that a plurality of detection results of all the remote IPs of the switch to be detected are offline;
the periodically detecting whether the far-end IP of the network interface of the switch to be detected is on line comprises the following steps: detecting whether a preset number of the remote IPs are online or not each time;
the remote IP refers to an IP address of a device connected to the network interface of the switch to be tested via a network.
2. The method of claim 1, wherein the periodically detecting whether the remote IP of the network interface of the switch under test is online comprises:
and detecting whether the far-end IP of the network interface of the switch to be detected is on line every 1 second.
3. A switch power failure warning method applied to a railway video monitoring system is characterized by comprising the following steps:
receiving detection results sent by a plurality of detection servers, wherein the detection results are obtained by the detection servers detecting whether the far-end IP of the network interface of the switch to be detected is on-line; wherein the remote IP is detected by a plurality of the detection servers;
if judging that a plurality of detection results of all the remote IPs of the switch to be detected are offline, sending a power failure alarm of the switch to be detected;
the detection server detecting whether the far-end IP of the network interface of the switch to be detected is on-line comprises the following steps: detecting whether a preset number of the remote IPs are online or not each time;
the remote IP refers to an IP address of a device connected to the network interface of the switch to be tested via a network.
4. A detection server, comprising:
the detection unit is used for periodically detecting whether the far-end IP of the network interface of the switch to be detected is on line;
an obtaining unit, configured to obtain a detection result of the remote IP;
the sending unit is used for sending the detection result to an alarm server so that the alarm server sends a power-down alarm of the switch to be detected after judging that the detection results of all the remote IPs of the switch to be detected are offline;
the detection unit is specifically configured to: detecting a preset number of the remote IPs each time;
the periodically detecting whether the far-end IP of the network interface of the switch to be detected is on line comprises the following steps: detecting whether a preset number of the remote IPs are online or not each time;
the remote IP refers to an IP address of a device connected to the network interface of the switch to be tested via a network.
5. The detection server according to claim 4, wherein the detection unit is specifically configured to:
and detecting whether the far-end IP of the network interface of the switch to be detected is on line every 1 second.
6. An alert server, comprising:
the system comprises a receiving unit, a detecting unit and a processing unit, wherein the receiving unit is used for receiving detection results sent by a plurality of detection servers, and the detection results are obtained by the detection servers through detecting whether the far-end IP of a network interface of a switch to be detected is online or not; wherein the remote IP is detected by a plurality of the detection servers;
the alarm unit is used for sending a power-down alarm of the switch to be detected after judging that a plurality of detection results of all the remote IPs of the switch to be detected are offline;
the detection server detecting whether the far-end IP of the network interface of the switch to be detected is on-line comprises the following steps: detecting whether a preset number of the remote IPs are online or not each time;
the remote IP refers to an IP address of a device connected to the network interface of the switch to be tested via a network.
7. An electronic device, comprising: a processor, a memory, and a communication bus, wherein:
the processor and the memory are communicated with each other through the communication bus;
the memory stores program instructions executable by the processor, the processor invoking the program instructions to perform the method of any of claims 1 to 2.
8. A non-transitory computer-readable storage medium storing computer instructions that cause a computer to perform the method of any one of claims 1-2.
CN201711408822.3A 2017-12-22 2017-12-22 Switch power-down warning method and device applied to railway video monitoring system Active CN109962796B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201711408822.3A CN109962796B (en) 2017-12-22 2017-12-22 Switch power-down warning method and device applied to railway video monitoring system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711408822.3A CN109962796B (en) 2017-12-22 2017-12-22 Switch power-down warning method and device applied to railway video monitoring system

Publications (2)

Publication Number Publication Date
CN109962796A CN109962796A (en) 2019-07-02
CN109962796B true CN109962796B (en) 2022-05-03

Family

ID=67019791

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711408822.3A Active CN109962796B (en) 2017-12-22 2017-12-22 Switch power-down warning method and device applied to railway video monitoring system

Country Status (1)

Country Link
CN (1) CN109962796B (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN204731725U (en) * 2015-07-17 2015-10-28 浪潮电子信息产业股份有限公司 A kind of cluster power down self-inspection Self-Protection Subsystem
CN105044514A (en) * 2015-07-27 2015-11-11 兖州煤业股份有限公司 Switch power supply state monitoring system

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6487208B1 (en) * 1999-09-09 2002-11-26 International Business Machines Corporation On-line switch diagnostics
US7185045B2 (en) * 2002-07-15 2007-02-27 Sixnet, Llc Ethernet interface device for reporting status via common industrial protocols
JP4148931B2 (en) * 2004-08-16 2008-09-10 富士通株式会社 Network system, monitoring server, and monitoring server program
CN101917305B (en) * 2010-08-20 2012-01-11 迈普通信技术股份有限公司 Method for automatically checking topology in automatic test and automatic test system
US9135097B2 (en) * 2012-03-27 2015-09-15 Oracle International Corporation Node death detection by querying

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN204731725U (en) * 2015-07-17 2015-10-28 浪潮电子信息产业股份有限公司 A kind of cluster power down self-inspection Self-Protection Subsystem
CN105044514A (en) * 2015-07-27 2015-11-11 兖州煤业股份有限公司 Switch power supply state monitoring system

Also Published As

Publication number Publication date
CN109962796A (en) 2019-07-02

Similar Documents

Publication Publication Date Title
CN103227662B (en) A kind of electric power communication device safety detection method based on mode control and system
CN104486155A (en) Database cluster monitoring method and system
US20140056126A1 (en) Method and system for providing fault isolation for a service path in an ethernet-based network
CN102932170B (en) Network element load inequality detection processing method, device and system thereof
CN111026794A (en) Data management method, device, equipment and medium based on data source
CN104954190A (en) Method and device for detecting faults of application server
CN109962796B (en) Switch power-down warning method and device applied to railway video monitoring system
CN103905271B (en) A kind of alarm windstorm suppressing method
CN105025179A (en) Method and system for monitoring service agents of call center
CN111147542A (en) Secret-free access setting method, device, equipment and medium
JP2010015246A (en) Failure information analysis management system
CN110752972A (en) Network card state monitoring method, device, equipment and medium
CN109699041B (en) RRU channel fault diagnosis processing method, device and computer storage medium
CN106027297A (en) Method and sever for implementing alarming
CN108879954A (en) Controller switching equipment management method, device and power distribution server
CN110377450A (en) A kind of hardware anomalies processing method, system and associated component
WO2014040470A1 (en) Alarm message processing method and device
CN114661507A (en) Data processing method and device based on time-associated data and electronic equipment
CN113300918A (en) Fault detection method of intelligent lamp pole, terminal device and storage medium
JP5126137B2 (en) Network management system and program
CN104320288A (en) Broadband network fault detection method
CN104581662A (en) Short message alarming method and system
CN115333975B (en) Transformer substation fault processing system and fault processing method
CN116991620B (en) Solution determining method, device, equipment and medium
US20230147123A1 (en) Method and system to determine electrical faults

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
CB02 Change of applicant information

Address after: 102600 Beijing Daxing District Zhongguancun Science and Technology Park Daxing Biomedical Industry Base, No. 1 Building, 21 Tianrong Street

Applicant after: Beijing Century Oriental Zhihui Technology Co.,Ltd.

Address before: 102600 Beijing Daxing District Zhongguancun Science and Technology Park Daxing Biomedical Industry Base, No. 1 Building, 21 Tianrong Street

Applicant before: BEIJING CENTURY DONGFANG COMMUNICATION EQUIPMENT Co.,Ltd.

CB02 Change of applicant information
GR01 Patent grant
GR01 Patent grant