Method, system, device, processor and readable storage medium of processor for realizing automatic monitoring and alarm processing for leakage cable fault

CN115733862BActive Publication Date: 2026-10-23TRANSCOM INSTR
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202211453058.2
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-11-21
Publication Date
2026-10-23
Estimated Expiration
2042-11-21

AI Technical Summary

Technical Problem

[0003]现有的检测方法是工作人员使用漏缆检测设备进入隧道或者铁路线进行定期巡检,这样非常耗费人力,并且不能及时发现泄露电缆的故障

Benefits of technology

[0067]采用了本发明的针对泄露电缆故障实现自动监测与报警处理的方法、系统、装置、处理器及其计算机可读存储介质,减少维护人员进入现场的次数,极大的提高了工作效率,减少维护成本,并且能够及时发现泄露电缆的故障问题,减少故障发现时间,为无线通信系统的稳定运行提供了有力的保障,带来的技术效果显著。

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115733862B_ABST
    Figure CN115733862B_ABST
Patent Text Reader

Abstract

The present application relates to a kind of methods for realizing automatic monitoring and alarm processing to leakage cable fault, the method includes the following steps: step one: by monitoring host sends request command, processing alarm data, and actively alarm and record log;Step two: by leakage cable detection equipment response request command, execute leakage cable detection process, and report detection result.The present application also relates to a kind of systems, devices, processors and storage media for realizing automatic monitoring and alarm processing to leakage cable fault.The method, system, device, processor and its computer readable storage medium for realizing automatic monitoring and alarm processing to leakage cable fault of the present application reduce the number of times that maintenance personnel enters the field, greatly improve work efficiency, reduce maintenance cost, and can timely find the fault problem of leakage cable, reduce fault discovery time, provide strong guarantee for the stable operation of wireless communication system, and the technical effect brought is remarkable.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of railway wireless communication, and more particularly to the design and application of leaky cable monitoring systems. Specifically, it relates to a method, system, device, processor, and computer-readable storage medium for automatic monitoring and alarm processing of leaky cable faults. Background Technology

[0002] In recent years, with the rapid construction of domestic railway wireless communication networks, more and more equipment has been applied to railway wireless communication. Leaky cables, as an important medium for signal transmission, are generally installed on the inner walls of tunnels or along railway lines. Due to factors such as vibration, moisture, and aging, leaky cables also experience problems such as aging and decreased signal transmission quality. These factors can lead to reduced wireless signal coverage and thus communication problems. Therefore, real-time monitoring of the operating status of leaky cables is an important means to ensure the stability of wireless communication signals.

[0003] The existing detection method involves staff using leaky cable detection equipment to conduct regular inspections in tunnels or railway lines. This is very labor-intensive and cannot detect leaky cable faults in a timely manner. Summary of the Invention

[0004] The purpose of this invention is to overcome the shortcomings of the prior art and provide a method, system, device, processor and its computer-readable storage medium for automatic monitoring and alarm processing of leaky cable faults that is efficient, low in maintenance cost and widely applicable.

[0005] To achieve the above objectives, the present invention provides a method, system, apparatus, processor, and computer-readable storage medium for automatic monitoring and alarm processing of leaky cable faults, as follows:

[0006] The main feature of this method for automatic monitoring and alarm handling of leaky cable faults is that the method includes the following steps:

[0007] Step 1: Send a request command through the monitoring host to process alarm data, and actively trigger alarms and record logs;

[0008] Step 2: The leaky cable detection device responds to the request command, executes the leaky cable detection process, and reports the detection results.

[0009] Preferably, step one specifically includes the following steps:

[0010] (1-1) Initialize the network interface and perform network communication;

[0011] (1-2) Initialize the file operation interface and record runtime logs;

[0012] (1-3) Start the UDP service, start the data processing task, and process the data requests automatically reported by the leaky cable detection device;

[0013] (1-4) Detection request command;

[0014] (1-5) Construct the request command message;

[0015] (1-6) Send the request command message to the leaky cable detection device through the UDP client network port;

[0016] (1-7) Construct an operation log and record it to a log file;

