Disaster recovery systems, data backup methods, devices, storage media, and electronic devices

By designing a collaborative central management platform and slave platforms within the disaster recovery system, real-time synchronization and backup of business data and media data were achieved, solving the problem that the disaster recovery system could not back up simultaneously and ensuring the normal startup and data integrity of the disaster recovery center.

CN120429170BActive Publication Date: 2025-10-28ZHEJIANG DAHUA TECH CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202510935916.4
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2025-07-08
Publication Date
2025-10-28
Estimated Expiration
2045-07-08

AI Technical Summary

Technical Problem

The disaster recovery system cannot back up business data and media data simultaneously, causing the disaster recovery center to fail to start, unable to provide media data storage, and unable to meet the off-site disaster recovery requirements of the pan-security system.

Method used

A disaster recovery system was designed, comprising a production center and a disaster recovery center. Through the collaborative work of first and second center management platforms, slave platforms, and storage media, real-time synchronization and backup of business data and media data are achieved. Specific measures include: the first slave platform saves operation information to the storage media, acquires and stores media data; the second slave platform acquires media data based on the operation information; and the first center management platform stores business data and replicates it to the second center management platform.

Benefits of technology

It enables simultaneous backup of business data and media data in both the production center and the disaster recovery center, ensuring the disaster recovery center can be started, meeting the off-site disaster recovery needs of the general security system, and improving the system's availability and data redundancy capabilities.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120429170B_ABST
    Figure CN120429170B_ABST
Patent Text Reader

Abstract

This invention provides a disaster recovery system, a data backup method, an apparatus, a storage medium, and an electronic device. The disaster recovery system includes a production center and a disaster recovery center. The production center includes a first central management platform, a first slave platform, and a first storage medium. The disaster recovery center includes a second central management platform, a second slave platform, and a second storage medium. The first central management platform receives operation requests sent by terminal applications. The first slave platform saves operation information corresponding to the operation request to the first storage medium and obtains first media data generated by the target device performing the target operation, storing the first media data in the first storage medium. The second slave platform obtains the first media data based on operation information copied from the first storage medium and stored in the second storage medium. The first central management platform also stores first business data and copies the first business data to the second central management platform.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The embodiments of the present invention relate to the field of data backup, and more specifically, to a disaster recovery system, a data backup method, an apparatus, a storage medium, and an electronic device. Background Technology

[0002] In related technologies, in off-site disaster recovery scenarios, production center systems typically employ real-time disk replication technology to copy all data from the production center to the disaster recovery center system. Because of this real-time replication, the data disks of the disaster recovery center system are locked, preventing the database from starting and placing the system in a standby state. Since the disaster recovery system needs to store massive amounts of media data, its inability to operate means it cannot provide media data storage. Therefore, it cannot meet the off-site disaster recovery requirements for all business and data within a comprehensive security system.

[0003] This indicates that the relevant technologies have a problem where disaster recovery systems cannot back up business data and media data simultaneously.

[0004] There is currently no effective solution to the aforementioned problems in the relevant technologies. Summary of the Invention

[0005] This invention provides a disaster recovery system, a data backup method, an apparatus, a storage medium, and an electronic device to at least solve the problem in related technologies that disaster recovery systems cannot simultaneously back up business data and media data.

[0006] According to an embodiment of the present invention, a disaster recovery system is provided, comprising: a production center and a disaster recovery center, wherein the production center includes a first central management platform, a first slave platform, and a first storage medium, and the disaster recovery center includes a second central management platform, a second slave platform, and a second storage medium; the first central management platform is configured to connect to a terminal application and is used to receive an operation request sent by the terminal application and send the operation request to the first slave platform; the first slave platform is used to save operation information corresponding to the operation request to the first storage medium, and to obtain first media data generated by the target device indicated by the operation request performing the target operation indicated in the operation request, and to store the first media data in the first storage medium, wherein the operation information includes device information of the target device and the target operation; the second slave platform is used to obtain the first media data based on the operation information copied from the first storage medium and stored in the second storage medium; the first central management platform is further used to store first business data and to copy the first business data to the second central management platform, wherein the first business data is data determined based on data collected by an edge network device, the edge network device including the target device.

[0007] In an exemplary embodiment, the production center further includes: a first intelligent analysis node, wherein the first intelligent analysis node is connected to the first slave platform, the first slave platform sends data obtained from the edge network device to the first intelligent analysis node, and the first intelligent analysis node analyzes the data obtained from the edge network device sent by the first slave platform to obtain the first business data.

[0008] In an exemplary embodiment, the first slave platform is further configured to determine a first storage address of the first media data in the first storage medium and send the first storage address to the first intelligent analysis node, wherein the first intelligent analysis node adds the first storage address to the first service data.

[0009] In an exemplary embodiment, the production center further includes: a first industry application platform, which is connected to the first intelligent analysis node and also connected to the first central management platform. The first industry application platform is used to receive the first business data reported by the first intelligent analysis node, determine first event data based on the first business data, and store the first event data in the first central management platform; the first central management platform is also used to copy the first event data to a second central management platform.

[0010] In one exemplary embodiment, the first slave platform is further configured to receive second media data sent by an edge network device and store the second media data in the first storage medium; the first slave platform is further configured to send the second media data to the second slave platform, and the second slave platform stores the second media data in the second storage medium.

[0011] In an exemplary embodiment, the first slave platform is further configured to receive a first file uploaded by the terminal application and store the first file in the first storage medium. The first slave platform is further configured to send the first file to the second slave platform, and the second slave platform is configured to store the first file in the second storage medium.

[0012] In one exemplary embodiment, the production center further includes a first decoder, configured to receive the second media data forwarded from the platform, decode the second media data into a first format to obtain third media data, and send the third media data to a display device for display.

[0013] In one exemplary embodiment, in the event of a failure at the production center, the disaster recovery center is used to replace the production center, and the second center management platform is configured to connect to the terminal application.

[0014] In one exemplary embodiment, in the event of a failure recovery at the production center, the second center management platform is further configured to copy the data stored in the second center management platform to the first center management platform.

[0015] In an exemplary embodiment, in the event of a production center failure recovery, the central management platform is further configured to determine the difference data stored in the second storage medium and synchronize the difference data to the first storage medium, wherein the difference data is the data stored in the second storage medium during the production center failure.

[0016] In one exemplary embodiment, the disaster recovery center further includes: a second intelligent analysis node, wherein the second intelligent analysis node is connected to the second slave platform, the second slave platform sends fourth media data obtained from the edge network device to the second intelligent analysis node, the second intelligent analysis node analyzes the fourth media data to obtain second service data, and stores the second service data in the second center management platform.

[0017] In one exemplary embodiment, the second slave platform is further configured to determine the second storage address of the fourth media data in the second storage medium, and send the second storage address to the second intelligent analysis node, which then adds the second storage address to the second service data.

[0018] In an exemplary embodiment, the disaster recovery center further includes: a second industry application platform, which is connected to the second intelligent analysis node and also connected to the second center management platform. The second industry application platform is used to receive the second business data reported by the second intelligent analysis node, determine the second event data based on the second business data, and store the second event data in the second center management platform.

[0019] In one exemplary embodiment, the second slave platform is further configured to receive fifth media data sent by the edge network device and store the fifth media data in the second storage medium.

[0020] In one exemplary embodiment, the disaster recovery center further includes a second decoder, configured to receive the sixth media data forwarded from the platform, decode the sixth media data into a second format to obtain seventh media data, and send the seventh media data to a display device for display.

[0021] According to another embodiment of the present invention, a data backup method is provided, comprising: sending an operation request received from a terminal application to a first slave platform included in a production center, to instruct the first slave platform to save operation information to a first storage medium included in the production center, and to obtain first media data based on the operation information, and to store the first media data in the first storage medium, wherein the operation information is information corresponding to the operation request; synchronizing the operation information stored in the first storage medium to a second storage medium included in a disaster recovery center in real time, to instruct the second slave platform included in the disaster recovery center to obtain the first media data based on the operation information; determining first business data obtained by analyzing the first media data, and storing the first business data in a first central management platform included in the production center; and copying the first business data to the second central management platform included in the disaster recovery center.

[0022] In an exemplary embodiment, before copying the first service data to the second central management platform included in the disaster recovery center, the method further includes: determining a first address of the first media data in the first storage medium; and adding the first address to the service data.

