CN114205277A - Equipment fault monitoring method, device and equipment based on Modbus protocol - Google Patents

Equipment fault monitoring method, device and equipment based on Modbus protocol Download PDF

Info

Publication number
CN114205277A
CN114205277A CN202111543813.1A CN202111543813A CN114205277A CN 114205277 A CN114205277 A CN 114205277A CN 202111543813 A CN202111543813 A CN 202111543813A CN 114205277 A CN114205277 A CN 114205277A
Authority
CN
China
Prior art keywords
detected
real
communication equipment
communication
time
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202111543813.1A
Other languages
Chinese (zh)
Inventor
孙皓林
袁振江
邢志
白明明
张瑞森
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Guotie Huachen Communication Technology Co ltd
Original Assignee
Beijing Guotie Huachen Communication 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 Guotie Huachen Communication Technology Co ltd filed Critical Beijing Guotie Huachen Communication Technology Co ltd
Priority to CN202111543813.1A priority Critical patent/CN114205277A/en
Publication of CN114205277A publication Critical patent/CN114205277A/en
Pending legal-status Critical Current

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/50Testing arrangements
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01RMEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
    • G01R19/00Arrangements for measuring currents or voltages or for indicating presence or sign thereof
    • G01R19/04Measuring peak values or amplitude or envelope of ac or of pulses
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01RMEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
    • G01R31/00Arrangements for testing electric properties; Arrangements for locating electric faults; Arrangements for electrical testing characterised by what is being tested not provided for elsewhere
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/40Bus networks
    • H04L12/40006Architecture of a communication node
    • 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/0677Localisation of faults
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/40Bus networks
    • H04L2012/40208Bus networks characterized by the use of a particular bus standard
    • H04L2012/40228Modbus

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Power Engineering (AREA)
  • Maintenance And Management Of Digital Transmission (AREA)

Abstract

The application discloses a method, a device and equipment for monitoring equipment faults based on a Modbus protocol, and relates to the technical field of communication. The method comprises the following steps: according to a Modbus protocol, acquiring state information of the communication equipment to be detected and real-time working parameters of the communication equipment to be detected; analyzing real-time working parameters of the communication equipment to be detected, and determining change information corresponding to the real-time working parameters; and determining whether the communication equipment to be detected fails according to the change information corresponding to the real-time working parameters and the state information of the communication equipment to be detected. The method comprises the steps that real-time acquisition of operation data of communication equipment to be detected is achieved according to a Modbus protocol, and early warning is carried out on possible problems of the equipment in advance; according to the change information corresponding to the real-time working parameters and the state information of the communication equipment to be detected, whether the communication equipment to be detected breaks down or not is quickly and accurately determined, the working intensity of the machine room inspection personnel is reduced, and the monitoring force of the communication equipment to be detected is improved.

Description