[0017] (1-8) Read the response message from the leaky cable detection device through the network port;

[0018] (1-9) Parse the response message;

[0019] (1-10) Update the interface display;

[0020] (1-11) Continue with step (1-4).

[0021] Preferably, steps (1-3) specifically include the following steps:

[0022] (1-3.1) Check if there are network protocol packets on the UDP port. If there is no data on the UDP port, wait for 100ms and continue with step (1-3.1); if there is data on the UDP port, read the network data protocol packets.

[0023] (1-3.2) Perform integrity verification on the network protocol packets. If the network protocol packet verification fails, continue to step (1-3.1); if the network protocol packet verification succeeds, continue to step (1-3.3).

[0024] (1-3.3) Execute the parsing command.

[0025] Preferably, step (1-3.3) specifically includes the following steps:

[0026] (1-3.3.1) Based on the heartbeat protocol packet, maintain the online status of the leaky cable detection equipment and continue with step (1-3.1);

[0027] (1-3.3.2) Synchronize the system time of the leaky cable detection device according to the time synchronization protocol packet, and continue with step (1-3.1);

[0028] (1-3.3.3) Actively alarm through the leaky cable detection device, record the alarm details, drive the alarm sound player to play the alarm prompt sound, and continue to step (1-3.1).

[0029] Preferably, step two specifically includes the following steps:

[0030] (2-1) Initialize the network interface and perform network UDP communication;

[0031] (2-2) Initialize the file operation interface and read the configuration information;

[0032] (2-3) Initialize the USB device operation interface;

[0033] (2-4) Initialize the first counter, the second counter, and the third counter, and record the time interval;

[0034] (2-5) Start the scheduled task processing flow;

[0035] (2-6) Check if there is a request command message on the network interface. If there is no request command message on the network interface, wait for 200ms and continue (2-6); if there is a request command message on the network interface, read all the messages on the network interface.

[0036] (2-7) Verify the packets of the network interface. If the packet verification fails, continue to (2-6); if the packet verification passes, continue to (2-8).

[0037] (2-8) Parse the command message.

[0038] Preferably, steps (2-5) specifically include the following steps:

[0039] (2-5.1) Wait 500ms;

[0040] (2-5.2) Accumulate the values ​​of the first counter, the second counter, and the third counter;

[0041] (2-5.3) Determine if the value of the first counter is greater than 360. If the value of the first counter is greater than 360, actively upload the heartbeat command data packet through the network port and clear the first counter; otherwise, continue to step (2-5.4).

[0042] (2-5.4) Determine if the value of the second counter is greater than 180. If the value of the second counter is greater than 180, actively upload the synchronization time command data packet through the network port and clear the second counter; otherwise, continue to step (2-5.5).

[0043] (2-5.5) Determine if the value of the third counter is greater than 600. If the value of the third counter is greater than 600, start the leaky cable detection process; otherwise, continue to step (2-5.1).

[0044] (2-5.6) Continue with step (2-5.1).

[0045] Preferably, the process of initiating the leaky cable detection procedure in step (2-5.5) specifically includes the following steps:

[0046] (2-5.5.1) Configure the leakage cable measurement parameters via the USB device port;

[0047] (2-5.5.2) Obtain leakage cable measurement data via USB device port;

[0048] (2-5.5.3) Analyze the leakage cable measurement data to determine whether an alarm is needed. If an alarm is needed, actively upload an alarm command data packet through the network port; otherwise, continue to step (2-5.6).

[0049] Preferably, steps (2-8) specifically include the following steps:

[0050] (2-8.1) Synchronize time command, set the system time of the leaky cable detection device, and continue to step (2-6);

[0051] (2-8.2) Configure parameter command, open file, save parameter data to file, close file, continue to step (2-6);

[0052] (2-8.3) Parameter query command, obtain parameters, return response message, continue to step (2-6).

[0053] The main feature of this system for automatic monitoring and alarm handling of leaky cable faults is that the system includes:

[0054] The monitoring host is used to automatically detect leaky cable faults and control the working status of the alarm sound player; the monitoring host can send request commands, process alarm data, and actively trigger alarms and record logs.

