A method for realizing fully automatic delayed switching of integrated media disaster recovery system

By introducing automatic switching, delayed execution and multi-functional alarm mechanisms into the converged media disaster recovery system, the time delay and human error problems in traditional disaster recovery switching are solved, fast and reliable service switching is achieved, and the risk of mistaken switching is reduced. Improved system high availability and user experience.

CN117221094BActive Publication Date: 2024-08-27GUANGXI RADIO & TELEVISION NEW MEDIA LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202311170800.3
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-09-12
Publication Date
2024-08-27
Estimated Expiration
2043-09-12

AI Technical Summary

Technical Problem

Traditional disaster recovery switchovers based on manual operations have time delays, human errors, dependence on personnel availability, lack of automation and monitoring, and lack of diversified alarm functions, leading to increased risks of business interruption and data loss.

Method used

Adopt the fully automatic delayed switching method of the converged media disaster recovery system. Through automatic switching of the disaster recovery system, delayed execution of switching plans, multi-functional alarms and prevention of false switching mechanisms, automatic business switching is achieved, reducing the probability of false switching, and improving disaster recovery efficiency and reliability. sex.

Benefits of technology

It achieves fast automatic switching in the event of hardware failure or network interruption, reducing downtime, improving business continuity and user experience, reducing false switching rates, and improving system management efficiency and overall stability.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN117221094B
    Figure CN117221094B
Patent Text Reader

Abstract

The present invention discloses a method for realizing full-automatic delayed switching of a media-integrated disaster recovery system, including a method for automatic switching of a disaster recovery system, a method for delayed execution of a switching plan, an alarm method, and a method for preventing disaster recovery from erroneous switching; wherein, the method for automatic switching of a disaster recovery system includes step one, establishing rules in a disaster recovery execution system to realize real-time replication of data and disaster recovery switching of services; step two, establishing business disaster recovery switching rules, wherein the disaster recovery switching rules include a condition detection module, a delayed execution module, and a switching plan; the method for delayed execution of a switching plan includes entering a countdown phase of delayed execution when the condition detection module detects that the condition for the occurrence of a fault has reached a preset threshold; during the countdown, a disaster recovery manager will receive a notification. The present invention can realize automatic business switching, has delayed execution of a disaster recovery plan, and has a multi-functional alarm function, and can significantly reduce the probability of system erroneous switching due to misjudgment of the disaster recovery software, thereby improving the efficiency and reliability of disaster recovery.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention belongs to the field of Internet technology, and in particular relates to a method for realizing full-automatic delayed switching of a converged media disaster recovery system. Background Art

[0002] In the process of implementing disaster recovery in information systems, the current common practice in the industry is that when the production-side business cannot run normally due to software or hardware failures, the IT system users or operation and maintenance managers first report the abnormal operation of the business application, and then manually pull up the business on the disaster recovery side to achieve disaster recovery switching. However, in the face of business systems with complex logic and strong dependencies, the traditional disaster recovery switching based on manual operations has the following problems:

[0003] Pain point 1: Time delay: In traditional disaster recovery switching based on manual operations, people need to manually perform a series of operations, including fault detection, notification of relevant personnel, startup of backup systems, startup of backup terminals, etc. These steps take time. In an emergency, time delays may lead to prolonged business interruption or excessive data loss, which in turn causes reputation and economic losses to users of the information system.

[0004] Pain point 2: Human error: Manual disaster recovery switching operations are easily affected by human and external factors, such as misjudgment, omission of operation steps, mistakes, communication errors, etc. These errors may cause the business to be mistakenly switched to the backup system or backup environment, or may cause business interruption, data loss, data conflict or data error or other problems due to disaster recovery switch failure, further extending the recovery time and affecting the normal operation of the business.

[0005] Pain point 3: Dependence on personnel availability: Traditional disaster recovery switching depends on the availability and response speed of relevant personnel. If key personnel cannot participate in the switching process in time, the disaster recovery plan may not be executed on time, thereby increasing risks.

[0006] Pain point 4: Lack of automation and monitoring: Traditional methods usually lack automated tools and monitoring mechanisms, and cannot detect failures and trigger switching in a timely manner. This means that manual monitoring of system status is required, increasing the workload of management and maintenance.