Equipment fault monitoring method, device and equipment based on Modbus protocol
Technical Field
The application relates to the technical field of communication, in particular to a method, a device and equipment for monitoring equipment faults based on a Modbus protocol.
Background
Usually, a plurality of communication machine rooms are built along the railway to ensure that the mobile terminals along the railway can normally communicate. Most communication equipment in the communication machine room needs manual maintenance, hidden danger problems existing in the communication equipment are not easy to find, and monitoring efficiency of the communication equipment is not high.
In the existing monitoring mode for a communication machine room, an upper computer is mostly adopted to carry out independent monitoring on a certain communication device, monitoring data obtained by operation and maintenance personnel are simple and visual, long-term operation data of the communication device cannot be obtained, then early warning cannot be carried out on fault information corresponding to the communication device, and monitoring strength on the communication device is reduced.
Disclosure of Invention
Therefore, the application provides a method, a device and equipment for monitoring equipment faults based on a Modbus protocol, and solves the problem of how to improve fault detection of the equipment in a communication machine room along a railway.
In order to achieve the above object, a first aspect of the present application provides a device fault monitoring method based on a Modbus protocol, where the method includes: according to a Modbus protocol, acquiring state information of the communication equipment to be detected and real-time working parameters of the communication equipment to be detected; analyzing real-time working parameters of the communication equipment to be detected, and determining change information corresponding to the real-time working parameters; and determining whether the communication equipment to be detected fails according to the change information corresponding to the real-time working parameters and the state information of the communication equipment to be detected.
In some implementations, the communication device to be detected includes a switching power supply module, and the status information of the communication device to be detected includes power supply status information of the switching power supply module;
according to the Modbus protocol, the state information of the communication equipment to be detected is acquired, and the method comprises the following steps:
determining a first transmission format corresponding to the power state information of the switching power supply module according to a Modbus protocol;
and acquiring the power state information transmitted in the first transmission format through a preset interface between the power state information and the communication equipment to be detected.
In some specific implementations, determining whether the communication device to be detected fails according to the change information corresponding to the real-time operating parameter and the status information of the communication device to be detected includes:
determining whether the communication equipment to be detected fails or not according to the change information corresponding to the real-time working parameters and the power supply state information of the switching power supply module;
the real-time working parameters are parameters reported by the communication equipment to be detected under the condition that the communication equipment to be detected continuously operates for a first preset time.
In some implementations, the communication device to be detected includes: a plurality of communication boards; the state information of the communication equipment to be detected comprises the installation state of the communication board card;
according to the Modbus protocol, the state information of the communication equipment to be detected is acquired, and the method comprises the following steps:
determining a second transmission format corresponding to the installation states of the plurality of communication board cards according to a Modbus protocol;
and acquiring the installation states of the plurality of communication board cards transmitted in the second transmission format through a preset interface between the communication board cards and the communication equipment to be detected.
In some specific implementations, determining whether the communication device to be detected fails according to the change information corresponding to the real-time operating parameter and the status information of the communication device to be detected includes:
determining whether the communication equipment to be detected fails or not according to the change information corresponding to the real-time working parameters and the installation states of the plurality of communication board cards;
the real-time working parameters are obtained under the condition that at least one communication board card is installed in the communication equipment to be detected.
In some implementations, the real-time operating parameters of the communication device to be detected include: real-time voltage information and/or real-time current information;
analyzing the real-time working parameters of the communication equipment to be detected, and determining the change information corresponding to the real-time working parameters, wherein the change information comprises the following steps:
performing curve analysis on the real-time voltage information, and determining the voltage peak value change information of the communication equipment to be detected within a second preset time;
and/or the presence of a gas in the gas,
and carrying out curve analysis on the real-time current information, and determining current peak value change information of the communication equipment to be detected in a third preset time period.
In some implementations, a switching power supply module includes: an Uninterruptible Power Supply (UPS) or a storage battery module;
the status information of the communication device to be detected further includes: the continuous service time of the UPS, or the service time information of the storage battery module.
In some specific implementations, after determining whether the communication device to be detected has a fault according to the change information corresponding to the real-time operating parameter and the state information of the communication device to be detected, the method further includes:
determining the failure frequency of the communication equipment to be detected within a fourth preset time under the condition that the communication equipment to be detected fails;
determining the service life of the UPS according to the failure times and the continuous service life of the UPS; or the like, or, alternatively,
and determining the service life of the storage battery module according to the failure times and the service life information of the storage battery module.
In order to achieve the above object, a second aspect of the present application provides a fault monitoring device, including: the acquisition module is configured to acquire the state information of the communication equipment to be detected and the real-time working parameters of the communication equipment to be detected according to a Modbus protocol; the analysis module is configured to analyze real-time working parameters of the communication equipment to be detected and determine change information corresponding to the real-time working parameters; and the fault determining module is configured to determine whether the communication equipment to be detected has a fault according to the change information corresponding to the real-time working parameters and the state information of the communication equipment to be detected.
In order to achieve the above object, a third aspect of the present application provides an electronic apparatus comprising: one or more processors; and a memory, on which one or more programs are stored, which, when executed by the one or more processors, cause the one or more processors to implement the Modbus protocol-based device fault monitoring method of the present application.
According to the method, the device and the equipment for monitoring the equipment fault based on the Modbus protocol, the state information of the communication equipment to be detected and the real-time working parameters of the communication equipment to be detected are obtained according to the Modbus protocol, so that the real-time acquisition of the operation data of the communication equipment to be detected is realized, and the possible problems of the equipment are pre-warned in advance; analyzing the real-time working parameters of the communication equipment to be detected, determining the change information corresponding to the real-time working parameters, and highlighting the problem that the change is slight but not easy to be perceived in daily maintenance; according to the change information corresponding to the real-time working parameters and the state information of the communication equipment to be detected, whether the communication equipment to be detected breaks down or not can be quickly and accurately determined, the working intensity of the machine room inspection personnel is reduced, the monitoring strength of the communication equipment to be detected is improved, and normal operation of the equipment in the communication machine room along the railway can be guaranteed.
Drawings
The accompanying drawings are included to provide a further understanding of the embodiments of the application and are incorporated in and constitute a part of this specification, illustrate embodiments of the application and together with the description serve to explain the principles of the application. The above and other features and advantages will become more apparent to those skilled in the art by describing in detail exemplary embodiments with reference to the attached drawings. The present application includes the following figures.
Fig. 1 is a schematic flowchart illustrating a method for monitoring a device fault based on a Modbus protocol according to an embodiment of the present application.
Fig. 2 is a schematic flowchart illustrating a method for monitoring a device fault based on a Modbus protocol according to another embodiment of the present application.
Fig. 3 shows a block diagram of a fault monitoring apparatus according to an embodiment of the present application.
Fig. 4 shows a block diagram of a device fault monitoring system based on a Modbus protocol according to an embodiment of the present application.
Fig. 5 is a schematic flowchart illustrating an operating method of a device fault monitoring system based on a Modbus protocol according to an embodiment of the present application.
Fig. 6 is a block diagram illustrating an exemplary hardware architecture of an electronic device that may implement the Modbus protocol-based device fault monitoring method and apparatus according to an embodiment of the present application.
Detailed Description
The following detailed description of embodiments of the present application will be made with reference to the accompanying drawings. It should be understood that the detailed description and specific examples, while indicating the present application, are given by way of illustration and explanation only, and are not intended to limit the present application. It will be apparent to one skilled in the art that the present application may be practiced without some of these specific details. The following description of the embodiments is merely intended to provide a better understanding of the present application by illustrating examples thereof.
To make the objects, technical solutions and advantages of the present application more clear, embodiments of the present application will be described in further detail below with reference to the accompanying drawings.
Fig. 1 is a schematic flowchart illustrating a method for monitoring a device fault based on a Modbus protocol according to an embodiment of the present application. The method can be applied to a fault monitoring device. As shown in FIG. 1, the Modbus protocol-based device fault monitoring method includes, but is not limited to, the following steps.
And S101, acquiring the state information of the communication equipment to be detected and the real-time working parameters of the communication equipment to be detected according to a Modbus protocol.
The field bus technology (Modbus) protocol is a serial communication protocol, and is used for realizing interaction of communication information between different electronic devices.
For example, through the Modbus protocol, the controllers (e.g., fault monitoring devices) can communicate with each other and with other devices (e.g., communication devices to be detected) via a network (e.g., ethernet), so that control devices produced by different manufacturers can form a communication network to monitor the communication devices to be detected in real time.
Step S102, analyzing the real-time working parameters of the communication equipment to be detected, and determining the change information corresponding to the real-time working parameters.
The real-time working parameters of the communication equipment to be detected can be subjected to curve analysis or abnormal data fluctuation analysis, the change information corresponding to the real-time working parameters can be clearly and definitely observed, and the rapid positioning of abnormal conditions is promoted.
And step S103, determining whether the communication equipment to be detected fails according to the change information corresponding to the real-time working parameters and the state information of the communication equipment to be detected.
The change information corresponding to the real-time working parameters and the state information of the communication equipment to be detected are combined, so that the change condition of the real-time working parameters when the communication equipment to be detected is in different states can be determined, whether the communication equipment to be detected breaks down or not is determined, some slightly changed problems of the communication equipment to be detected are exposed, and the detection accuracy of the communication equipment to be detected is improved.
In this embodiment, the real-time acquisition of the operating data of the communication device to be detected is realized by acquiring the state information of the communication device to be detected and the real-time working parameters of the communication device to be detected according to the Modbus protocol, so as to early warn possible problems of the device in advance; analyzing the real-time working parameters of the communication equipment to be detected, determining the change information corresponding to the real-time working parameters, and highlighting the problem that the change is slight but not easy to be perceived in daily maintenance; according to the change information corresponding to the real-time working parameters and the state information of the communication equipment to be detected, whether the communication equipment to be detected breaks down or not can be quickly and accurately determined, the working intensity of the machine room inspection personnel is reduced, the monitoring strength of the communication equipment to be detected is improved, and normal operation of the equipment in the communication machine room along the railway can be guaranteed.
In some implementations, the communication device to be detected includes: the switching power supply module and/or the plurality of communication boards.
For example, the communication equipment to be detected comprises a switch power supply module and a plurality of communication boards, namely the plurality of communication boards need the switch power supply module to provide corresponding power for the communication boards, so that each communication board can normally work, and the communication equipment to be detected can provide multi-dimensional and all-directional service for the terminal.
Fig. 2 is a schematic flowchart illustrating a method for monitoring a device fault based on a Modbus protocol according to another embodiment of the present application. The method can be applied to a fault monitoring device. The difference between this embodiment and the previous embodiment is: the communication equipment to be detected comprises a switch power supply module, and the state information of the communication equipment to be detected comprises the power supply state information of the switch power supply module. By detecting the power state information of the switch power module, whether the communication equipment to be detected works normally or not can be determined, so that the detection accuracy of the communication equipment to be detected is improved.
As shown in FIG. 2, the Modbus protocol-based device fault monitoring method includes, but is not limited to, the following steps.
Step S201, according to the Modbus protocol, a first transmission format corresponding to the power state information of the switching power supply module is determined.
Wherein, the power state information of the switching power supply module comprises: an on state or an off state. The first transmission format may include: a transmission format determined based on American Standard Code for Information Interchange (ASCII) or a transmission format based on Remote Terminal Unit (RTU).
For example, the transmission format determined based on ASCII may include: a destination address (a network address of the fault monitoring device), a source address (a network address of the switching power supply module), power state information of the switching power supply module, Longitudinal Redundancy Check (LRC) information, and the like.
As another example, an RTU based transmission format may include: a target address (a network address of the fault monitoring device), a source address (a network address of the switching power supply module), power state information of the switching power supply module, Cyclic Redundancy Check (CRC) information, and the like.
The power supply state information of the switching power supply module is transmitted through different transmission formats so as to meet the configuration requirement of the fault monitoring device and accelerate the transmission efficiency of the power supply state information.
It should be noted that, when the communication based on the Modbus protocol is performed between the fault monitoring device and the communication device to be detected, the transmission mode and the serial port parameter of the two devices need to be set identically, for example, the serial port communication parameters (such as baud rate, verification mode, etc.) of the two devices can be configured as the same parameters, so that the two devices can perform normal communication, and the power state information of the switching power supply module in the communication device to be detected can be obtained in time.
Step S202, acquiring the power state information transmitted in the first transmission format through a preset interface between the communication equipment to be detected and the power state information.
The preset interface is a communication interface preset between the fault monitoring device and the communication equipment to be detected. For example, the preset interface may include a serial communication interface (e.g., an RS485 interface or an RS232 interface, etc.).
Based on a specific preset interface, the power state information transmitted in the first transmission format is acquired, the leakage proportion of the power state information can be reduced, and the safety of data transmission is improved.
Step S203, acquiring real-time working parameters of the communication equipment to be detected.
The real-time working parameters are parameters reported by the communication equipment to be detected under the condition that the communication equipment to be detected continuously operates for a first preset time.
For example, the first preset time duration is 2 hours, and the real-time working condition of the communication equipment to be detected can be determined by acquiring the real-time working parameters of the communication equipment to be detected in the process of continuously operating for 2 hours, so as to determine whether the communication equipment to be detected is in a normal working state.
Step S204, analyzing the real-time working parameters of the communication equipment to be detected, and determining the change information corresponding to the real-time working parameters.
It should be noted that step S204 in this embodiment is the same as step S102 in the previous embodiment, and is not repeated herein.
And step S205, determining whether the communication equipment to be detected fails according to the change information corresponding to the real-time working parameters and the power state information of the switching power supply module.
For example, if the switching power supply module is in a power-on state but the real-time voltage suddenly drops or rises, it is determined that the communication device to be detected fails; otherwise, determining that the communication equipment to be detected has no fault.
In this embodiment, through with wait to detect the interface of predetermineeing between the communication equipment, make the fault monitoring device can treat to detect the switching power supply module of communication equipment and carry out incessant control continuously (for example, the fault monitoring device treats to detect the switching power supply module of communication equipment and carries out incessant continuous control for 24 hours) based on the Modbus agreement, make the relevant data of waiting to detect the communication equipment that acquire more accurate, the real-time is better, make things convenient for follow-up trouble that the communication equipment that treats probably appears to in time judge, thereby make the early warning, the normal work of communication equipment that the guarantee is waited to detect.
The embodiment of the present application provides another possible implementation manner, where the communication device to be detected includes: a plurality of communication boards; the state information of the communication equipment to be detected comprises the installation state of the communication board card; in step S101, acquiring status information of the communication device to be detected according to a Modbus protocol, including: determining a second transmission format corresponding to the installation states of the plurality of communication board cards according to a Modbus protocol; and acquiring the installation states of the plurality of communication board cards transmitted in the second transmission format through a preset interface between the communication board cards and the communication equipment to be detected.
The second transmission format is a data transmission format which is matched with a Modbus protocol and is only used for transmitting the installation state of the communication board card.
For example, the second transmission format may include the following information: the target address (the network address of the fault monitoring device), the source address (the network address of the communication equipment to be detected), the installation state of the first communication board, the installation state of the second communication board, … …, the installation state of the nth communication board, the LRC information and the like. And N represents the number of the communication board cards installed in the communication equipment to be detected, and is an integer greater than or equal to 1.
Through with wait to treat and wait to predetermine the interface between the communication equipment, acquire the installation state with a plurality of communication integrated circuit boards of second transmission format transmission, can clearly and definitely wait to treat that how many communication integrated circuit boards have specifically been installed in the communication equipment to and the state information of each communication integrated circuit board, refine the detection precision of treating the communication equipment that detects, promote the detection accuracy of treating the communication integrated circuit board in the communication equipment that detects.
In some specific implementations, the determining, in step S103, whether the communication device to be detected fails according to the change information corresponding to the real-time operating parameter and the status information of the communication device to be detected includes: and determining whether the communication equipment to be detected fails or not according to the change information corresponding to the real-time working parameters and the installation states of the plurality of communication board cards.
The real-time working parameters are obtained under the condition that at least one communication board card is installed in the communication equipment to be detected.
For example, when a communication board card is installed in the communication device to be detected and corresponds to the first voltage, but the real-time voltage (or real-time current) corresponding to the communication device to be detected suddenly drops or rises (for example, the real-time voltage is suddenly changed to twice the first voltage, etc.) at a certain time, it can be determined that the communication board card in the communication device to be detected has a fault.
It should be noted that, if the communication board is in the installation state, it is indicated that the communication board is available, and the communication board needs to be powered by the switching power supply module; if the communication board card is in the uninstalled state, it is characterized that no available communication board card is installed on the communication card slot in the communication equipment to be detected, that is, the communication card slot in the communication equipment to be detected, on which no communication board card is installed, does not need a switching power supply module to provide power for the communication card slot.
The embodiment of the present application provides another possible implementation manner, where the real-time working parameters of the communication device to be detected include: real-time voltage information and/or real-time current information. Analyzing the real-time working parameters of the communication device to be detected in step S102 or step S204, and determining the change information corresponding to the real-time working parameters, including: performing curve analysis on the real-time voltage information, and determining the voltage peak value change information of the communication equipment to be detected within a second preset time; and/or performing curve analysis on the real-time current information to determine current peak value change information of the communication equipment to be detected within a third preset time period.
Wherein, the curve analysis may be to digitally convert the real-time voltage (or real-time current) to determine the voltage values (or current values) at different times, so as to determine the voltage value curve (or current value curve) according to the voltage values (or current values) at various times; through observation of the voltage value curve (or the current value curve), a voltage peak value (or a current peak value) or a voltage valley value (or a current valley value) within a second preset time period (for example, 2 hours, 5 hours, or the like) can be obtained.
The real-time working condition of the communication equipment to be detected can be quickly and accurately determined by linearly representing the change condition of the real-time voltage information (or the real-time current information), and the slight change condition of the communication equipment to be detected in working is detected, so that some problems which are not easy to be found manually are determined, and the accuracy of fault detection is improved.
In some implementations, a switching power supply module includes: an Uninterruptible Power Supply (UPS) or battery module; the status information of the communication device to be detected further includes: the continuous service time of the UPS, or the service time information of the storage battery module.
Among them, Storage batteries (Storage batteries) are a device that directly converts chemical energy into electrical energy, and are batteries designed to be rechargeable, and are recharged by reversible chemical reactions (e.g., lead-acid batteries, etc.). The working principle of the storage battery is as follows: during charging, the internal active substance is regenerated by using external electric energy, and the electric energy is stored as chemical energy; when discharging is needed, the chemical energy is converted into electric energy again for output (for example, a mobile phone battery and the like which are commonly used in life).
The UPS can provide continuous, stable and uninterrupted power supply for the communication equipment to be detected. In principle, the UPS is a power electronic device that integrates digital and analog circuits, an automatic control inverter, and a maintenance-free energy storage device. Functionally, the UPS can effectively purify the commercial power when the commercial power is abnormal; and when the commercial power is suddenly interrupted, the power can be supplied to the communication equipment to be detected for a certain time, so that the communication equipment to be detected can have sufficient time to respond. For purposes, the UPS may also be applied to various links from information collection, transmission, processing, and storage to an application of the communication device to be detected.
Realize switching power supply module through the mode of difference, can make and wait to detect communication equipment and can continue work to guarantee to wait to detect communication equipment's normal operating, promote user terminal's use and experience.
In some specific implementations, after determining whether the communication device to be detected fails according to the change information corresponding to the real-time operating parameter and the status information of the communication device to be detected in step S103, the method further includes: determining the failure frequency of the communication equipment to be detected within a fourth preset time under the condition that the communication equipment to be detected fails; determining the service life of the UPS according to the failure times and the continuous service life of the UPS; or determining the service life of the storage battery module according to the failure times and the service life information of the storage battery module.
Wherein, the fourth preset time duration may be a time length of a statistical period of the number of failures. For example, the fourth preset time period may be 1 year or 2 years, etc. And determining whether the switching power supply module reaches the maximum service life or not by acquiring the failure times of the communication equipment to be detected in the fourth preset time and the continuous service time of different switching power supply modules. For example, the preset service life of the UPS is 6 years, and the number of times of failure that the UPS fails in the 5 th year when the UPS is used is 5 times, which is greater than the preset number of times of failure (e.g., 2 times), it is indicated that the UPS needs to be replaced to prevent the interruption of the operation of the communication device to be detected due to the UPS being unusable.
The service life of the UPS or the storage battery is judged in advance so as to be replaced in advance, the work interruption of the communication equipment to be detected due to the fact that the UPS or the storage battery cannot be used is prevented, the continuous working time of the communication equipment to be detected is prolonged, and the working efficiency of the communication equipment to be detected is improved.
Fig. 3 shows a block diagram of a fault monitoring apparatus according to an embodiment of the present application. As shown in fig. 3, the fault monitoring apparatus 300 includes:
the obtaining module 301 is configured to obtain, according to a Modbus protocol, status information of the communication device to be detected and real-time operating parameters of the communication device to be detected.
The analysis module 302 is configured to analyze the real-time working parameters of the communication device to be detected, and determine change information corresponding to the real-time working parameters.
And the fault determining module 303 is configured to determine whether the communication device to be detected has a fault according to the change information corresponding to the real-time working parameter and the state information of the communication device to be detected.
The specific implementation of the device in this embodiment is not limited to the above embodiment, and other embodiments not described are also within the scope of the device.
In the embodiment, the state information of the communication equipment to be detected and the real-time working parameters of the communication equipment to be detected are acquired by the acquisition module according to a Modbus protocol, so that the real-time acquisition of the operating data of the communication equipment to be detected is realized, and the possible problems of the equipment are early warned in advance; analyzing the real-time working parameters of the communication equipment to be detected by using an analysis module, determining the change information corresponding to the real-time working parameters, and highlighting the problem that slight change is difficult to perceive in daily maintenance; the fault determining module is used for rapidly and accurately determining whether the communication equipment to be detected breaks down or not according to the change information corresponding to the real-time working parameters and the state information of the communication equipment to be detected, so that the working intensity of the routing inspection personnel of the machine room is reduced, the monitoring strength of the communication equipment to be detected is improved, and the normal operation of the equipment in the communication machine room along the railway is guaranteed.
It should be noted that each module referred to in this embodiment is a logical module, and in practical applications, one logical unit may be one physical unit, may be a part of one physical unit, and may be implemented by a combination of multiple physical units. In addition, in order to highlight the innovative part of the present application, a unit that is not so closely related to solving the technical problem proposed by the present application is not introduced in the present embodiment, but it does not indicate that no other unit exists in the present embodiment.
Fig. 4 shows a block diagram of a device fault monitoring system based on a Modbus protocol according to an embodiment of the present application. As shown in fig. 4, the Modbus protocol-based device fault monitoring system includes the following devices.
A communication device 410 to be tested and a fault monitoring means 420. The communication device 410 to be detected may include a switching power supply module and a plurality of communication boards (not shown in the figure), the switching power supply module is configured to provide power for the plurality of communication boards, and the plurality of communication boards are configured to provide a multidimensional communication service to the terminal.
It should be noted that, if the communication board is in the installation state, it is indicated that the communication board is available, and the communication board needs to be powered by the switching power supply module; if the communication board is in the uninstalled state, it is characterized that no available communication board is installed on the communication card slot in the communication device 410 to be detected, that is, the communication card slot in the communication device 410 to be detected, on which no communication board is installed, does not need to be powered by the switching power supply module.
The fault monitoring device 420 is configured to obtain, according to a Modbus protocol, status information of the communication device 410 to be detected and real-time operating parameters of the communication device 410 to be detected; analyzing the real-time working parameters of the communication equipment 410 to be detected, and determining the change information corresponding to the real-time working parameters; and determining whether the communication equipment 410 to be detected fails according to the change information corresponding to the real-time working parameters and the state information of the communication equipment 410 to be detected.
In some specific implementations, the fault monitoring device 420 may also report the obtained status information of the communication device 410 to be detected and the real-time operating parameters of the communication device 410 to be detected to the server, so that the server analyzes a large amount of data corresponding to the communication device 410 to be detected, so as to determine whether the communication device 410 to be detected has a fault.
In some implementations, the communication device 410 to be detected can include: any one of an air conditioner, a lighting device, and a base station in a communication room. Through a serial communication (Modbus) protocol, real-time working parameters, state information and the like of the communication equipment 410 to be detected of different types are acquired in real time, remote monitoring (for example, continuous 24H monitoring) of each equipment in a communication machine room can be realized, the workload of operation and maintenance personnel is reduced, and the machine room on duty is gradually developed towards an unmanned direction.
Fig. 5 is a schematic flowchart illustrating an operating method of a device fault monitoring system based on a Modbus protocol according to an embodiment of the present application. As shown in FIG. 5, the Modbus protocol-based device fault monitoring method includes, but is not limited to, the following steps.
In step S501, the fault monitoring device 420 interacts with the communication device 410 to be detected through a preset interface, and obtains status information of the communication device 410 to be detected and real-time operating parameters of the communication device 410 to be detected according to a Modbus protocol.
The preset interface may include an RS485 interface or an RS232 interface. The preset interface is an interface for performing information interaction, which is preset by the communication device 410 to be detected and the fault monitoring device 420.
The relevant information of the communication equipment 410 to be detected is obtained in real time through the Modbus protocol, and data monitoring of the communication equipment 410 to be detected can be achieved.
In some implementations, the switching power supply module of the communication device 410 under test reports its power status information to the fault monitoring device 420 in a first transmission format, wherein the first transmission format is a data transmission format determined based on the Modbus protocol.
For example, the first transmission format may include an ASCII-based determined transmission format, or an RTU-based transmission format.
In which each 8-Bit byte is transmitted as two ASCII characters in a transmission format determined based on ASCII, the main advantage of this transmission format is that the time interval for character transmission is significantly shortened (e.g., 1 second) without generating errors. In an RTU based transmission format, each 8-Bit byte includes two 4-Bit hexadecimal characters. In the case where the baud rate is determined to be the same, data transmission using the RTU-based transmission format enables data transmission in a larger amount than data transmission using the ASCII-based transmission format.
It should be noted that, the device that uses the Modbus protocol for data transmission needs to select the same transmission mode and serial communication parameters (for example, baud rate, verification mode, etc.). For example, it is only necessary to set the transmission mode and the serial port communication parameter corresponding to the communication device 410 to be detected and the fault monitoring device 420 to be the same, that is, the two devices perform data transmission based on the Modbus protocol.
The real-time operating parameters of the communication device 410 to be detected may include: real-time voltage information and/or real-time current information. The status information of the communication device 410 to be detected includes the installation status of the communication board card and/or the power status information of the switching power supply module.
The communication device 410 to be detected is continuously monitored by the fault monitoring device 420 (for example, the communication device 410 to be detected is continuously monitored for 24 hours by the fault monitoring device 420), so that the acquired related data of the communication device 410 to be detected is more accurate, the real-time performance is better, and the subsequent fault which may occur to the communication device 410 to be detected can be conveniently and timely judged.
In step S502, the fault monitoring device 420 performs curve analysis on the real-time voltage information of the communication device 410 to be detected to determine the voltage peak change information of the communication device 410 to be detected within a second preset time period, and/or performs curve analysis on the real-time current information of the communication device 410 to be detected to determine the current peak change information of the communication device 410 to be detected within a third preset time period.
In step S503, the fault monitoring device 420 performs comprehensive analysis on the voltage peak change information of the communication device 410 to be detected within the second preset time period and/or the current peak change information of the communication device 410 to be detected within the third preset time period, respectively, with the installation state of the communication board and the power state information of the switching power supply module, so as to obtain an analysis result.
For example, the voltage peak variation information or the current peak variation information may be subjected to curve analysis to determine a variation of a peak value (e.g., a peak value or a valley value, etc.) within a second preset time period; the method can also analyze the fluctuation of abnormal data of the installation state of the communication board card and the power state information of the switching power supply module to generate a life cycle running report, thereby comprehensively considering different analysis change conditions and determining an analysis result so as to enable the analysis result to be more accurate.
In step S504, the failure monitoring device 420 determines whether the communication device 410 to be detected fails according to the analysis result.
The voltage peak change information of the communication device 410 to be detected in the second preset time period and/or the current peak change information of the communication device 410 to be detected in the third preset time period may be analyzed in combination with the power state information of the switching power supply module, and based on the analysis result, whether the communication device 410 to be detected fails or not may be determined.
For example, if the switching power supply module is in the power-on state, but the real-time voltage suddenly drops or rises (or the real-time current suddenly rises or falls), it is determined that the communication device 410 to be detected has a fault, and the communication device 410 to be detected needs to be maintained in time to ensure the normal operation of the communication device 410 to be detected.
For example, the voltage peak change information of the communication device 410 to be detected within the second preset time period and/or the current peak change information of the communication device 410 to be detected within the third preset time period may be combined with the installation state of the communication board for analysis to determine whether the communication device 410 to be detected has a fault.
It should be noted that, in the case that it is determined that the communication device 410 to be detected has a fault, step S505 is executed; otherwise, in case that it is determined that the communication device 410 to be detected has not failed, the flow is ended.
In some specific implementations, in the case that it is determined that the communication device 410 to be detected has not failed, the step S501 may be returned again to continue to detect the real-time data of the communication device 410 to be detected.
Step S505, when it is determined that the communication device 410 to be detected has a fault, generating a prompt message, and displaying the prompt message to an operation and maintenance worker, so that the operation and maintenance worker can maintain the communication device 410 to be detected, and ensure the normal operation of the communication device 410 to be detected.
For example, the fault monitoring device 420 may obtain an implementation manner of the switching power supply module (for example, a UPS or a storage battery is used to obtain a power supply), and determine the number of times that the communication device to be detected fails within a fourth preset time period when the communication device to be detected fails; determining the service life of the UPS according to the failure times and the continuous service life of the UPS; or determining the service life of the storage battery module according to the failure times and the service life information of the storage battery module.
By determining the service life of the switching power supply module, whether the switching power supply module of the communication device 410 to be detected needs to be maintained or replaced can be determined, and early warning can be given to possible faults of the communication device 410 to be detected; therefore, operation and maintenance personnel are prompted to maintain or replace the switching power supply module of the communication device 410 to be detected in time, and normal work of the communication device 410 to be detected is guaranteed.
In this embodiment, the fault monitoring device 420 is used to continuously monitor the communication device 410 to be detected, and according to the Modbus protocol, obtain the status information of the communication device to be detected and the real-time operating parameters of the communication device to be detected, so as to achieve real-time obtaining of the operating data of the communication device to be detected, and provide for early warning of possible problems of the device; the fault monitoring device 420 performs curve analysis on the real-time voltage information of the communication device 410 to be detected to determine the voltage peak value change information of the communication device 410 to be detected within a second preset time period, and/or performs curve analysis on the real-time current information of the communication device 410 to be detected to determine the current peak value change information of the communication device 410 to be detected within a third preset time period. And the voltage peak value change information of the communication equipment 410 to be detected in the second preset time period and/or the current peak value change information of the communication equipment 410 to be detected in the third preset time period are/is comprehensively analyzed with the installation state of the communication board card and the power state information of the switching power supply module respectively,
obtaining an analysis result, highlighting the problem of slight change but not easy to be perceived in daily maintenance; according to the analysis result, whether the communication equipment to be detected breaks down can be judged quickly and accurately, the working strength of the machine room patrol personnel is reduced, and the monitoring strength of the communication equipment to be detected is improved; and generating prompt information under the condition that the communication equipment 410 to be detected fails, and displaying the prompt information to operation and maintenance personnel, so that the operation and maintenance personnel can maintain the communication equipment 410 to be detected, and the normal operation of the communication equipment 410 to be detected in the communication machine room along the railway can be guaranteed.
Fig. 6 is a block diagram illustrating an exemplary hardware architecture of an electronic device that may implement the Modbus protocol-based device fault monitoring method and apparatus according to an embodiment of the present application.
As shown in fig. 6, the electronic device 600 includes an input device 601, an input interface 602, a central processor 603, a memory 604, an output interface 605, and an output device 606. The input interface 602, the central processing unit 603, the memory 604, and the output interface 605 are connected to each other via a bus 607, and the input device 601 and the output device 606 are connected to the bus 607 via the input interface 602 and the output interface 605, respectively, and further connected to other components of the electronic device 600.
Specifically, the input device 601 receives input information from the outside (for example, a communication device to be detected), and transmits the input information to the central processor 603 through the input interface 602; the central processor 603 processes input information based on computer-executable instructions stored in the memory 604 to generate output information, stores the output information temporarily or permanently in the memory 604, and then transmits the output information to the output device 606 through the output interface 605; output device 606 outputs output information to the exterior of computing device 600 for use by a user.
In one embodiment, the electronic device 600 shown in fig. 6 may be implemented as a network device that may include: a memory configured to store a program; and the processor is configured to run the program stored in the memory to execute any one of the device fault monitoring methods based on the Modbus protocol described in the embodiments.
According to an embodiment of the application, the process described above with reference to the flow chart may be implemented as a computer software program. For example, embodiments of the present application include a computer program product comprising a computer program tangibly embodied on a machine-readable medium, the computer program comprising program code for performing the method illustrated in the flow chart. In such an embodiment, the computer program may be downloaded and installed from a network, and/or installed from a removable storage medium.
It will be understood by those of ordinary skill in the art that all or some of the steps of the methods, systems, functional modules/units in the devices disclosed above may be implemented as software, firmware, hardware, and suitable combinations thereof. In a hardware implementation, the division between functional modules/units mentioned in the above description does not necessarily correspond to the division of physical components; for example, one physical component may have multiple functions, or one function or step may be performed by several physical components in cooperation. Some or all of the physical components may be implemented as software executed by a processor, such as a central processing unit, digital signal processor, or microprocessor, or as hardware, or as an integrated circuit, such as an application specific integrated circuit. Such software may be distributed on computer readable media, which may include computer storage media (or non-transitory media) and communication media (or transitory media). The term computer storage media includes volatile and nonvolatile, removable and non-removable media implemented in any method or technology for storage of information such as computer readable instructions, data structures, program modules or other data, as is well known to those of ordinary skill in the art. Computer storage media includes, but is not limited to, RAM, ROM, EEPROM, flash memory or other memory technology, CD-ROM, Digital Versatile Disks (DVD) or other optical disk storage, magnetic cassettes, magnetic tape, magnetic disk storage or other magnetic storage devices, or any other medium which can be used to store the desired information and which can be accessed by a computer. In addition, communication media typically embodies computer readable instructions, data structures, program modules or other data in a modulated data signal such as a carrier wave or other transport mechanism and includes any information delivery media as known to those skilled in the art.
It is to be understood that the above embodiments are merely exemplary embodiments that are employed to illustrate the principles of the present application, and that the present application is not limited thereto. It will be apparent to those skilled in the art that various changes and modifications can be made therein without departing from the spirit and scope of the application, and these changes and modifications are to be considered as the scope of the application.

