System, method, device, processor and storage medium thereof for realizing automatic recovery processing of leakage cable monitoring equipment operation failure

By introducing specific components and control methods into the leaky cable monitoring device, automatic recovery of the device in the event of calibration data loss or communication abnormalities is achieved, solving the problem of manually restarting the device in the prior art and improving the stability and working efficiency of the device.

CN115915229BActive Publication Date: 2026-02-27TRANSCOM INSTR
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202211453090.0
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-11-21
Publication Date
2026-02-27
Estimated Expiration
2042-11-21

AI Technical Summary

Technical Problem

Existing leaky cable monitoring equipment requires manual restart when calibration data is lost or communication is abnormal, resulting in low work efficiency and inconvenience.

Method used

The system employs components including a first power management module, a digital signal processing module, an RF module, an ARM microprocessor, a first Flash memory, an MCU control unit, and an external watchdog timer. It restores factory calibration data through the MCU control unit and controls the working state using the first power management module, thereby achieving automatic recovery from non-hardware faults.

Benefits of technology

It reduces the cost of returning the equipment to the factory for repair and personnel maintenance, improves the stability and efficiency of the equipment, and expands the applicability of the equipment.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115915229B_ABST
    Figure CN115915229B_ABST
Patent Text Reader

Abstract

The present application relates to a kind of system for realizing automatic recovery processing to the operating failure of leak cable monitoring equipment, including first power management module, digital signal processing module, radio frequency module, ARM microprocessor, first flash memory, second power management module, MCU control unit and external watchdog, digital signal processing module is connected with radio frequency module, MCU control unit is connected with second power management module, external watchdog and second flash memory, external watchdog is connected with second power management module.The present application also relates to a kind of method, device, processor and storage medium for realizing automatic recovery processing to the operating failure of leak cable monitoring equipment.The system, method, device, processor and its computer readable storage medium for realizing automatic recovery processing to the operating failure of leak cable monitoring equipment of the present application reduce the repair cost due to factory calibration data damage, reduce personnel maintenance cost, enhance product stability, and the technical effect brought is remarkable.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] The present application relates to the field of railway wireless communication network, in particular to the field of leaky cable fault monitoring, and specifically refers to a system, method, device, processor and computer readable storage medium thereof for automatically recovering from operation faults of leaky cable monitoring equipment. BACKGROUND

[0002] In recent years, with the rapid construction of domestic railway wireless communication network, more and more equipment is applied in railway wireless communication. As an important medium for signal transmission, leaky cable is generally installed on the inner wall of the tunnel or along the railway. With the influence of factors such as vibration, humidity, aging, etc., leaky cable will also have problems such as aging and signal transmission quality decline. These factors will cause the strength of wireless signal coverage to decrease, thereby causing communication problems. Therefore, real-time monitoring of the operating state of leaky cable is an important means to ensure the stability of wireless communication signals. As the core module of the real-time monitoring system of leaky cable, the stability of the operating state of leaky cable monitoring equipment and the accuracy of the measured data of leaky cable are very important indicators. In order to ensure the measurement accuracy of leaky cable monitoring equipment, the corresponding factory calibration correction data will be stored in the equipment. As an all-weather monitoring equipment, long-term reliable operation is its most basic function. However, the actual working environment is complex and changeable, and factors such as humidity, static electricity and vibration can cause the leaky cable monitoring equipment to work abnormally. The principle block diagram of leaky cable monitoring equipment is shown in Figure 1 .

[0003] The power management module can provide stable working voltage for the ARM microprocessor and the digital processing module.

[0004] The digital signal processing module collects and processes the raw data of the radio frequency module.

[0005] The radio frequency module realizes hardware data processing of detecting leaky cable indicators;

[0006] The SMA joint is used to connect the leaky cable to be detected;