[0023] In an exemplary embodiment, after determining the first business data obtained by analyzing the first media data, the method further includes: determining first event data based on the first business data; storing the first event data in the first central management platform; and copying the first event data stored in the first central management platform to the second central management platform.

[0024] In one exemplary embodiment, the method further includes: receiving second media data sent by an edge network device and storing the second media data in the first storage medium; sending the second media data to the second slave platform to instruct the second slave platform to store the second media data in the second storage medium.

[0025] In one exemplary embodiment, the method further includes: receiving a first file uploaded by the terminal application and storing the first file in the first storage medium; sending the first file to the second slave platform to instruct the second slave platform to store the first file in the second storage medium.

[0026] In one exemplary embodiment, the method further includes: configuring the second center management platform to connect to the terminal application in the event of a failure at the production center.

[0027] According to another embodiment of the present invention, a data backup device is provided, comprising: a sending module, configured to send an operation request received from a terminal application to a first slave platform included in a production center, to instruct the first slave platform to save operation information to a first storage medium included in the production center, and to obtain first media data based on the operation information, and to store the first media data in the first storage medium, wherein the operation information is information corresponding to the operation request; a synchronization module, configured to synchronize the operation information stored in the first storage medium to a second storage medium included in a disaster recovery center in real time, to instruct the second slave platform included in the disaster recovery center to obtain the first media data based on the operation information; a determining module, configured to determine first business data obtained by analyzing the first media data, and to store the first business data in a first central management platform included in the production center; and a copying module, configured to copy the first business data to the second central management platform included in the disaster recovery center.

[0028] According to yet another embodiment of the present invention, a computer-readable storage medium is also provided, wherein a computer program is stored therein, wherein the computer program is configured to perform the steps in any of the above method embodiments when executed.

[0029] According to yet another embodiment of the present invention, an electronic device is also provided, including a memory and a processor, wherein the memory stores a computer program and the processor is configured to run the computer program to perform the steps in any of the above method embodiments.

[0030] According to yet another embodiment of the present invention, a computer program product is also provided, including a computer program that, when executed by a processor, implements the steps of the methods described in various embodiments of the present application.

[0031] This invention allows a first-level management platform in a production center to be configured to connect to a terminal application, receive operation requests from the terminal application, and send the operation requests to a first slave platform. The first slave platform can save the operation information corresponding to the operation request to a first storage medium, and obtain the first media data generated when the target device in the operation request executes the target operation indicated in the operation request, storing the first media data in the first storage medium. It can also copy the operation information stored in the first storage medium to a second storage medium, instructing the second slave platform to obtain the first media data based on the operation information. This enables both the production center and the disaster recovery center to simultaneously obtain the first media data. Furthermore, the first-level management platform can store first business data and copy it to the second-level management platform, allowing both the production center and the disaster recovery center to simultaneously store business data. Therefore, this invention solves the problem in related technologies where disaster recovery systems cannot simultaneously back up business data and media data, achieving the effect of simultaneously backing up both business data and media data. Attached Figure Description

[0032] Figure 1 This is a structural diagram of a disaster recovery system according to an embodiment of the present invention;

[0033] Figure 2 This is a schematic diagram of the specific structure of a disaster recovery system according to an embodiment of the present invention;

[0034] Figure 3 This is a schematic diagram of the operation of a disaster recovery system according to an embodiment of the present invention. Figure 1 ;

[0035] Figure 4 This is a schematic diagram of the operation of a disaster recovery system according to an embodiment of the present invention. Figure 2 ;

[0036] Figure 5 This is a schematic diagram of the operation of a disaster recovery system according to an embodiment of the present invention. Figure 3 ;

[0037] Figure 6 This is a schematic diagram of the operation of a disaster recovery system according to an embodiment of the present invention. Figure 4 ;

[0038] Figure 7 This is a schematic diagram illustrating the activation of a disaster recovery center according to an embodiment of the present invention;

[0039] Figure 8 This is a schematic diagram of production center fault recovery according to an embodiment of the present invention;

[0040] Figure 9 This is a schematic diagram of differential data synchronization according to an embodiment of the present invention;

[0041] Figure 10This is a hardware structure block diagram of a mobile terminal for a data backup method according to an embodiment of the present invention.

[0042] Figure 11 This is a flowchart of a data backup method according to an embodiment of the present invention;

[0043] Figure 12 This is a structural block diagram of a data backup device according to an embodiment of the present invention. Detailed Implementation

[0044] The embodiments of the present invention will be described in detail below with reference to the accompanying drawings and examples.

[0045] It should be noted that the terms "first," "second," etc., in the specification, claims, and drawings of this invention are used to distinguish similar objects and are not necessarily used to describe a specific order or sequence.

[0046] This embodiment provides a disaster recovery system. Figure 1 This is a disaster recovery system structure diagram according to an embodiment of the present invention, such as... Figure 1 As shown, the disaster recovery system includes:

[0047] The production center 12 and the disaster recovery center 14 are provided. The production center includes a first central management platform 1202, a first slave platform 1204 and a first storage medium 1206. The disaster recovery center includes a second central management platform 1402, a second slave platform 1404 and a second storage medium 1406.

[0048] The first central management platform is configured to connect to the terminal application, and is used to receive operation requests sent by the terminal application and send the operation requests to the first slave platform;

[0049] The first slave platform is used to save the operation information corresponding to the operation request to the first storage medium, and to obtain the first media data generated by the target device indicated by the operation request performing the target operation indicated in the operation request, and to store the first media data in the first storage medium, wherein the operation information includes the device information of the target device and the target operation;

[0050] The second slave platform is used to obtain the first media data based on the operation information copied from the first storage medium and stored in the second storage medium;

[0051] The first central management platform is also used to store the first business data and copy the first business data to the second central management platform, wherein the first business data is data determined based on data collected by edge network devices, and the edge network devices include the target device.

[0052] In this embodiment, the disaster recovery system can be a general security system, or a system capable of industry-specific digitalization and decision support. The product components of a general security system may include video surveillance platforms, intelligent facial recognition application platforms, intelligent human body recognition application platforms, intelligent vehicle recognition application platforms, emergency command platforms, big data aggregation application platforms, fire command platforms, parking management platforms, etc. The scope of the general security industry is expanding, and the complexity of its business is increasing.

[0053] In this embodiment, the production center and the disaster recovery center can be the same system. The production center can include all systems in the primary data center. The disaster recovery center can include all systems in the backup data center. Data centers can be built in different cities or different areas of the same city to achieve off-site disaster recovery through the production center and the disaster recovery center.

[0054] In this embodiment, the first central management platform can provide capabilities such as user management, device management, access control, video-on-demand, and PTZ control. The first central management platform can provide a reverse proxy entry point, through which terminal applications can connect to the first central management platform. The first slave platform can be responsible for accessing front-end monitoring devices, i.e., edge network devices, receiving real-time video streams and image data from the edge network devices, and writing them to the first storage medium. The second slave platform can also be responsible for accessing front-end monitoring devices, i.e., edge network devices, receiving real-time video streams and image data from the edge network devices, and writing them to the second storage medium. The edge network devices can include various types of equipment from different industries, such as surveillance cameras, checkpoint cameras, access control devices, sensors, hard disk recorders, drones, entrance / exit cameras, alarm hosts, thermal imaging cameras, and other devices. The first and second storage media can provide storage capabilities, such as IP SAN (Storage Area Network) storage and NAS (Network Attached Storage).

[0055] In this embodiment, a detailed structural diagram of the disaster recovery system can be found in the appendix. Figure 2 ,like Figure 2 As shown, a production center and a disaster recovery center are constructed at two locations. The production center deploys a comprehensive security system, including a primary management platform, a primary industry application platform, a primary slave platform, a primary intelligent analysis node, a primary storage medium, and a primary decoder. A similar comprehensive security system, such as an audio-visual system, can also be deployed at the disaster recovery center, including a secondary management platform, a secondary industry application platform, a secondary slave platform, a secondary intelligent analysis node, a secondary storage medium, and a secondary decoder. Both the primary and secondary storage media are pre-configured.