[0007] Pain point 5: Lack of diverse alarm functions: Traditional disaster recovery systems only provide limited alarm functions or rely only on traditional alarm methods (such as simple email notifications, SMS notifications), which may result in problems not being discovered in a timely manner. For example, when a critical system or service fails, if there is no timely and effective alarm notification, managers and engineers may not know about it for a long time, thus delaying the diagnosis and repair of the fault.

[0008] In summary, traditional disaster recovery switching based on manual operations has problems such as time delay, human error, dependence on personnel availability, lack of automation and monitoring, and lack of diversified alarms.

[0009] In response to the above problems, the present invention adds a more autonomous, flexible and controllable disaster recovery delayed switching mode and blocking mechanism according to the actual business scenarios of integrated media, and provides a method for realizing full-automatic delayed switching of integrated media disaster recovery systems, which can realize automatic business switching, has delayed execution of disaster recovery plans and multi-functional alarm functions, and significantly reduces the probability of system incorrect switching due to misjudgment of disaster recovery software, thereby improving the efficiency and reliability of disaster recovery. Summary of the invention

[0010] The technical problem to be solved by the present invention is to provide a method for realizing fully automatic delayed switching of a converged media disaster recovery system, which can realize automatic switching of services, has delayed execution of disaster recovery plans and multi-functional alarm functions, and can significantly reduce the probability of system erroneous switching due to misjudgment of disaster recovery software, thereby improving the efficiency and reliability of disaster recovery.

[0011] In order to solve the above technical problems, the present invention adopts the following technical solutions:

[0012] A method for realizing fully automatic delayed switching of a converged media disaster recovery system, including an automatic switching method of a disaster recovery system, a delayed execution switching plan method, an alarm method, and a method for preventing erroneous switching of disaster recovery; wherein:

[0013] The automatic switching method of a disaster recovery system comprises the following steps: step 1, establishing rules in a disaster recovery execution system to realize real-time data replication and disaster recovery switching of services; step 2, establishing business disaster recovery switching rules, wherein the disaster recovery switching rules include a condition detection module, a delay execution module and a switching plan; step 3, monitoring the application, database and network of a production site in a monitoring module of a disaster recovery management system; step 4, creating a plan to arrange the order in which applications are started during disaster recovery switching; and step 5, creating a condition threshold for triggering disaster recovery switching and associating it with the switching plan.

[0014] The delayed execution switching plan method includes: when the condition detection module detects that the condition for the occurrence of a fault has reached a preset threshold, it enters a countdown phase of delayed execution; during the countdown period, the disaster recovery management personnel will receive a notification and decide whether to interrupt or continue to execute the automatic switching plan according to the actual situation.

[0015] The alarm method includes: the disaster recovery management system realizes the sending of short messages or voice messages by connecting to an API interface of a third-party short message platform or voice notification platform.

[0016] The method for preventing disaster recovery from erroneous switching includes the following steps: Step 1, establishing a complete monitoring and alarm system to monitor the status and performance of the main system and the backup system in real time; Step 2, after the alarm is triggered, the disaster recovery system will first wait for a predetermined delay time to ensure that the fault is not instantaneous or temporary; Step 3, in the process of delaying the execution of the plan, preventing the automatic execution of the plan.

[0017] Furthermore, in step one of the automatic switching method of the disaster recovery system, the real-time replication content includes the IP addresses of the source host and the target host, the directories and files to be copied. When performing real-time replication, the MD5 values ​​of each file in the same directory of the source and target hosts are compared. If the MD5 values ​​are the same, synchronization is not required. If the MD5 values ​​are different, full synchronization is performed first, and then incremental synchronization is performed.

[0018] Furthermore, step 2 of the automatic switching method of the disaster recovery system also includes stopping the source application or starting the target application through a shell or bat script. The disaster recovery system will determine the timing of disaster recovery switching through indicator monitoring methods, heartbeat detection methods and manual intervention methods.

[0019] Furthermore, the indicator monitoring method includes: the disaster recovery system monitors the performance indicators and status of the production system, and when the indicators of the detection system exceed the preset threshold or a failure occurs, it can automatically switch to the backup system.