[0055] An alarm sound player, connected to the monitoring host, is used to play an alarm sound under the control of the monitoring host when a leaky cable malfunctions, to alert the user that an alarm has occurred.

[0056] The switch is connected to the monitoring host and is used to establish a network, connecting the monitoring host and the first photoelectric converter.

[0057] The first photoelectric converter is connected to the switch and is used to realize remote network construction, converting optical signals and electrical signals to each other.

[0058] The second photoelectric converter is connected to the first photoelectric converter and is used to realize remote network construction by converting optical signals and electrical signals to each other.

[0059] The leaky cable detection device is connected to the second photoelectric converter and is used to realize automatic monitoring of leaky cable faults and complete the detection of leaky cables; the leaky cable detection device can respond to request commands, execute the leaky cable detection process, and report the detection results.

[0060] A combiner, connected to the aforementioned leaky cable detection device, is used to combine communication signals with the detection signals from the leaky cable monitoring device and output them to the leaky cable.

[0061] A leaky cable is connected to the combiner to enable signal transmission.

[0062] The device for automatic monitoring and alarm handling of leaky cable faults is characterized in that it comprises:

[0063] A processor is configured to execute computer-executable instructions;

[0064] The memory stores one or more computer-executable instructions, which, when executed by the processor, implement the steps of the method described above for automatic monitoring and alarm handling of leaky cable faults.

[0065] The processor used to implement automatic monitoring and alarm processing for leaky cable faults is characterized in that the processor is configured to execute computer-executable instructions, which, when executed by the processor, implement the various steps of the above-described method for automatic monitoring and alarm processing of leaky cable faults.

[0066] The main feature of this computer-readable storage medium is that it stores a computer program thereon, which can be executed by a processor to implement the various steps of the above-described method for automatic monitoring and alarm handling of leaky cable faults.

[0067] The present invention employs a method, system, device, processor, and computer-readable storage medium for automatic monitoring and alarm processing of leaky cable faults. This reduces the number of times maintenance personnel need to enter the site, greatly improves work efficiency, reduces maintenance costs, and enables timely detection of leaky cable faults, reducing fault discovery time. It provides strong support for the stable operation of wireless communication systems, resulting in significant technical benefits. Attached Figure Description

[0068] Figure 1 This is a system block diagram of the present invention for automatic monitoring and alarm processing of leaky cable faults.

[0069] Figure 2 This is a flowchart of step one of the methods for automatic monitoring and alarm handling of leaky cable faults according to the present invention.

[0070] Figure 3 This is a flowchart of step two of the method for automatic monitoring and alarm processing of leaky cable faults according to the present invention. Detailed Implementation

[0071] To more clearly describe the technical content of the present invention, the following description is provided in conjunction with specific embodiments.

[0072] The present invention provides a method for automatic monitoring and alarm processing of leaky cable faults, comprising the following steps:

[0073] Step 1: Send a request command through the monitoring host to process alarm data, and actively trigger alarms and record logs;

[0074] Step 2: The leaky cable detection device responds to the request command, executes the leaky cable detection process, and reports the detection results.

[0075] In a preferred embodiment of the present invention, step one specifically includes the following steps:

[0076] (1-1) Initialize the network interface and perform network communication;

[0077] (1-2) Initialize the file operation interface and record runtime logs;

[0078] (1-3) Start the UDP service, start the data processing task, and process the data requests automatically reported by the leaky cable detection device;

[0079] (1-4) Detection request command;

[0080] (1-5) Construct the request command message;

[0081] (1-6) Send the request command message to the leaky cable detection device through the UDP client network port;

[0082] (1-7) Construct an operation log and record it to a log file;

[0083] (1-8) Read the response message from the leaky cable detection device through the network port;

[0084] (1-9) Parse the response message;

[0085] (1-10) Update the interface display;

[0086] (1-11) Continue with step (1-4).

[0087] In a preferred embodiment of the present invention, steps (1-3) specifically include the following steps:

[0088] (1-3.1) Check if there are network protocol packets on the UDP port. If there is no data on the UDP port, wait for 100ms and continue with step (1-3.1); if there is data on the UDP port, read the network data protocol packets.