[0056] In this embodiment, the disaster recovery system is illustrated. Figure 1 See appendix Figure 3 ,like Figure 3 As shown, during normal operation of the production center, the first center management platform is configured to connect to terminal applications to receive operation commands sent by these applications. Both the first and second slave platforms are configured to connect to edge network devices to acquire media data generated by these devices. The disaster recovery system also employs a single-active business system plus a special dual-active slave platform mode. The special dual-active slave platform mode performs different actions depending on whether the disaster recovery center is enabled. The first slave platform in the production center provides full business capabilities, including managing edge network devices, receiving events and storing images, and receiving and storing real-time streaming recordings. When the disaster recovery center is not enabled, the second slave platform only provides real-time streaming recording storage capabilities. After the disaster recovery center is enabled, the second slave platform provides full business capabilities. When the first center management platform copies the stored first business data to the second center management platform, the disk where the production center database resides uses real-time disk replication technology to synchronize disk data to the disk where the disaster recovery center database resides in real time, ensuring file consistency between the two centers. This achieves disaster recovery for all business data of the comprehensive security system.

[0057] In this embodiment, after receiving an operation request from a terminal application, the first central management platform can send the operation request to the first slave platform. The operation request can be a request to a target device included in the edge network devices to perform a target operation. The operation request can include operation information, such as device information (e.g., identification information) and the target operation. Alternatively, the operation request can be a recording plan configuration, which can include the target device information, the target operation, and the execution time. The first slave platform can save the operation information to a configuration file in a first storage medium and use real-time disk replication technology to synchronize this configuration file to the local disk of the second slave platform in the disaster recovery center, i.e., the second storage medium, ensuring file consistency between the two centers. After the configuration file containing the operation information is copied to the second storage medium, the second slave platform can obtain the first media data based on the operation information, enabling the production center and the disaster recovery center to obtain the same first media data, thereby achieving synchronous backup of the first media data.

[0058] It should be noted that there can be multiple first and second slave platforms. When there are multiple first slave platforms, there can be one or more first storage media. The correspondence between the first slave platform and the first storage media is as follows: When there is only one first storage media, all data acquired by the first slave platform is stored in the first storage media. When there are multiple first storage media, the number of first storage media can be the same as the number of first slave platforms, with each first slave platform corresponding to one first storage media, and different first slave platforms corresponding to different first storage media. When the number of first storage media is less than the number of first slave platforms, multiple first slave platforms can correspond to one first storage media. The correspondence between the second slave platform and the second storage media is the same as that between the first slave platform and the first storage media. When there is only one second storage media, all data acquired by the second slave platform is stored in the second storage media. When there are multiple second storage media, the number of second storage media can be the same as the number of second slave platforms, with each second slave platform corresponding to one second storage media, and different second slave platforms corresponding to different second storage media. When the number of second storage media is less than the number of second slave platforms, multiple second slave platforms can correspond to one second storage media.

[0059] In this embodiment, the disaster recovery system is illustrated. Figure 2 See appendix Figure 4 ,like Figure 4As shown, for any user operation request in the terminal application, such as adding, deleting, or modifying devices, accounts and permissions, recording schedules, intelligent analysis tasks, access control personnel authorization, video wall display tasks, etc., the first-center management platform can save the operation information to its database. It then sends the operation information to the first slave platform, which saves it to the first storage medium. The production center database, i.e., the disk where the first-center management platform's database resides, uses real-time disk replication technology to synchronize disk data in real time to the disk where the second-center management platform's database resides in the disaster recovery center. The data disk of the disaster recovery center's security system is locked, preventing the disaster recovery center's security system database from starting. This means the second-center management platform cannot start and cannot schedule access to edge network devices from the disaster recovery center's second slave platform. For user operation requests in the production center terminal application (adding, deleting, or modifying devices, adding, deleting, or modifying recording schedules), the first-center management platform saves the data to its database and sends it to the first slave platform. The first slave platform saves the device information and recording schedule to its local disk, i.e., the configuration file on the first storage medium. Real-time disk replication technology is used to synchronize the aforementioned configuration files to the local disk of the second slave platform in the disaster recovery center, ensuring file consistency between the two centers. The second slave platform in the disaster recovery center periodically checks the update time of the local disk configuration files. When an update is detected, it reads the device information and recording schedule from the configuration file. The second slave platform obtains media data (real-time video stream) from the edge network devices and writes the media data to the second storage medium. The recording index is generated according to "device encoding and stream timestamp". The production center and the disaster recovery center each store a copy of the recording data, possessing the same recording index information, thus achieving disaster recovery of media data (video) for the comprehensive security system.

[0060] At this time, the second-center management platform is not started, and the second-slave platform only has device information and recording plans, and registration with the second-center management platform has failed. Therefore, the second-slave platform will not subscribe to events and images from the edge network devices. That is, the second-slave platform of the disaster recovery center will not write event-related image data reported by the edge network devices to the second storage medium.

[0061] This invention allows a first-level management platform in a production center to be configured to connect to a terminal application, receive operation requests from the terminal application, and send the operation requests to a first slave platform. The first slave platform can save the operation information corresponding to the operation request to a first storage medium, and obtain the first media data generated when the target device in the operation request executes the target operation indicated in the operation request, storing the first media data in the first storage medium. It can also copy the operation information stored in the first storage medium to a second storage medium, instructing the second slave platform to obtain the first media data based on the operation information. This enables both the production center and the disaster recovery center to simultaneously obtain the first media data. Furthermore, the first-level management platform can store first business data and copy it to the second-level management platform, allowing both the production center and the disaster recovery center to simultaneously store business data. Therefore, this invention solves the problem in related technologies where disaster recovery systems cannot simultaneously back up business data and media data, achieving the effect of simultaneously backing up both business data and media data.

[0062] In an exemplary embodiment, the production center further includes a first intelligent analysis node, wherein the first intelligent analysis node is connected to the first slave platform, the first slave platform sends data obtained from the edge network device to the first intelligent analysis node, and the first intelligent analysis node analyzes the data obtained from the edge network device sent by the first slave platform to obtain the first business data. This embodiment illustrates the operation of the disaster recovery system. Figure 3 See appendix Figure 5 ,like Figure 5 As shown, the production center may further include a first intelligent analysis node. This first intelligent analysis node can provide intelligent analysis capabilities for faces, vehicles, etc., and write the image data generated from secondary analysis to a first storage medium. The first intelligent analysis node in the production center can analyze media data (real-time video, event-related images) to generate intelligent analysis events (such as face analysis events, vehicle analysis events, crowd density analysis events, and behavior analysis events) and image data, and write the event-related image data to the first storage medium to obtain the image storage address. The first business data may include intelligent analysis events and the corresponding image data.

[0063] In this embodiment, within the production center, the first intelligent analysis node is responsible for extracting valuable information from data collected by edge network devices and transforming it into primary business data. For example, when the edge network device is a smart surveillance camera installed in a public place, the first intelligent analysis node can analyze abnormal behaviors in the video stream, such as intrusion detection or crowd gathering, thereby generating alarm information or event reports. This intelligent analysis not only improves the efficiency of data processing but also enhances the system's intelligence level, enabling the comprehensive security system to respond more accurately and promptly to various security threats. By integrating intelligent analysis functions, the cost and efficiency problems caused by the transmission and storage of large amounts of raw data are solved, while also improving the intelligent analysis capabilities of the disaster recovery system, enabling it to make more accurate judgments in the face of complex scenarios.

[0064] In an exemplary embodiment, the first slave platform is further configured to determine the first storage address of the first media data in the first storage medium and send the first storage address to the first intelligent analysis node, which then adds the first storage address to the first business data. In this embodiment, to ensure the correlation between business data and media data, the first slave platform records the precise location of the first media data in the first storage medium, i.e., the first storage address, while storing the first media data, and transmits this information to the first intelligent analysis node. For example, when the first media data is a surveillance video, the first storage address can help the intelligent analysis node quickly locate the video for subsequent analysis and processing. Integrating the first storage address into the first business data not only simplifies the data retrieval process but also improves the accuracy of data analysis. This design solves the problems of difficult data retrieval and low processing efficiency in massive data environments. Through precise address indexing, it achieves efficient linkage between media data and business data, further improving the overall performance of the security system.

[0065] In an exemplary embodiment, the production center further includes: a first industry application platform, connected to the first intelligent analysis node and also connected to the first central management platform; the first industry application platform is used to receive the first business data reported by the first intelligent analysis node, determine first event data based on the first business data, and store the first event data in the first central management platform; the first central management platform is further used to copy the first event data to a second central management platform. In this embodiment, see Appendix Figure 5The production center also includes a first industry application platform. The first intelligent analysis node can report events, i.e., first business data, to the first industry application platform. The first industry application platform determines the first event data based on the first business data and writes the event data into the database of the first center management platform. The first event data may include the storage address of the first business data, as well as information about the channel through which the first business data was acquired, the event type of the events included in the first business data, and the time of data collection.