[0020] The heartbeat detection method includes: the production system will establish a heartbeat connection with the disaster recovery arbitration system and the disaster recovery system, and exchange information every 3 seconds. If the disaster recovery system and the disaster recovery arbitration system cannot receive a response from the production system for 3 consecutive times, the disaster recovery system will consider that the production system has failed and start the switching process, and the disaster recovery system will take over the business operation.

[0021] The manual intervention method includes: the disaster recovery system requires manual intervention to force switching, and the disaster recovery system administrator switches through the switch button of the disaster recovery system.

[0022] Furthermore, step three of the automatic switching method of the disaster recovery system is specifically as follows: deploy one or more probe servers at the production site, and then install agent programs in the application and database systems. The agent programs will regularly collect the health status of the application and database and send them to the probe server. The probe server also uses the ping tool and the TCP port detection tool to determine the health status of the current network. The probe server sends the application, database and network status information to the disaster recovery management system. The disaster recovery management system uses the collected information as the basis for determining whether switching is required.

[0023] Furthermore, step four of the automatic switching method of the disaster recovery system is specifically as follows: the disaster recovery management system will arrange the plan stage and create the plan according to the startup sequence of the WEB application, middleware, and database. Their arrangement sequence is to first shut down the WEB application, middleware, and database of the production site in turn, and then start the database, middleware, and WEB application of the disaster recovery site in turn.

[0024] Furthermore, in step five of the automatic switching method for the disaster recovery system, the threshold is an "AND" operation on the results of the production site application, database and network detection, and the value is defined as true when the system is operating normally, and the value is false when the system is operating abnormally. The system status, application status, database status and network status are expressed in mathematical symbols as follows: system status = application status & database status & network status. If the result of the system status is normal, it means that the system is operating normally; if the result of the system status is abnormal, it means that the system has failed.

[0025] Furthermore, the alarm method specifically includes: when the automatic switching rule is triggered to enter the delayed execution stage, the disaster recovery management system will immediately send an instruction to a third-party SMS or voice platform to push an alarm message of "entering the countdown stage for executing the automatic switching plan" to the designated contact's mobile phone number. When the disaster recovery management personnel receives the alarm message, they can choose to interrupt the automatic execution of the plan. At this time, the disaster recovery management platform will push the message "the automatic switching plan has been interrupted" to relevant personnel; if the disaster recovery management personnel does not interrupt the execution of the plan, after the countdown is completed, the disaster recovery management platform will push the message "the automatic switching plan has been executed" to relevant personnel.

[0026] Furthermore, in step 1 of the method for preventing erroneous switching of disaster recovery, by setting appropriate thresholds and rules, when the main system fails or is unavailable, the system will generate corresponding alarms, which can notify relevant personnel via email, SMS or instant notification.

[0027] In step 2 of the method for preventing erroneous switching of disaster recovery, the delay time can be used to further verify the fault and observe the duration and trend of the fault. If the duration of the fault exceeds a preset threshold, the plan will continue to be executed.

[0028] In step three of the method for preventing erroneous switching of disaster recovery, if during the delay period, it is monitored that the status of the main system has returned to normal or the performance has improved, the system can cancel or delay the execution of the plan to avoid erroneous switching.

[0029] The method for realizing full-automatic delayed switching of a converged media disaster recovery system provided by the present invention has the following beneficial effects:

[0030] 1. High availability and business continuity. In the event of hardware failure, network interruption or other catastrophic events, automatic switching can quickly transfer business traffic and data to the backup system, thereby ensuring business continuity, reducing downtime, and avoiding losses and impacts.

[0031] 2. Improve service quality and user experience. Automatic disaster recovery switching can achieve a switching process that is completely transparent to users, and users will hardly notice any service interruption when a disaster occurs.

[0032] 3. Improve system management efficiency. Automatic switching technology can realize intelligent monitoring and automatic diagnosis, and can respond immediately when the system fails or anomalies occur, thereby reducing the administrator's workload and improving system management efficiency.

[0033] 4. Supports multi-region deployment and remote disaster recovery. Automatic disaster recovery switching also supports multi-region deployment, and can distribute business and data in multiple geographical locations, thereby further improving overall stability and reliability.

[0034] 5. Reduce the error switching rate. Automatic disaster recovery switching can reduce the possibility of human errors by pre-defining and configuring the correct switching logic and rules. BRIEF DESCRIPTION OF THE DRAWINGS