[0089] (1-3.2) Perform integrity verification on the network protocol packets. If the network protocol packet verification fails, continue to step (1-3.1); if the network protocol packet verification succeeds, continue to step (1-3.3).

[0090] (1-3.3) Execute the parsing command.

[0091] In a preferred embodiment of the present invention, step (1-3.3) specifically includes the following steps:

[0092] (1-3.3.1) Based on the heartbeat protocol packet, maintain the online status of the leaky cable detection equipment and continue with step (1-3.1);

[0093] (1-3.3.2) Synchronize the system time of the leaky cable detection device according to the time synchronization protocol packet, and continue with step (1-3.1);

[0094] (1-3.3.3) Actively alarm through the leaky cable detection device, record the alarm details, drive the alarm sound player to play the alarm prompt sound, and continue to step (1-3.1).

[0095] In a preferred embodiment of the present invention, step two specifically includes the following steps:

[0096] (2-1) Initialize the network interface and perform network UDP communication;

[0097] (2-2) Initialize the file operation interface and read the configuration information;

[0098] (2-3) Initialize the USB device operation interface;

[0099] (2-4) Initialize the first counter, the second counter, and the third counter, and record the time interval;

[0100] (2-5) Start the scheduled task processing flow;

[0101] (2-6) Check if there is a request command message on the network interface. If there is no request command message on the network interface, wait for 200ms and continue (2-6); if there is a request command message on the network interface, read all the messages on the network interface.

[0102] (2-7) Verify the packets of the network interface. If the packet verification fails, continue to (2-6); if the packet verification passes, continue to (2-8).

[0103] (2-8) Parse the command message.

[0104] In a preferred embodiment of the present invention, step (2-5) specifically includes the following steps:

[0105] (2-5.1) Wait 500ms;

[0106] (2-5.2) Accumulate the values ​​of the first counter, the second counter, and the third counter;

[0107] (2-5.3) Determine if the value of the first counter is greater than 360. If the value of the first counter is greater than 360, actively upload the heartbeat command data packet through the network port and clear the first counter; otherwise, continue to step (2-5.4).

[0108] (2-5.4) Determine if the value of the second counter is greater than 180. If the value of the second counter is greater than 180, actively upload the synchronization time command data packet through the network port and clear the second counter; otherwise, continue to step (2-5.5).

[0109] (2-5.5) Determine if the value of the third counter is greater than 600. If the value of the third counter is greater than 600, start the leaky cable detection process; otherwise, continue to step (2-5.1).

[0110] (2-5.6) Continue with step (2-5.1).

[0111] In a preferred embodiment of the present invention, the step (2-5.5) of initiating the leaky cable detection process specifically includes the following steps:

[0112] (2-5.5.1) Configure the leakage cable measurement parameters via the USB device port;

[0113] (2-5.5.2) Obtain leakage cable measurement data via USB device port;

[0114] (2-5.5.3) Analyze the leakage cable measurement data to determine whether an alarm is needed. If an alarm is needed, actively upload an alarm command data packet through the network port; otherwise, continue to step (2-5.6).

[0115] In a preferred embodiment of the present invention, step (2-8) specifically includes the following steps:

[0116] (2-8.1) Synchronize time command, set the system time of the leaky cable detection device, and continue to step (2-6);

[0117] (2-8.2) Configure parameter command, open file, save parameter data to file, close file, continue to step (2-6);

[0118] (2-8.3) Parameter query command, obtain parameters, return response message, continue to step (2-6).

[0119] The present invention provides a system for automatic monitoring and alarm processing of leaky cable faults, comprising:

[0120] The monitoring host is used to automatically detect leaky cable faults and control the working status of the alarm sound player; the monitoring host can send request commands, process alarm data, and actively trigger alarms and record logs.

[0121] An alarm sound player, connected to the monitoring host, is used to play an alarm sound under the control of the monitoring host when a leaky cable malfunctions, to alert the user that an alarm has occurred.