[0007] The ARM microprocessor, as the brain of the leaky cable monitoring equipment, on the one hand transmits data to the monitoring center through the network port and the serial port, and on the other hand obtains the raw data of leaky cable monitoring from the digital signal processing module through the USB interface, and uses the factory calibration data stored in the Flash memory to correct and generate the final monitoring data;

[0008] The Flash memory stores the factory calibration correction data of the leaky cable monitoring equipment;

[0009] The network port is an external communication interface, which realizes communication between the ARM microprocessor and the external communication;

[0010] Serial port, external communication interface, realize ARM microprocessor and external communication;

[0011] The device has some defects in actual use, such as the situation of calibration data loss needs to be returned to the factory for recalibration, such as the situation of USB interface communication blockage, serial port communication exception and other non-hardware faults, manual restart of the device is needed to solve, which needs the staff to enter the site, which not only wastes time, but also affects the work efficiency, and is very inconvenient. SUMMARY

[0012] The present application aims to overcome the shortcomings of the prior art, and provides a system, method, device, processor and computer readable storage medium for automatically recovering from operation faults of a leaky cable monitoring device, which has high stability, high work efficiency and a wide range of applications.

[0013] In order to achieve the above-mentioned purpose, the system, method, device, processor and computer readable storage medium for automatically recovering from operation faults of a leaky cable monitoring device are as follows:

[0014] The system for automatically recovering from operation faults of a leaky cable monitoring device has the following main features: the system comprises a first power management module, a digital signal processing module, a radio frequency module, an ARM microprocessor, a first flash memory, a second power management module, an MCU control unit and an external watchdog, the ARM microprocessor is connected with the digital signal processing module, the first flash memory, the MCU control unit and the first power management module, the digital signal processing module is connected with the radio frequency module, the MCU control unit is connected with the second power management module, the external watchdog and a second flash memory, the external watchdog is connected with the second power management module, and the first power management module is connected with the digital signal processing module, the ARM microprocessor and the MCU control unit.

[0015] The ARM microprocessor is used to obtain original data of leaky cable monitoring from the digital signal processing module through a USB interface, and corrects the original data using factory calibration data stored in the first flash memory to generate final monitoring data, the radio frequency module is used for detecting hardware data processing of a leaky cable index, the digital signal processing module is used for collecting original data of the radio frequency module and performing operation processing, the MCU control unit interacts with the ARM microprocessor in terms of command data, the external watchdog ensures stable operation of the MCU, the first power management module is used for adjusting a controllable output voltage, the second power management module is used for providing a stable output voltage to provide a stable working voltage for the MCU control unit and the external watchdog, and the first flash memory is used for storing required factory calibration data.

[0016] Preferably, the system further comprises a second Flash memory, connected to the MCU control unit, used as a data backup for the first Flash memory.

[0017] Preferably, the system further comprises an SMA joint, connected to the radio frequency module, used for connecting the leak cable to be detected.

[0018] Preferably, the system further comprises a network port and a serial port, both used as external communication interfaces for the ARM microprocessor to communicate with the outside.

[0019] Preferably, the first power management module outputs a voltage of 0 when the input level EN is high, and provides a stable working voltage for the ARM microprocessor and the digital signal processing module when the input level EN is low.

[0020] The method for automatically recovering the operation failure of the leak cable monitoring device based on the above system mainly comprises the following steps:

[0021] The factory calibration data of the leak cable monitoring device is recovered by the MCU control unit, and the working state is controlled by the first power management module to realize the recovery of non-hardware failure in the operation process of the leak cable monitoring device.

[0022] The method specifically comprises the following steps:

[0023] (1) Configure the reset time of the external watchdog;

[0024] (2) Initialize the serial communication function;

[0025] (3) Initialize the IO port control function;

[0026] (4) Initialize the SPI controller;

[0027] (5) Initialize the time counter;

[0028] (6) Detect whether there is data in the serial port device, if there is no data in the serial port, continue to step (7); if there is data in the serial port, continue to step (9);

[0029] (7) Reset the external watchdog counter, the program waits for 1s, and the time counter is added by 1;