[0035] Figure 1 This is a flow chart of automatic switching of a disaster recovery system according to an embodiment of the present invention. DETAILED DESCRIPTION

[0036] The present invention is described below in conjunction with the accompanying drawings. The specific implementation methods described herein are only used to illustrate and explain the present invention and are not used to limit the present invention. Without departing from the design spirit of the present invention, various modifications and improvements made to the technical solution of the present invention by ordinary technicians in this field should fall within the protection scope of the present invention.

[0037] like Figure 1 As shown, this embodiment discloses an automated disaster recovery system, including a disaster recovery execution system and a disaster recovery management system. The disaster recovery execution system mainly implements data replication and disaster recovery switching from a production site to a disaster recovery site. The disaster recovery management system implements automatic startup switching, delayed execution of plans, and diversified alarms of the disaster recovery system by calling resources (data replication, disaster recovery switching), host resources, script resources, plan process arrangement, and application status monitoring of the disaster recovery execution system.

[0038] Secondly, based on the above-mentioned automated disaster recovery system, this embodiment discloses a method for realizing fully automatic delayed switching of a converged media disaster recovery system, including an automatic switching method of a disaster recovery system, a delayed execution switching plan method, an alarm method, and a method for preventing erroneous switching of disaster recovery.

[0039] The automatic switching method of the disaster recovery system comprises the following steps:

[0040] Step 1: Establish rules in the disaster recovery execution system to implement real-time data replication. The specific real-time replication content includes the IP addresses of the source host and the target host, the directories and files to be replicated. When performing real-time replication, the MD5 values ​​of each file in the same directory of the source and target hosts are compared. If the MD5 values ​​are the same, no synchronization is required. If the MD5 values ​​are different, full synchronization is performed first, and then incremental synchronization is performed.

[0041] Step 2: Establish business disaster recovery switching rules. Use shell or bat scripts to stop the source application or start the target application. The disaster recovery system will determine the timing of disaster recovery switching through indicator monitoring methods, heartbeat detection methods, and manual intervention methods.

[0042] Among them, the indicator monitoring method includes that the disaster recovery system monitors the performance indicators and status of the production system, such as server load, network delay, response time, etc. When the system indicators are monitored to exceed the preset threshold or a failure occurs, it can trigger automatic switching to the backup system.

[0043] The heartbeat detection method includes establishing a heartbeat connection between the production system and the disaster recovery arbitration system and the disaster recovery system, exchanging information every 3 seconds. If the disaster recovery system and the disaster recovery arbitration system do not receive a response from the production system for three consecutive times, the disaster recovery system will consider that the production system has failed and start the switching process, and the disaster recovery system will take over the business operation.

[0044] Manual intervention methods include that in some cases, the disaster recovery system requires manual intervention to force switching, and the disaster recovery system administrator switches through the switch button of the disaster recovery system.

[0045] Step three, deploy a probe server at the production site, install agent programs in the application and database systems, and the agent programs regularly collect the health status of the application and database (such as processes and services) and send them to the probe server. The probe server also uses the ping tool and TCP port detection tool to determine the health status of the current network. The probe server sends the application, database and network status information to the disaster recovery management system. The disaster recovery management system uses the collected information as the basis for determining whether switching is required.

[0046] Step 4: The disaster recovery management system arranges the emergency plan phase and creates the emergency plan according to the startup sequence of the WEB application, middleware, and database. The arrangement sequence is: first shut down the WEB application, middleware, and database of the production site in turn, and then start the database, middleware, and WEB application of the disaster recovery site in turn.

[0047] Step 5: Create a condition threshold to trigger disaster recovery switching and associate it with the switching plan. The threshold is an AND or OR operation on the results of production site application, database and network detection. When the system status threshold is abnormal, the disaster recovery management system executes the automatic switching plan.

[0048] Specifically, the value when the system is running normally is defined as true (True), and the value when the system is running abnormally is defined as false (False). If the detection result of any one of the three groups of elements that affect the normal operation of the business, namely, application, database, and network, is false, a failure will occur. Then, the detection results of these three groups of elements can be ANDed.

[0049] In general, the "AND" operation logically means that the entire expression is true when all conditions are true. In this case, if any one of the application, database, and network is abnormal, that is, the test result of any element is false, the result of the entire expression is false, indicating that the system has failed.