[0066] In this embodiment, the first industry application platform can perform in-depth analysis on the first business data received from the first intelligent analysis node to extract key first event data. For example, if the first business data contains a series of statistical information about the flow of people in a certain area, the first industry application platform may identify potential security risks or abnormal activities and generate corresponding event reports. Storing the first event data on the first central management platform and synchronizing it to the second central management platform through a real-time replication mechanism ensures that the disaster recovery center can promptly understand and respond to events occurring in the production center, which is crucial for ensuring the continuous operation of the system and data integrity. This technical feature not only strengthens the system's event response capability but also solves the problem of information lag in the disaster recovery center through real-time data synchronization, improving the coordination and emergency response speed of the entire security system.

[0067] In an exemplary embodiment, the first slave platform is further configured to receive second media data sent by an edge network device and store the second media data in the first storage medium; the first slave platform is further configured to send the second media data to a second slave platform, and the second slave platform stores the second media data in the second storage medium. In this embodiment, see Appendix Figure 5 The first slave platform can write the image data associated with the events reported by the edge network devices into the first storage medium to obtain the image storage address. The first slave platform reports the events to the first industry application platform, and the first industry application platform writes the event data into the database of the first central management platform.

[0068] In this embodiment, in addition to receiving operation requests from terminal applications, the first slave platform also undertakes the task of receiving second media data directly sent by edge network devices (such as field monitoring equipment) and storing it in the first storage medium. For example, when an edge network device detects an emergency, it immediately transmits real-time video or audio data to the first slave platform. Subsequently, the first slave platform forwards this second media data to the second slave platform, which is responsible for archiving it in the second storage medium. This design ensures that all critical media data can be dual-backed up between the production center and the disaster recovery center, guaranteeing no data loss even in extreme cases, thereby solving the risk of data loss due to a single storage point failure. Through this method, this solution enhances the system's data redundancy capability, providing more reliable data protection for the general security system.

[0069] In an exemplary embodiment, the first slave platform is further configured to receive a first file uploaded by the terminal application and store the first file in the first storage medium. The first slave platform is also configured to send the first file to a second slave platform, which stores the first file in the second storage medium. This embodiment illustrates the operation of the disaster recovery system. Figure 4 See appendix Figure 6 ,like Figure 6 As shown, when a user uploads a file in a terminal application, the first slave platform writes it to the first storage medium to obtain the file storage address. The first slave platform writes the image data associated with events reported by edge network devices to the first storage medium to obtain the image storage address. The intelligent analysis node writes the image data generated by secondary analysis to the first storage medium to obtain the image storage address. Real-time disk replication technology is enabled for the file storage directory (images and files) of the first storage medium in the production center, synchronizing the disk data to the second storage medium in the disaster recovery center in real time, while ensuring file consistency between the two centers. The image storage address and file storage address of the production center can be stored in the first center management platform and synchronized to the database of the second center management platform in the disaster recovery center through real-time synchronization technology. This achieves disaster recovery of business data (files) and media data (images) of the comprehensive security system.

[0070] In this embodiment, within the comprehensive security system, the first slave platform not only processes media data but also receives first files uploaded by terminal applications, such as configuration files and log files, and archives these files to the first storage medium. To enhance data availability and security, the first slave platform also synchronizes the first files to the second slave platform, which then backs them up on the second storage medium. For example, when a terminal application needs to update its configuration parameters, the uploaded configuration file is received and stored by the first slave platform and simultaneously copied to the second storage medium, ensuring that the system can access the latest configuration information under any circumstances. This technical feature solves the synchronization problem of important data such as configuration files in a disaster recovery environment. Through real-time data replication, it ensures the consistency of system configuration, thereby improving the stability and flexibility of the comprehensive security system.

[0071] In one exemplary embodiment, the production center further includes a first decoder, configured to receive the second media data forwarded from the platform, decode the second media data into a first format to obtain third media data, and send the third media data to a display device for display. In this embodiment, the first decoder in the production center is responsible for converting the second media data into a first format suitable for display to generate the third media data. For example, when the second media data is an H.265 encoded video stream, the first decoder can decode it into a common video format, such as MP4, and then send the decoded video to the display device in the monitoring center for playback. This process not only solves the video format compatibility problem but also ensures that monitoring personnel can view the most intuitive on-site situation in real time, thereby improving the efficiency and accuracy of decision-making. By integrating decoding functionality, this solution overcomes the display obstacles caused by the diversity of media data formats, realizes the effective utilization of media data, and enhances the visualization management and real-time response capabilities of the comprehensive security system.

[0072] In one exemplary embodiment, in the event of a failure at the production center, the disaster recovery center is used to replace the production center, and the second center management platform is configured to connect to the terminal application. In this embodiment, a schematic diagram illustrating the activation of the disaster recovery center can be found in the appendix. Figure 7 ,like Figure 7 As shown, users configure the IP relationship between the production center and the disaster recovery center on the terminal application in the production center, including the hardware addresses of the platform, intelligent analysis nodes, decoders, etc. The terminal application submits a request to the central management platform and saves the IP mapping relationship to the database.

[0073] The user confirms a failure at the production center and activates the disaster recovery center. In the operation and maintenance module of the second management platform of the disaster recovery center (operation and maintenance do not depend on the database), the real-time disk replication software of the central management platform is stopped, and then the central management platform database and platform services are restarted. After the central management platform service starts, it reads the IP mapping relationship between the production center and the disaster recovery center from the database and refreshes the corresponding IP addresses in the database. The second slave platform and the second intelligent analysis node complete registration with the second management platform, and the disaster recovery center takes over all business operations and continues to provide services.

[0074] In this embodiment, when the production center encounters a force majeure failure, such as a natural disaster or hardware malfunction, the disaster recovery center can quickly switch to the primary operating state to ensure continuous system operation. This process involves adjusting the secondary center management platform to a state where it can directly receive operation requests from terminal applications, ensuring uninterrupted business operations. For example, if the production center is unable to operate normally due to an earthquake, the secondary center management platform of the disaster recovery center will immediately take over. Terminal applications do not need to be aware of the switching process and can continue to send operation requests, maintaining normal system service. This technical feature solves the problem of business interruption caused by production center failures. Through the instant switching of the disaster recovery center, high system availability is achieved. For the broader security industry, this greatly enhances system stability and reduces losses caused by failures.

[0075] In an exemplary embodiment, upon recovery from a production center failure, the second center management platform is further configured to copy data stored in the second center management platform to the first center management platform. In this embodiment, a schematic diagram of production center failure recovery can be found in the appendix. Figure 8 ,like Figure 8 As shown, once the production center recovers from a fault, it enters disaster recovery mode. The disaster recovery center actively synchronizes business data and media data with the production center. The specific synchronization method is the same as the method used in the above embodiment for synchronizing business data and media data from the production center to the disaster recovery center, and will not be repeated here.

[0076] In this embodiment, once the production center's failure is repaired, the system needs to perform data backhaul to ensure data consistency between the production center and the disaster recovery center. The second center management platform copies the data stored therein to the first center management platform. This process ensures that the production center can access all critical information accumulated by the disaster recovery center during the failure. By implementing the data backhaul strategy, this solution solves the potential data inconsistency problem after the production center recovers, achieving data integrity and business continuity. For a comprehensive security system, this is a crucial step in ensuring data security and business continuity.

[0077] In an exemplary embodiment, upon recovery from the production center failure, the central management platform is further configured to determine the discrepancy data stored in the second storage medium and synchronize the discrepancy data to the first storage medium, wherein the discrepancy data is the data stored in the second storage medium during the production center failure. In this embodiment, a schematic diagram of the discrepancy data synchronization can be found in the appendix. Figure 9 ,like Figure 9 As shown, security systems typically store massive amounts of video media data. When a production center or disaster recovery center fails, it will lose the video media data for the period of failure. For video data lost during a production or disaster recovery center failure, a file recovery strategy for a specified date can be configured. The comprehensive security system organizes storage directories in the storage media according to "date and device". The data synchronization software compares the file data in the specified date storage directories of the production center's storage media and the disaster recovery center's storage media, and copies the missing video files to the corresponding directory on the other center's storage media.

