A power-off data retention and state recovery method, system, device and readable storage medium for a coal mine image monitoring system
By adopting a hierarchical collaborative storage and adaptive recovery strategy in the underground coal mine image monitoring system, the problem of data loss and recovery in the event of a power outage was solved, achieving complete retention and rapid recovery of critical data, and improving the stability and security of the system.
Patent Information
- Application Number
- CN202611285092.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-08-24
- Publication Date
- 2026-11-20
Smart Images

Figure CN123145374A_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of intelligent monitoring technology for coal mine safety, and more specifically to a method, system, device, and readable storage medium for power outage data retention and status recovery of a coal mine image monitoring system. Background Technology
[0002] The underground working environment in coal mines is complex, and the power supply system is susceptible to factors such as equipment aging, line faults, safety linkages due to excessive gas levels, and regular maintenance, frequently resulting in sudden power outages and planned power cuts. As a core monitoring device for coal mine safety, the image monitoring system is responsible for real-time image acquisition, condition monitoring, safety early warning, and accident recording in key areas such as underground working faces, roadways, and equipment rooms. Its operational continuity and data integrity directly determine the quality of coal mine safety supervision and the effectiveness of accident tracing.
[0003] Current mainstream coal mine image monitoring systems generally use volatile memory to store core status data such as system operating parameters, equipment configuration, and alarm thresholds, relying solely on external UPS power supplies for short-term power outage recovery. This traditional solution has several drawbacks: First, UPS equipment is costly to deploy underground, difficult to maintain, and the underground explosion-proof certification process is complex and poses safety hazards; second, volatile memory data is instantly erased during a sudden power outage, requiring manual reconfiguration and status calibration after restarting, with recovery taking up to tens of minutes; third, critical data such as monitoring footage and alarm records from the last moments before the power outage are easily lost, resulting in incomplete accident tracing data; and fourth, manual configuration errors can easily lead to false alarms and missed alarms after restarting, significantly reducing monitoring reliability.
[0004] Therefore, how to provide a method, system, device, and readable storage medium for power outage data retention and status recovery in a coal mine image monitoring system that is adaptable to multiple power outage scenarios, low-cost, and highly reliable is a problem that urgently needs to be solved by those skilled in the art. Summary of the Invention
[0005] In view of this, the present invention provides a method, system, device, and readable storage medium for power outage data retention and status recovery in a coal mine image monitoring system. It aims to solve problems such as data loss, disordered operation, cumbersome restart and configuration, long recovery time, and frequent false alarms and missed alarms that easily occur in image monitoring systems under various scenarios, including complex underground power supply environments, planned maintenance outages, sudden power outages due to faults, and safety linkage power outages. The present invention constructs a hierarchical collaborative storage mechanism for volatile operational status and non-volatile video data, integrates periodic full-state state snapshots and real-time incremental log dual-mode recording technology, and combines it with a progressive hierarchical status recovery strategy to achieve zero loss of key system data and accurate restoration of operational status under all power outage scenarios.
[0006] To achieve the above objectives, the present invention adopts the following technical solution: A method and system for power outage data retention and status recovery in a coal mine image monitoring system, comprising: Step 1: Based on the data characteristics of the coal mine image monitoring system, the system operation data is divided into two categories: video monitoring data and system operation status data, and a differentiated storage strategy is designed accordingly. Among them, video monitoring data is stored in real time throughout the process using a large-capacity non-volatile memory; while the system operation status data during daily operation is temporarily stored in high-speed volatile memory. Step 2: Adopt a dual-mode recording strategy of periodic full snapshots + real-time incremental logs to achieve comprehensive and seamless retention of system operation status; Step 3: Design adaptive data solidification logic for different power outage scenarios in coal mines to achieve seamless adaptation across all scenarios; Step 4: Adopt a tiered and gradual recovery strategy. After the system is powered on and restarted, prioritize ensuring that the core monitoring functions are quickly put online, and then gradually improve the overall system operation status.
[0007] Optionally, in step 1, based on the data characteristics of the coal mine image monitoring system, the system operation data is divided into two main categories: video monitoring data and system operation status data, specifically: Data characterized by large volume, strong continuity, and high update frequency, including real-time video footage collected underground, recorded clips, and historical monitoring videos, are classified as video monitoring data. Data characterized by high update frequency, small data volume, and high real-time requirements, including system channel configuration parameters, alarm thresholds, equipment operating conditions, screen parameters, linkage strategies, and network configuration, are classified as system operating status data.
[0008] Optionally, in step 2, a dual-mode recording strategy combining periodic full snapshots and real-time incremental logs is adopted to achieve comprehensive and seamless retention of the system's operational status. Specifically: Periodic full snapshot collection: With a preset snapshot period, under normal power supply and operation of the device, the system operation status data in volatile memory is periodically read to generate a full system status snapshot file, which is encrypted, written to non-volatile memory and marked with a time sequence timestamp; Real-time incremental logging: Within the interval between two full snapshots, the system monitors changes in operating status data in real time. When a change in system operating status data is detected, an incremental log is immediately generated, recording the changed parameters, the change time, and the values before and after the change, and synchronized to non-volatile memory in real time.
[0009] Optionally, step 2 also includes: solidifying the instantaneous state upon power failure, specifically: When the downhole power supply voltage is detected to be lower than the normal operating threshold of the equipment and a power outage condition is determined, the embedded interrupt program is immediately triggered to start a power outage instantaneous state snapshot, quickly capture the system operating status data in the current volatile memory, generate a power outage final state snapshot, and simultaneously seal the incremental log of the last moment to ensure that all system operating status data and parameter change data in the last moment before the power outage are solidified to non-volatile memory.
[0010] Optionally, in step 3, adaptive data persistence logic is designed for different power outage scenarios in coal mines, specifically as follows: Planned maintenance power outage: After receiving the power outage maintenance instruction in advance, the system will proactively trigger a full snapshot to save the current complete system operating status data to non-volatile memory in advance, and continuously update the incremental log until the power outage. Sudden power failure: When the voltage detection unit momentarily captures a voltage drop signal, it triggers a passive power failure snapshot and log sealing, quickly completing the writing of the remaining data to non-volatile memory; Automatic power-off with safety linkage: In the event of an automatic power-off due to a safety issue, the system will simultaneously activate the power-off detection module and prioritize the storage of critical safety data, including alarm status, monitoring parameters at the time of exceeding limits, and linkage records, to ensure the complete preservation of core accident data.
[0011] Optionally, in step 4, the graded and progressive recovery strategy is as follows: Level 1 Priority Recovery: After the system completes its power-on self-test, it prioritizes loading the core monitoring data in the non-volatile memory and quickly starts the core monitoring functions, including video acquisition, real-time image transmission, and basic security monitoring, to minimize the monitoring gap. Second-level incremental completion: After the core monitoring function is running stably, the last full snapshot file before the power outage is retrieved to fully restore the system's basic configuration, general parameters, and equipment operating conditions. Then, all incremental logs within the snapshot interval are played back one by one to accurately correct the parameter changes, eliminate the state deviation caused by snapshot lag, and achieve complete consistency between the system's operating state and that before the power outage. Level 3 Redundancy Calibration: After full-state recovery is completed, data consistency calibration is automatically performed. The current operating parameters are compared with the final state data after power failure to identify parameter deviations and data loss issues. Redundancy completion and error correction are automatically completed, and the system operation log is updated simultaneously to ensure that there are no missed or false alarms after recovery, and the monitoring effect is completely consistent with that before the power failure.
[0012] The present invention also provides a power outage data retention and state recovery system for a coal mine image monitoring system, which utilizes a power outage data retention and state recovery method for a coal mine image monitoring system, comprising: The data classification and hierarchical storage mechanism module is used to divide the system operation data into two categories based on the data characteristics of the coal mine image monitoring system: video monitoring data and system operation status data, and to design differentiated storage strategies accordingly. Among them, video monitoring data is stored in real time using a large-capacity non-volatile memory; while system operation status data during daily operation is temporarily stored in high-speed volatile memory. Dual-mode data recording module for power outage status: It is used to record the system's operating status in a comprehensive and thorough manner by employing a dual-mode combination of periodic full snapshots and real-time incremental logs. Multi-scenario power outage adaptive adaptation module: designed to adapt data solidification logic for different power outage scenarios in coal mines, achieving seamless adaptation across all scenarios; Progressive hierarchical recovery module: Used to employ a hierarchical progressive recovery strategy, prioritizing the rapid online availability of core monitoring functions after the system is powered on and restarted, and then gradually improving the overall system operation status.
[0013] The present invention also provides an electronic device, comprising: Memory, used to store computer programs; A processor, used to execute a computer program, implements the steps of a method for power-off data retention and state recovery in a coal mine image monitoring system.
[0014] The present invention also provides a computer-readable storage medium storing a computer program, wherein when the computer program is executed by a processor, it implements the steps of a method for power-off data retention and state recovery of a coal mine image monitoring system.
[0015] As can be seen from the above technical solution, compared with the prior art, the present invention discloses a method, system, device, and readable storage medium for power failure data retention and status recovery in a coal mine image monitoring system, achieving the following beneficial effects: (1) Achieve zero loss of key data: Through the dual protection of instantaneous snapshots and incremental logs, the monitoring video, alarm records, system configuration and operating parameters at the last moment before the power outage are completely preserved, providing complete and accurate data support for downhole accident tracing and safety analysis, and completely solving the problem of instantaneous data loss in traditional solutions; (2) Significantly shorten system recovery time: Compared with the recovery time of tens of minutes for traditional manual reconfiguration, this method can complete the fully automatic state recovery in seconds to minutes, reducing the system monitoring interruption time by more than 90% and greatly improving the continuity of monitoring; (3) Ensure system configuration consistency: Fully automatic and accurate restoration of all operating parameters and working status before power failure, completely eliminating problems such as false alarms, missed alarms, abnormal screens, and parameter failures caused by manual configuration errors, and improving the operational stability of the monitoring system; (4) Reduce operation and maintenance and equipment costs: There is no need to deploy underground UPS backup power supply, which reduces the investment in hardware equipment and the workload of daily operation and maintenance. At the same time, it simplifies the complexity of intrinsic safety and explosion-proof certification of underground equipment and avoids the safety hazards of UPS equipment operating underground. (5) Lowering the technical threshold for operation and maintenance: The system achieves fully automated operation with "saves when power is off and restores when power is on", eliminating the need for on-duty personnel to master professional parameter configuration technology, greatly reducing the difficulty of equipment operation and maintenance, and adapting to the operation and maintenance work scenarios in coal mines. Attached Figure Description
[0016] To more clearly illustrate the technical solutions in the embodiments of the present invention or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are only embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on the provided drawings without creative effort.
[0017] Figure 1 This is a schematic diagram of the method flow provided by the present invention. Detailed Implementation
[0018] The technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present invention, and not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of the present invention.
[0019] Example 1: Embodiment 1 of the present invention discloses a method and system for power outage data retention and status recovery in a coal mine image monitoring system, such as... Figure 1 As shown, it includes: Step 1: Based on the data characteristics of the coal mine image monitoring system, the system operation data is divided into two categories: video monitoring data and system operation status data. Differentiated storage strategies are designed to address the problems of low efficiency and high redundancy in the traditional unified storage mode.
[0020] Based on the data characteristics of the coal mine image monitoring system, the system operation data is divided into two main categories: video monitoring data and system operation status data, specifically: Data characterized by large volume, strong continuity, and high update frequency, including real-time video footage collected underground, recorded clips, and historical monitoring videos, are classified as video monitoring data. Data characterized by high update frequency, small data volume, and high real-time requirements, including system channel configuration parameters, alarm thresholds, equipment operating conditions, screen parameters, linkage strategies, and network configuration, are classified as system operating status data.
[0021] To address the characteristics of video surveillance data—large volume, high continuity, and frequent updates—a large-capacity NAND Flash non-volatile memory is used for real-time storage throughout the entire process. During system operation, video data streams are written to the non-volatile storage medium in real time, eliminating the need for instantaneous storage upon power failure and ensuring persistent retention throughout the entire process. This prevents video data loss and also supports the construction of time-series indexes for video data, providing complete recording support for subsequent accident tracing.
[0022] To address the characteristics of the system's operational status data—high update frequency, small data volume, and high real-time requirements—it temporarily stores the data in high-speed volatile memory during daily operation to ensure system response speed. Simultaneously, a dynamic status data recording mechanism is enabled to lay the foundation for data persistence during power outages.
[0023] Step 2: Adopt a dual-mode recording strategy of regular full snapshots + real-time incremental logs to achieve comprehensive and seamless retention of system operation status, while taking into account both data integrity and lightweight storage.
[0024] A dual-mode recording strategy combining periodic full snapshots and real-time incremental logs is adopted to achieve comprehensive and seamless retention of the system's operational status. Specifically: Periodic full snapshot collection: The preset snapshot period (default 10 minutes, which can be customized according to the downhole working conditions) periodically reads the system operating status data (system operating status parameters, configuration information, and equipment status data) from the volatile memory under normal power supply and operation conditions, generates a full system status snapshot file, encrypts it and writes it to non-volatile memory and marks it with a time sequence timestamp; the full snapshot is used to retain the complete baseline state of the system, providing a basic data template for subsequent state recovery, and ensuring that the core configuration of the system does not deviate; Real-time incremental logging: Within the interval between two full snapshots, changes in system operating status data are monitored in real time. When changes in system operating status data are detected (e.g., alarm threshold adjustment, channel switch status change, screen parameter modification, device linkage status change, etc.), incremental log records are generated immediately, recording the changed parameters, change time, and values before and after the change, and are synchronized to non-volatile memory in real time. Incremental logs can accurately capture all dynamic status changes within the snapshot interval, making up for the lag in the periodic storage of full snapshots.
[0025] This also includes: freezing the instantaneous state during power outage, specifically: The system hardware is equipped with a real-time voltage detection unit to continuously monitor the downhole power supply voltage. When the downhole power supply voltage is detected to be lower than the normal operating threshold of the equipment and a power outage condition is determined, the embedded interrupt program is immediately triggered to start a power outage instantaneous state snapshot. This quickly captures the system operating status data in the current volatile memory, generates a power outage final state snapshot, and simultaneously seals the incremental log of the last moment. This ensures that all system operating status data and parameter change data in the last instant before the power outage are solidified to non-volatile memory, completely eliminating the possibility of instantaneous data loss.
[0026] Step 3: Design adaptive data solidification logic for different power outage scenarios in coal mines to achieve seamless adaptation across all scenarios.
[0027] For different power outage scenarios in underground coal mines, an adaptive data persistence logic is designed, specifically as follows: Planned maintenance power outage: Upon receiving a power outage maintenance instruction in advance, proactive full snapshot is triggered to solidify the current complete system operating status data to non-volatile memory in advance, while continuously updating incremental logs until the moment of power outage, ensuring accurate state restoration after maintenance restart; Sudden power failure: When the voltage detection unit momentarily captures a voltage drop signal, it triggers a passive power failure snapshot and log sealing, quickly completing the writing of the remaining data to non-volatile memory without manual intervention; Automatic power-off with safety linkage: When an automatic power-off condition is triggered by safety issues such as excessive gas levels or equipment failure, the system will synchronously link with the power-off detection module to prioritize the storage of key safety data, including alarm status, monitoring parameters at the time of exceeding limits, and linkage records, to ensure the complete preservation of core accident data.
[0028] This step eliminates the need for an external UPS power supply to assist in power outage recovery. It achieves rapid data preservation during power outages through software algorithm optimization, which can effectively reduce the deployment of UPS equipment underground, lower hardware procurement and maintenance costs, and simplify the intrinsically safe explosion-proof certification process underground, thus avoiding potential explosion-proof safety hazards of equipment.
[0029] Step 4: Adopt a tiered and progressive recovery strategy, abandoning the traditional recovery mode of loading all data at once. After the system is powered on and restarted, prioritize ensuring the rapid online availability of core monitoring functions, and then gradually improve the overall system operation status, significantly shortening the system downtime.
[0030] The tiered, progressive recovery strategy is as follows: Level 1 Priority Recovery (0~10s): After the system completes its power-on self-test, it prioritizes loading the core monitoring data (video data time sequence index, key monitoring channel status, basic alarm thresholds, and core equipment operating parameters) from the non-volatile memory, and quickly starts the core monitoring functions, including video acquisition, real-time image transmission, and basic security monitoring, so that the system can quickly enter an effective monitoring state and minimize the monitoring gap period. Second-level incremental completion (10s~3min): After the core monitoring function is running stably, the last full snapshot file before the power outage is retrieved to fully restore the system's basic configuration, general parameters, and equipment operating conditions. Then, all incremental logs within the snapshot interval are played back one by one to accurately correct the parameter changes, eliminate the state deviation caused by snapshot lag, and achieve complete consistency between the system's operating state and that before the power outage. Level 3 Redundancy Calibration (completed within 3 minutes): After full state recovery is completed, data consistency calibration is automatically performed. The current operating parameters are compared with the final state data after power failure to identify parameter deviations and data loss issues. Redundancy completion and error correction are automatically completed, and the system operation log is updated simultaneously to ensure that there are no missed or false alarms after recovery, and the monitoring effect is completely consistent with that before the power failure.
[0031] The technical inventiveness advantages of this invention: (1) Storage mechanism innovation: Breaking through the traditional single storage mode, it pioneered a layered collaborative maintenance mechanism for video data and running status data, which takes into account both the persistent storage of massive video data and the accurate retention of high-frequency status parameters, thus solving the contradiction between storage efficiency and data integrity; (2) Recording strategy innovation: "Full snapshot + incremental log" dual-mode recording, realizes full-time status traceability of the system with minimal data storage overhead, avoids resource redundancy of full high-frequency storage, and solves the problem of missing baseline status of single log storage; (3) Innovation in recovery logic: The progressive and hierarchical recovery strategy breaks the traditional unified recovery model, prioritizes the online launch of core functions, greatly shortens the monitoring interruption time, and adapts to the stringent requirements of coal mine safety production for monitoring continuity; (4) Scenario adaptation innovation: adaptive adaptation to all power outage scenarios, without relying on hardware power-on devices, realizing power outage protection at the software level, and adapting to complex power supply conditions in the mine.
[0032] Example 2: Embodiment 2 of the present invention discloses a power outage data retention and state recovery system for a coal mine image monitoring system, which utilizes a power outage data retention and state recovery method for a coal mine image monitoring system, comprising: The data classification and hierarchical storage mechanism module is used to divide the system operation data into two categories based on the data characteristics of the coal mine image monitoring system: video monitoring data and system operation status data, and to design differentiated storage strategies accordingly. Among them, video monitoring data is stored in real time using a large-capacity non-volatile memory; while system operation status data during daily operation is temporarily stored in high-speed volatile memory. Dual-mode data recording module for power outage status: It is used to record the system's operating status in a comprehensive and thorough manner by employing a dual-mode combination of periodic full snapshots and real-time incremental logs. Multi-scenario power outage adaptive adaptation module: designed to adapt data solidification logic for different power outage scenarios in coal mines, achieving seamless adaptation across all scenarios; Progressive hierarchical recovery module: Used to employ a hierarchical progressive recovery strategy, prioritizing the rapid online availability of core monitoring functions after the system is powered on and restarted, and then gradually improving the overall system operation status.
[0033] Example 3: Embodiment 3 of the present invention discloses an electronic device, comprising: Memory, used to store computer programs; A processor, used to execute a computer program, implements the steps of a method for power-off data retention and state recovery in a coal mine image monitoring system.
[0034] Example 4: Embodiment 4 of the present invention discloses a computer-readable storage medium storing a computer program, wherein when the computer program is executed by a processor, it implements the steps of a method for power-off data retention and state recovery of a coal mine image monitoring system.
[0035] The various embodiments in this specification are described in a progressive manner, with each embodiment focusing on its differences from other embodiments. Similar or identical parts between embodiments can be referred to interchangeably. For the apparatus disclosed in the embodiments, since they correspond to the methods disclosed in the embodiments, the description is relatively simple; relevant parts can be referred to the method section.
[0036] The above description of the disclosed embodiments enables those skilled in the art to make or use the invention. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of the invention. Therefore, the invention is not to be limited to the embodiments shown herein, but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.
Claims
1. A method and system for power-off data retention and status recovery in a coal mine image monitoring system, characterized in that, include: Step 1: Based on the data characteristics of the coal mine image monitoring system, the system operation data is divided into two categories: video monitoring data and system operation status data, and a differentiated storage strategy is designed accordingly. Among them, the video monitoring data is stored in real time throughout the process using a large-capacity non-volatile memory; the system operation status data during daily operation is temporarily stored in high-speed volatile memory. Step 2: Adopt a dual-mode recording strategy of periodic full snapshots + real-time incremental logs to achieve comprehensive and seamless retention of system operation status; Step 3: Design adaptive data solidification logic for different power outage scenarios in coal mines to achieve seamless adaptation across all scenarios; Step 4: Adopt a tiered and gradual recovery strategy. After the system is powered on and restarted, prioritize ensuring that the core monitoring functions are quickly put online, and then gradually improve the overall system operation status.
2. The method for power outage data retention and status recovery of a coal mine image monitoring system according to claim 1, characterized in that, In step 1, based on the data characteristics of the coal mine image monitoring system, the system operation data is divided into two main categories: video monitoring data and system operation status data, specifically: Data characterized by large volume, strong continuity, and high update frequency, including real-time video footage collected underground, recorded clips, and historical monitoring videos, are classified as video monitoring data. Data characterized by high update frequency, small data volume, and high real-time requirements, including system channel configuration parameters, alarm thresholds, equipment operating conditions, screen parameters, linkage strategies, and network configuration, are classified as system operating status data.
3. The method for power outage data retention and status recovery of a coal mine image monitoring system according to claim 1, characterized in that, In step 2, a dual-mode recording strategy combining periodic full snapshots and real-time incremental logs is adopted to achieve comprehensive and seamless retention of the system's operational status. Specifically: Periodic full snapshot collection: With a preset snapshot period, under normal power supply and operation of the device, the system operation status data in volatile memory is periodically read to generate a full system status snapshot file, which is encrypted, written to non-volatile memory and marked with a time sequence timestamp; Real-time incremental logging: Within the interval between two full snapshots, the system monitors changes in operating status data in real time. When a change in system operating status data is detected, an incremental log is immediately generated, recording the changed parameters, the change time, and the values before and after the change, and synchronized to non-volatile memory in real time.
4. The method for power failure data retention and status recovery of a coal mine image monitoring system according to claim 1, characterized in that, Step 2 also includes: solidifying the instantaneous state during power failure, specifically: When the downhole power supply voltage is detected to be lower than the normal operating threshold of the equipment and a power outage condition is determined, the embedded interrupt program is immediately triggered to start a power outage instantaneous state snapshot, quickly capture the system operating status data in the current volatile memory, generate a power outage final state snapshot, and simultaneously seal the incremental log of the last moment to ensure that all system operating status data and parameter change data in the last moment before the power outage are solidified to non-volatile memory.
5. The method for power outage data retention and status recovery of a coal mine image monitoring system according to claim 1, characterized in that, In step 3, adaptive data persistence logic is designed for different power outage scenarios in coal mines, specifically as follows: Planned maintenance power outage: After receiving the power outage maintenance instruction in advance, the system will proactively trigger a full snapshot to save the current complete system operating status data to non-volatile memory in advance, and continuously update the incremental log until the power outage. Sudden power failure: When the voltage detection unit momentarily captures a voltage drop signal, it triggers a passive power failure snapshot and log sealing, quickly completing the writing of the remaining data to non-volatile memory; Automatic power-off with safety linkage: In the event of an automatic power-off due to a safety issue, the system will simultaneously activate the power-off detection module and prioritize the storage of critical safety data, including alarm status, monitoring parameters at the time of exceeding limits, and linkage records, to ensure the complete preservation of core accident data.
6. The method for power outage data retention and status recovery of a coal mine image monitoring system according to claim 1, characterized in that, In step 4, the graded and progressive recovery strategy specifically includes: Level 1 Priority Recovery: After the system completes its power-on self-test, it prioritizes loading the core monitoring data in the non-volatile memory and quickly starts the core monitoring functions, including video acquisition, real-time image transmission, and basic security monitoring, to minimize the monitoring gap. Second-level incremental completion: After the core monitoring function is running stably, the last full snapshot file before the power outage is retrieved to fully restore the system's basic configuration, general parameters, and equipment operating conditions. Then, all incremental logs within the snapshot interval are played back one by one to accurately correct the parameter changes, eliminate the state deviation caused by snapshot lag, and achieve complete consistency between the system's operating state and that before the power outage. Level 3 Redundancy Calibration: After full-state recovery is completed, data consistency calibration is automatically performed. The current operating parameters are compared with the final state data after power failure to identify parameter deviations and data loss issues. Redundancy completion and error correction are automatically completed, and the system operation log is updated simultaneously to ensure that there are no missed or false alarms after recovery, and the monitoring effect is completely consistent with that before the power failure.
7. A power-off data retention and state recovery system for a coal mine image monitoring system, utilizing the power-off data retention and state recovery method of any one of claims 1-6, characterized in that, include: The data classification and hierarchical storage mechanism construction module is used to divide the system operation data into two major categories: video monitoring data and system operation status data, based on the data characteristics of the coal mine image monitoring system, and to design differentiated storage strategies accordingly. Among them, the video monitoring data is stored in real time throughout the process using a large-capacity non-volatile memory; the system operation status data during daily operation is temporarily stored in high-speed volatile memory. Dual-mode data recording module for power outage status: It is used to record the system's operating status in a comprehensive and thorough manner by employing a dual-mode combination of periodic full snapshots and real-time incremental logs. Multi-scenario power outage adaptive adaptation module: designed to adapt data solidification logic for different power outage scenarios in coal mines, achieving seamless adaptation across all scenarios; Progressive hierarchical recovery module: Used to employ a hierarchical progressive recovery strategy, prioritizing the rapid online availability of core monitoring functions after the system is powered on and restarted, and then gradually improving the overall system operation status.
8. An electronic device, characterized in that, include: Memory, used to store computer programs; A processor is configured to execute the computer program to implement the steps of the power failure data retention and state recovery method for a coal mine image monitoring system as described in claims 1-6.
9. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores a computer program, which, when executed by a processor, implements the steps of the power failure data retention and state recovery method for a coal mine image monitoring system as described in claims 1-6.