[0050] The mathematical symbols are:

[0051] System status = application status & database status & network status.

[0052] in:

[0053] Application status: True indicates that the application is normal, and False indicates that the application is abnormal.

[0054] Database status: True means the database is normal, False means the database is abnormal.

[0055] Network status: True means the network is normal, False means the network is abnormal.

[0056] If the result of the system status is True, it means that the system is running normally; if the result of the system status is False, it means that the system has failed.

[0057] For example:

[0058] Assuming that the application status is True (normal), the database status is True (normal), and the network status is True (normal), the result of the "AND" operation is True, indicating that the system is running normally. However, if the status of any element becomes False (abnormal), the status of the entire system becomes False, indicating that the system has failed.

[0059] When the system status threshold is False, the disaster recovery management system will execute the automatic switching plan.

[0060] The delayed execution switching plan method includes an automatic switching rule consisting of a preconfigured condition detection module, a delayed execution module and a switching plan. When the condition detection module detects that the condition for the occurrence of a fault has reached a preset threshold, it enters the countdown stage of delayed execution; during the countdown period, the disaster recovery management personnel will receive an alarm text message or voice notification. After receiving the notification, the disaster recovery management personnel can decide to interrupt or continue to execute the automatic switching plan according to the actual situation.

[0061] The alarm method includes the disaster recovery management system sending SMS or voice messages by connecting to the API interface of a third-party SMS platform or voice notification platform. When the automatic switching rule is triggered to enter the delayed execution stage, the disaster recovery management system will immediately send a command to the third-party SMS or voice platform to push the alarm information of "entering the countdown stage of executing the automatic switching plan" to the designated contact's mobile phone number. When the disaster recovery management personnel receive the alarm information, they can choose to interrupt the automatic execution of the plan. At this time, the disaster recovery management platform will push the information of "the automatic switching plan has been interrupted" to the relevant personnel. If the disaster recovery management personnel does not interrupt the execution of the plan, after the countdown is completed, the disaster recovery management platform will push the information of "the automatic switching plan has been executed" to the relevant personnel.

[0062] The method for preventing erroneous switching of disaster recovery comprises the following steps:

[0063] Step 1: Establish a complete monitoring and alarm system to monitor the status and performance of the main system and backup system in real time. By setting appropriate thresholds and rules, the system will generate corresponding alarms when the main system fails or is unavailable. Alarms can be notified to relevant personnel through emails, text messages, instant notifications, etc., so that further judgment and operation can be carried out.

[0064] Step 2: After receiving the alarm, the automatic disaster recovery system can introduce a mechanism to delay the execution of the plan. That is, after the alarm is triggered, the system will wait for a predetermined delay time to ensure that the fault is not instantaneous or temporary. This delay time can be used to further verify the fault and observe the duration and trend of the fault. If the fault duration exceeds the preset threshold, the plan will continue to be executed.

[0065] Step 3: During the delay in executing the plan, the automatic disaster recovery system can set a blocking mechanism, that is, to prevent the automatic execution of the plan under certain conditions. For example, if during the delay period, it is detected that the main system status has returned to normal or the performance has improved, the system can cancel or delay the execution of the plan to avoid erroneous switching. This blocking mechanism can be flexibly configured according to actual conditions and needs to ensure the accuracy and reliability of the switch.

[0066] Through the above method, the automatic disaster recovery system can issue an alarm in time when a fault occurs, and avoid the occurrence of erroneous switching through delayed execution and blocking mechanisms. This ensures that the switching operation will only be triggered when the fault persists for a certain period of time and does not recover on its own. This method can effectively reduce the risk of erroneous switching and improve the reliability and accuracy of the disaster recovery system. For specific application scenarios and business needs, appropriate adjustments and customizations are also required according to actual conditions. At the same time, regular testing, drills, and optimization are also important links to reduce erroneous switching and ensure the reliability of the automatic disaster recovery system.

[0067] The key points and preventive measures of the method for realizing fully automatic delayed switching of the converged media disaster recovery system in this embodiment are:

[0068] 1. System monitoring and health status check: The premise of automatic switching is to monitor and check the health status of the system and services in real time. By monitoring key indicators, performance data and error logs, faults or abnormal conditions can be discovered in time and the automatic switching mechanism can be triggered.