Claims (10)

1. A device fault monitoring method based on a Modbus protocol is characterized by comprising the following steps:
according to a Modbus protocol, acquiring state information of communication equipment to be detected and real-time working parameters of the communication equipment to be detected;
analyzing the real-time working parameters of the communication equipment to be detected, and determining the change information corresponding to the real-time working parameters;
and determining whether the communication equipment to be detected fails according to the change information corresponding to the real-time working parameters and the state information of the communication equipment to be detected.
2. The method according to claim 1, wherein the communication device to be detected comprises a switching power supply module, and the status information of the communication device to be detected comprises power supply status information of the switching power supply module;
according to the Modbus protocol, acquiring the state information of the communication equipment to be detected, the method comprises the following steps:
determining a first transmission format corresponding to the power state information of the switching power supply module according to the Modbus protocol;
and acquiring the power state information transmitted in the first transmission format through a preset interface between the power state information and the communication equipment to be detected.
3. The method according to claim 2, wherein the determining whether the communication device to be detected has a fault according to the change information corresponding to the real-time operating parameter and the status information of the communication device to be detected comprises:
determining whether the communication equipment to be detected fails or not according to the change information corresponding to the real-time working parameters and the power supply state information of the switching power supply module;
the real-time working parameters are parameters reported by the communication equipment to be detected under the condition that the communication equipment to be detected continuously runs for a first preset time length.
4. The method according to claim 1, wherein the communication device to be detected comprises: a plurality of communication boards; the state information of the communication equipment to be detected comprises the installation state of the communication board card;
according to the Modbus protocol, acquiring the state information of the communication equipment to be detected, the method comprises the following steps:
determining a second transmission format corresponding to the installation states of the communication board cards according to the Modbus protocol;
and acquiring the installation states of the plurality of communication board cards transmitted in the second transmission format through a preset interface between the communication board cards and the communication equipment to be detected.
5. The method according to claim 4, wherein the determining whether the communication device to be detected has a fault according to the change information corresponding to the real-time operating parameter and the status information of the communication device to be detected comprises:
determining whether the communication equipment to be detected fails or not according to the change information corresponding to the real-time working parameters and the installation states of the plurality of communication board cards;
the real-time working parameters are obtained when at least one communication board card is installed in the communication equipment to be detected.
6. The method according to claim 3 or 5, wherein the real-time operating parameters of the communication device to be detected comprise: real-time voltage information and/or real-time current information;
the analyzing the real-time working parameters of the communication equipment to be detected and determining the change information corresponding to the real-time working parameters comprises:
performing curve analysis on the real-time voltage information to determine voltage peak value change information of the communication equipment to be detected within a second preset time length;
and/or the presence of a gas in the gas,
and carrying out curve analysis on the real-time current information, and determining current peak value change information of the communication equipment to be detected in a third preset time period.
7. The method of claim 2 or 3, wherein the switching power supply module comprises: an Uninterruptible Power Supply (UPS) or a storage battery module;
the status information of the communication device to be detected further includes: the continuous service life of the UPS, or the service life information of the storage battery module.
8. The method according to claim 7, wherein after determining whether the communication device to be detected has a fault according to the change information corresponding to the real-time operating parameter and the status information of the communication device to be detected, the method further comprises:
determining the failure frequency of the communication equipment to be detected within a fourth preset time under the condition that the communication equipment to be detected fails;
determining the service life of the UPS according to the failure times and the continuous service life of the UPS; or the like, or, alternatively,
and determining the service life of the storage battery module according to the failure times and the service life information of the storage battery module.
9. A fault monitoring device, comprising:
the acquisition module is configured to acquire state information of the communication equipment to be detected and real-time working parameters of the communication equipment to be detected according to a Modbus protocol;
the analysis module is configured to analyze the real-time working parameters of the communication equipment to be detected and determine the change information corresponding to the real-time working parameters;
and the fault determining module is configured to determine whether the communication equipment to be detected has a fault according to the change information corresponding to the real-time working parameters and the state information of the communication equipment to be detected.
10. An electronic device, comprising:
one or more processors;
memory having one or more programs stored thereon that, when executed by the one or more processors, cause the one or more processors to implement a Modbus protocol-based device fault monitoring method of any one of claims 1-8.
CN202111543813.1A 2021-12-16 2021-12-16 Equipment fault monitoring method, device and equipment based on Modbus protocol Pending CN114205277A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111543813.1A CN114205277A (en) 2021-12-16 2021-12-16 Equipment fault monitoring method, device and equipment based on Modbus protocol

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111543813.1A CN114205277A (en) 2021-12-16 2021-12-16 Equipment fault monitoring method, device and equipment based on Modbus protocol