[0078] In this embodiment, after the production center resumes normal operation, in addition to the backhaul of business data, it is also necessary to pay attention to the consistency of media data. The central management platform will check and identify the discrepancies stored in the second storage medium, namely the media data accumulated during the production center failure, such as unsynchronized video clips or audio recordings, and synchronize this data to the first storage medium. For example, if a large amount of real-time monitoring video accumulated on the second storage medium during the production center failure, the central management platform will automatically backhaul these videos to the first storage medium after the production center recovers, ensuring the integrity of media data and the consistency of system status. This technical feature solves the problem of potential time gaps in media data after the production center recovers. Through comprehensive data synchronization, it ensures that the security system can provide complete historical records at any time, which is of great significance for post-event analysis and event tracing.

[0079] In one exemplary embodiment, the disaster recovery center further includes a second intelligent analysis node, wherein the second intelligent analysis node is connected to the second slave platform. The second slave platform sends fourth media data obtained from the edge network device to the second intelligent analysis node. The second intelligent analysis node analyzes the fourth media data to obtain second service data and stores the second service data in the second center management platform. In this embodiment, the second intelligent analysis node of the disaster recovery center has a similar function to the first intelligent analysis node of the production center, but its main task is to independently analyze the fourth media data from the edge network device and generate second service data when the production center fails. For example, when the network connection of the production center is interrupted, the edge network device will directly send data to the disaster recovery center. The second intelligent analysis node can analyze this data in real time, such as identifying abnormal behavior or security threats, and store the analysis results (second service data) in the second center management platform. This design ensures that even when the production center cannot work normally, the system can still monitor and intelligently analyze the on-site situation in real time, thereby solving the problem of insufficient data processing and response capabilities in the disaster recovery environment and improving the overall robustness and intelligent processing capabilities of the general security system.

[0080] In an exemplary embodiment, the second slave platform is further configured to determine the second storage address of the fourth media data in the second storage medium and send the second storage address to the second intelligent analysis node, which then adds the second storage address to the second service data. In this embodiment, to ensure that the second intelligent analysis node in the disaster recovery center can accurately and quickly locate the fourth media data, the second slave platform records its second storage address in the second storage medium when storing this data and transmits this information to the second intelligent analysis node. For example, when the fourth media data is a surveillance video in an emergency, the second slave platform assigns it a unique storage address and informs the second intelligent analysis node of this address, which then records the storage address when generating the second service data. This design not only simplifies the data retrieval process but also improves the efficiency and accuracy of data analysis, solving the problems of difficult data retrieval and slow processing speed in a disaster recovery environment. Through precise address indexing, this solution enhances the data processing capabilities of the disaster recovery center, playing a crucial role in improving the emergency response speed and data management efficiency of the comprehensive security system.

[0081] In one exemplary embodiment, the disaster recovery center further includes a second industry application platform connected to the second intelligent analysis node and also connected to the second center management platform. The second industry application platform receives the second business data reported by the second intelligent analysis node, determines second event data based on the second business data, and stores the second event data in the second center management platform. In this embodiment, the second industry application platform functions the same as the first industry application platform in the disaster recovery center. The second industry application platform is responsible for receiving the second business data reported by the second intelligent analysis node, performing in-depth analysis, and generating second event data, such as abnormal event reports or early warning information. For example, when the second business data contains analysis results of abnormal behavior in a certain area, the second industry application platform further evaluates the nature and severity of these behaviors, generates detailed event descriptions, and stores this information in the second center management platform. This process ensures that the disaster recovery center can independently perform event analysis and processing, and can respond promptly to on-site situations even during production center failures, thereby solving the problem of limited event response capabilities in a disaster recovery environment. By integrating industry application platforms, this solution enhances the event handling capabilities of the disaster recovery center, significantly improving the overall response speed and decision-making efficiency of the pan-security system.

[0082] In an exemplary embodiment, the second slave platform is further configured to receive fifth media data sent by the edge network device and store the fifth media data in the second storage medium. In this embodiment, during a production center failure or maintenance, the edge network device (such as a surveillance camera, sensor, etc.) directly sends the fifth media data to the second slave platform of the disaster recovery center, which is responsible for archiving this data to the second storage medium. For example, when the production center is temporarily offline due to a power outage, the on-site monitoring equipment automatically switches to the disaster recovery center, transmitting the real-time video stream to the second slave platform, which then stores it, ensuring data continuity and integrity. This technical feature solves the problem of data loss that may occur due to production center failures. By directly receiving and storing data at the disaster recovery center, it ensures that the security system can obtain critical on-site data under any circumstances, playing a crucial role in ensuring system data security and business continuity.

[0083] In one exemplary embodiment, the disaster recovery center further includes a second decoder for receiving sixth media data forwarded by the second slave platform, decoding the sixth media data into a second format to obtain seventh media data, and sending the seventh media data to a display device for display. In this embodiment, the second decoder of the disaster recovery center is responsible for converting the sixth media data into a second format suitable for display to generate the seventh media data, such as decoding an H.264 encoded video stream into a high-definition video format. This process ensures that even when the production center fails, monitoring personnel can still view a clear and smooth on-site situation in real time through the display device. For example, when the production center cannot operate normally due to network failure, the second decoder can quickly decode the video data received from the second slave platform and present it to the monitoring center, helping staff to react promptly. This technical feature solves the display compatibility problem of media data in a disaster recovery environment. Through real-time decoding, it ensures that the security system can provide high-quality visual information under any circumstances, which has a significant impact on improving monitoring efficiency and decision-making quality.

[0084] In the aforementioned embodiments, the production center and the disaster recovery center possess the same business data and media data. During disaster recovery switching of the security system between the production center and the disaster recovery center, both centers' security systems retain complete business and media data. End-user applications remain unaffected. The disaster recovery system exhibits strong versatility, significantly reducing the cost of implementing disaster recovery for the security system. It does not intrude on the specific implementation of security business, allowing for continuous expansion of the security industry business, with related businesses automatically supporting off-site disaster recovery. The disaster recovery system supports off-site disaster recovery of all business and media data of the security systems in both the production center and the disaster recovery center, while also supporting dual backup of media data in both centers. Furthermore, the disaster recovery system provides full disaster recovery capabilities while also offering extremely low latency (second-level) off-site disaster recovery.