[0030] (8) Determine whether the time counter is greater than 60s, if yes, clear the time counter, restart the digital signal processing module and the ARM microprocessor, and continue to step (6); otherwise, continue to step (6);

[0031] (9) read all data of the serial port, clear the time counter, and reset the external watchdog counter;

[0032] (10) check the serial port data, if the check fails, continue to step (6); if the check passes, continue to step (11);

[0033] (11) analyze the data, determine the request type, and classify and analyze.

[0034] Preferably, the step (11) specifically includes the following steps:

[0035] (11.1) analyze the data;

[0036] (11.2) if the heartbeat data packet is obtained, it indicates that the ARM microprocessor is working normally, and the step (6) is continued;

[0037] (11.3) if the factory calibration data request is obtained, enable the chip selection and read signals of the second Flash memory, read the data of the second Flash memory, and transmit it to the ARM microprocessor, and continue to step (6);

[0038] (11.4) if the USB error or serial port abnormal data is obtained, the IO port outputs high level, stops the power output of the first power management module, and after 1S, the IO port outputs low level, restarts the digital signal processing module and the ARM microprocessor, and continues to step (6);

[0039] The device for implementing the automatic recovery processing for the running fault of the leak cable monitoring equipment, the main feature of which is that the device comprises:

[0040] a processor configured to execute computer executable instructions;

[0041] a memory storing one or more computer executable instructions, which, when executed by the processor, implement each step of the method for implementing the automatic recovery processing for the running fault of the leak cable monitoring equipment.

[0042] The processing for implementing the automatic recovery processing for the running fault of the leak cable monitoring equipment, the main feature of which is that the processor is configured to execute computer executable instructions, which, when executed by the processor, implement each step of the method for implementing the automatic recovery processing for the running fault of the leak cable monitoring equipment.

[0043] The computer readable storage medium, the main feature of which is that a computer program is stored thereon, which can be executed by a processor to implement each step of the method for implementing the automatic recovery processing for the running fault of the leak cable monitoring equipment.

[0044] The system, method, device, processor and computer readable storage medium for automatically recovering from a running fault of a leaky cable monitoring device according to the present application reduce the cost of factory repair caused by damage to factory calibration data, reduce personnel maintenance costs, enhance product stability, and have significant technical effects. BRIEF DESCRIPTION OF DRAWINGS

[0045] Figure 1 The figure is a structural diagram of the system for automatically recovering from a running fault of a leaky cable monitoring device according to the present application.

[0046] Figure 2 The figure is a principle block diagram of the system for automatically recovering from a running fault of a leaky cable monitoring device according to the present application.

[0047] Figure 3 The figure is a flow chart of the method for automatically recovering from a running fault of a leaky cable monitoring device according to the present application. DETAILED DESCRIPTION

[0048] In order to more clearly describe the technical content of the present application, further description will be made below in combination with specific embodiments.

[0049] The system for automatically recovering from a running fault of a leaky cable monitoring device according to the present application includes a first power management module, a digital signal processing module, a radio frequency module, an ARM microprocessor, a first flash memory, a second power management module, an MCU control unit and an external watchdog, the ARM microprocessor is connected with the digital signal processing module, the first flash memory, the MCU control unit and the first power management module, the digital signal processing module is connected with the radio frequency module, the MCU control unit is connected with the second power management module, the external watchdog and a second flash memory, the external watchdog is connected with the second power management module, and the first power management module is connected with the digital signal processing module, the ARM microprocessor and the MCU control unit.

[0050] The ARM microprocessor is used to acquire original data of cable leakage monitoring from the digital signal processing module through the USB interface, and corrects the original data using factory calibration data stored in the first Flash memory to generate final monitoring data, the radio frequency module is used for hardware data processing of detecting leakage cable indicators, the digital signal processing module is used for collecting original data of the radio frequency module and performing operation processing, the MCU control unit interacts with the ARM microprocessor for command data, the external watchdog ensures that the MCU can operate stably, the first power management module is used for adjusting the controllable output voltage, the second power management module is used for providing stable output voltage to provide stable working voltage for the MCU control unit and the external watchdog, and the first Flash memory is used for storing required factory calibration data.