[0122] The switch is connected to the monitoring host and is used to establish a network, connecting the monitoring host and the first photoelectric converter.

[0123] The first photoelectric converter is connected to the switch and is used to realize remote network construction, converting optical signals and electrical signals to each other.

[0124] The second photoelectric converter is connected to the first photoelectric converter and is used to realize remote network construction by converting optical signals and electrical signals to each other.

[0125] The leaky cable detection device is connected to the second photoelectric converter and is used to realize automatic monitoring of leaky cable faults and complete the detection of leaky cables; the leaky cable detection device can respond to request commands, execute the leaky cable detection process, and report the detection results.

[0126] A combiner, connected to the aforementioned leaky cable detection device, is used to combine communication signals with the detection signals from the leaky cable monitoring device and output them to the leaky cable.

[0127] A leaky cable is connected to the combiner to enable signal transmission.

[0128] The present invention relates to an apparatus for automatically monitoring and alarming leaky cable faults, wherein the apparatus comprises:

[0129] A processor is configured to execute computer-executable instructions;

[0130] The memory stores one or more computer-executable instructions, which, when executed by the processor, implement the steps of the method described above for automatic monitoring and alarm handling of leaky cable faults.

[0131] The present invention provides a processor for implementing automatic monitoring and alarm processing for leaky cable faults, wherein the processor is configured to execute computer-executable instructions, which, when executed by the processor, implement the various steps of the above-described method for automatic monitoring and alarm processing of leaky cable faults.

[0132] The computer-readable storage medium of the present invention stores a computer program thereon, which can be executed by a processor to implement the various steps of the above-described method for automatic monitoring and alarm handling of leaky cable faults.

[0133] In a specific embodiment of the present invention, in view of the above-mentioned problems existing in the existing methods, a system and method for automatic monitoring and alarm of leaky cable faults are proposed. The system and method are reasonably designed and overcome the shortcomings of the existing monitoring methods.

[0134] To achieve the above objectives, the present invention adopts the following technical solution:

[0135] An automatic monitoring and alarm system for leaky cable faults includes a monitoring host, an alarm sound player, a switch, a first photoelectric converter, a second photoelectric converter, a leaky cable detection device, a combiner, and the leaky cable. The system block diagram is shown below. Figure 1 As shown.

[0136] The monitoring host, as the operating platform of module A for automatic monitoring and alarm method of leaky cable faults, controls the working status of the alarm sound player.

[0137] The alarm sound player, controlled by the monitoring host, plays an alarm sound to alert the user when a leaky cable malfunctions.

[0138] A switch is used for network setup, connecting the monitoring host to the first photoelectric converter.

[0139] The first photoelectric converter is used for remote network construction, converting optical signals and electrical signals to each other.

[0140] The second photoelectric converter is used for remote network construction, converting optical signals and electrical signals to each other.

[0141] The leaky cable detection equipment serves as the operating platform for module B of the automatic monitoring and alarm method for leaky cable faults, completing the detection of leaky cables.

[0142] A combiner combines communication signals with detection signals from a leaky cable monitoring device and outputs them to the leaky cable.

[0143] Leaky cables are an important medium for signal transmission and also serve as the monitored unit.

[0144] A method for automatic monitoring and alarm of leaky cable faults consists of two modules: Method Module A and Method Module B. Method Module A runs on a monitoring host platform, while Method Module B runs on a leaky cable detection equipment platform.

[0145] The main functions of method module A are to send request commands, process alarm data, and proactively trigger alarms and log entries. The detailed steps are as follows:

[0146] 1. Initialize the network interface for network communication;

[0147] 2. Initialize the file operation interface for runtime log recording;

[0148] 3. Start the UDP service and the data processing task to handle the automatic data reporting requests from the leaky cable detection device. Execute the following steps:

[0149] 3.1 Detect the presence of network protocol packets on the UDP port;

[0150] 3.2 No data on UDP port, wait 100ms, then return to step 3.1;

[0151] 3.3 Data exists on the UDP port; read network data protocol packets.

[0152] 3.4 Perform integrity checks on network protocol packets;

[0153] 3.5 Network protocol packet verification failed, return to step 3.1;

