Data disaster recovery storage system, business processing method, system and medium
By building distributed micro-storage clusters and blockchain transaction auditing in the edge network, the disaster recovery problem of being unable to utilize edge resources in existing technologies is solved, and rapid data recovery and high-reliability storage in large-area disaster events are achieved.
Patent Information
- Application Number
- CN202410872599.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-01
- Publication Date
- 2024-10-01
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
Existing disaster recovery technologies cannot make full use of idle node computing and storage resources in edge networks, resulting in the inability to quickly reconstruct disaster recovery data in large-scale disaster events. Moreover, centralized storage solutions are easily damaged and cannot effectively cope with extreme scenarios.
A data disaster recovery storage system is designed. By deploying disaster recovery management and production-side agents in the edge network, and using resource registration centers and storage gateway agents to build distributed micro-storage clusters, multi-copy storage across clouds and networks is achieved. Use blockchain for transaction auditing to ensure data security and reliability.
It realizes disaster recovery data recovery in extreme large-area damage scenarios, avoids the risk of centralized attacks, improves storage resource utilization and data security, and can cope with rapid data reconstruction needs in extremely large disaster events.
Smart Images

Figure CN118733346A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of data security technology, and in particular to a data disaster recovery storage system, a business processing method, a system and a medium. Background Art
[0002] With the construction and development of informatization in various fields of society, data has become an important asset and important production factor that affects the survival and development of enterprises and the national economy and people's livelihood. Once the data is attacked, stolen or destroyed, it will cause huge economic losses to the enterprise and adversely affect the social reputation. Therefore, the security and value creation ability of data have received great attention from enterprises and the country. Building a data disaster recovery and recovery system to ensure the effective operation of the business system has become the bottom line guarantee of network security, an important part of the current enterprise informatization construction, and an important support for the national informatization strategy.
[0003] At present, my country's disaster recovery products and solutions have formed a multi-level data disaster recovery storage solution from underlying data protection to business application protection, completing local disk storage, local storage network storage, and cloud storage. At present, disaster recovery data mainly uses two types of solutions: single centralized storage and distributed storage. Among them, centralized storage mainly uses tape storage, disk storage, virtual tape library, and Blu-ray storage of disaster recovery all-in-one machines. Distributed storage mainly uses direct-attached storage DAS, storage area network SAN, network attached storage NAS built by local multiple servers, or uses cloud resources to build cloud storage solutions. In order to cope with natural disasters, the dual-center storage in the same city or the three-center storage solution in two places has solved the problem of data reconstruction after a single data center disaster event to a certain extent. However, due to the importance of data centers, data centers have also become the focus of attack and destruction in special scenarios. The above-mentioned disaster recovery data storage solutions, whether local centralized storage solutions or off-site data center storage solutions, rely on the construction and management of relatively centralized storage resource pools. Therefore, when facing a large-scale system paralysis caused by a major disaster (such as natural disasters, wars), this relatively centralized disaster recovery data storage technology cannot effectively achieve rapid reconstruction of post-disaster data, which will lead to serious data security incidents. Cloud security incidents, data extortion incidents, war strikes, etc. reported in recent years have also proved that this disaster recovery method is not suitable for rapid data reconstruction scenarios in the event of major security incidents.
[0004] There are a large number of nodes in the current network that are scattered and have insufficient resource utilization. If we can make full use of these edge nodes to build a distributed storage resource pool for multiple copies of disaster recovery data and distributed storage across networks, we can not only reduce the investment in new storage hardware and improve the utilization rate of existing resources, but also respond to the damage to the software and hardware of the centralized resource pool caused by major disasters. Through the undamaged resources and data available in the system, the disaster recovery data can be effectively reconstructed. From the current domestic technical solutions or industrialized disaster recovery products, there are no data disaster recovery technical solutions and products that use distributed network node resources across networks.
[0005] The storage solutions currently used in disaster recovery technologies are mainly centralized disaster recovery all-in-one solutions, distributed storage network systems, and cloud storage solutions in data centers. The storage solution using a disaster recovery all-in-one machine is limited by the storage performance of the all-in-one machine, which is prone to resource bottlenecks and single point failures, and cannot meet the parallel disaster recovery data storage needs of massive nodes. The solution using a distributed storage network system realizes the multi-copy storage requirements of data by building a storage server cluster network, which provides reliability guarantees for disaster recovery data to a certain extent. The cloud storage solution using a data center has formed several technical barriers and storage islands due to commercial competition and technical barriers, which is not conducive to the collaboration between different technical architectures and the sharing of storage resources across clouds and regions.
[0006] At the same time, all of the above solutions are built on software and hardware platforms with relatively concentrated resources and management. The hardware location for building the storage resource pool is relatively concentrated, which can easily become the target of damage in special scenarios, leading to physical and logical collapse of the basic platform. In addition, these storage technology solutions cannot fully utilize the existing idle node computing and storage resource capabilities in the edge network to collaboratively build a data disaster recovery defense storage system. Summary of the invention
[0007] The purpose of the present invention is to provide a data disaster recovery storage system, business processing method, system and medium to address the deficiencies of the above-mentioned prior art, so as to solve the problem that the existing idle node computing and storage resource capabilities in the edge network cannot be fully utilized in the prior art to collaboratively build a data disaster recovery defense storage system.
[0008] The present invention specifically provides the following technical solution: a data disaster recovery storage system, comprising:
[0009] A disaster recovery management terminal is deployed in the edge network and is used to manage the disaster recovery business in the edge network. The disaster recovery management terminal receives the disaster recovery tasks assigned by the upper-level disaster recovery management terminal and issues distributed backup tasks for the disaster recovery data.
[0010] The production-side disaster recovery agent is deployed in the edge network to undertake the distributed backup tasks issued by the disaster recovery management end and to transmit data from the backup source end to the local micro storage cluster;
[0011] The resource registration center is the resource manager of the local micro storage cluster. It is used to manage the resource status information of each storage client in the local micro storage cluster in the form of a resource directory, and to uniformly manage and arrange the storage resources of the local micro storage cluster.
[0012] The storage gateway agent is the only data transmission interface for the local micro storage cluster to communicate with the outside world. It is used to monitor and receive resource directory synchronization messages from the resource registration center and update the local storage resource directory.
[0013] The storage client agent is deployed on the edge network node with storage resources. It is used to monitor the resource quota usage, I / O rate, file system and disk cache of the node participating in the local micro storage cluster in real time, and report it to the resource registration center in the form of resource directory information. It also receives the data shards that need to be stored issued by the storage gateway agent to complete the data backup task.
[0014] Preferably, the management of the disaster recovery service in the edge network includes object selection, parameter setting, policy setting and monitoring setting of the disaster recovery task.
[0015] Preferably, when undertaking the distributed backup tasks issued by the disaster recovery management end, the data disaster recovery tasks are implemented, including database backup and recovery, file backup and recovery, and host backup and recovery; and when backing up, a backup strategy combining full backup and incremental backup is adopted, wherein the full backup copies the full data of the backup object at one time, and the incremental backup monitors the changes of the production end data in real time, and synchronizes the changed parts to the backup storage end.
[0016] Preferably, the resource registration center is also used to report the overall resource pool status of the local micro storage cluster to the upper-level resource registration center, and accept the management of the upper-level resource registration center, listen to and receive resource registration information from the storage client, update the local resource directory, and synchronize the updated resource directory to the resource directory of the storage gateway agent. Each resource directory includes: resource directory ID, storage client node ID, disk ID, disk type, total capacity, available capacity, usage rate, disaster recovery data mount point and update time.
[0017] Preferably, the storage gateway agent is also used to receive disaster recovery data storage requests sent to the micro storage cluster, slice the disaster recovery data according to the local resource directory and data storage distribution strategy, and distribute the data slices to different resource nodes of the local micro storage cluster for multiple copy storage.
[0018] Preferably, the storage client agent is also used to feed back the completion status of the storage task of the node to the storage gateway and update the resource directory after completing the data shard storage of the node.
[0019] Preferably, the disaster recovery management terminal is also used to act as a communication gateway node for the edge network to perform disaster recovery business processing with the outside world.
[0020] The present invention also provides a business processing method of a data disaster recovery storage system, comprising the following steps:
[0021] After synchronizing the resource directory content and file directory content through the resource registration center and the storage gateway agent, it also includes data recovery tasks, which are as follows:
[0022] The data recovery task is set through the disaster recovery management end. After the setting is completed, the disaster recovery management end obtains the object that needs to be restored from the production end agent, sends the file name or file ID that needs to be restored to the storage gateway agent of the registered micro storage cluster, and issues a data backup task instruction;
[0023] The production-side agent analyzes the task content and strategy, and conducts disaster recovery security audits on users who implement disaster recovery requests;
[0024] After the disaster recovery security transaction audit, the production end executes the data recovery task and sends a file read request to the storage gateway in the micro storage cluster according to the micro storage cluster and file location list selected by the management end to transfer the disaster recovery data file;
[0025] After receiving the disaster recovery data file through the storage gateway agent, according to the resource directory and file directory, a request to read the data shard is sent to the storage client agent node corresponding to the resource destination, multiple data shards are reorganized and restored into the original disaster recovery data file, and the integrity of the disaster recovery data file is checked, and the checked file is sent to the production agent for data recovery;
[0026] The storage gateway agent conducts a read transaction audit of the blockchain disaster recovery data file for the read task of the disaster recovery data file.
[0027] The present invention also provides a computer device, including a memory and a processor, wherein a program is stored in the memory, and when the program is executed by the processor, the processor executes the steps of the business processing method of the data disaster recovery storage system.
[0028] The present invention also provides a storage medium on which a computer program is stored, characterized in that when the computer program is executed by a processor, the steps of the business processing method of the data disaster recovery storage system are implemented.
[0029] Compared with the prior art, the present invention has the following significant advantages:
[0030] The present invention sets a disaster recovery management end and a production end disaster recovery agent in the edge network, issues a distributed backup task of disaster recovery data and performs data backup from the source end to the local storage cluster, and manages the storage resources in the local micro storage cluster through a resource registration center, that is, integrates the storage resources of the edge network and the cloud, builds a micro storage cluster cluster used for distributed disaster recovery data storage, realizes a storage resource pool that is cross-cloud and cross-network area and uniformly managed, updates the resource directory of the local storage through the storage gateway agent, receives the stored data fragments through the storage client agent, and completes the backup task, which not only solves the resource isolation problem, but also avoids the risk of storage data being destroyed by concentrated attacks through the resource pools deployed in geographically dispersed locations, making the disaster recovery data more secure and reliable, and able to cope with the disaster recovery data recovery needs in extreme large-scale destruction scenarios. BRIEF DESCRIPTION OF THE DRAWINGS
[0031] Figure 1 : is a functional composition structure diagram of the system of the present invention; wherein (a) is the relationship between the disaster recovery management end and the production end agent, and (b) is the relationship between the production end agent and the resource registration center, the storage client agent and the storage gateway agent;
[0032] Figure 2 : This is a diagram of the disaster recovery transaction security audit model based on blockchain of the present invention; wherein (a) is a diagram related to physical audit record 1, and (b) is a diagram related to transaction audit record 3;
[0033] Figure 3 It is a business flow chart of the system deployment of the present invention;
[0034] Figure 4 It is a data backup business flow chart of the present invention;
[0035] Figure 5 It is a data recovery business flow chart of the present invention;
[0036] Figure 6 It is a diagram of the overall distributed multi-region storage service solution of the present invention. DETAILED DESCRIPTION
[0037] The following is a clear and complete description of the technical solutions of the embodiments of the present invention in conjunction with the drawings in the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of the present invention.
[0038] Data disaster recovery refers to copying all or part of the data set from the hard disk or array of the application host to other storage media in order to prevent data loss due to system operation errors or system failures. When disasters such as human error, software errors, virus invasion, hardware failure and natural disasters occur, disaster backup can ensure the normal operation of the system and help enterprises achieve business continuity goals.
[0039] This technical solution will use the computing power and storage capacity of distributed edge network resource nodes to realize the multi-copy distributed disaster recovery data storage system with hierarchical, layered, and regional management, which can restore user business data to many nodes in edge networks and cloud data centers. It can realize the distributed storage of multiple nodes and multiple copies in user local networks, cross-regional remote networks, and the cloud. It can realize the flexible deployment of storage solutions and the purpose of resource integration and sharing.
[0040] (1) Overall design plan:
[0041] The solution targets the needs of edge network data disaster recovery, integrates edge network storage resources and cloud storage resources, and adopts a hierarchical and partitioned management implementation method from the two levels of data disaster recovery implementation and data storage to build a resource pool and disaster recovery solution across the cloud and edge. According to the logical structure of the edge network, it is divided into several edge subnets. Figure 1 Each dotted box in (a) and (b) represents a relatively independent edge subnet. The production data within the subnet is backed up locally and across edge subnets. Disaster recovery and recovery services and storage services are implemented by deploying agent programs. Each subnet appears to the outside world as a relatively independent business entity and resource pool. Several edge subnets are further combined to form a larger edge network, forming a higher-level, relatively independent business entity and resource pool. Figure 1 The idea of hierarchical and partitioned management of resources and disaster recovery and recovery services is expressed through the dotted boxes.
[0042] Agents are deployed on selected nodes of the edge network to implement disaster recovery services and distributed storage services for disaster recovery data. Disaster recovery services are completed by disaster recovery agents at the disaster recovery management end and production end in the edge network. Distributed storage services for disaster recovery data are completed by distributed micro storage clusters. The distributed micro storage clusters are composed of multiple micro storage clusters in local, remote and data centers. The micro storage clusters are composed of resource registration centers, storage gateway agents and storage client agents.
[0043] The following specifically describes an embodiment of the present invention to provide a data disaster recovery storage system, including: a disaster recovery management end, a production end disaster recovery agent, a resource registration center, a storage gateway agent, and a storage client agent.
[0044] Among them, the disaster recovery management end is deployed in the edge network to manage the disaster recovery business within the edge network. It is the communication gateway node for the edge network to conduct disaster recovery business with the outside world. The disaster recovery management end receives the disaster recovery tasks assigned by the upper-level disaster recovery management end, and issues distributed backup tasks for disaster recovery data; the production-end disaster recovery agent is deployed in the edge network to undertake the distributed backup tasks issued by the disaster recovery management end, and transmit data from the backup source to the local micro storage cluster; the resource registration center is the resource manager of the local micro storage cluster, which is used to manage the resource status information of each storage client in the local micro storage cluster in the form of a resource directory. And uniformly manage and orchestrate the storage resources of the local micro storage cluster; the storage gateway agent is the only data transmission interface for the local micro storage cluster to communicate with the outside world, and is used to listen to and receive resource directory synchronization messages from the resource registration center and update the local storage resource directory; the storage client agent is deployed on the edge network node with storage resources, and is used to monitor the resource quota usage, I / O rate, file system and disk cache of the node participating in the local micro storage cluster in real time, and report it to the resource registration center in the form of resource directory information, and receive the data shards that need to be stored issued by the storage gateway agent to complete the data backup task.
[0045] Specifically:
[0046] Data disaster recovery service:
[0047] The disaster recovery management end, the production end disaster recovery agent, and the distributed micro storage cluster together constitute the support for data disaster recovery and recovery. Perform data backup tasks on the production servers in the edge subnet, and save the backup data in the storage nodes of the micro storage cluster of the distributed edge network in the form of ordinary files or virtual disk format files. When a production server fails, the backup data is extracted from the corresponding storage node to achieve data recovery and complete business recovery or rollback.
[0048] In the disaster recovery management end, the data generated by the edge node can be backed up in multiple copies in the storage cluster composed of the local micro storage cluster, the remote micro storage cluster or the data center micro storage cluster. The disaster recovery data generated by the data center production system can also be distributed and backed up to the micro storage clusters of each edge subnet. The disaster recovery management end sets and issues tasks for specific disaster recovery tasks. The disaster recovery task settings include object selection, parameter settings, policy settings and monitoring settings of the disaster recovery task. The disaster recovery management end issues the disaster recovery tasks to be executed to the production end disaster recovery agent, receives information feedback from the production end, and logs and tracks the task execution. The disaster recovery management end implements hierarchical management of data from the production network, and implements backup of hot data in local and neighboring network micro storage clusters so that data can be quickly reconstructed from the near-end storage after a disaster event occurs. Remote and remote data-level backup is implemented for cold and warm data. Differential multi-copy distributed backup storage and high-performance parallel data recovery are implemented by setting different values for the importance and cold and hot degrees of data.
[0049] The production-side disaster recovery agent solution adopts a lightweight backup agent. According to the differences in the objects and object versions of disaster recovery, different backup agent programs (including virtual machine agents, database agents, file system agents, etc. with different backup objects and versions) are installed on the production system. This lightweight agent concept not only makes the agent program easy to deploy flexibly, but also is more targeted and occupies less system resources than single and decoupled backup agents. After the backup agent is installed, it needs to be registered on the disaster recovery management end to receive management from the disaster recovery management end. Multiple backup agents with different needs can be managed by the same backup management end at the same time. The disaster recovery agent is deployed in the server of the actual production network to obtain the data generated by the production end and supervise the operation status of the production end. When receiving the disaster recovery task or recovery task issued by the disaster recovery management end, it implements specific data disaster recovery tasks (including database backup and recovery, file backup and recovery, host backup and recovery, etc.). The production-side disaster recovery agent establishes network communication with the local or remote micro storage cluster to realize the storage and access of disaster recovery data. In order to solve the backup needs of distributed massive production-side data, the agent program adopts a backup strategy that combines full backup and incremental backup. Full backup copies all the data of the backup object at one time. When the amount of data is large, it consumes more system resources and backup time. By real-time monitoring of changes in production data and synchronizing the changed parts to the backup storage end, real-time incremental backup can effectively improve backup efficiency and save system resources.
[0050] Distributed storage service for disaster recovery data:
[0051] Considering the limited computing and storage resources of edge nodes, the local micro storage cluster decomposes the business functions of storage tasks and deploys them on different nodes in the form of proxy services. That is, resource registration centers, storage gateway agents, and storage client agents are deployed in different edge nodes to form a distributed local micro storage server cluster.
[0052] Since the production agent, disaster recovery management terminal and micro storage system are built on decentralized edge nodes, their security has a great impact on the safe and reliable backup storage of data. To this end, by performing security vulnerability scanning on the nodes where the production agent, disaster recovery management terminal, storage gateway, resource registration center and storage client agent are deployed, system vulnerabilities can be discovered and remedied in a timely manner, which can effectively prevent them from being attacked by security attacks and ensure the security of the disaster recovery system and micro storage system to a large extent. The nodes that have undergone security vulnerability scanning will register the scan log records on the blockchain for the security transaction audit of the node.
[0053] The resource registration center and storage gateway agent are deployed on two nodes. According to the differences in node CPU and memory, a node with good performance is selected to act as the storage gateway agent, and the other node acts as the resource registration center. The two nodes monitor each other through heartbeat information. When one of them fails, the other node acts as both the resource registration center and the storage gateway agent. Heartbeat information is the key to ensuring the normal operation of the node. The system collects the resource utilization rate and business process operation status parameters of the current node, constructs heartbeat information, and sends it to the monitoring party. If the resource registration center or the storage gateway agent does not receive the heartbeat information of the other party within three consecutive heartbeat cycles, it is considered that the other party may have a fault. At this time, the heartbeat wake-up function is used to try to re-establish the heartbeat communication mechanism with the other party and send a heartbeat wake-up message. After receiving the wake-up message from the other party, the recipient of the message needs to immediately feedback the heartbeat information and re-establish heartbeat synchronization. If the heartbeat information is still not received after 10 consecutive wake-ups, it is considered that the wake-up has failed. If the wake-up fails, the node will start the dual duties of the resource registration center and the storage gateway agent at the same time.
[0054] The resource registration center also reports the overall resource pool status of the local micro storage cluster to the upper-level resource registration center and accepts the management of the upper-level resource registration center. In this way, recursion together constitutes a unified, multi-resource node, and wider-coverage hierarchical and domain-based storage resource pool for the storage of disaster recovery data. The resource registration center listens to and receives resource registration information from the storage client, updates the local resource directory, and synchronizes the updated information to the resource directory of the storage gateway agent. The resource directory records the resource status data of the local micro storage cluster. Each resource directory includes: resource directory ID, storage client node ID, disk ID, disk type, total capacity, available capacity, usage rate, disaster recovery data mount point (storage path), update time, availability, etc.
[0055] The resource directory in the storage gateway agent also serves as a replica of the resource directory of the resource registration center, and is used to reconstruct the resource directory after the resource registration center fails. The storage gateway agent receives the disaster recovery data storage request sent to the micro storage cluster, and according to the local resource directory and data storage distribution strategy, the disaster recovery data is sharded, and the data shards are distributed to different resource nodes (i.e., storage client nodes) of the local micro storage cluster to achieve multi-copy storage. The data storage distribution strategy is used to set the data distribution strategy within the local micro storage cluster, including data sharding strategy, storage encryption strategy, synchronization method of data shard transmission, data consistency verification, etc. The storage gateway agent uses the file directory to manage the data files and their shards stored in the entire micro storage cluster. The contents of the file directory include: data file ID, data shard ID, resource directory ID list, data shard size, consistency verification hash value, update time, user, audit verification code, etc. When the file directory changes, the storage gateway agent and the resource registration center resynchronize the file directory.
[0056] After the storage client agent completes the data sharding storage of this node, the storage client agent will feedback the completion status of the storage task of this node to the storage gateway and update the resource directory. The storage client reports the activity status of this node to the resource registration center with periodic heartbeat information, and receives heartbeat wake-up information from the resource registration center. When the resource registration center fails to receive the heartbeat information from the storage client within three consecutive cycles, it sends a heartbeat wake-up message to the storage client agent. After receiving the heartbeat wake-up message, the client agent needs to immediately feedback the heartbeat information and re-establish heartbeat synchronization. If the resource registration center still fails to receive the heartbeat information from the storage client after 10 consecutive wake-ups, it is considered that the wake-up has failed. If the wake-up fails, the resource registration center modifies the resource directory to set the resources of the client to unavailable, and synchronizes the directory with the storage gateway agent.
[0057] (2) Disaster recovery transaction security audit based on blockchain
[0058] In a distributed edge network environment, the security of nodes will affect the effective operation of the entire disaster recovery system. This solution uses the decentralization and anti-repudiation capabilities of blockchain to design a disaster recovery transaction security audit solution for node security audit, data storage audit, micro storage cluster resource directory and file directory change audit, data reading audit, etc. The blockchain-based disaster recovery transaction security audit model is as follows: Figure 2 as shown in (a) and (b).
[0059] In the blockchain disaster recovery transaction security audit model, the production-end agent, disaster recovery management-end agent, storage gateway agent, storage client agent and resource registration center installed on different edge nodes all serve as nodes in the blockchain network and participate in the blockchain disaster recovery transaction security audit.
[0060] The audit transactions in this blockchain include six types, namely, node security audit, disaster recovery security transaction audit, data backup / recovery transaction audit, disaster recovery data file storage / reading transaction audit, data shard storage / reading transaction audit, and resource / file directory change audit.
[0061] Node security audit is used to audit nodes added to the disaster recovery system and micro storage cluster. After the node completes security scanning and vulnerability filling, the generated scan log record is registered as an audit object in the blockchain node security audit content. The audit record includes: transaction ID, audit type, timestamp, node ID, node type, node role, node security scan log record, transaction result, and digital signature.
[0062] Disaster recovery security transaction audit is used to audit the permissions of the user who issued the instruction after the production end receives the backup or recovery instruction from the disaster recovery management end. The audit record includes: transaction ID, audit type, timestamp, user ID, user permissions, node ID, disaster recovery task ID, disaster recovery type, disaster recovery object, transaction result, and digital signature.
[0063] Data backup / recovery transaction audit is used to record the execution results of data backup or data recovery tasks issued by the disaster recovery management end. Audit records include: transaction ID, audit type, timestamp, node ID, disaster recovery task ID, disaster recovery type, disaster recovery object, disaster recovery log record, transaction result, and digital signature.
[0064] Disaster recovery data file storage / reading transaction audit is used by the storage gateway agent of the micro storage cluster to record the storage or reading transactions of disaster recovery data files caused by disaster recovery transactions in the micro storage cluster. Audit records include: transaction ID, audit type, timestamp, user ID, user permissions, file ID, file type, file size, file creation time, file integrity check code, resource directory list, transaction results, and digital signature.
[0065] Data shard storage / read transaction audit is used by the client agent of the micro storage cluster to record the storage and read transactions of the disaster recovery data file shards caused by the disaster recovery transaction on the local node. The audit record includes: transaction ID, audit type, timestamp, user ID, user authority, node ID, resource directory, file ID, file block list, file block checksum, transaction result, and digital signature.
[0066] Resource / file directory change audit is used to record resource directory and file directory change transactions caused by changes in storage data on the storage client agent in the micro storage cluster. Audit records include: transaction ID, audit type, timestamp, node ID, directory type, directory change reason, directory change content, transaction result, and digital signature.
[0067] (3) System deployment business process
[0068] In view of the complex edge network environment and heterogeneous node resources, the system described in this solution is deployed in the form of microservice agent programs. The various agent deployment services are described as follows:
[0069] Production agent: Different production agent programs are installed on different production systems according to the different disaster recovery objects. The production agent first conducts node security transaction audit to ensure the security of the node itself. Then, it sends an agent registration application to the disaster recovery management end, registers as a part of the disaster recovery system, and accepts the unified management of the disaster recovery management end.
[0070] Disaster recovery management end: Select an edge node with good performance or a separate server to install the disaster recovery management end. The disaster recovery management end first performs a node security transaction audit to ensure the security of the node itself. Then, according to the production system that needs to process disaster recovery business, register the business assets under the production system. After the disaster recovery management end receives the agent registration request sent by the production end agent, it registers so that it can send backup and recovery tasks to the production end agent based on the registration information. After the disaster recovery management end receives the registration request sent by the storage gateway agent of the micro storage cluster, it registers the micro storage cluster to make it a storage resource pool for disaster recovery data. The disaster recovery management end can register multiple micro storage clusters, including: local micro storage clusters, remote micro storage clusters, cloud micro storage clusters, etc. Multiple micro storage clusters are constructed into a uniformly managed micro storage cluster cluster for distributed multi-copy storage of disaster recovery data files.
[0071] Storage Gateway Agent: The storage gateway agent is a key node of the entire micro storage cluster, serving as the data exchange interface between the micro storage cluster and the outside world. Its performance and security play an important role in the execution efficiency of disaster recovery tasks and the reliability of data. After the storage gateway agent is started, the local heartbeat is first turned on. The storage gateway agent node regularly conducts blockchain node security transaction audits to ensure the security of the node itself. The storage gateway agent regularly receives the latest resource directory and storage task distribution strategy information from the resource registration center in units of 1 storage cycle (the default cycle is 2 minutes) to achieve information synchronization, and based on this, builds the resource allocation plan for the current storage cycle of this storage cluster, which is used for resource retrieval and copy distribution when data is sharded and stored in multiple copies. After completing the above preparations, the storage gateway agent needs to send a registration request to the disaster recovery management end so that the micro storage cluster can be included in the disaster recovery data storage resource pool under the jurisdiction of the disaster recovery management end, and together with other registered micro storage clusters, form a larger-scale, hierarchically managed micro storage cluster cluster.
[0072] Resource Registration Center: After the registration center is installed and started, the heartbeat is turned on first. Then, the resource registration center needs to regularly audit blockchain node security transactions to ensure the security of the node itself. When the resource registration center receives a registration application sent by a storage agent client, it adds it to the storage resource pool of the local micro storage cluster and updates the resource directory. Then, the resource registration center synchronizes the updated resource directory and the set micro storage cluster distribution policy to the storage gateway agent. After that, the resource registration center regularly sends the latest resource directory and storage task distribution policy information to the storage client agent in units of 1 storage cycle (the default cycle is 2 minutes) to achieve information synchronization. If the information has not changed, you only need to send the information verification code.
[0073] Storage client agent: After the agent is installed and started, the heartbeat is started first. As the actual storage location of disaster recovery data, the storage client agent also needs to conduct regular blockchain node security transaction audits to ensure the security of the node itself. After completing the first round of security transaction audits, the storage client agent sends a registration request to the resource registration center to join the resource pool of the local micro storage cluster.
[0074] After the installation and deployment of the agent software is completed, the disaster recovery management end periodically receives the heartbeat information sent by the storage gateway agent to ensure the normal operation of the micro storage cluster. The storage gateway agent and the resource registration center synchronize heartbeat information with each other to form each other's heartbeat monitoring to ensure the normal operation of each other. The storage client periodically sends heartbeat information to the resource registration center to report its current operating status. When the heartbeat information receiver fails to receive the heartbeat information from the other party within three consecutive heartbeat cycles, the heartbeat inquiry mechanism is used to reversely detect the heartbeat of the other party. If the heartbeat information of the other party cannot be obtained after 10 consecutive inquiries, it is considered that the other party is operating at a fault and is set to an unavailable state.
[0075] Based on the above method and statement, the present invention provides a business processing method of a data disaster recovery storage system, comprising the following steps:
[0076] Step S11: The user sets the disaster recovery task through the disaster recovery management terminal (visual management interface) according to the disaster recovery business needs, and after completing the setting, the disaster recovery management terminal issues a data backup task instruction to the production end agent.
[0077] Task settings include disaster recovery objects, backup strategies (full backup, incremental backup, time strategy, compression strategy, encryption strategy, etc.), data importance identification, and automatically set the number of backup copies based on the importance identification, and select one or more backup destinations from the registered micro storage clusters, that is, micro storage clusters (local, remote or cloud).
[0078] Step S12: The production-side agent receives the disaster recovery instruction issued by the disaster recovery management end, analyzes the task content and strategy, and performs a disaster recovery security affairs audit on the user who implements the disaster recovery request.
[0079] The audit content includes users, user permissions, backup objects, etc. The audit results are registered in the blockchain for anti-repudiation audit of disaster recovery operations.
[0080] Step S13: After the disaster recovery security transaction audit, the production end executes the disaster recovery task, sends a storage request to the storage gateway in the micro storage cluster according to the micro storage cluster selected by the management end, establishes data communication, and transmits the disaster recovery data file.
[0081] The production end performs data backup, extracts data (full data or incremental data, database backup binlog log, etc.), and compresses and encrypts data according to the compression and encryption settings in the disaster recovery strategy to increase data security. Afterwards, the compressed and encrypted data file uses the hash256 algorithm to create a file checksum for file integrity check. If the amount of disaster recovery data is large, the data is segmented so that the maximum size of the created disaster recovery data file does not exceed 50M. After the disaster recovery data file is generated, the production end agent sends the disaster recovery data file to the micro storage cluster for storage. The same data file is sent to one or more micro storage clusters according to the data importance identifier. In the process of generating and sending the disaster recovery data file, the production end agent detects the resource usage of the current node, the task progress, and the confirmation feedback after receiving the file by the storage gateway agent, and reports the task completion progress to the disaster recovery management end in real time, and accepts the task execution status monitoring of the disaster recovery management end. After the task is completed, the disaster recovery management end logs the task and the task execution status and conducts blockchain data backup transaction audit.
[0082] Step S14: After receiving the disaster recovery data file through the storage gateway agent, the integrity check is performed on the disaster recovery data file. If the check passes, the file is confirmed to be received and the disaster recovery data file is processed in slices. Otherwise, the file transmission is considered to be wrong, and it is discarded, and error information is fed back to request file retransmission. After the slice processing, the data slices are sent to the storage client, and the data slices are stored in the resource path registered by the node in the resource directory.
[0083] The maximum size of the disaster recovery data shard contained in each file shard is 256KB. The structure of each file shard consists of: file ID, shard ID, shard size, shard start offset, shard checksum, shard creation time and disaster recovery data shard of up to 256KB. For shards with the same file ID and shard checksum, they will be considered as duplicate shards and deleted to save storage resources. After completing data sharding and deduplication, the storage gateway agent sends storage requests to different storage client agents according to the resource allocation strategy of this micro storage system, establishes data transmission communication, and realizes the multi-copy distribution of disaster recovery data shards. After receiving the storage confirmation information (confirmation feedback) of the corresponding storage client agent for the data shard, the resource directory and file directory are updated, and the directory content is synchronized with the resource registration center when the next storage cycle arrives. Then, the storage gateway agent generates the storage operation log of the disaster recovery data file, the file shard list and the blockchain disaster recovery data file storage transaction audit.
[0084] After the storage client listens to the data shard storage request from the storage gateway agent, it receives the data shard and performs consistency check and duplicate shard deletion on the data shard based on the file ID, shard ID and shard check code. Then, the data shard is stored in the resource path registered by this node in the resource directory. After the data shard is stored, it sends a storage confirmation message to the storage gateway agent and performs a blockchain data shard storage transaction audit for this shard storage.
[0085] Step S15: At the beginning of each storage cycle of the disaster recovery data storage process, the resource directory content and the file directory content are synchronized through the resource registration center and the storage gateway agent, and the blockchain directory update transaction audit is performed on the synchronized information.
[0086] The above steps are the data backup business process.
[0087] After synchronizing the resource directory content and file directory content through the resource registration center and the storage gateway agent, data recovery tasks are required for disaster recovery business needs. The data recovery business process includes the following steps:
[0088] Step S21: The user sets the data recovery task through the disaster recovery management end according to the needs of the disaster recovery business. After completing the setting, the disaster recovery management end obtains the object that needs to be recovered from the production end agent, sends the file name or file ID that needs to be restored to the storage gateway agent of the registered micro storage cluster, and issues a data backup task instruction.
[0089] Task settings include data recovery objects, device recovery policies (full recovery, recovery at a specified time point, time policy, compression policy, encryption policy, etc.), and a list of available micro storage cluster file locations (file resource URLs).
[0090] After receiving the file directory information feedback from the micro storage cluster, the disaster recovery management end constructs a list of available micro storage cluster file locations, which is the storage copy of the file in all registered micro storage clusters.
[0091] Step S22: The production-side agent receives the data recovery instruction issued by the disaster recovery management end, analyzes the task content and strategy, and performs a disaster recovery security transaction audit on the user who implements the disaster recovery request.
[0092] The audit content includes users, user permissions, recovery objects, etc. The audit results are registered in the blockchain for anti-repudiation audit of data recovery operations.
[0093] Step S23: After the disaster recovery security transaction audit, the production end executes the data recovery task, sends a file read request to the storage gateway in the micro storage cluster according to the micro storage cluster and file location list selected by the management end, establishes data communication, and transmits the disaster recovery data file.
[0094] After the production-side agent receives the disaster recovery data file from the storage gateway agent, it performs an integrity check on the disaster recovery data file and sends a confirmation feedback of the qualified disaster recovery data file to the storage gateway agent. Only the disaster recovery data files that pass the integrity check can be used for subsequent data recovery. During the process of receiving the disaster recovery data file, integrity check and data recovery, the production-side agent continuously detects the resource usage and task progress of the current node, and reports the task completion progress to the disaster recovery management end in real time, and accepts the task execution status monitoring of the disaster recovery management end. After the task is completed, the disaster recovery management end logs the task and task execution status and audits the blockchain data recovery transaction.
[0095] Step S24: After receiving the disaster recovery data file sent from the production-end agent through the storage gateway agent, a request to read the data shard is sent to the storage client agent node corresponding to the resource destination based on the resource directory and the file directory, and multiple data shards are reorganized and restored into the original disaster recovery data file. The disaster recovery data file is checked for integrity, and the checked file is sent to the production-end agent for data recovery.
[0096] After the storage client agent retrieves the data shard, it sends it to the storage gateway agent and completes the blockchain data shard reading transaction audit. After the storage gateway agent receives the data shard sent by the storage client agent, it performs a consistency check on the data shard and records it according to the file in the file directory.
[0097] Step S25: The storage gateway agent performs a read transaction audit of the blockchain disaster recovery data file for the read task of the disaster recovery data file.
[0098] By utilizing the security, decentralization, and non-repudiation characteristics of blockchain itself, we build a disaster recovery security transaction audit system for decentralized edge nodes covering disaster recovery and storage services. We conduct transaction audit records on nodes and operational behaviors that may affect the security of disaster recovery data from all aspects, including node security, disaster recovery security, and storage operations, which is beneficial for tracing transactions.
[0099] The present invention also provides a computer device, including a memory and a processor. The memory stores a program. When the program is executed by the processor, the processor executes the steps of a business processing method of a data disaster recovery storage system.
[0100] In accordance with the disclosed embodiments, a computing device may communicate with one or more external devices (e.g., keyboards, pointing devices, Bluetooth communications, etc.), or with any device (e.g., routers, modems, etc.) that enables a computing device to communicate with one or more other computing devices.
[0101] The solution has been verified experimentally. Experimental tests were conducted on multiple distributed edge nodes and Huawei cloud nodes. A total of 80 nodes participated in the test, including 15 in the cloud and 65 in the edge network. In this experimental scenario, a micro storage cluster consisting of 6 micro storage clusters was built to test the regional and multi-copy storage and recovery of disaster recovery data. The experiment verified the backup and recovery of typical relational databases such as MySQL and SQL Server, the backup and recovery of files in the Linux operating system, and the backup and recovery of virtual machine image files in the KVM platform, proving the feasibility of the solution.
[0102] The above content is a further detailed description of the present invention in combination with a specific preferred embodiment. For technicians in the technical field to which the present invention belongs, several simple deductions or substitutions can be made without departing from the concept of the present invention, which should be regarded as belonging to the protection scope of the present invention.
Claims
1. A data disaster recovery storage system, It is characterized in that include: A disaster recovery management terminal is deployed in the edge network and is used to manage the disaster recovery business in the edge network. The disaster recovery management terminal receives the disaster recovery tasks assigned by the upper-level disaster recovery management terminal and issues distributed backup tasks for the disaster recovery data. The production-side disaster recovery agent is deployed in the edge network to undertake the distributed backup tasks issued by the disaster recovery management end and to transmit data from the backup source end to the local micro storage cluster; The resource registration center is the resource manager of the local micro storage cluster. It is used to manage the resource status information of each storage client in the local micro storage cluster in the form of a resource directory, and to uniformly manage and arrange the storage resources of the local micro storage cluster. The storage gateway agent is the only data transmission interface for the local micro storage cluster to communicate with the outside world. It is used to monitor and receive resource directory synchronization messages from the resource registration center and update the local storage resource directory. The storage client agent is deployed on the edge network node with storage resources. It is used to monitor the resource quota usage, I / O rate, file system and disk cache of the node participating in the local micro storage cluster in real time, and report it to the resource registration center in the form of resource directory information. It also receives the data shards that need to be stored issued by the storage gateway agent to complete the data backup task.
2. A data disaster recovery storage system as claimed in claim 1, It is characterized in that The management of the disaster recovery service in the edge network includes object selection, parameter setting, policy setting and monitoring setting of the disaster recovery task.
3. A data disaster recovery storage system as claimed in claim 1, It is characterized in that When accepting the distributed backup tasks issued by the disaster recovery management end, data disaster recovery tasks are implemented, including database backup and recovery, file backup and recovery, and host backup and recovery; and when backing up, a backup strategy that combines full backup and incremental backup is adopted, in which the full backup copies the full data of the backup object at one time, and the incremental backup monitors the changes in the production end data in real time, and synchronizes the changed parts to the backup storage end.
4. A data disaster recovery storage system as claimed in claim 1, It is characterized in that The resource registration center is also used to report the overall resource pool status of the local micro storage cluster to the upper-level resource registration center, and accept the management of the upper-level resource registration center, listen to and receive resource registration information from the storage client, update the local resource directory, and synchronize the updated resource directory to the resource directory of the storage gateway agent. Each resource directory includes: resource directory ID, storage client node ID, disk ID, disk type, total capacity, available capacity, usage rate, disaster recovery data mount point and update time.
5. A data disaster recovery storage system as claimed in claim 1, It is characterized in that The storage gateway agent is also used to receive disaster recovery data storage requests sent to the micro storage cluster, slice the disaster recovery data according to the local resource directory and data storage distribution strategy, and distribute the data slices to different resource nodes of the local micro storage cluster for multi-copy storage.
6. A data disaster recovery storage system as claimed in claim 1, It is characterized in that The storage client agent is also used to feedback the completion status of the storage task of the node to the storage gateway and update the resource directory after completing the data shard storage of the node.
7. A data disaster recovery storage system as claimed in claim 1, It is characterized in that The disaster recovery management end is also used to act as a communication gateway node for the edge network to process disaster recovery services with the outside world.
8. A business processing method for a data disaster recovery storage system as claimed in claim 1, It is characterized in that The steps include: The data recovery task is set through the disaster recovery management end. After the setting is completed, the disaster recovery management end obtains the object that needs to be restored from the production end agent, sends the file name or file ID that needs to be restored to the storage gateway agent of the registered micro storage cluster, and issues a data backup task instruction; The production-side agent analyzes the task content and strategy, and conducts disaster recovery security audits on users who implement disaster recovery requests; After the disaster recovery security transaction audit, the production end executes the data recovery task and sends a file read request to the storage gateway in the micro storage cluster according to the micro storage cluster and file location list selected by the management end to transfer the disaster recovery data file; After receiving the disaster recovery data file through the storage gateway agent, according to the resource directory and file directory, a request to read the data shard is sent to the storage client agent node corresponding to the resource destination, multiple data shards are reorganized and restored into the original disaster recovery data file, and the integrity of the disaster recovery data file is checked, and the checked file is sent to the production agent for data recovery; The storage gateway agent conducts a read transaction audit of the blockchain disaster recovery data file for the read task of the disaster recovery data file.
9. A computer device, It is characterized in that It comprises a memory and a processor, wherein a program is stored in the memory, and when the program is executed by the processor, the processor executes the steps of a business processing method of a data disaster recovery storage system as claimed in any one of claim 8.
10. A storage medium having a computer program stored thereon, It is characterized in that When the computer program is executed by a processor, the steps of the business processing method of a data disaster recovery storage system described in any one of claim 8 are implemented.
Citation Information
Cited By
Rapid data recovery method applied to server cluster
CN119945883A