[0051] As a preferred embodiment of the application, the system further comprises a second Flash memory connected with the MCU control unit, used as data backup of the first Flash memory.

[0052] As a preferred embodiment of the application, the system further comprises an SMA joint connected with the radio frequency module, used for connecting the leakage cable to be detected.

[0053] As a preferred embodiment of the application, the system further comprises a network port and a serial port, both used as external communication interfaces for the ARM microprocessor to communicate with the outside.

[0054] As a preferred embodiment of the application, when the input level EN is high, the output voltage of the first power management module is 0, and when the input level EN is low, the first power management module provides stable working voltage for the ARM microprocessor and the digital signal processing module.

[0055] The method for automatically recovering the operation fault of the cable leakage monitoring device by using the above system comprises the following steps:

[0056] The factory calibration data of the cable leakage monitoring device is recovered by the MCU control unit, and the working state is controlled by the first power management module to realize the recovery of non-hardware faults in the operation process of the cable leakage monitoring device.

[0057] The method specifically comprises the following steps:

[0058] (1) configuring the reset time of the external watchdog;

[0059] (2) initializing the serial communication function;

[0060] (3) initializing the IO port control function;

[0061] (4) initializing the SPI controller;

[0062] (5) initializing the time counter;

[0063] (6) detecting whether the serial port device has data, if the serial port has no data, then continuing step (7); if the serial port has data, then continuing step (9);

[0064] (7) resetting the external watchdog counter, the program waiting for 1s, and the time counter accumulating 1;

[0065] (8) judging whether the time counter is greater than 60s, if yes, then clearing the time counter, restarting the digital signal processing module and the ARM microprocessor, and continuing step (6); otherwise, continuing step (6);

[0066] (9) reading all data of the serial port, clearing the time counter, and resetting the external watchdog counter;

[0067] (10) verifying the serial port data, if the verification fails, then continuing step (6); if the verification passes, then continuing step (11);

[0068] (11) analyzing the data, judging the request type, and classifying and analyzing.

[0069] As a preferred embodiment of the application, the step (11) specifically comprises the following steps:

[0070] (11.1) analyzing the data;

[0071] (11.2) if the heartbeat data packet is obtained, then indicating that the ARM microprocessor works normally, and continuing step (6);

[0072] (11.3) if the factory calibration data request is obtained, then enabling the chip selection and read signals of the second Flash memory, reading the data of the second Flash memory, and transmitting the data to the ARM microprocessor, and continuing step (6);

[0073] (11.4) if the USB error or the serial port abnormal data is obtained, then outputting high level of the IO port, stopping the power output of the first power management module, outputting low level of the IO port after 1s, restarting the digital signal processing module and the ARM microprocessor, and continuing step (6);

[0074] The device for implementing the automatic recovery processing for the running fault of the leak cable monitoring device, wherein the device comprises:

[0075] a processor configured to execute computer executable instructions;

[0076] A memory storing one or more computer-executable instructions that, when executed by the processor, implement the steps of the method for implementing automatic recovery processing for a leaky cable monitoring device operation failure.

[0077] The present application is a processing for implementing automatic recovery processing for a leaky cable monitoring device operation failure, wherein the processor is configured to execute computer-executable instructions that, when executed by the processor, implement the steps of the method for implementing automatic recovery processing for a leaky cable monitoring device operation failure.

[0078] The present application is a computer-readable storage medium having stored thereon a computer program executable by a processor to implement the steps of the method for implementing automatic recovery processing for a leaky cable monitoring device operation failure.