Publications (1)

Publication Number Publication Date
CN114205277A true CN114205277A (en) 2022-03-18

Family

ID=80654586

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111543813.1A Pending CN114205277A (en) 2021-12-16 2021-12-16 Equipment fault monitoring method, device and equipment based on Modbus protocol

Country Status (1)

Country Link
CN (1) CN114205277A (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108989108A (en) * 2018-07-20 2018-12-11 北京百度网讯科技有限公司 Troubleshooting exchange method, device, equipment and computer-readable medium
WO2019129016A1 (en) * 2017-12-27 2019-07-04 中兴通讯股份有限公司 Power monitoring method, system and power supply
CN111078446A (en) * 2019-11-22 2020-04-28 北京达佳互联信息技术有限公司 Fault information acquisition method and device, electronic equipment and storage medium
CN111372039A (en) * 2018-12-26 2020-07-03 北京嘀嘀无限科技发展有限公司 Monitoring and early warning method, computer device and computer readable storage medium
CN112187514A (en) * 2020-09-02 2021-01-05 上海御威通信科技有限公司 Intelligent operation and maintenance system, method and terminal for data center network equipment

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2019129016A1 (en) * 2017-12-27 2019-07-04 中兴通讯股份有限公司 Power monitoring method, system and power supply
CN108989108A (en) * 2018-07-20 2018-12-11 北京百度网讯科技有限公司 Troubleshooting exchange method, device, equipment and computer-readable medium
CN111372039A (en) * 2018-12-26 2020-07-03 北京嘀嘀无限科技发展有限公司 Monitoring and early warning method, computer device and computer readable storage medium
CN111078446A (en) * 2019-11-22 2020-04-28 北京达佳互联信息技术有限公司 Fault information acquisition method and device, electronic equipment and storage medium
CN112187514A (en) * 2020-09-02 2021-01-05 上海御威通信科技有限公司 Intelligent operation and maintenance system, method and terminal for data center network equipment

Similar Documents

Publication Publication Date Title
CN111585354A (en) Intelligent operation and detection equipment for energy storage power station
CN111341063A (en) Intelligent control system, method and device for safety early warning and monitoring of electric equipment and terminal equipment
CN209880751U (en) Lead-acid storage battery leakage detection device for guaranteeing network safety
CN113608125B (en) Battery fault identification method and device
CN107102633B (en) A kind of distribution terminal fault self-diagnosis method and system
CN116455079B (en) Big data-based electricity consumption integrated safety supervision system and method
CN111786463A (en) Electric power energy-saving monitoring control system
CN114205277A (en) Equipment fault monitoring method, device and equipment based on Modbus protocol
CN112068006A (en) Laboratory equipment safe operation and maintenance platform based on cloud computing
CN116299129A (en) All-fiber current transformer state detection and analysis method, device and medium
CN115862275A (en) Abnormity alarm method, system and equipment based on real-time data acquisition of ring main unit
CN115374958A (en) Online management system for operation supervision informatization of electric power professional equipment
CN212572193U (en) Intelligent operation and detection equipment for energy storage power station
CN211148837U (en) Outer quick-witted testing arrangement of air conditioner
CN211785777U (en) Equipment machine maintenance system
CN113555613A (en) Intelligent management system for battery pack clusters
CN104658053A (en) Automatic inspection auxiliary system for running state of dispatching control system
CN201654946U (en) Intelligent tripping-prevention early warning system based on real-time electrical parameters
CN111505432A (en) Parameter simulation circuit, battery management device, and control method for battery management device
CN113129160A (en) Electric power communication network inspection method based on equipment state perception and intellectualization
CN115219921B (en) Monitoring method and device in cell testing process and cell testing monitoring system
CN214410058U (en) Multifunctional acquisition and base station energy efficiency analysis system
CN115372834A (en) Method, system, server and storage medium for analyzing fault of galvanic pile
CN116634473B (en) Method and device for predicting failure of power failure and service withdrawal of wireless station
CN113964947B (en) Monitoring and early warning method for intelligent substation and control system thereof

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