[0085] The methods and embodiments provided in this application can be executed on a mobile terminal, computer terminal, or similar computing device. Taking running on a mobile terminal as an example, Figure 10 This is a hardware structure block diagram of a mobile terminal for a data backup method according to an embodiment of the present invention. Figure 10 As shown, a mobile terminal may include one or more ( Figure 10 Only one is shown in the diagram. A processor 1002 (which may include, but is not limited to, a microprocessor MCU or a programmable logic device FPGA, etc.) and a memory 1004 for storing data are also shown. The mobile terminal may further include a transmission device 1006 for communication functions and an input / output device 1008. Those skilled in the art will understand that... Figure 10 The structure shown is for illustrative purposes only and does not limit the structure of the mobile terminal described above. For example, the mobile terminal may also include components that are more... Figure 10 The more or fewer components shown, or having the same Figure 10 The different configurations shown.

[0086] The memory 1004 can be used to store computer programs, such as application software programs and modules, like the computer program corresponding to the data backup method in this embodiment of the invention. The processor 1002 executes various functional applications and data processing by running the computer program stored in the memory 1004, thereby implementing the above-described method. The memory 1004 may include high-speed random access memory and may also include non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some instances, the memory 1004 may further include memory remotely located relative to the processor 1002, and these remote memories can be connected to the mobile terminal via a network. Examples of such networks include, but are not limited to, the Internet, corporate intranets, local area networks, mobile communication networks, and combinations thereof.

[0087] The transmission device 1006 is used to receive or send data via a network. Specific examples of the network described above may include a wireless network provided by the mobile terminal's communication provider. In one example, the transmission device 1006 includes a Network Interface Controller (NIC), which can connect to other network devices via a base station to communicate with the Internet. In another example, the transmission device 1006 may be a Radio Frequency (RF) module used for wireless communication with the Internet.

[0088] This embodiment provides a data backup method, which can be applied to the disaster recovery system of any of the above embodiments. Figure 11 This is a flowchart of a data backup method according to an embodiment of the present invention, such as... Figure 11 As shown, the process includes the following steps:

[0089] Step S1102: The received operation request sent by the terminal application is sent to the first slave platform included in the production center, so as to instruct the first slave platform to save the operation information to the first storage medium included in the production center, and to obtain the first media data based on the operation information, and store the first media data in the first storage medium, wherein the operation information is the information corresponding to the operation request;

[0090] Step S1104: The operation information stored in the first storage medium is synchronized in real time to the second storage medium included in the disaster recovery center, so as to instruct the second slave platform included in the disaster recovery center to obtain the first media data based on the operation information;

[0091] Step S1106: Determine the first business data obtained by analyzing the first media data, and store the first business data in the first center management platform included in the production center;

[0092] Step S1108: Copy the first business data to the second center management platform included in the disaster recovery center.

[0093] In this embodiment, the data backup method can be applied to a disaster recovery system, which includes a production center and a disaster recovery center. The production center includes a first central management platform, a first slave platform, and a first storage medium. The disaster recovery center includes a second central management platform, a second slave platform, and a second storage medium. The disaster recovery system can be a general security system, capable of industry-specific digitalization and decision support. The product components of a general security system can include video surveillance platforms, intelligent face view application platforms, intelligent human body view application platforms, intelligent vehicle view application platforms, emergency command platforms, big data aggregation application platforms, fire command platforms, parking management platforms, etc. The scope of the general security industry is expanding, and the complexity of its business is increasing.

[0094] In this embodiment, the disaster recovery system can be a general security system, or a system capable of industry-specific digitalization and decision support. The product components of a general security system may include video surveillance platforms, intelligent facial recognition application platforms, intelligent human body recognition application platforms, intelligent vehicle recognition application platforms, emergency command platforms, big data aggregation application platforms, fire command platforms, parking management platforms, etc. The scope of the general security industry is expanding, and the complexity of its business is increasing.

[0095] In this embodiment, the production center and the disaster recovery center can be the same system. The production center can include all systems in the primary data center. The disaster recovery center can include all systems in the backup data center. Data centers can be built in different cities or different areas of the same city to achieve off-site disaster recovery through the production center and the disaster recovery center.

[0096] In this embodiment, the first central management platform can provide capabilities such as user management, device management, access control, video-on-demand, and PTZ control. The first central management platform can provide a reverse proxy entry point, through which terminal applications can connect to the first central management platform. The first slave platform can be responsible for accessing front-end monitoring devices, i.e., edge network devices, receiving real-time video streams and image data from the edge network devices, and writing them to the first storage medium. The second slave platform can also be responsible for accessing front-end monitoring devices, i.e., edge network devices, receiving real-time video streams and image data from the edge network devices, and writing them to the second storage medium. The edge network devices can include various types of equipment from different industries, such as surveillance cameras, checkpoint cameras, access control devices, sensors, hard disk recorders, drones, entrance / exit cameras, alarm hosts, thermal imaging cameras, and other devices. The first and second storage media can provide storage capabilities, such as IP SAN (Storage Area Network) storage and NAS (Network Attached Storage).

[0097] In this embodiment, a detailed structural diagram of the disaster recovery system can be found in the appendix. Figure 2 ,like Figure 2 As shown, a production center and a disaster recovery center are constructed at two locations. The production center deploys a comprehensive security system, including a primary management platform, a primary industry application platform, a primary slave platform, a primary intelligent analysis node, a primary storage medium, and a primary decoder. A similar comprehensive security system, such as an audio-visual system, can also be deployed at the disaster recovery center, including a secondary management platform, a secondary industry application platform, a secondary slave platform, a secondary intelligent analysis node, a secondary storage medium, and a secondary decoder. Both the primary and secondary storage media are pre-configured.

[0098] In this embodiment, the disaster recovery system is illustrated. Figure 1 See appendix Figure 3 ,like Figure 3As shown, during normal operation of the production center, the first center management platform is configured to connect to terminal applications to receive operation commands sent by these applications. Both the first and second slave platforms are configured to connect to edge network devices to acquire media data generated by these devices. The disaster recovery system also employs a single-active business system plus a special dual-active slave platform mode. The special dual-active slave platform mode performs different actions depending on whether the disaster recovery center is enabled. The first slave platform in the production center provides full business capabilities, including managing edge network devices, receiving events and storing images, and receiving and storing real-time streaming recordings. When the disaster recovery center is not enabled, the second slave platform only provides real-time streaming recording storage capabilities. After the disaster recovery center is enabled, the second slave platform provides full business capabilities. When the first center management platform copies the stored first business data to the second center management platform, the disk where the production center database resides uses real-time disk replication technology to synchronize disk data to the disk where the disaster recovery center database resides in real time, ensuring file consistency between the two centers. This achieves disaster recovery for all business data of the comprehensive security system.

[0099] In this embodiment, after receiving an operation request from a terminal application, the first central management platform can send the operation request to the first slave platform. The operation request can be a request to a target device included in the edge network devices to perform a target operation. The operation request can include operation information, such as device information (e.g., identification information) and the target operation. Alternatively, the operation request can be a recording plan configuration, which can include the target device information, the target operation, and the execution time. The first slave platform can save the operation information to a configuration file in a first storage medium and use real-time disk replication technology to synchronize this configuration file to the local disk of the second slave platform in the disaster recovery center, i.e., the second storage medium, ensuring file consistency between the two centers. After the configuration file containing the operation information is copied to the second storage medium, the second slave platform can obtain the first media data based on the operation information, enabling the production center and the disaster recovery center to obtain the same first media data, thereby achieving synchronous backup of the first media data.

[0100] In this embodiment, the disaster recovery system is illustrated. Figure 2 See appendix Figure 4 ,like Figure 4As shown, for any user operation request in the terminal application, such as adding, deleting, or modifying devices, accounts and permissions, recording schedules, intelligent analysis tasks, access control personnel authorization, video wall display tasks, etc., the first-center management platform can save the operation information to its database. It then sends the operation information to the first slave platform, which saves it to the first storage medium. The production center database, i.e., the disk where the first-center management platform's database resides, uses real-time disk replication technology to synchronize disk data in real time to the disk where the second-center management platform's database resides in the disaster recovery center. The data disk of the disaster recovery center's security system is locked, preventing the disaster recovery center's security system database from starting. This means the second-center management platform cannot start and cannot schedule access to edge network devices from the disaster recovery center's second slave platform. For user operation requests in the production center terminal application (adding, deleting, or modifying devices, adding, deleting, or modifying recording schedules), the first-center management platform saves the data to its database and sends it to the first slave platform. The first slave platform saves the device information and recording schedule to its local disk, i.e., the configuration file on the first storage medium. Real-time disk replication technology is used to synchronize the aforementioned configuration files to the local disk of the second slave platform in the disaster recovery center, ensuring file consistency between the two centers. The second slave platform in the disaster recovery center periodically checks the update time of the local disk configuration files. When an update is detected, it reads the device information and recording schedule from the configuration file. The second slave platform obtains media data (real-time video stream) from the edge network devices and writes the media data to the second storage medium. The recording index is generated according to "device encoding and stream timestamp". The production center and the disaster recovery center each store a copy of the recording data, possessing the same recording index information, thus achieving disaster recovery of media data (video) for the comprehensive security system.

[0101] At this time, the second-center management platform is not started, and the second-slave platform only has device information and recording plans, and registration with the second-center management platform has failed. Therefore, the second-slave platform will not subscribe to events and images from the edge network devices. That is, the second-slave platform of the disaster recovery center will not write event-related image data reported by the edge network devices to the second storage medium.

[0102] In this embodiment, the operation request from the terminal application is sent to the first slave platform of the production center. The slave platform is responsible for recording the operation information and acquiring the corresponding first media data, such as video or audio, which is stored in the first storage medium. Simultaneously, the operation information and the first media data are synchronized in real time to the second storage medium of the disaster recovery center, ensuring that the disaster recovery center can take over the functions of the production center at any time. Next, the first media data is analyzed to extract first business data, such as abnormal behavior reports, which is stored in the first center management platform and synchronized to the second center management platform through a real-time replication mechanism. This series of steps not only solves the efficiency problem of data synchronization and backup but also enhances the system's data security and business continuity through dual backup of business data and media data. This method is applicable to various scales of security systems, including but not limited to urban surveillance, enterprise security, and smart home fields. It can significantly reduce disaster recovery costs, improve system response speed and data processing capabilities, and provide strong technical support for the robust development of the security industry.

[0103] Through the above steps, an operation request sent by a terminal application can be received and sent to a first slave platform. The first slave platform can save the operation information corresponding to the operation request to a first storage medium, and obtain the first media data generated by the target device indicated in the operation request performing the target operation indicated in the operation request, and store the first media data in the first storage medium. It can also copy the operation information stored in the first storage medium to a second storage medium, so as to instruct the second slave platform to obtain the first media data based on the operation information. This allows the production center and disaster recovery center to simultaneously obtain the first media data. The first center management platform can also store first business data and copy the first business data to the second center management platform, allowing the production center and disaster recovery center to simultaneously store business data. Therefore, this solves the problem in related technologies where disaster recovery systems cannot simultaneously back up business data and media data, achieving the effect of simultaneously backing up business data and media data.

[0104] Optionally, the entity performing the above steps may be a disaster recovery system, a processor running the disaster recovery system, a device running the disaster recovery system, a terminal, etc., but is not limited to these.

[0105] In an exemplary embodiment, before copying the first business data to the second center management platform included in the disaster recovery center, the method further includes: determining a first address of the first media data in the first storage medium; and adding the first address to the business data. In this embodiment, before the first business data is copied to the second center management platform, the system determines the exact location of the first media data in the first storage medium, i.e., the first address, and integrates it into the business data. For example, when the first business data is a report about an intrusion event in a certain area, the system identifies the storage location of the video clip associated with this event in the first storage medium and adds this information to the report. This design not only simplifies the data retrieval process but also ensures the correlation between business data and media data, solving the problem of difficult data retrieval in a massive data environment. Through precise address indexing, this solution enhances the system's data management and retrieval capabilities, which is of great significance for improving the event processing efficiency and data utilization value of the general security system. This technical feature is applicable to all business scenarios that require media data processing, including but not limited to video surveillance and audio recording, and can significantly improve the accuracy and efficiency of data processing.

[0106] In an exemplary embodiment, after determining the first business data obtained by analyzing the first media data, the method further includes: determining first event data based on the first business data; storing the first event data in the first central management platform; and copying the first event data stored in the first central management platform to the second central management platform. In this embodiment, during the processing of the first business data, the system further analyzes and determines the first event data, such as a detailed description and handling suggestions for a security event, and then stores this information in the first central management platform and synchronizes it to the second central management platform through a real-time replication mechanism. For example, when the first business data contains a series of statistical information about the flow of people in a certain area, the system may identify abnormal behavior patterns from it, generate alarm information or event reports, and store and synchronize them as first event data. This technical feature not only enhances the system's event response and processing capabilities but also solves the problem of information lag in disaster recovery centers through real-time data synchronization, playing a crucial role in ensuring the data security and business continuity of the comprehensive security system.

[0107] In one exemplary embodiment, the method further includes: receiving second media data sent by an edge network device and storing the second media data in the first storage medium; sending the second media data to a second slave platform to instruct the second slave platform to store the second media data in the second storage medium. In this embodiment, in addition to receiving operation requests from terminal applications, the system also needs to process second media data directly sent by edge network devices (such as surveillance cameras, sensors, etc.). This data is stored in the first storage medium at the production center. Simultaneously, the system synchronizes the second media data to the second slave platform, which is responsible for backup in the second storage medium. For example, when an edge network device detects an emergency, such as a fire or illegal intrusion, it immediately sends the on-site video or audio data to the production center and disaster recovery center, ensuring dual data protection. This technical feature solves the problem of data loss that may result from a single storage point failure, enhancing the system's data redundancy and security through real-time data replication.

[0108] In an exemplary embodiment, the method further includes: receiving a first file uploaded by the terminal application and storing the first file in the first storage medium; sending the first file to the second slave platform to instruct the second slave platform to store the first file in the second storage medium. In this embodiment, the system not only processes media data but also the first file uploaded by the terminal application, such as configuration files and log records, and archives these files in the first storage medium of the production center. Simultaneously, the system synchronizes the first file to the second slave platform, which is responsible for backing it up in the second storage medium. For example, when the terminal application needs to update its configuration parameters, the uploaded configuration file is received and stored by the production center and also copied to the disaster recovery center, ensuring the consistency of system configuration and the integrity of data. This technical feature solves the problem of synchronizing important data such as configuration files in a disaster recovery environment, and through real-time data replication, ensures the stable operation and flexible configuration capabilities of the comprehensive security system.

[0109] In one exemplary embodiment, the method further includes configuring the second center management platform to connect with the terminal application in the event of a failure at the production center. In this embodiment, when the production center experiences a failure, the system quickly adjusts the second center management platform to a state where it can directly receive operation requests from the terminal application, ensuring continuous business operation. For example, if the production center is temporarily unable to operate due to hardware failure, the terminal application will automatically redirect to the second center management platform of the disaster recovery center to continue sending operation requests, such as querying historical data or adjusting equipment parameters. This technical feature solves the business interruption problem that may be caused by a production center failure, and achieves high availability and stability of the system through the immediate takeover by the disaster recovery center.

[0110] Through the above description of the embodiments, those skilled in the art can clearly understand that the methods according to the above embodiments can be implemented by means of software plus necessary general-purpose hardware platforms. Of course, they can also be implemented by hardware, but in many cases the former is a better implementation method. Based on this understanding, the technical solution of the present invention, in essence, or the part that contributes to the prior art, can be embodied in the form of a software product. This computer software product is stored in a storage medium (such as ROM / RAM, magnetic disk, optical disk) and includes several instructions to cause a terminal device (which may be a mobile phone, computer, server, or network device, etc.) to execute the methods described in the various embodiments of the present invention.

[0111] This embodiment also provides a data backup device for implementing the above embodiments and preferred embodiments; details already described will not be repeated. As used below, the term "module" can refer to a combination of software and / or hardware that performs a predetermined function. Although the device described in the following embodiments is preferably implemented in software, hardware implementation, or a combination of software and hardware, is also possible and contemplated.

[0112] Figure 12 This is a structural block diagram of a data backup device according to an embodiment of the present invention, such as... Figure 2 As shown, the device includes:

[0113] The sending module 122 is used to send the received operation request sent by the terminal application to the first slave platform included in the production center, so as to instruct the first slave platform to save the operation information to the first storage medium included in the production center, and to obtain the first media data based on the operation information and store the first media data in the first storage medium, wherein the operation information is information corresponding to the operation request;

[0114] The synchronization module 124 is used to synchronize the operation information stored in the first storage medium to the second storage medium included in the disaster recovery center in real time, so as to instruct the second slave platform included in the disaster recovery center to obtain the first media data based on the operation information;

[0115] The determining module 126 is used to determine the first business data obtained by analyzing the first media data, and store the first business data in the first center management platform included in the production center;

[0116] The replication module 128 is used to replicate the first business data to the second center management platform included in the disaster recovery center.

[0117] In an exemplary embodiment, the apparatus may be used to determine a first address of the first media data in the first storage medium before copying the first service data to a second central management platform included in the disaster recovery center; and to add the first address to the service data.

[0118] In an exemplary embodiment, the apparatus may be used to determine first event data based on the first service data obtained by analyzing the first media data; store the first event data in the first central management platform; and copy the first event data stored in the first central management platform to the second central management platform.

[0119] In one exemplary embodiment, the apparatus may further be configured to receive second media data sent by an edge network device and store the second media data in the first storage medium; and send the second media data to the second slave platform to instruct the second slave platform to store the second media data in the second storage medium.

[0120] In one exemplary embodiment, the apparatus may further be used to receive a first file uploaded by the terminal application and store the first file in the first storage medium; and send the first file to the second slave platform to instruct the second slave platform to store the first file in the second storage medium.

[0121] In one exemplary embodiment, the apparatus can also be used to configure the second center management platform to connect to the terminal application in the event of a failure at the production center.

[0122] It should be noted that the above modules can be implemented by software or hardware. For the latter, they can be implemented in the following ways, but are not limited to: all the above modules are located in the same processor; or, the above modules are located in different processors in any combination.

[0123] Embodiments of the present invention also provide a computer-readable storage medium storing a computer program, wherein the computer program is configured to perform the steps in any of the above method embodiments when executed.

[0124] In one exemplary embodiment, the aforementioned computer-readable storage medium may include, but is not limited to, various media capable of storing computer programs, such as a USB flash drive, read-only memory (ROM), random access memory (RAM), portable hard disk, magnetic disk, or optical disk.

[0125] Embodiments of the present invention also provide an electronic device including a memory and a processor, the memory storing a computer program and the processor being configured to run the computer program to perform the steps in any of the above method embodiments.

[0126] In one exemplary embodiment, the electronic device may further include a transmission device and an input / output device, wherein the transmission device is connected to the processor and the input / output device is connected to the processor.

[0127] Embodiments of the present invention also provide a computer program product, including a computer program that, when executed by a processor, implements the steps of the methods in various embodiments of the present application.

[0128] Specific examples in this embodiment can be found in the examples described in the above embodiments and exemplary implementations, and will not be repeated here.

[0129] It is obvious to those skilled in the art that the modules or steps of the present invention described above can be implemented using general-purpose computing devices. They can be centralized on a single computing device or distributed across a network of multiple computing devices. They can be implemented using computer-executable program code, and thus can be stored in a storage device for execution by a computing device. In some cases, the steps shown or described can be performed in a different order than those described herein, or they can be fabricated as separate integrated circuit modules, or multiple modules or steps can be fabricated as a single integrated circuit module. Thus, the present invention is not limited to any particular combination of hardware and software.

[0130] The above description is merely a preferred embodiment of the present invention and is not intended to limit the invention. Various modifications and variations can be made to the present invention by those skilled in the art. Any modifications, equivalent substitutions, or improvements made within the principles of the present invention should be included within the scope of protection of the present invention.

Claims

1. A disaster recovery system, characterized in that, This includes a production center and a disaster recovery center. The production center includes a first central management platform, a first slave platform, and a first storage medium. The disaster recovery center includes a second central management platform, a second slave platform, and a second storage medium. The first central management platform is configured to connect to the terminal application, and is used to receive operation requests sent by the terminal application and send the operation requests to the first slave platform; The first slave platform is used to save the operation information corresponding to the operation request to the first storage medium, and to obtain the first media data generated by the target device indicated by the operation request performing the target operation indicated in the operation request, and to store the first media data in the first storage medium, wherein the operation information includes the device information of the target device and the target operation; The second slave platform is used to obtain the first media data based on the operation information copied from the first storage medium and stored in the second storage medium; The first central management platform is also used to store the first business data and copy the first business data to the second central management platform, wherein the first business data is data determined based on data collected by edge network devices, and the edge network devices include the target device.

2. The disaster recovery system according to claim 1, characterized in that, The production center also includes: The first intelligent analysis node is connected to the first slave platform. The first slave platform sends data obtained from the edge network device to the first intelligent analysis node. The first intelligent analysis node analyzes the data obtained from the edge network device sent by the first slave platform to obtain the first service data.

3. The disaster recovery system according to claim 2, characterized in that, The first slave platform is further configured to determine the first storage address of the first media data in the first storage medium, and send the first storage address to the first intelligent analysis node, and the first intelligent analysis node adds the first storage address to the first service data.

4. The disaster recovery system according to claim 2, characterized in that, The production center also includes: The first industry application platform is connected to the first intelligent analysis node and also connected to the first central management platform. The first industry application platform is used to receive the first business data reported by the first intelligent analysis node, determine the first event data based on the first business data, and store the first event data in the first central management platform. The first central management platform is also used to copy the first event data to the second central management platform.

5. The disaster recovery system according to claim 1, characterized in that, The first slave platform is further configured to receive second media data sent by the edge network device and store the second media data in the first storage medium; the first slave platform is further configured to send the second media data to the second slave platform, and the second slave platform stores the second media data in the second storage medium.

6. The disaster recovery system according to claim 1, characterized in that, The first slave platform is further configured to receive the first file uploaded by the terminal application and store the first file in the first storage medium. The first slave platform is also configured to send the first file to the second slave platform, and the second slave platform is configured to store the first file in the second storage medium.

7. The disaster recovery system according to claim 1, characterized in that, The production center also includes a first decoder, which is used to receive the second media data forwarded from the first platform, decode the second media data into a first format to obtain third media data, and send the third media data to a display device for display.

8. The disaster recovery system according to claim 1, characterized in that, In the event of a failure at the production center, the disaster recovery center is used to replace the production center, and the second center management platform is configured to connect to the terminal application.

9. The disaster recovery system according to claim 8, characterized in that, In the event of a failure at the production center being resolved, the second center management platform is also used to copy the data stored in the second center management platform to the first center management platform.

10. The disaster recovery system according to claim 8, characterized in that, In the event of a production center failure recovery, the central management platform is further configured to determine the discrepancy data stored in the second storage medium and synchronize the discrepancy data to the first storage medium, wherein the discrepancy data is the data stored in the second storage medium during the production center failure.

11. The disaster recovery system according to claim 8, characterized in that, The disaster recovery center also includes: The second intelligent analysis node is connected to the second slave platform. The second slave platform sends the fourth media data obtained from the edge network device to the second intelligent analysis node. The second intelligent analysis node analyzes the fourth media data to obtain the second service data and stores the second service data in the second central management platform.

12. The disaster recovery system according to claim 11, characterized in that, The second slave platform is further configured to determine the second storage address of the fourth media data in the second storage medium, and send the second storage address to the second intelligent analysis node, which then adds the second storage address to the second service data.

13. The disaster recovery system according to claim 11, characterized in that, The disaster recovery center also includes: The second industry application platform is connected to the second intelligent analysis node and also to the second central management platform. The second industry application platform is used to receive the second business data reported by the second intelligent analysis node, determine the second event data based on the second business data, and store the second event data in the second central management platform.

14. The disaster recovery system according to claim 8, characterized in that, The second slave platform is also used to receive fifth media data sent by the edge network device and store the fifth media data in the second storage medium.

15. The disaster recovery system according to claim 8, characterized in that, The disaster recovery center also includes a second decoder, used to receive the sixth media data forwarded from the second platform, decode the sixth media data into a second format to obtain the seventh media data, and send the seventh media data to a display device for display.

16. A data backup method, characterized in that, include: The received operation request from the terminal application is sent to the first slave platform included in the production center, so as to instruct the first slave platform to save the operation information to the first storage medium included in the production center, and to obtain the first media data based on the operation information, and store the first media data in the first storage medium, wherein the operation information is the information corresponding to the operation request; The operation information stored in the first storage medium is synchronized in real time to the second storage medium included in the disaster recovery center, so as to instruct the second slave platform included in the disaster recovery center to obtain the first media data based on the operation information; The first business data obtained by analyzing the first media data is determined, and the first business data is stored in the first center management platform included in the production center; The first business data is copied to the second center management platform included in the disaster recovery center.

17. The method according to claim 16, characterized in that, Before copying the first business data to the second center management platform included in the disaster recovery center, the method further includes: Determine the first address of the first media data in the first storage medium; Add the first address to the business data.

18. The method according to claim 16, characterized in that, After determining the first business data obtained by analyzing the first media data, the method further includes: The first event data is determined based on the first business data; The first event data is stored in the first central management platform, and the first event data stored in the first central management platform is copied to the second central management platform.

19. The method according to claim 16, characterized in that, The method further includes: Receive second media data sent by an edge network device and store the second media data in the first storage medium; The second media data is sent to the second slave platform to instruct the second slave platform to store the second media data in the second storage medium.

20. The method according to claim 16, characterized in that, The method further includes: Receive the first file uploaded by the terminal application and store the first file in the first storage medium; The first file is sent to the second slave platform to instruct the second slave platform to store the first file in the second storage medium.

21. The method according to claim 16, characterized in that, The method further includes: In the event of a failure at the production center, the second center management platform will be configured to connect to the terminal application.

22. A data backup device, characterized in that, include: The sending module is configured to send the received operation request from the terminal application to a first slave platform included in the production center, so as to instruct the first slave platform to save the operation information to a first storage medium included in the production center, and to obtain first media data based on the operation information and store the first media data in the first storage medium, wherein the operation information is information corresponding to the operation request; The synchronization module is used to synchronize the operation information stored in the first storage medium to the second storage medium included in the disaster recovery center in real time, so as to instruct the second slave platform included in the disaster recovery center to obtain the first media data based on the operation information; The determining module is used to determine the first business data obtained by analyzing the first media data, and store the first business data in the first center management platform included in the production center; The replication module is used to replicate the first business data to the second center management platform included in the disaster recovery center.

23. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores a computer program, wherein the computer program is configured to perform the method described in any one of claims 16 to 21 when executed.

24. An electronic device comprising a memory and a processor, characterized in that, The memory stores a computer program, and the processor is configured to run the computer program to perform the method as described in any one of claims 16 to 21.

25. A computer program product, comprising a computer program, characterized in that, When the computer program is executed by a processor, it performs the steps of the method described in any one of claims 16 to 21.

Citation Information

Patent Citations

  • System and method for big data remote disaster recovery backup of ground application

    CN103838646A

  • A disaster recovery platform and a disaster recovery method

    CN109597718A