[0079] In the detailed description of the present application, in order to solve the above-mentioned problems existing in the prior art, an automatic recovery device and method for leaky cable monitoring device operation failure are proposed, which are reasonable in design and overcome the shortcomings of the prior art.

[0080] The automatic recovery device for leaky cable monitoring device operation failure comprises a first power management module, a digital signal processing module, a radio frequency module, an SMA connector, an ARM microprocessor, a first flash memory, a second power management module, an MCU control unit, an external watchdog, a second flash memory, a network port, and a serial port. Figure 2 As shown in the principle diagram

[0081] The first power management module is an output voltage controllable power module, which can provide stable working voltage for the ARM microprocessor and the digital signal processing module when the input level EN is high and the output voltage is 0, and when the EN level is low.

[0082] The digital signal processing module collects and processes the raw data of the radio frequency module;

[0083] The radio frequency module realizes hardware data processing of detecting leaky cable indicators;

[0084] The SMA connector is used to connect the leaky cable to be detected.

[0085] The ARM microprocessor, as the brain of the leaky cable monitoring device, transmits data to the monitoring center through the network port and the serial port, and obtains the raw data of leaky cable monitoring from the digital signal processing module through the USB interface, and uses the factory calibration data stored in the first flash memory to correct and generate the final monitoring data.

[0086] The first flash memory stores factory calibration data required by the leak cable monitoring device.

[0087] The second power management module provides stable output voltage to ensure stable operation of the MCU control unit and external watchdog;

[0088] The MCU control unit interacts with the ARM microprocessor for command data, including: responding to the request of the ARM microprocessor for factory calibration data, controlling the first power management module according to the working state of the ARM microprocessor, so as to restart the ARM microprocessor and the digital signal processing module;

[0089] The external watchdog ensures that the MCU can run stably and execute the method as expected;

[0090] The second flash memory is a data backup of the first flash memory;

[0091] The network port is used as an external communication interface for the ARM microprocessor to communicate with the outside;

[0092] The serial port is used as an external communication interface for the ARM microprocessor to communicate with the outside.

[0093] The method for automatically recovering the operation failure of the leak cable monitoring device, the execution unit of the method is the MCU control unit, which realizes the recovery of the factory calibration data of the leak cable monitoring device and the working state control of the first power management module, so as to realize the recovery of non-hardware failure in the operation process of the leak cable monitoring device. The detailed method is shown in the flowchart Figure 3 The specific method steps are as follows:

[0094] 1. The reset time of the external watchdog is configured to be 3S;

[0095] 2. Initialize the serial communication function;

[0096] 3. Initialize the IO port control function;

[0097] 4. Initialize the SPI controller;

[0098] 5. Initialize the time counter, the number of counters represents the time length, and the unit is S;

[0099] 6. Detect whether there is data in the serial port device;

[0100] 7. If there is no data in the serial port, execute the following steps:

[0101] 7.1 Reset the external watchdog counter;

[0102] 7.2 Program waits for 1S;

[0103] 7.3 Time counter accumulates 1;

[0104] 7.3 If the time counter has been greater than 60 (accumulated time length is 1 min), the IO port outputs high level, stops the power output of the first power management module, and after 1S, the IO port outputs low level, thereby realizing the restart function of the digital signal processing module and the ARM microprocessor, and clearing the time counter;

[0105] 7.4 Return to step 6;

[0106] 8. If the serial port has data, the following steps are executed:

[0107] 8.1 Read all data of the serial port;

[0108] 8.2 Clear the time counter;

[0109] 8.3 Reset the external watchdog counter;

[0110] 8.4 Check the serial port data, and if the check fails, return to step 6;

[0111] 8.5 Analyze the data, judge the request type, and classify and analyze;

[0112] 8.5.1 Heartbeat data packet, indicating that the ARM microprocessor works normally, and no special processing is required, returning to step 6;

[0113] 8.5.2 Restore factory data, enable the chip selection and read signal of the second Flash memory, read the data of the second Flash memory, and transmit the data to the ARM microprocessor, returning to step 6;