[0069] 2. Preset switching conditions and policies: Before implementing automatic switching, clear switching conditions and policies need to be defined in advance. These conditions and policies should be based on business needs and disaster recovery goals, and take into account the characteristics and environment of the system. For example, switching conditions can include specific error codes, reduced service availability, or network interruptions. The switching policy can determine the specific steps and sequence for switching to the backup system.

[0070] 3. Delayed switching and blocking mechanism: After the disaster recovery switching conditions are met, the system begins to delay the execution of the plan. During the delayed execution phase, the system will enter the preset delayed execution time and notify the management personnel and related teams through email, SMS, instant messaging, etc. During this period, if it is confirmed that the main system status has returned to normal, the performance has improved, or the fault has been eliminated, the blocking mechanism can be used to cancel the execution of the plan to avoid erroneous switching and improve the accuracy of switching.

[0071] 4. Fast switching and imperceptible switching: Automatic switching needs to be completed in the shortest time and should be imperceptible to business applications and users. This means that business interruption time should be minimized during the switching process and ensure that users can continue to use systems and services seamlessly.

[0072] 5. Alarm notification and early warning reminder: The automated disaster recovery system should have the functions of alarm notification and early warning reminder. When the switching conditions are met and the execution of the plan is delayed, the system should send relevant alarm notifications to managers and related teams to remind them to pay attention to the switching operation and confirm the switching conditions in time. This can ensure that key personnel respond in time and avoid delays or failures due to untimely confirmation.

[0073] 6. Control of the disaster recovery switching process: In a complex application system, there are usually dependencies and sequences between different applications and services. Some applications may need to start other applications before they can run normally. Therefore, during the automatic switching process, if the application startup order is incorrect, data loss, data inconsistency, or data corruption may occur. For example, if an application depends on a database service, if the database service is not started first, the application may not be able to access the data normally. It is crucial to control the startup order of each application system to ensure that the applications can be started in the correct order to avoid errors or abnormalities caused by dependencies.

[0074] 7. Drills and tests: To ensure the reliability and effectiveness of automatic switching, regular drills and tests are required. By simulating disaster scenarios and executing switching processes, the performance and effectiveness of automatic switching can be evaluated, and potential problems can be discovered and resolved. The results of drills and tests will help improve the strategies and processes for automatic switching.

[0075] In summary, automatic switching, automatic delayed switching, and alarm notifications before and after switching are the key points of the present invention. Their reliability and effectiveness need to be ensured through preventive measures such as system monitoring and health status checks, preset switching conditions and strategies, fast switching and imperceptible switching, switching status and alarm notifications, as well as drills and tests.

[0076] The method for realizing full-automatic switching of the converged media disaster recovery system of this embodiment has the following advantages:

[0077] 1. Automatic business switching: This method enables the disaster recovery system to monitor the health status of key applications and automatically switch to the backup system when a fault or anomaly is detected. By real-time monitoring of key indicators and performance data, the system can automatically determine when to trigger the switching operation to ensure that the business can be seamlessly transferred to the backup system when a fault occurs, ensuring business continuity. It can also accurately control the startup order of multiple interdependent applications to ensure that the switched applications can respond quickly and operate normally.

[0078] 2. Delayed execution of disaster recovery plan: This method allows the disaster recovery system to provide a safer switching mechanism by delaying the execution of the preset disaster recovery plan when a failure or abnormality in a business application is detected. The system will notify the administrator to check and confirm whether the switching conditions are met to avoid accidental switching. If the administrator does not interrupt the automatic switching operation within the specified time, the disaster recovery system will automatically execute the switching plan to ensure business continuity while ensuring safety.

[0079] 3. With diversified alarm functions: This method can provide accurate, timely and comprehensive alarm notifications. Through different alarm methods (such as email, SMS, voice notification, etc.) and flexible alarm settings, the system can send detailed alarm information to managers and related teams, including fault type, impact range, urgency, etc., so that they can respond in time and take necessary actions.