[0154] 3.6 Network protocol packet verification successful, and command parsing completed;

[0155] 3.6.1 Heartbeat protocol packet: Maintain the online status of the leaky cable detection equipment, then return to step 3.1;

[0156] 3.6.2 Time synchronization protocol packet, synchronize the system time of the leaky cable detection device, return to step 3.1;

[0157] 3.6.3 The leaky cable detection device actively alarms, records alarm details, drives the alarm sound player to play alarm prompts, and returns to step 3.1;

[0158] 4. Detection request commands, including configuration of leaky cable information, leaky cable detection information, and alarm information;

[0159] 5. Construct a request command message;

[0160] 6. Send the data to the leaky cable detection device via the UDP client network port;

[0161] 7. Construct an operation log and record it to a log file;

[0162] 8. Read the response message from the leaky cable detection device via the network port;

[0163] 9. Parse the response message;

[0164] 10. Updated the interface display;

[0165] 11. Return to step 4.

[0166] The detailed process of module A for automatic detection and alarm of leaky cable faults is as follows: Figure 2 As shown.

[0167] The main functions of method module B are to respond to request commands, implement the leaky cable detection process, and report the detection results. The detailed steps are as follows:

[0168] 1. Initialize the network interface for UDP network communication;

[0169] 2. Initialize the file operation interface and read the configuration information;

[0170] 3. Initialize the USB device operation interface;

[0171] 4. Initialize counters T1, T2, and T3 to record time intervals;

[0172] 5. Start the scheduled task processing flow and execute the following steps:

[0173] 5.1 Wait 500ms;

[0174] 5.2 Accumulators T1, T2, and T3;

[0175] 5.3 Determine if counter T1 is greater than 360;

[0176] 5.4 If counter T1 is greater than 360, actively upload heartbeat command data packets through the network port and reset counter T1;

[0177] 5.5 Determine if the T2 counter is greater than 180;

[0178] 5.6 If counter T2 is greater than 180, actively upload a synchronization time command data packet through the network port and clear counter T2;

[0179] 5.7 Determine if the T3 counter is greater than 600;

[0180] 5.8 If counter T3 is greater than 600, the leaky cable detection process is initiated, with the following steps:

[0181] 5.8.1 Configure leaky cable measurement parameters via USB device port;

[0182] 5.8.2 Obtain leakage cable measurement data via USB device port;

[0183] 5.8.3 Analyze the measurement data of the leaking cable to determine whether an alarm is needed;

[0184] 5.8.4 If an alarm is required, actively upload the alarm command data packet via the network port;

[0185] 5.9 Return to step 5.1;

[0186] 6. Detect whether a request command message exists on the network interface;

[0187] 7. No request command message was received from the network interface. Wait 200ms and return to step 6.

[0188] 8. If the network interface sends a request command message, read all messages from the network interface.

[0189] 9. Verify the packets on the network interface;

[0190] 10. Message verification failed, return to step 6;

[0191] 11. Message verification passed, parse command message;

[0192] 11.1 Synchronize time command, set the system time of the leaky cable detection device, return to step 6;

[0193] 11.2 Configure parameters command, open file, save parameter data to file, close file, return to step 6;

[0194] 11.3 Parameter query command, retrieve parameters, return response message, return to step 6;

[0195] The detailed process of module B for automatic detection and alarm of leaky cable faults is as follows: Figure 3 As shown.

[0196] This solution comprises Method Module A and Method Module B, which require collaborative work with hardware to achieve automatic detection and alarm. This method allows for parameter adjustments based on different types of leaky cables, enabling real-time monitoring of various leaky cable types. Simultaneously, Method Modules A and B provide maintenance personnel with the specific location of the leaky cable fault, shortening repair time. The subsystems in this solution can be deployed in a distributed manner; for example, the monitoring host and alarm sound player can be deployed in the building control center, while the leaky cable detection equipment, combiners, and leaky cables can be deployed in subways and railway tunnels.

[0197] For the specific implementation scheme of this embodiment, please refer to the relevant descriptions in the above embodiments, which will not be repeated here.