[0114] 8.5.3 USB error or serial port error, the IO port outputs high level, stops the power output of the first power management module, and after 1S, the IO port outputs low level, thereby realizing the restart function of the digital signal processing module and the ARM microprocessor. Return to step 6.

[0115] The specific implementation scheme of the embodiment can be referred to the related description in the above embodiment, which will not be repeated here.

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

[0117] It should be noted that in the description of the present application, the terms "first", "second", etc. are only for the purpose of description, and cannot be understood as indicating or implying relative importance. In addition, in the description of the present application, unless otherwise specified, the meaning of "a plurality of" is at least two.

[0118] Any procedural or methodological descriptions in flow charts or otherwise described herein can be understood to represent modules, segments, or portions of code that include executable instructions for implementing the specific logical functions or steps, and the scope of preferred embodiments of the present application includes additional implementations in which the functions are performed in a different order, including substantially simultaneously, or in reverse order, as will be understood by those skilled in the art of the embodiments to which the present application pertains.

[0119] It should be understood that portions of the present application can be implemented in hardware, software, firmware, or combinations thereof. In the above-described embodiments, multiple steps or methods can be implemented in software or firmware stored in a memory and executed by a suitable instruction execution device. For example, if implemented in hardware, and as in another embodiment, implementation can be in any one or a combination of the following technologies, which are all well known in the art: discrete logic circuitry having logic gates for implementing logic functions upon an application of data signals, application specific integrated circuits having appropriate combinational logic gates, programmable gate arrays (PGA), field programmable gate arrays (FPGA), and the like.

[0120] Those skilled in the art of the present technology can understand that all or part of the steps carried out by the above-described embodiments can be completed by programs instructing relevant hardware, and the corresponding programs can be stored in a computer readable storage medium, and when executed, include one or a combination of steps of the method embodiments.

[0121] In addition, each functional unit in each embodiment of the present application can be integrated in one processing module, or each unit can be physically present separately, or two or more units can be integrated in one module. The above-mentioned integrated module can be realized in the form of hardware or in the form of a software function module. The integrated module, if realized in the form of a software function module and sold or used as an independent product, can also be stored in a computer readable storage medium.

[0122] The above-mentioned storage medium can be a read-only memory, a magnetic disk or an optical disk, etc.

[0123] In the description of the present specification, the description of the terms "one embodiment", "some embodiments", "an example", "a specific example", or "some examples" and the like means that the specific features, structures, materials or characteristics described in connection with the embodiment or example are included in at least one embodiment or example of the present application. In the present specification, the illustrative description of the above terms does not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials or characteristics described can be combined in any one or more embodiments or examples in a suitable manner.

[0124] The system, method, device, processor and computer readable storage medium thereof for realizing automatic recovery processing of the leakage cable monitoring equipment operation fault adopt the present application, reduce the repair cost due to the damage of the factory calibration data, reduce the personnel maintenance cost, enhance the product stability, and the technical effect is remarkable.

[0125] In this specification, the application has been described with reference to its particular embodiments. It is clear, however, that various modifications and changes can be made without departing from the spirit and scope of the application. Therefore, the specification and drawings should be considered illustrative rather than restrictive.

Claims