[0080] 4. It has the advantage of reducing the false switching rate: This method can reduce false switching caused by human errors and subjective judgments. The automatic disaster recovery switching system uses monitoring, alarm and automatic execution mechanisms to monitor the status of the main system and backup system in real time, identify faults and unavailability, and automatically trigger switching operations according to pre-defined rules and logic, thereby reducing the risk of human intervention and operation and improving the accuracy and reliability of switching.

[0081] This method can also introduce a mechanism to delay execution and block the execution of the plan to further reduce the risk of mishandling. By setting appropriate delay time and blocking conditions, verification and observation are performed after the fault occurs. The switching operation will only be performed when the fault duration reaches a certain threshold and does not recover on its own. This can avoid unnecessary switching caused by transient faults or misjudgments.

[0082] In addition, the method for realizing full-automatic switching of the converged media disaster recovery system of this embodiment has the following beneficial effects:

[0083] 1. High availability and business continuity: Disaster recovery automatic switching ensures high availability and continuous operation of the key business systems of converged media. In the event of hardware failure, network interruption or other catastrophic events, automatic switching can quickly transfer business traffic and data to the backup system, thereby ensuring business continuity, reducing downtime, and avoiding losses and impacts.

[0084] 2. Improve the service quality and user experience of integrated media: Automatic disaster recovery switching can achieve a completely transparent switching process for users, and users will hardly notice service interruption when a disaster occurs. This can maintain service stability, improve user satisfaction, and enhance user confidence in products or services.

[0085] 3. Cost savings: Automatic switching technology does not require a lot of resources to manually manage and execute the disaster recovery process. Traditional manual switching may require human intervention and take a lot of time, while the automated switching process can save costs and reduce the risk of human error.

[0086] 4. Improve system management efficiency: Automatic switching technology can realize intelligent monitoring and automatic diagnosis, and can respond immediately when the system fails or anomalies occur, thereby reducing the administrator's workload and improving system management efficiency.

[0087] 5. Support multi-regional deployment and remote disaster recovery: Automatic disaster recovery switching also supports multi-regional deployment, which can distribute business and data in multiple geographical locations, thereby further improving overall stability and reliability.

[0088] 6. Reduce the rate of false switching: Automatic disaster recovery switching can reduce the possibility of human error by pre-defining and configuring the correct switching logic and rules. The automated switching process can ensure that the switching is carried out at the right time and under the right conditions, reducing the subjectivity of the operator's judgment and decision-making, thereby improving the accuracy of the switching.

[0089] In general, compared with traditional disaster recovery systems, the present invention adds a more autonomous, flexible and controllable disaster recovery delayed switching mode and blocking mechanism based on the actual business scenarios of integrated media, which significantly reduces the probability of system error switching due to misjudgment of disaster recovery software. This technological innovation plays a vital role in ensuring normalized stable operation and maintenance and the safety of integrated media broadcasting.

Claims