[0198] It is understood that the same or similar parts in the above embodiments can be referred to each other, and the contents not described in detail in some embodiments can be referred to the same or similar contents in other embodiments.

[0199] It should be noted that in the description of this invention, the terms "first," "second," etc., are used for descriptive purposes only and should not be construed as indicating or implying relative importance. Furthermore, in the description of this invention, unless otherwise stated, "a plurality of" means at least two.

[0200] In the description of this specification, references to terms such as "one embodiment," "some embodiments," "example," "specific example," or "some examples," etc., indicate that a specific feature, structure, material, or characteristic described in connection with that embodiment or example is included in at least one embodiment or example of the invention. In this specification, the illustrative expressions of the above terms do not necessarily refer to the same embodiment or example. Furthermore, the specific features, structures, materials, or characteristics described may be combined in any suitable manner in one or more embodiments or examples.

[0201] The present invention employs a method, system, device, processor, and computer-readable storage medium for automatic monitoring and alarm processing of leaky cable faults. This reduces the number of times maintenance personnel need to enter the site, greatly improves work efficiency, reduces maintenance costs, and enables timely detection of leaky cable faults, reducing fault discovery time. It provides strong support for the stable operation of wireless communication systems, resulting in significant technical benefits.

[0202] In this specification, the invention has been described with reference to specific embodiments thereof. However, it will be apparent that various modifications and variations can be made without departing from the spirit and scope of the invention. Therefore, the specification and drawings should be considered illustrative rather than restrictive.

Claims

1. A method for automatic monitoring and alarm handling of leaky cable faults, characterized in that, The method includes the following steps: Step 1: Send a request command through the monitoring host to process alarm data, and actively trigger alarms and record logs; Step 2: The leaky cable detection device responds to the request command, executes the leaky cable detection process, and reports the detection results; Step two specifically includes the following steps: (2-1) Initialize the network interface and perform network UDP communication; (2-2) Initialize the file operation interface and read the configuration information; (2-3) Initialize the USB device operation interface; (2-4) Initialize the first counter, the second counter, and the third counter, and record the time interval; (2-5) Start the scheduled task processing flow; (2-6) Check if there is a request command message on the network interface. If there is no request command message on the network interface, wait for 200ms and continue (2-6); if there is a request command message on the network interface, read all the messages on the network interface. (2-7) Verify the packets of the network interface. If the packet verification fails, continue to (2-6); if the packet verification passes, continue to (2-8). (2-8) Parse the command message; Steps (2-5) specifically include the following steps: (2-5.1) Wait 500ms; (2-5.2) Accumulate the values ​​of the first counter, the second counter, and the third counter; (2-5.3) Determine if the value of the first counter is greater than 360. If the value of the first counter is greater than 360, actively upload the heartbeat command data packet through the network port and clear the first counter; otherwise, continue to step (2-5.4). (2-5.4) Determine if the value of the second counter is greater than 180. If the value of the second counter is greater than 180, actively upload the synchronization time command data packet through the network port and clear the second counter; otherwise, continue to step (2-5.5). (2-5.5) Determine if the value of the third counter is greater than 600. If the value of the third counter is greater than 600, start the leaky cable detection process; otherwise, continue to step (2-5.1). (2-5.6) Continue with step (2-5.1).

2. The method for automatic monitoring and alarm processing of leaky cable faults according to claim 1, characterized in that, Step one specifically includes the following steps: (1-1) Initialize the network interface and perform network communication; (1-2) Initialize the file operation interface and record runtime logs; (1-3) Start the UDP service, start the data processing task, and process the data requests automatically reported by the leaky cable detection device; (1-4) Detection request command; (1-5) Construct the request command message; (1-6) Send the request command message to the leaky cable detection device via the UDP client network port; (1-7) Construct an operation log and record it to a log file; (1-8) Read the response message from the leaky cable detection device through the network port; (1-9) Parse the response message; (1-10) Update the interface display; (1-11) Continue with step (1-4).