1. A system for automatically recovering from operational failures of leaky cable monitoring equipment, characterized in that, The system includes a first power management module, a digital signal processing module, a radio frequency module, an ARM microprocessor, a first Flash memory, a second power management module, an MCU control unit, and an external watchdog timer. The ARM microprocessor is connected to the digital signal processing module, the first Flash memory, the MCU control unit, and the first power management module. The digital signal processing module is connected to the radio frequency module. The MCU control unit is connected to the second power management module, the external watchdog timer, and the second Flash memory. The external watchdog timer is connected to the second power management module. The first power management module is connected to the digital signal processing module, the ARM microprocessor, and the MCU control unit. The ARM microprocessor is used to acquire raw data of leaky cable monitoring from the digital signal processing module via the USB interface, and correct it using the factory calibration data stored in the first Flash memory to generate the final monitoring data. The radio frequency module is used for hardware data processing of leaky cable indicators. The digital signal processing module is used to acquire raw data from the radio frequency module and perform calculations. The MCU control unit interacts with the ARM microprocessor via command and data. The external watchdog ensures that the MCU can operate stably. The first power management module is used to controllably adjust the output voltage. The second power management module is used to provide a stable output voltage and a stable operating voltage for the MCU control unit and the external watchdog. The first Flash memory is used to store the required factory calibration data. The system also includes a second Flash memory, which is connected to the MCU control unit and is used as a data backup for the first Flash memory; The first power management module outputs a voltage of 0 when the input level EN is high, and provides a stable operating voltage for the ARM microprocessor and digital signal processing module when the input level EN is low.

2. The system for automatic recovery processing of operational faults in leaky cable monitoring equipment according to claim 1, characterized in that, The system also includes an SMA connector, which connects to the radio frequency module and is used to connect the leaky cable to be detected.

3. The system for automatic recovery processing of operational faults in leaky cable monitoring equipment according to claim 1, characterized in that, The system also includes a network port and a serial port, both of which serve as external communication interfaces for communication between the ARM microprocessor and external devices.

4. A method for automatically recovering from operational failures of leaky cable monitoring equipment based on the system described in claim 1, characterized in that, The method described in detail is as follows: The factory calibration data of the leaky cable monitoring device is restored by the MCU control unit, and the working status is controlled by the first power management module to realize the recovery of non-hardware faults during the operation of the leaky cable monitoring device. The method specifically includes the following steps: (1) Configure the reset time of the external watchdog; (2) Initialize the serial communication function; (3) Initialize the I / O port control function; (4) Initialize the SPI controller; (5) Initialize the time counter; (6) Check if there is data in the serial port device. If there is no data in the serial port, continue to step (7); if there is data in the serial port, continue to step (9). (7) Reset the external watchdog counter, wait for 1 second, and increment the time counter by 1; (8) Determine if the time counter is greater than 60s. If it is, clear the time counter, restart the digital signal processing module and the ARM microprocessor restart function, and continue to step (6); otherwise, continue to step (6). (9) Read all data from the serial port, clear the time counter, and reset the external watchdog counter; (10) Verify the serial port data. If the verification fails, continue to step (6); if the verification passes, continue to step (11). (11) Parse the data, determine the request type, and categorize and parse it.

5. The method for automatically recovering from operational failures of leaky cable monitoring equipment according to claim 4, characterized in that, Step (11) specifically includes the following steps: (11.1) Parse the data; (11.2) If a heartbeat data packet is obtained, it means that the ARM microprocessor is working normally, and continue to step (6). (11.3) If a factory calibration data request is received, enable the chip select and read signals of the second Flash memory, read the data of the second Flash memory, and transmit it to the ARM microprocessor, and continue to step (6). (11.4) If a USB error or serial port abnormal data is obtained, the IO port outputs a high level, stops the power output of the first power management module, and after 1 second, the IO port outputs a low level, restarts the digital signal processing module and the ARM microprocessor, and continues to step (6).

6. A device for automatically recovering from operational failures of leaky cable monitoring equipment, 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 automatically recovering from operational failures of a leaky cable monitoring device as described in any one of claims 4 to 5.

7. A process for automatically recovering from operational failures of leaky cable monitoring equipment, 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 automatically recovering from operational failures of a leaky cable monitoring device as described in any one of claims 4 to 5.

8. 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 automatically recovering from operational failures of a leaky cable monitoring device as described in any one of claims 4 to 5.

Citation Information

Patent Citations

  • Multi-modulo redundancy configuration system for processor

    CN111858121A

  • Multiple protective film piece of optical cable on -line monitoring system main control unit

    CN206673966U