1. A method for realizing fully automatic delayed switching of a converged media disaster recovery system. It is characterized in that It includes a disaster recovery system automatic switching method, a delayed execution switching plan method, an alarm method and a method for preventing disaster recovery from erroneous switching; wherein, The automatic switching method of the disaster recovery system comprises the following steps: Step 1: Establish rules in the disaster recovery execution system to implement real-time data replication and disaster recovery switching of services. The content of real-time replication includes the IP addresses of the source host and the target host, the directories and files to be replicated. When performing real-time replication, the MD5 values ​​of each file in the same directory of the source and target hosts are compared. If the MD5 values ​​are the same, synchronization is not required. If the MD5 values ​​are different, full synchronization is performed first, and then incremental synchronization is performed. Step 2: Establish business disaster recovery switching rules. Use shell or bat scripts to stop source applications or start target applications. The disaster recovery system will determine the timing of disaster recovery switching through indicator monitoring methods, heartbeat detection methods, and manual intervention methods. Indicator monitoring methods include: The disaster recovery system monitors the performance indicators and status of the production system. When the indicators of the detection system exceed the preset threshold or a failure occurs, it automatically switches to the backup system. Heartbeat detection methods, including: The production system will establish a heartbeat connection with the disaster recovery arbitration system and the disaster recovery system, exchanging information every 3 seconds. If the disaster recovery system and the disaster recovery arbitration system fail to receive responses from the production system for 3 consecutive times, the disaster recovery system will consider that the production system has failed and start the switching process, with the disaster recovery system taking over the business operation. Manual intervention methods include: The disaster recovery system requires manual intervention to force switching. The disaster recovery system administrator switches through the switch button of the disaster recovery system. The disaster recovery switching rules include condition detection module, delayed execution module and switching plan; Step 3: Monitor the applications, databases and networks of the production site in the monitoring module of the disaster recovery management system. Specifically, deploy one or more probe servers at the production site, and then install agent programs in the application and database systems. The agent programs will regularly collect the health status of the applications and databases and send them to the probe servers. The probe servers also use ping tools and TCP port detection tools to determine the health status of the current network. The probe servers send the application, database and network status information to the disaster recovery management system. The disaster recovery management system uses the collected information as the basis for determining whether switching is required. Step 4: Create a plan to arrange the order in which applications are started during disaster recovery switching; Step 5: Create a condition threshold for triggering disaster recovery switching and associate it with the switching plan; Delayed execution of the switching plan method, including: When the condition detection module detects that the conditions for the occurrence of a fault have reached the preset threshold, it enters the countdown phase for delayed execution. During the countdown, the disaster recovery management personnel will receive a notification and decide whether to interrupt or continue to execute the automatic switching plan based on the actual situation. Alarm methods, including: The disaster recovery management system implements the sending of text messages or voice messages by connecting to the API interface of a third-party text message platform or voice notification platform; The method for preventing erroneous switching of disaster recovery comprises the following steps: Step 1: Establish a comprehensive monitoring and alarm system to monitor the status and performance of the main system and backup system in real time; Step 2: After the alarm is triggered, the disaster recovery system will wait for a predetermined delay time to ensure that the failure is not instantaneous or temporary; Step three, during the process of delaying the execution of the plan, prevent the automatic execution of the plan.

2. According to claim 1, the method for realizing fully automatic delayed switching of the integrated media disaster recovery system, It is characterized in that Step 4 of the automatic switching method of the disaster recovery system is as follows: the disaster recovery management system will arrange the plan stage and create the plan according to the startup sequence of the WEB application, middleware, and database. The arrangement sequence is to first shut down the WEB application, middleware, and database of the production site in turn, and then start the database, middleware, and WEB application of the disaster recovery site in turn.

3. According to claim 1, the method for realizing fully automatic delayed switching of the integrated media disaster recovery system, It is characterized in that In step 5 of the automatic switching method of the disaster recovery system, the threshold is an "AND" operation on the results of the production site application, database and network detection, and the value is defined as true when the system is operating normally, and the value is false when the system is operating abnormally. The system status, application status, database status and network status are expressed in mathematical symbols as follows: system status = application status & database status & network status. If the result of the system status is normal, it means that the system is operating normally; if the result of the system status is abnormal, it means that the system has a fault.

4. According to claim 1, the method for realizing fully automatic delayed switching of the integrated media disaster recovery system, It is characterized in that The alarm method specifically includes: when the automatic switching rule is triggered to enter the delayed execution stage, the disaster recovery management system will immediately send a command to a third-party SMS or voice platform to push an alarm message of "entering the countdown stage for executing the automatic switching plan" to a designated contact person's mobile phone number. When the disaster recovery management personnel receives the alarm message, they choose to interrupt the automatic execution of the plan. At this time, the disaster recovery management platform will push the message "the automatic switching plan has been interrupted" to relevant personnel; if the disaster recovery management personnel does not interrupt the execution of the plan, after the countdown is completed, the disaster recovery management platform will push the message "the automatic switching plan has been executed" to relevant personnel.

5. According to claim 1, the method for realizing fully automatic delayed switching of a converged media disaster recovery system, It is characterized in that In step 1 of the method for preventing erroneous switching of disaster recovery, by setting appropriate thresholds and rules, when the primary system fails or is unavailable, the system will generate corresponding alarms, which will notify relevant personnel via email, SMS or instant notification; In step 2 of the method for preventing erroneous switching of disaster recovery, the delay time is used to further verify the fault and observe the duration and trend of the fault. If the duration of the fault exceeds the preset threshold, the plan will continue to be executed; In step three of the method for preventing erroneous switching of disaster recovery, if during the delay period, it is monitored that the status of the main system has returned to normal or the performance has improved, the system will cancel or delay the execution of the plan to avoid erroneous switching.