3. The method for automatic monitoring and alarm processing of leaky cable faults according to claim 2, characterized in that, The steps (1-3) mentioned above specifically include the following steps: (1-3.1) Check if there are network protocol packets on the UDP port. If there is no data on the UDP port, wait for 100ms and continue to step (1-3.1); if there is data on the UDP port, read the network data protocol packets. (1-3.2) Perform integrity verification on the network protocol packets. If the network protocol packet verification fails, continue to step (1-3.1); if the network protocol packet verification succeeds, continue to step (1-3.3). (1-3.3) Execute the parsing command.

4. The method for automatic monitoring and alarm processing of leaky cable faults according to claim 3, characterized in that, The steps (1-3.3) specifically include the following steps: (1-3.3.1) According to the heartbeat protocol packet, maintain the online status of the leaky cable detection equipment and continue with step (1-3.1). (1-3.3.2) Synchronize the system time of the leaky cable detection device according to the time synchronization protocol packet, and continue with step (1-3.1). (1-3.3.3) Actively alarm through the leaky cable detection device, record the alarm details, drive the alarm sound player to play the alarm prompt sound, and continue to step (1-3.1).

5. The method for automatic monitoring and alarm processing of leaky cable faults according to claim 1, characterized in that, The process of initiating the leaky cable detection procedure in step (2-5.5) includes the following steps: (2-5.5.1) Configure the leakage cable measurement parameters via the USB device port; (2-5.5.2) Obtain leakage cable measurement data via USB device port; (2-5.5.3) Analyze the leakage cable measurement data to determine whether an alarm is needed. If an alarm is needed, actively upload the alarm command data packet through the network port; otherwise, continue to step (2-5.6).

6. The method for automatic monitoring and alarm processing of leaky cable faults according to claim 1, characterized in that, The steps (2-8) mentioned above specifically include the following steps: (2-8.1) Synchronize time command, set the system time of the leaky cable detection device, and continue to step (2-6). (2-8.2) Configure parameter command, open file, save parameter data to file, close file, continue to step (2-6); (2-8.3) Parameter query command, obtain parameters, return response message, continue to step (2-6).

7. A system for automatically monitoring and alarming leaky cable faults according to claim 1, characterized in that, The system includes: The monitoring host is used to automatically detect leaky cable faults and control the working status of the alarm sound player; the monitoring host can send request commands, process alarm data, and actively trigger alarms and record logs. An alarm sound player, connected to the monitoring host, is used to play an alarm sound under the control of the monitoring host when a leaky cable malfunctions, to alert the user that an alarm has occurred. The switch is connected to the monitoring host and is used to establish a network, connecting the monitoring host and the first photoelectric converter. The first photoelectric converter is connected to the switch and is used to realize remote network construction, converting optical signals and electrical signals to each other. The second photoelectric converter is connected to the first photoelectric converter and is used to realize remote network construction by converting optical signals and electrical signals to each other. The leaky cable detection device is connected to the second photoelectric converter and is used to realize automatic monitoring of leaky cable faults and complete the detection of leaky cables; the leaky cable detection device can respond to request commands, execute the leaky cable detection process, and report the detection results. A combiner, connected to the aforementioned leaky cable detection device, is used to combine communication signals with the detection signals from the leaky cable monitoring device and output them to the leaky cable. A leaky cable is connected to the combiner to enable signal transmission.

8. A device for automatically monitoring and alarming leaky cable faults, characterized in that, The device includes: A processor is configured to execute computer-executable instructions; The memory stores one or more computer-executable instructions, which, when executed by the processor, implement the steps of the method for automatic monitoring and alarm handling of leaky cable faults as described in any one of claims 1 to 6.

9. A processor for automatically monitoring and alarming leaky cable faults, characterized in that, The processor is configured to execute computer-executable instructions, which, when executed by the processor, implement the steps of the method for automatic monitoring and alarm processing of leaky cable faults as described in any one of claims 1 to 6.

10. A computer-readable storage medium, characterized in that, It stores a computer program that can be executed by a processor to implement the steps of the method for automatic monitoring and alarm handling of leaky cable faults as described in any one of claims 1 to 6.

Citation Information

Patent Citations

  • Leak cable monitoring system

    CN205453713U