Emergency scene simulation method and device, storage medium and electronic equipment

By determining the execution method in the emergency scenario, extracting participants, and using fault injection tools to simulate faults and generating execution reports, the problem of low accuracy and reliability of the emergency scenario simulation method is solved, and fast and effective emergency response and business continuity are achieved.

CN120337599AActive Publication Date: 2025-07-18CHINA BOND DIGITAL FINANCE TECH CO LTD
View PDF 13 Cites 0 Cited by

Patent Information

Application Number
CN202510806970.9
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-06-17
Publication Date
2025-07-18
Estimated Expiration
2045-06-17

AI Technical Summary

Technical Problem

The existing emergency scenario simulation methods have low accuracy and reliability, making it difficult to quickly and effectively restore business continuity under natural disasters, human errors or technical failures, and there are problems of frequent information delays and misoperation.

Method used

When the target emergency scenario is triggered, determine the execution method according to the target emergency plan, extract the participants and use the fault injection tool to simulate the failure, monitor the response operations, and generate simulated execution reports to ensure the organization and coordination of the emergency response.

Benefits of technology

It improves the accuracy and reliability of emergency scenario simulation, optimizes the emergency response process, reduces the time and impact of business interruption, and enhances the effectiveness of emergency plans.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120337599A_ABST
    Figure CN120337599A_ABST
Patent Text Reader

Abstract

The embodiment of the invention provides an emergency scene simulation method and device, a storage medium and electronic equipment, and the method comprises the steps: determining an execution mode of a target emergency scene according to a target emergency plan corresponding to the target emergency scene, the target emergency scene being set based on the target emergency plan, the target emergency plan corresponds to a specified fault of a specified service of the institution entity, and the target emergency plan is used for indicating an execution mode, a participation object and an emergency process of the target emergency scene; extracting a group of participating objects from a group of preset objects according to the participating objects indicated by the target emergency plan, and if the execution mode of the target emergency scene is actual execution and the group of participating objects confirm participation, indicating a first participating object to use a fault injection tool to inject a specified fault into a specified service through first indication information; and monitoring a response operation executed by the second participating object, and generating a simulation execution report of the target emergency scene based on the obtained emergency process indicated by the target emergency plan and the first execution result.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The embodiments of the present application relate to the technical field of data processing. Specifically, the embodiments of the present application relate to a method and device for simulating an emergency scenario, a storage medium, and an electronic device. Background Art

[0002] To improve business continuity, ensure continuous operation of the business, and reduce losses and impacts caused by business interruptions, it is necessary to preset countermeasures for faults or disasters. However, currently, for the simulation methods of emergency scenarios proposed to optimize countermeasures, there are technical challenges such as slow recovery and low success rate after a business interruption under natural disasters, human errors, or technical faults. Traditional emergency response simulation methods also have problems such as information delay and frequent misoperations.

[0003] It can be seen that the simulation methods of emergency scenarios in the related art have problems of low accuracy and reliability. Summary of the Invention

[0004] The embodiments of the present application provide a method and device for simulating an emergency scenario, a storage medium, and an electronic device, so as to at least solve the problem of low accuracy and reliability in the simulation methods of emergency scenarios in the related art.

[0005] According to one aspect of the embodiments of the present application, a method for simulating an emergency scenario is provided, including: when a target emergency scenario is triggered, determining an execution mode of the target emergency scenario according to a target emergency plan corresponding to the target emergency scenario, where the target emergency scenario is an emergency scenario based on a target emergency plan and corresponding to a specified fault of a specified business of an institutional entity, and the target emergency plan is used to indicate an execution mode, participating objects, and an emergency process of the target emergency scenario; extracting a group of participating objects from a group of preset objects of the institutional entity according to the participating objects indicated by the target emergency plan, where the group of participating objects includes a first participating object that triggers a business fault of the specified business and a second participating object that processes the specified fault; when the execution mode of the target emergency scenario is actual execution and all the group of participating objects confirm to participate in the target emergency plan, sending a first indication message to the first participating object to instruct the first participating object to inject the specified fault into the specified business by using a fault injection tool; monitoring a response operation executed by the second participating object in response to the specified fault, obtaining a first execution result of the target emergency plan, and generating a simulation execution report of the target emergency scenario based on the emergency process indicated by the target emergency plan and the first execution result.

[0006] According to another aspect of the embodiments of the present application, there is also provided a simulation device for an emergency scenario, including: a determination unit configured to, when a target emergency scenario is triggered, determine an execution mode of the target emergency scenario according to a target emergency plan corresponding to the target emergency scenario, where the target emergency scenario is an emergency scenario based on a target emergency plan and corresponding to a specified failure of a specified service of an institutional entity, and the target emergency plan is used to indicate an execution mode, participating objects, and an emergency process of the target emergency scenario; an extraction unit configured to extract a group of participating objects from a group of preset objects of the institutional entity according to the participating objects indicated by the target emergency plan, where the group of participating objects includes a first participating object that triggers a service failure of the specified service and a second participating object that processes the specified failure; a first sending unit configured to, when the execution mode of the target emergency scenario is actual execution and all the group of participating objects confirm to participate in the target emergency plan, send first indication information to the first participating object to instruct the first participating object to inject the specified failure into the specified service using a fault injection tool; a first execution unit configured to monitor a response operation executed by the second participating object in response to the specified failure, obtain a first execution result of the target emergency plan, and generate a simulation execution report of the target emergency scenario based on the emergency process indicated by the target emergency plan and the first execution result.

[0007] According to still another aspect of the embodiments of the present application, there is also provided a computer-readable storage medium storing a computer program, where the computer program is configured to execute the steps in any one of the above method embodiments when running.

[0008] According to still another aspect of the embodiments of the present application, there is provided a computer program product or a computer program, which includes computer instructions stored in a computer-readable storage medium. A processor of a computer device reads the computer instructions from the computer-readable storage medium, and the processor executes the computer instructions, so that the computer device executes the steps in any one of the above method embodiments.

[0009] According to still another aspect of the embodiments of the present application, there is also provided an electronic device including a memory and a processor, where a computer program is stored in the memory, and the processor is configured to execute the steps in any one of the above method embodiments through the computer program.

[0010] Through this application, in the case where a target emergency scenario is triggered, according to the target emergency plan corresponding to the target emergency scenario, the execution method of the target emergency scenario is determined. Among them, the target emergency scenario is an emergency scenario based on the target emergency plan and corresponding to a specified failure of a specified business of an institutional entity, and the target emergency plan is used to indicate the execution method, participating objects, and emergency process of the target emergency scenario; according to the participating objects indicated by the target emergency plan, a group of participating objects is extracted from a group of preset objects of the institutional entity, where the group of participating objects includes a first participating object that triggers the business failure of the specified business and a second participating object that processes the specified failure, so as to ensure the organization and coordination of emergency response; when the execution method of the target emergency scenario is actual execution and all the participating objects in the group confirm their participation in the target emergency plan, a first indication message is sent to the first participating object to instruct the first participating object to inject a specified failure into the specified business using a fault injection tool to simulate a fault situation in the system; monitor the response operations performed by the second participating object in response to the specified failure, obtain the execution result of the target emergency plan, and generate a simulation execution report of the target emergency scenario based on the emergency process indicated by the target emergency plan and the execution result of the target emergency plan, so as to achieve real-time feedback and continuous optimization. Therefore, the problem of low accuracy and reliability of the emergency scenario simulation method in the related technology can be solved, the emergency scenario simulation process is optimized, and the accuracy and reliability of the emergency scenario simulation method are improved. BRIEF DESCRIPTION OF THE DRAWINGS

[0011] Figure 1 FIG. is a schematic diagram of an application scenario of a method for simulating an emergency scenario according to an embodiment of the present application.

[0012] Figure 2 FIG. is a schematic flowchart of an optional method for simulating an emergency scenario according to an embodiment of the present application.

[0013] Figure 3 FIG. is a schematic diagram of an optional method for simulating an emergency scenario according to an embodiment of the present application.

[0014] Figure 4 FIG. is a structural block diagram of an optional device for simulating an emergency scenario according to an embodiment of the present application.

[0015] Figure 5 FIG. is a structural block diagram of a computer system of an optional electronic device according to an embodiment of the present application. DETAILED DESCRIPTION OF THE EMBODIMENTS

[0016] To enable those skilled in the art to better understand the solution of this application, the following will clearly and completely describe the technical solution in the embodiments of this application in conjunction with the accompanying drawings in the embodiments of this application. Obviously, the described embodiments are only a part of the embodiments of this application, rather than all of the embodiments. Based on the embodiments in this application, all other embodiments obtained by those of ordinary skill in the art without creative efforts shall fall within the protection scope of this application.

[0017] It should be noted that the terms "first", "second", etc. in the description and claims of this application and the above-mentioned accompanying drawings are used to distinguish similar objects, and do not necessarily need to be used to describe a specific order or sequence. It should be understood that such data can be interchanged under appropriate circumstances so that the embodiments of this application described here can be implemented in an order different from those illustrated or described here. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusion. For example, a process, method, system, product or device including a series of steps or units does not necessarily have to be limited to those steps or units clearly listed, but may include other steps or units not clearly listed or inherent to these processes, methods, products or devices.

[0018] According to one aspect of the embodiments of this application, a method for simulating an emergency scenario is provided. Optionally, in this embodiment, the above method for simulating an emergency scenario can be but is not limited to being applied to a hardware environment such as Figure 1 shown in the figure including a terminal device 102 and a server 104. The server 104 can be connected to the terminal device 102 through a network, and can be used to provide services (such as application services, etc.) for the terminal device 102 or the client installed on the terminal device 102. A database can be set up on the server 104 or independently of the server 104 to provide data storage services for the server 104.

[0019] The above network can include but is not limited to at least one of the following: a wired network, a wireless network. The above wired network can include but is not limited to at least one of the following: a wide area network, a metropolitan area network, a local area network. The above wireless network can include but is not limited to at least one of the following: WIFI (Wireless Fidelity), Bluetooth. The terminal device 102 can be but is not limited to a PC (Personal Computer), a mobile phone, a tablet computer, etc. The server 104 can be but is not limited to a cloud server, a server cluster or other server types.

[0020] The simulation method for the emergency scenario in the embodiment of this application can be executed by the server 104, or by the terminal device 102, or jointly by the server 104 and the terminal device 102. Among them, when the terminal device 102 executes the simulation method for the emergency scenario in the embodiment of this application, it can also be executed by the client installed thereon.

[0021] Taking the execution of the simulation method for the emergency scenario in this embodiment by the terminal device 102 as an example, Figure 2 It is a schematic flowchart of an optional simulation method for the emergency scenario according to the embodiment of this application, as Figure 2 shown. The process of this method can include the following steps:

[0022] Step S202, when the target emergency scenario is triggered, determine the execution mode of the target emergency scenario according to the target emergency plan corresponding to the target emergency scenario, where the target emergency scenario is an emergency scenario based on the target emergency plan and corresponding to the specified failure of the specified business of the institutional entity, and the target emergency plan is used to indicate the execution mode, participating objects, and emergency process of the target emergency scenario;

[0023] Step S204, extract a group of participating objects from a group of preset objects of the institutional entity according to the participating objects indicated by the target emergency plan, where the group of participating objects includes the first participating objects triggering the business failure of the specified business and the second participating objects handling the specified failure;

[0024] Step S206, when the execution mode of the target emergency scenario is actual execution and all the participating objects in the group confirm their participation in the target emergency plan, send a first indication message to the first participating objects to instruct the first participating objects to inject the specified failure into the specified business using the fault injection tool;

[0025] Step S208, monitor the response operations executed by the second participating objects in response to the specified failure, obtain the first execution result of the target emergency plan, and generate a simulation execution report of the target emergency scenario based on the emergency process and the first execution result indicated by the target emergency plan.

[0026] The simulation method for the emergency scenario in this embodiment can be applied to the field of data processing technology and applied to the scenario of simulating an emergency plan for a computer sudden failure.

[0027] To improve the effectiveness of response measures for sudden computer failures caused by various reasons such as natural disasters, human errors, or technical glitches, and also to enhance business continuity, there are various simulation methods for emergency scenarios to optimize relevant emergency measures. Here, business continuity refers to the ability to continuously or quickly resume its critical business operations in the face of sudden or progressive threats (such as natural disasters, cyberattacks, supply chain disruptions, etc.). Its core goal is to ensure the maintenance of core functions during a crisis and reduce the interruption time. Business continuity generally covers a set of technologies and operation methods, aiming to ensure that the information flow can always maintain business continuous operation.

[0028] With technological advancements, various solutions have emerged to guide the construction of a business continuity management system to standardize disaster recovery construction and ensure the effectiveness and reliability of technical solutions. However, in the specific practice of enhancing business continuity, there are various problems. Specifically, in a complex IT (Information Technology) environment, a single failure often triggers a chain reaction. Due to the delay in resource allocation and the complexity of the technical recovery process, it is difficult to quickly locate and solve problems. Therefore, it is necessary to prepare emergency plans in advance to quickly take emergency measures when a failure actually occurs to avoid serious impacts caused by business interruption. However, due to the imperfection of the plan, insufficient drills, and the low proficiency of operators, misoperations may occur, affecting the effective implementation of the emergency plan. In addition, due to the interval between fault detection and response and the inefficiency of information transmission in multi-objective scenarios, there is a certain information delay. This information asymmetry may lead to the further deterioration of the failure.

[0029] It can be seen that the simulation methods for emergency scenarios in related technologies have problems of low accuracy and reliability, making it difficult to obtain reliable drill results of emergency plans and further optimize the emergency plans based on this to reduce the impact of business interruption when an actual failure occurs.

[0030] To at least partially solve the above technical problems, in this embodiment, when a target emergency scenario is triggered, the execution method of the target emergency scenario is determined according to the target emergency plan corresponding to the target emergency scenario. Here, the target emergency scenario is an emergency scenario based on the target emergency plan and corresponding to the specified failure of the specified business of the institutional entity. The target emergency plan is used to indicate the execution method, participating objects, and emergency process of the target emergency scenario; according to the participating objects indicated by the target emergency plan, a group of participating objects is extracted from a group of preset objects of the institutional entity. Here, the group of participating objects includes the first participating object that triggers the business failure of the specified business and the second participating object that processes the specified failure, so as to ensure the organization and coordination of the emergency response; when the execution method of the target emergency scenario is actual execution and all the participating objects in the group confirm their participation in the target emergency plan, a first indication message is sent to the first participating object to instruct the first participating object to inject the specified failure into the specified business using a fault injection tool to simulate a fault situation in the system; monitor the response operations performed by the second participating object in response to the specified failure to obtain a first execution result, and generate a simulation execution report of the target emergency scenario based on the emergency process indicated by the target emergency plan and the first execution result to achieve real-time feedback and continuous optimization. Therefore, the problem of low accuracy and reliability of the simulation method for emergency scenarios in the related art can be solved.

[0031] In this embodiment, when a target emergency scenario is triggered, the execution method of the target emergency scenario can be determined according to the target emergency plan corresponding to the target emergency scenario. Here, the target emergency scenario is an emergency scenario based on the target emergency plan and corresponding to the specified failure of the specified business of the institutional entity. Here, the target emergency scenario can be preset and constructed according to different business functions and possible failure types. The triggering of the target emergency scenario can be manual or automatic. For example, when it is monitored that predefined failure indicators (such as server crash, network interruption, data loss, etc.) exceed the threshold, the corresponding target emergency scenario can be triggered to ensure that the institution can respond in a timely manner when a failure occurs without waiting for manual discovery and confirmation of the failure, thus greatly shortening the response time.

[0032] Once the target emergency scenario is triggered, the corresponding target emergency plan can be determined. The target emergency plan can include detailed strategies for dealing with specific failure scenarios, including but not limited to: simulation time, simulation location, execution method, participating objects, emergency process. The automatic selection and triggering of the target emergency plan can improve the efficiency of emergency response and reduce the time and impact of business interruption.

[0033] Optionally, the target emergency plan can be pre-stored in the plan center.

[0034] Optionally, for different emergency plans, there are different execution methods. The selection of the target execution method can be based on the characteristics of the target emergency scenario and the current business environment. The above execution methods can include simulated execution and actual execution. For simulated execution, the effectiveness of the emergency process can be simulated and tested according to the settings of the target emergency plan in a simulated environment. For actual execution, it can turn to fault handling, and according to the pre-planned process and resource allocation strategy, cooperate with the participating objects to actually execute the fault injection and recovery operation.

[0035] Optionally, a set of participating objects can be extracted from a set of preset objects of the institutional entity according to the participating objects indicated by the target emergency plan. Among them, a set of participating objects includes a first participating object that triggers the business failure of the specified business and a second participating object that handles the specified failure.

[0036] Optionally, the extraction method of the participating objects can be random, specified, or obtained by matching and screening based on the historical data of each object in a set of preset objects according to characteristics such as the type, severity, and impact range of the business failure.

[0037] For example, based on the availability and status of personnel within the institutional entity, such as information like working status, etc., appropriate participating objects can be quickly extracted, and tasks can be assigned to this object, reducing response delays caused by information latency or improper personnel allocation.

[0038] Optionally, it can also be allocated based on historical data. For example, for the objects in a set of preset objects that have participated in the simulation of the emergency scenario, they can be allocated as different participating objects from the previous time.

[0039] Optionally, when the execution method of the target emergency scenario is actual execution and a set of participating objects have all confirmed their participation in the target emergency plan, a first indication message can be sent to the first participating object to instruct the first participating object to inject a specified failure into the specified business using a fault injection tool for fault simulation, such as server fault simulation, network attack simulation, etc.

[0040] Correspondingly, the second participating object can initiate an emergency response under unknown circumstances, perform operations such as impact analysis and fault troubleshooting to test the actual effectiveness of the target emergency plan.

[0041] Optionally, after receiving the signal that a set of participating objects have confirmed their participation in the emergency plan, the first participating object can be automatically identified and a first indication message can be sent to it. The first indication message can be only used to instruct the first participating object to perform fault injection, or can also include information such as the type of failure and the time point of injection to ensure the accuracy and security of the fault simulation process.

[0042] Optionally, the above-mentioned fault injection tool can be used to simulate faults at the software level, including but not limited to code errors, data corruption, application crashes, etc., and can also be used to simulate faults at the hardware level, including but not limited to disk damage, network interruption, etc.

[0043] Optionally, the above-mentioned fault injection tool can provide fault parameter configuration options, allowing the first participating object to customize the type and severity of the fault, such as setting the simulated data loss amount of the database, operating system error codes, etc., so as to simulate a software fault scenario close to real conditions.

[0044] Optionally, after the fault injection is completed, the above-mentioned fault injection tool can record detailed logs, including the triggering time type of the fault, the scope of influence, etc., to cope with subsequent fault troubleshooting and follow-up analysis of emergency response.

[0045] Optionally, when the first participating object successfully simulates a specified fault using the fault injection tool, it can monitor the response operations performed by the second participating object in response to the specified fault, and obtain the first execution result of the target emergency plan, which can include all operations performed by the second participating object when attempting to repair or bypass the fault. For example, system restart, data recovery, or automated handling triggered by the emergency process, etc.

[0046] Optionally, the above-mentioned first execution result can include each operation and the corresponding timestamp from the occurrence of the fault to the completion of recovery. The above-mentioned response operations can be arranged in chronological order in the above-mentioned first execution result.

[0047] Optionally, it is also possible to monitor various resources consumed during the response process to evaluate the cost-effectiveness of the emergency response.

[0048] In this embodiment, based on the emergency process indicated by the target emergency plan and the first execution result, a simulation execution report of the target emergency scenario can be generated, which can extract key information from the data monitored during the above-mentioned monitoring process and the log information in the above-mentioned emergency process, and generate a report according to a preset template, so as to improve the timeliness and consistency of report generation.

[0049] Optionally, it is possible to collect and integrate emergency response data from different sources, compare these data with the expected processes in the target emergency plan, identify difference points and problem areas, and mark them.

[0050] Optionally, after generating the simulation execution report, it can be displayed in a visual form. For example, it can be automatically converted into charts, flowcharts, or timelines, etc., to make the data clear and easy to understand.

[0051] Optionally, for the simulation and drill of emergency scenarios in institutional entities, it can be a cross-departmental and cross-institutional collaboration to simulate complex emergency scenarios and test the collaborative response mechanism and information sharing capabilities. During the drill, computer simulation technology (using technical means such as flowcharts and computer simulations for tabletop exercises to simulate emergency scenarios), fault injection tools (simulating drills to create sudden fault scenarios through technical means), and real environment deployment (actual combat drills directly performing emergency response operations in the real system environment) can be adopted to ensure the immediacy and authenticity of the drill.

[0052] Optionally, the simulation of emergency scenarios can be carried out based on the "four no" drill settings to improve the immediacy and authenticity of emergency response and test the organization's rapid response and adaptive capabilities in unknown situations, that is, no prior notice (suddenly starting the emergency response), no preset scenarios (simulating unknown fault situations), no reliance on scripts (testing the handling capabilities), and no preset solutions (testing the adaptive decision-making capabilities).

[0053] Optionally, the execution center can be pre-configured to cover the full life cycle management during the simulation of the entire execution scenario, which may include the following: Execution plan, used for the planning and management of various business continuity drill plans, including the maintenance and management of plan name, execution time, execution location, participating departments, execution methods of emergency plans, execution scope and status. The execution methods of emergency plans include simulated execution and actual execution. The execution status of emergency plans can include five statuses: not started, pending execution, in execution, completed, and cancelled. The newly created execution plan is by default in the not started status. When the execution plan is associated with the execution plan and approved, the status is changed to pending execution. During the execution process, the status is changed to in execution. When the execution is completed, the status is changed to completed. When the execution is cancelled, the status is changed to cancelled; Emergency plan, which can be associated with the execution plan upward and the scenario configuration downward. The drill plan supports internal approval and the approval process of docking external service processes. After approval, it can enter the drill implementation stage. The execution plan can be custom-created by the user and combined with the corresponding execution plan and execution scenario to achieve. The emergency plan should at least include: the name of the emergency plan, execution plan, scenario name, execution time, estimated duration, status, etc. Among them, the status includes submitted, pending approval, published, and rejected. The newly created execution process is by default in the submitted status. If approval is required, the status will be changed to pending approval. If the approval is passed, it will become published. If the approval is not passed, it will become rejected, and the approval process needs to be initiated again after re-editing. For the published execution plan, a task will be created during the execution implementation and enter the execution implementation stage; Execution implementation, mainly used for the process control of the simulation of the emergency scenario, can execute real switching commands to achieve the final goal of the drill, and realizes the visual display of the switching process through multi-dimensional views. The unified data method is adopted between different views to ensure the same-source update of data; Execution report: Automatically generate the switching history record and report. The execution history record visually displays the execution of each switching process and step. The report can be automatically generated, and the content includes execution plan information, participant information, application system execution duration, execution process execution status, etc.

[0054] Through the embodiments provided in this application, when a target emergency scenario is triggered, the execution method of the target emergency scenario is determined according to the target emergency plan corresponding to the target emergency scenario. Among them, the target emergency scenario is an emergency scenario based on the target emergency plan and corresponding to a specified failure of a specified service of an institutional entity. The target emergency plan is used to indicate the execution method, participating objects, and emergency process of the target emergency scenario; according to the participating objects indicated by the target emergency plan, a group of participating objects is extracted from a group of preset objects of the institutional entity, where the group of participating objects includes the first participating object that triggers the service failure of the specified service and the second participating object that processes the specified failure; when the execution method of the target emergency scenario is actual execution and all the participating objects in the group confirm their participation in the target emergency plan, a first indication message is sent to the first participating object to instruct the first participating object to inject a specified failure into the specified service using a fault injection tool; the response operations performed by the second participating object in response to the specified failure are monitored to obtain the first execution result of the target emergency plan, and based on the emergency process and the first execution result indicated by the target emergency plan, a simulation execution report of the target emergency scenario is generated, which can solve the problem of low accuracy and reliability of the simulation method for emergency scenarios in related technologies and improve the accuracy and reliability of the simulation method for emergency scenarios.

[0055] In an exemplary embodiment, after extracting a group of participating objects from a group of preset objects of the institutional entity according to the participating objects indicated by the target emergency plan, the above method further includes:

[0056] When the execution method of the target emergency scenario is simulation execution, in a virtual reality scenario, a second indication message is sent to the virtual body of the first participating object to instruct the first participating object to inject a specified failure into the specified service using a fault injection tool;

[0057] The operation execution result of the virtual body of the second participating object in the virtual reality scenario that simulates the execution of the preset response operation in response to the specified failure is obtained, where the preset response operation is specified by the scenario simulation emergency script of the target emergency scenario and is the response operation that the second participating object is expected to perform in response to the specified failure under the target emergency scenario. The response operation indicated by the scenario simulation emergency script corresponds to the emergency process indicated by the target emergency plan;

[0058] The operation execution result is displayed to the first target object, and when the first plan adjustment message of the target object is obtained, the target emergency plan is adjusted according to the first plan adjustment message.

[0059] Similar to the foregoing embodiments, the execution modes of the target emergency scenario may include simulated execution and actual execution. When the execution mode of the target emergency scenario is determined to be simulated execution, the system may send second instruction information to the virtual body of the first participating object through a Virtual Reality (VR) platform, instructing it to use a fault injection tool to create a specified fault of a specified service in the virtual environment. By simulating faults in the VR environment, the effectiveness of the emergency response process and the emergency handling capabilities of the participating objects can be tested without disturbing the actual business.

[0060] Here, virtual reality technology refers to a technology that simulates a three-dimensional virtual environment through computer technology and enables users to have multi-sensory immersive interactions. Based on this, in emergency response training, a highly realistic business environment can be constructed to simulate various possible fault conditions.

[0061] In the VR environment, fault injection and emergency response can be coordinated through a series of preset processes. Once a fault is injected, the corresponding emergency response process can be automatically triggered, and the virtual body of the second participating object can receive the corresponding response instruction and start to execute emergency operations to improve the execution efficiency of the emergency plan.

[0062] Obtain the operation execution result of the virtual body of the second participating object in the virtual reality scenario in response to the specified fault for simulating the execution of the preset response operation. Here, the preset response operation is specified by the scenario simulation emergency script of the target emergency scenario and is the response operation that the second participating object is expected to execute in response to the specified fault in the target emergency scenario. The response operation indicated by the scenario simulation emergency script corresponds to the emergency process indicated by the target emergency plan. Here, the scenario simulation emergency script may be a virtual drill plan preset according to the business continuity objective and the emergency plan, and it may include a fault scenario description and an expected response process.

[0063] Optionally, when simulating the emergency scenario in the virtual reality scenario, the data acquisition module can be used to monitor the response of the virtual body of the second participating object to the specified fault in real time. The data acquisition module may include built-in sensors and data analysis algorithms, so as to track each operation of the participating object, including system operations, decision-making processes, and communication behaviors, etc.

[0064] In this embodiment, the operation execution result can also be displayed to the first target object to transparently present the drill process, enabling the first target object to intuitively see the recovery efficiency of the system, the response capabilities of the personnel, and the execution of the emergency process in the simulated emergency scenario, so as to evaluate the effectiveness of the current emergency plan. The first target object here may be a preset object with the authority to evaluate and adjust the emergency plan, or it may be randomly selected. This embodiment does not make any limitations in this regard.

[0065] Optionally, through pre-set data analysis and machine learning algorithms, inefficient points and potential vulnerabilities in the emergency plan and process can be identified and presented to the first target object.

[0066] Optionally, when the first plan adjustment message of the target object is obtained, the target emergency plan can be adjusted according to the first plan adjustment message. Such adjustment can be carried out in real time or after the entire process of the target emergency plan ends. Through continuous adjustment and optimization, the probability of risk scenarios that the emergency plan can cover can be increased, and the emergency response ability of the institutional entity can be gradually improved to achieve higher business continuity.

[0067] Through this embodiment, by simulating the emergency scenario in the virtual reality scenario, the execution efficiency and accuracy of the emergency plan are improved.

[0068] In an exemplary embodiment, before determining the execution mode of the target emergency scenario according to the target emergency plan corresponding to the target emergency scenario, the above method further includes:

[0069] In response to the emergency plan configuration request of the second target object, perform permission verification on the second target object, where the emergency plan configuration request is used to request the configuration of the emergency plan according to the specified configuration information;

[0070] When the second target object has the emergency plan editing permission, generate the target emergency plan to be approved according to the specified configuration information;

[0071] Send a plan approval request corresponding to the target emergency plan to be approved to the third target object, where the third target object is an object with the emergency plan approval permission;

[0072] When receiving the approval passed indication message returned by the third target object in response to the plan approval request, encrypt the target emergency plan through a preset encryption algorithm, and perform keyword recognition on the target emergency plan to obtain the retrieval keywords of the target emergency plan, where the retrieval keywords of the target emergency plan are used to retrieve the target emergency plan;

[0073] Store the target emergency plan and the retrieval keywords of the target emergency plan in the plan library, where the plan library is a database for storing emergency plans.

[0074] Optionally, a plan center can be pre-set to store the emergency plan.

[0075] Optionally, the above plan center can be set to allow multiple people to write structured plans online, including inserting elements, organizational structures, visual disposal scenarios. By configuring the emergency organization of the plan, according to the event type and level, the disposal process scenarios can be respectively associated.

[0076] Optionally, the emergency plan center can consist of three functions: emergency plan editing, emergency plan library, and historical emergency plans.

[0077] Here, the emergency plan editing can be used to achieve the electronic management of emergency plans, and combined with the emergency plan classification, it can realize the addition, online editing, release, review, revocation, and deactivation of emergency plans. Combined with user permission management, it can realize the control of permissions related to emergency plans.

[0078] Optionally, in response to the emergency plan configuration request of the second target object, permission verification can be performed on the second target object. The emergency plan configuration request is used to request the configuration of the emergency plan according to the specified configuration information. That is, through the identity authentication and authorization mechanism, when the second target object initiates an emergency plan configuration request, the requester can be first verified for permissions. The permission verification is based on the user role and permission management module to ensure that only personnel with corresponding permissions can edit and configure the emergency plan, thereby improving the integrity and correctness of the emergency plan.

[0079] Optionally, after the permission verification is passed, a target emergency plan to be approved can be generated according to the specified configuration information provided by the second target object. The generated emergency plan can be either templatized or highly customized.

[0080] Optionally, an emergency plan approval request can be sent to a third target object (a management personnel with emergency plan approval authority) to ensure the quality and compliance of the emergency plan.

[0081] Optionally, when viewing the emergency plan information, sensitive information can be encrypted through a special encryption algorithm. That is, after receiving the approval indication from the third target object, a preset encryption algorithm can be used to encrypt the target emergency plan to protect the sensitive information in the emergency plan from unauthorized access. Also, for the user permissions themselves, a preset encryption algorithm can be used for encryption to prevent permission leakage.

[0082] Optionally, for different emergency plans, different encryption algorithms can be automatically selected according to data security requirements and performance considerations. The encrypted emergency plans are stored in the emergency plan library and can only be read after decryption.

[0083] Optionally, natural language processing (NLP) technology can be used to automatically scan the emergency plan text and extract keywords related to the emergency plan theme, such as "data recovery", "network security", "emergency evacuation", "communication protocol", etc. The extracted keywords will be stored and associated with the emergency plan for subsequent retrieval and indexing. Thus, through the keywords, the emergency plan for a specific theme or scenario can be quickly located, improving the usage efficiency of the emergency plan library and the timeliness and accuracy of emergency response.

[0084] Optionally, the emergency plan can be downloaded from the emergency plan library to the local for reference through the emergency plan download function.

[0085] Optionally, the above-mentioned emergency plan center can also include a historical emergency plan module for managing discarded emergency plan documents and viewing the emergency plan history.

[0086] Through this embodiment, by generating a target emergency plan according to the permissions and the specified configuration information and storing the emergency plan and keywords in the emergency plan library, the flexibility of using the target emergency plan and the calling efficiency of the target emergency plan can be improved.

[0087] In an exemplary embodiment, generating a target emergency plan to be approved according to the specified configuration information includes:

[0088] Performing a first extraction operation on the specified configuration information to obtain a set of execution steps and a fallback strategy corresponding to each execution step in the set of execution steps, where the fallback strategy corresponding to each execution step is used to indicate the fallback condition of each execution step and the expected fallback result of each execution step;

[0089] Performing a second extraction operation on the specified configuration information to obtain a phase mark corresponding to each execution step, where the phase mark corresponding to each execution step is used to indicate the business phase to which each execution step belongs in the specified business;

[0090] Generating a target emergency plan to be approved according to a set of execution steps, the fallback strategy corresponding to each execution step, and the phase mark corresponding to each execution step.

[0091] In this embodiment, a scenario center can be preset to provide available scenarios for emergency plans, emergency response, disaster switching, and drills through visualization capabilities, which can include scenario configuration, phase library, process library, and step library.

[0092] Optionally, for the step library, it can provide management of emergency plan step information, define timeout time, associate data center applications, and realize the switching and fallback capabilities by configuring step fallback information. This kind of fallback can include "atomic steps" that are automatically executed. That is, after the simulation implementation of the emergency scenario starts to execute, the atomic steps are executed in sequence according to the pre-arranged process order (continue to execute if the execution is successful, and if this step fails, the overall arrangement stops). It is associated with the tasks of the automation platform, and drives the execution of automation commands by calling the API (Application Programming Interface) interface of the automation platform; it can also include a fallback mode that skips or falls back only after a response step confirmation operation.

[0093] Optionally, a first extraction operation can be performed on the specified configuration information to obtain a set of execution steps and a fallback strategy corresponding to each execution step in the set of execution steps. Herein, the fallback strategy corresponding to each execution step is used to indicate the fallback condition of each execution step and the expected fallback result of each execution step. For example, through semantic analysis and entity recognition by an NLP model, the execution steps and related fallback conditions can be extracted. Specifically, for example, NLP can recognize the instruction of "turn on Service B after turning off Service A", and at the same time can also capture the fallback strategy such as "if Service B fails to start, restart Service A".

[0094] Optionally, for structured configuration information, such as files in XML (Extensible Markup Language) or JSON (JavaScript Object Notation) format, a configuration file parser can be used to read and parse these files, so as to identify specific parameters, operation sequences, and conditional branches, and extract the execution steps and fallback strategies.

[0095] Optionally, the above scenario center may further include a process library for providing management of process information. It can add, edit, view, delete, verify, clone, import, and export process information through visual orchestration, and can select steps from the step library through a visual page; in addition, the above scenario center may further include a phase library for marking the simulation process of the emergency scenario and the business execution phase to which the steps belong, providing management of phase information in the emergency scenario, and can add, view, edit, enable, disable, and delete phase information in a visual manner.

[0096] Here, a second extraction operation can be performed on the specified configuration information to obtain a phase mark corresponding to each execution step. Herein, the phase mark corresponding to each execution step is used to indicate the business phase to which each execution step belongs in the specified business. It can be obtained by deeply parsing the specified configuration information to identify the business phase related to each execution step. For example, through regular expression matching technology, keywords or phrases marking the business phase, such as "preparation phase", "execution phase", "recovery phase", etc., can be extracted from the document.

[0097] For the case where there are no keywords or phrases directly marking the business phase in the specified configuration information, based on the context and context in the specified configuration information, natural language processing (NLP) technology can be used for semantic understanding and data analysis. By constructing a knowledge graph of business continuity, information such as operation steps, resource dependencies, time series, and business phases can be associated, so as to analyze the position and role of each execution step in the overall business process, and then assign the correct phase mark.

[0098] Optionally, a target emergency plan to be approved may be generated according to a set of execution steps, a fallback strategy corresponding to each execution step, and a stage mark corresponding to each execution step.

[0099] Through this embodiment, by parsing the designated configuration information to extract the execution steps, the fallback strategies of the execution steps and the stage marks of the execution steps, the orderliness and efficiency of the simulation of the emergency scenario can be improved.

[0100] In an exemplary embodiment, after extracting a group of participants from a group of preset objects of the institutional entity according to the participants indicated by the target emergency plan, the method further includes:

[0101] When the execution mode of the target emergency scenario is actual execution and a group of participating objects all confirm to participate in the target emergency plan, a corresponding object view is allocated to each participating object in the group of participating objects according to the object roles of the group of participating objects;

[0102] Displaying the object view corresponding to each participating object on the display interface of each participating object, and updating the object view corresponding to each participating object in real time according to the execution progress of the target emergency plan;

[0103] According to the preset data synchronization verification mechanism, check whether the data updates in the object views corresponding to each participating object are consistent, and if there are object views with inconsistent data updates in the object views corresponding to each participating object, correct the object views with inconsistent data updates.

[0104] Optionally, before the execution of the target emergency scenario actually begins, it can be confirmed whether the predetermined participants confirm their participation in the target emergency plan, which can be achieved through a secure identity authentication mechanism (such as sign-in, etc.) and emergency plan confirmation notification (such as email, text message, internal communication software prompt, etc.).

[0105] Optionally, a corresponding object view, such as an operation view, a command view, and a management view, may be allocated to each participating object in a group of participating objects according to the object role of the group of participating objects.

[0106] Here, different interfaces can be displayed on different object views. For example, for the operation view, it can be used to display specific operation steps and implementation processes, including data migration, system configuration, functional testing, etc., to ensure that the simulation process of the emergency scenario can proceed smoothly. It may be necessary to operate according to the switching plan and follow the established steps.

[0107] Specifically, the operation view can mainly display, including but not limited to, the following: operation steps, including data backup, system upgrade, function verification, etc.; object assignment, clarifying the object corresponding to each operation step; time nodes, that is, the time nodes corresponding to each step; emergency measures, including formulating detailed emergency measures and contingency plans for possible abnormal situations.

[0108] For another example, for the command view, it can focus on overall command and coordination, be used to ensure communication and collaboration among various objects, and the overall progress and quality control of the simulation process of the emergency scenario. It can mainly display, including but not limited to, the following: object coordination, used to regulate information exchange and collaboration among various objects to avoid information islands or communication barriers; progress control, used to track the progress of the simulation process of the entire emergency scenario in real time; quality control, used to monitor and evaluate each link in the simulation process of the emergency scenario; decision transmission: when an abnormal situation occurs in the simulation process of the emergency scenario, the corresponding solution can be quickly sent and transmitted to ensure the smooth progress of the switching process.

[0109] For another example, for the management view, it can focus on overall planning and decision-making, be responsible for determining the simulation objectives, directions, and priorities of the current emergency scenario, and providing necessary resources and support for the process. It can mainly display, including but not limited to, the following: goal setting, that is, the goals and expected outcomes of the simulation of the current emergency scenario; resource allocation; risk assessment, used to monitor, evaluate, and manage possible risks; decision support, used to transmit decisions.

[0110] Optionally, the real-time control and coordination of the command view can ensure operation safety through a two-person review mechanism. Real-time notifications such as personnel summons and disaster announcements can be directly sent through the command view. The process execution progress of the scenario view can be synchronously displayed in real time through multi-screen collaborative operation. After the operation view completes step handling, it can automatically update the process status panel of the management view. Visualized control operations, including one-key start, pause, resume, and termination control, can be used to send notification information.

[0111] Optionally, the above different object views can be visually displayed and information transmitted based on the same data source. For example, based on the real-time communication protocol, two-way real-time information exchange between the server and the client can be achieved, so as to ensure that the display interfaces of participating objects can immediately reflect the latest status changes at any moment during the execution of the target emergency plan.

[0112] Optionally, by establishing a data push mechanism, updated view information can be actively pushed to the client of each participating object. Here, an event-driven architecture can be constructed, in which the changes in the execution progress of the emergency plan can be monitored, and once a change occurs, an update is immediately pushed to all subscribers.

[0113] Optionally, to ensure data consistency, a preset data synchronization verification mechanism can be adopted, such as a consensus algorithm. Check whether the data updates in the object views corresponding to each participating object are consistent.

[0114] Optionally, data change history can also be automatically tracked by adding version numbers to each data item. When data update conflicts occur, the latest version can be automatically selected or changes can be merged based on the version numbers and preset conflict resolution rules, thereby correcting inconsistent data updates.

[0115] Optionally, checksum can also be used to perform integrity verification on data, which can quickly detect errors or tampering during data transmission. Once inconsistencies are found, retransmission can be requested or recovery can be made from the most recent consistent state to ensure data accuracy. Alternatively, based on the event log that records detailed information about all data changes, including change time, changer, and change content, when data updates are inconsistent, the data change process can be reproduced by replaying the event log to correct to the last consistent state.

[0116] Based on this, in the object views corresponding to each participating object, in the case where there are object views with inconsistent data updates, the object views with inconsistent data updates can be corrected.

[0117] For example, as Figure 3 shown, in this embodiment, visual command can be achieved through the operation view, command view, and management view. In addition, systematic management can also be achieved through the preset execution center, plan center, and scenario center. The content that the execution center, plan center, and scenario center can include is similar to that in the foregoing embodiments, so that regular drills can be achieved.

[0118] Through this embodiment, by allocating different object views to different objects and performing synchronous updates of data, the real-time performance of information transmission and data consistency can be improved, thereby improving the accuracy and reliability of the simulation method for emergency scenarios.

[0119] In an exemplary embodiment, the emergency process indicated by the target emergency plan includes a set of execution steps;

[0120] Based on the emergency process indicated by the target emergency plan and the first execution result, generate a simulation execution report for the target emergency scenario, including:

[0121] Analyze the first execution result according to a set of execution steps and a set of execution parameters to obtain the parameter values of a set of execution parameters corresponding to each execution step in the set of execution steps, where the set of execution parameters includes at least one of the following: start execution time, end execution time, and process description parameter for describing the execution process of the corresponding execution step;

[0122] Evaluate the target emergency plan according to the parameter values of a set of execution parameters corresponding to each execution step, obtain the second execution result of the target emergency plan, and generate a simulated execution report based on the second execution result, where the simulated execution report is used to record the second execution result.

[0123] Optionally, the first execution result can be parsed according to a set of execution steps and a set of execution parameters to obtain the parameter values of a set of execution parameters corresponding to each execution step in the set of execution steps. For example, the start execution time, end execution time, and key parameters during the execution process of each execution step can be extracted by analyzing system logs, operation logs, and monitoring data.

[0124] Optionally, time series analysis techniques can be used to analyze the start and end times of the execution steps to identify potential time delays or operation bottlenecks to ensure that all execution steps and parameter values are correctly sorted in chronological order.

[0125] Optionally, the process description parameters used to describe the execution process of the corresponding execution step can include: plan effectiveness, used to evaluate the operability, clarity, and coverage of the emergency plan; organizational structure and responsibilities, used to review the rationality of the emergency management organizational structure and responsibility allocation; resource allocation, used to evaluate the sufficiency and availability of resources such as personnel, tools, and information; training and drills, used to check the effectiveness of the training plan and the quality of drill activities; information communication, used to evaluate the effectiveness of the information transmission mechanism in emergency situations; compliance, used to ensure compliance with relevant requirements; continuous improvement mechanism, used to establish a feedback and improvement mechanism to enhance emergency response capabilities, and determine whether problem analysis and goal setting can be carried out based on the evaluation results for continuous evaluation and improvement.

[0126] Optionally, the target emergency plan can be evaluated according to the parameter values of a set of execution parameters corresponding to each execution step, obtain the second execution result of the target emergency plan, and generate a simulated execution report based on the second execution result, where the simulated execution report is used to record the second execution result, and this simulated execution report can be generated by inputting the parameter values corresponding to a pre-stored template.

[0127] Through this embodiment, by automatically analyzing the execution process and results and generating a simulated report, the accuracy of the analysis and the timeliness of the report can be improved, and then the emergency process can be optimized and business continuity can be enhanced.

[0128] In an exemplary embodiment, after generating a simulated execution report of the target emergency scenario based on the emergency process indicated by the target emergency plan and the first execution result, the above method further includes:

[0129] In the case that the simulation execution report indicates that there are abnormal execution steps with execution exceptions among a set of execution steps, update the target emergency plan according to the simulation execution report, and use the difference information between the updated target emergency plan and the target emergency plan before the update to update the target emergency plan stored in the plan library.

[0130] Optionally, in response to the exception indication, it is possible to determine the abnormal execution steps with execution exceptions, or it is also possible to, based on a big data analysis tool, process the data in the simulation execution report in real time to identify the abnormal execution steps, that is, automatically identify and mark the steps that deviate from the normal mode in the execution process.

[0131] In this embodiment, in the case that the simulation execution report indicates that there are abnormal execution steps with execution exceptions among a set of execution steps, the target emergency plan can be updated according to the simulation execution report. For example, the target emergency plan can be modified using a plan editor to add or adjust the processing strategies for the abnormal execution steps.

[0132] Optionally, each modification of the plan can be recorded to form a comparison of the versions before and after the update, which is beneficial for tracking the modification history and version backtracking.

[0133] Optionally, for the difference information between the updated target emergency plan and the target emergency plan before the update, the updated plan can be automatically pushed to the plan library. This step can be manual or automatic. For example, a trigger can be set in the database or the observer pattern can be adopted to monitor the plan update event, and once the plan is modified, the plan library update process is immediately triggered.

[0134] Optionally, a difference comparison tool can be used to compare the differences between the plans before and after the update and automatically mark the modified parts.

[0135] Optionally, for plans that have been updated multiple times, a version merging tool can be used to integrate the changes in different versions to avoid version conflicts.

[0136] Through this embodiment, through the abnormal detection and update of the plan, the efficiency and accuracy of the revision of the emergency plan can be improved, and thus the flexibility and effectiveness of the plan in the face of actual emergency scenarios can be improved.

[0137] It should be noted that for the foregoing method embodiments, for the sake of simple description, they are all expressed as a series of action combinations. However, those skilled in the art should know that this application is not limited by the described action sequence, because according to this application, certain steps can be performed in other sequences or simultaneously. Secondly, those skilled in the art should also know that the embodiments described in the specification are all preferred embodiments, and the actions and modules involved are not necessarily essential to this application.

[0138] Through the description of the above embodiments, those skilled in the art can clearly understand that the method according to the above embodiments can be implemented by means of software plus a necessary general hardware platform. Of course, it can also be implemented by hardware, but in many cases the former is a better implementation. Based on such an understanding, the technical solution of the present application, in essence, or the part that contributes to the prior art, can be embodied in the form of a software product. The computer software product is stored in a storage medium (such as ROM (Read-Only Memory), RAM (Random Access Memory), magnetic disk, optical disk), and includes several instructions to enable a terminal device (which can be a mobile phone, computer, server, or network device, etc.) to execute the methods described in various embodiments of the present application.

[0139] According to another aspect of the embodiments of the present application, there is also provided a simulation device for an emergency scenario. The simulation device for the emergency scenario can be used to implement the simulation method for the emergency scenario provided in the above embodiments, and those that have been described will not be repeated. As used hereinafter, the term "module" can be a combination of software and / or hardware that can implement a predetermined function. Although the devices described in the following embodiments are preferably implemented in software, implementation in hardware, or a combination of software and hardware is also possible and contemplated.

[0140] Figure 4 is a structural block diagram of an optional simulation device for an emergency scenario according to the embodiments of the present application, as Figure 4 shown, the simulation device for the emergency scenario includes:

[0141] A determination unit 402, configured to determine an execution mode of the target emergency scenario according to the target emergency plan corresponding to the target emergency scenario when the target emergency scenario is triggered, where the target emergency scenario is an emergency scenario based on the target emergency plan and corresponding to a specified failure of the specified business of the institutional entity, and the target emergency plan is used to indicate the execution mode, participating objects, and emergency process of the target emergency scenario;

[0142] An extraction unit 404, configured to extract a group of participating objects from a group of preset objects of the institutional entity according to the participating objects indicated by the target emergency plan, where the group of participating objects includes a first participating object that triggers the business failure of the specified business and a second participating object that processes the specified failure;

[0143] A first sending unit 406, configured to send a first indication message to the first participating object to instruct the first participating object to inject a specified failure into the specified business using a failure injection tool when the execution mode of the target emergency scenario is actual execution and all the participating objects in the group confirm their participation in the target emergency plan;

[0144] The first execution unit 408 is configured to monitor the response operations performed by the second participating object in response to a specified fault, obtain the first execution result of the target emergency plan, and generate a simulation execution report of the target emergency scenario based on the emergency process indicated by the target emergency plan and the first execution result.

[0145] It should be noted that the determination unit 402 in this embodiment can be used to execute the above step S202, the extraction unit 404 in this embodiment can be used to execute the above step S204, the first sending unit 406 in this embodiment can be used to execute the above step S206, and the first execution unit 408 in this embodiment can be used to execute the above step S208.

[0146] Through the embodiment provided by the present application, when the target emergency scenario is triggered, according to the target emergency plan corresponding to the target emergency scenario, the execution method of the target emergency scenario is determined, where the target emergency scenario is an emergency scenario based on the target emergency plan and corresponding to the specified fault of the specified business of the institutional entity, and the target emergency plan is used to indicate the execution method, participating objects, and emergency process of the target emergency scenario; a group of participating objects is extracted from a group of preset objects of the institutional entity according to the participating objects indicated by the target emergency plan, where the group of participating objects includes the first participating object that triggers the business fault of the specified business and the second participating object that processes the specified fault; when the execution method of the target emergency scenario is actual execution and all the participating objects in the group confirm their participation in the target emergency plan, a first indication message is sent to the first participating object to instruct the first participating object to inject the specified fault into the specified business using a fault injection tool; the response operations performed by the second participating object in response to the specified fault are monitored to obtain the first execution result of the target emergency plan, and a simulation execution report of the target emergency scenario is generated based on the emergency process indicated by the target emergency plan and the first execution result, which solves the problem of low accuracy and reliability of the simulation method for emergency scenarios in the related art, optimizes the simulation process of the emergency scenario, and improves the accuracy and reliability of the simulation method for the emergency scenario.

[0147] In an exemplary embodiment, the above-mentioned device further includes: a second sending unit, configured to, after extracting a set of participating objects from a set of preset objects of an institutional entity according to the participating objects indicated by a target emergency plan, in the case where the execution mode of the target emergency scenario is simulated execution, in a virtual reality scenario, send second indication information to the virtual body of a first participating object to instruct the first participating object to inject a specified fault into a specified service using a fault injection tool; an obtaining unit, configured to obtain an operation execution result of the virtual body of a second participating object in the virtual reality scenario in response to the specified fault simulating the execution of a preset response operation, where the preset response operation is specified by a scenario simulation emergency script of the target emergency scenario and is a response operation that the second participating object is expected to execute in response to the specified fault in the target emergency scenario, and the response operation indicated by the scenario simulation emergency script corresponds to the emergency process indicated by the target emergency plan; a second execution unit, configured to display the operation execution result to a first target object, and in the case of obtaining a first plan adjustment message of the target object, adjust the target emergency plan according to the first plan adjustment message.

[0148] In an exemplary embodiment, the above-mentioned device further includes: a verification unit, configured to, before determining the execution mode of the target emergency scenario according to the target emergency plan corresponding to the target emergency scenario, in response to a plan configuration request of a second target object, perform permission verification on the second target object, where the plan configuration request is used to request the configuration of an emergency plan according to specified configuration information; a generating unit, configured to, in the case where the second target object has the permission to edit the emergency plan, generate a target emergency plan to be approved according to the specified configuration information; a third sending unit, configured to send a plan approval request corresponding to the target emergency plan to be approved to a third target object, where the third target object is an object having the permission to approve the emergency plan; a third execution unit, configured to, in the case of receiving an approval passed indication message returned by the third target object in response to the plan approval request, encrypt the target emergency plan through a preset encryption algorithm, and perform keyword recognition on the target emergency plan to obtain a retrieval keyword of the target emergency plan, where the retrieval keyword of the target emergency plan is used to retrieve the target emergency plan; a storage unit, configured to store the target emergency plan and the retrieval keyword of the target emergency plan in a plan library, where the plan library is a database for storing emergency plans.

[0149] In an exemplary embodiment, a generation unit includes: a first execution module configured to perform a first extraction operation on specified configuration information to obtain a set of execution steps and a fallback policy corresponding to each execution step in the set of execution steps, where the fallback policy corresponding to each execution step is used to indicate the fallback condition of each execution step and the expected fallback result of each execution step; a second execution module configured to perform a second extraction operation on the specified configuration information to obtain a phase marker corresponding to each execution step, where the phase marker corresponding to each execution step is used to indicate the business phase to which each execution step belongs in a specified business; and a generation module configured to generate a target emergency plan to be approved according to the set of execution steps, the fallback policy corresponding to each execution step, and the phase marker corresponding to each execution step.

[0150] In an exemplary embodiment, the above device further includes: an allocation unit configured to, after extracting a set of participating objects from a set of preset objects of an institutional entity according to the participating objects indicated by the target emergency plan, and when the execution mode of the target emergency scenario is actual execution and all the set of participating objects confirm their participation in the target emergency plan, allocate a corresponding object view to each participating object in the set of participating objects according to the object roles of the set of participating objects; a fourth execution unit configured to display the object view corresponding to each participating object on the display interface of each participating object and update the object view corresponding to each participating object in real time according to the execution progress of the target emergency plan; and a fifth execution unit configured to check whether the data updates in the object views corresponding to each participating object are consistent according to a preset data synchronization verification mechanism, and correct the object views with inconsistent data updates when there are object views with inconsistent data updates among the object views corresponding to each participating object.

[0151] In an exemplary embodiment, the emergency process indicated by the target emergency plan includes a set of execution steps; a first execution unit includes: a parsing module configured to parse a first execution result according to the set of execution steps and a set of execution parameters to obtain the parameter values of the set of execution parameters corresponding to each execution step in the set of execution steps, where the set of execution parameters includes at least one of the following: start execution time, end execution time, and a process description parameter for describing the execution process of the corresponding execution step; and a third execution module configured to evaluate the target emergency plan according to the parameter values of the set of execution parameters corresponding to each execution step to obtain a second execution result of the target emergency plan, and generate a simulation execution report based on the second execution result, where the simulation execution report is used to record the second execution result.

[0152] In an exemplary embodiment, the above-mentioned device further includes an updating unit, configured to, after generating a simulation execution report of a target emergency scenario based on the emergency process indicated by a target emergency plan and a first execution result, update the target emergency plan according to the simulation execution report in the case that there is an abnormal execution step among a set of execution steps indicated by the simulation execution report, and update the target emergency plan stored in the emergency plan library by using the difference information between the updated target emergency plan and the target emergency plan before the update.

[0153] It should be noted that the above-mentioned various modules can be implemented by software or hardware. For the latter, it can be implemented in the following ways, but not limited thereto: the above-mentioned modules are all located in the same processor; or, the above-mentioned various modules are separately located in different processors in any combination form.

[0154] According to another aspect of the embodiments of the present application, there is provided a computer-readable storage medium, where the computer-readable storage medium includes a stored program, and when the program runs, it executes the steps in any one of the above-mentioned method embodiments.

[0155] In an exemplary embodiment, the above-mentioned computer-readable storage medium may include, but is not limited to: various media such as a USB flash drive, a ROM, a RAM, a mobile hard disk, a magnetic disk, or an optical disc that can store computer programs.

[0156] According to another aspect of the embodiments of the present application, there is provided an electronic device, including a memory, a processor, and a computer program stored on the memory and executable on the processor. The processor is configured to execute the steps in any one of the above-mentioned method embodiments through the computer program. In an exemplary embodiment, the above-mentioned electronic device may further include a transmission device and an input / output device, where the transmission device is connected to the above-mentioned processor, and the input / output device is connected to the above-mentioned processor.

[0157] The specific examples in this embodiment may refer to the examples described in the above-mentioned embodiments and exemplary embodiments, and will not be repeated here.

[0158] According to another aspect of the embodiments of the present application, there is further provided a computer program product, where the computer program product includes a computer program / instructions, and the computer program / instructions include program codes for executing the method shown in the flowchart. In such an embodiment, the computer program can be downloaded and installed from the network through a communication part 509, and / or installed from a removable medium 511. When the computer program is executed by a central processing unit 501, it executes various functions provided by the embodiments of the present application. The serial numbers of the above-mentioned embodiments of the present application are only for description, and do not represent the advantages and disadvantages of the embodiments.

[0159] Figure 5A block diagram of a computer system for implementing the electronic device according to an embodiment of the present application is schematically shown. As Figure 5 shown, the computer system 500 includes a CPU (Central Processing Unit) 501, which can perform various appropriate actions and processes according to the program stored in the ROM 502 or the program loaded from the storage section 508 into the RAM 503. In the random access memory 503, various programs and data required for system operation are also stored. The central processing unit 501, the read-only memory 502, and the random access memory 503 are connected to each other via a bus 504. An I / O (Input / Output) interface 505 is also connected to the bus 504.

[0160] The following components are connected to the I / O interface 505: an input section 506 including a keyboard, a mouse, etc.; an output section 507 including, for example, a CRT (Cathode Ray Tube), an LCD (Liquid Crystal Display), etc. and a speaker; a storage section 508 including a hard disk, etc.; and a communication section 509 including a network interface card such as a LAN card, a modem, etc. The communication section 509 performs communication processing via a network such as the Internet. A drive 510 is also connected to the input / output interface 505 as needed. A removable medium 511, such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, etc., is installed on the drive 510 as needed so that a computer program read from it can be installed into the storage section 508 as needed.

[0161] In particular, according to an embodiment of the present application, the processes described in each method flowchart can be implemented as a computer software program. For example, an embodiment of the present application includes a computer program product, which includes a computer program carried on a computer-readable medium, and the computer program includes program code for performing the method shown in the flowchart. In such an embodiment, the computer program can be downloaded and installed from the network through the communication section 509 and / or installed from the removable medium 511. When the computer program is executed by the central processing unit 501, various functions defined in the system of the present application are executed.

[0162] It should be noted that Figure 5 the computer system 500 of the electronic device shown is only an example and should not impose any limitations on the functions and usage scope of the embodiments of the present application.

[0163] Obviously, those skilled in the art should understand that the various modules or steps of the present application described above can be implemented by a general-purpose computing device. They can be concentrated on a single computing device or distributed over a network composed of multiple computing devices. They can be implemented by program codes executable by the computing device. Thus, they can be stored in a storage device and executed by the computing device. And in some cases, the steps shown or described can be executed in a different order from here, or they can be separately fabricated into individual integrated circuit modules, or multiple modules or steps among them can be fabricated into a single integrated circuit module for implementation. In this way, the present application is not limited to any specific combination of hardware and software.

[0164] The above are only the preferred embodiments of the present application and are not used to limit the present application. For those skilled in the art, the present application can have various changes and modifications. Any modification, equivalent replacement, improvement, etc. made within the principle of the present application shall be included within the protection scope of the present application.

Claims

1. A simulation method for emergency scenarios, characterized in that, Including: When the target emergency scenario is triggered, determine the execution mode of the target emergency scenario according to the target emergency plan corresponding to the target emergency scenario, where the target emergency scenario is an emergency scenario set based on a target emergency plan and corresponding to a specified failure of a specified service of an institutional entity, and the target emergency plan is used to indicate the execution mode, participating objects, and emergency process of the target emergency scenario; Extract a group of participating objects from a group of preset objects of the institutional entity according to the participating objects indicated by the target emergency plan, where the group of participating objects includes a first participating object that triggers the service failure of the specified service and a second participating object that processes the specified failure; When the execution mode of the target emergency scenario is actual execution and all the group of participating objects confirm their participation in the target emergency plan, send a first indication message to the first participating object to instruct the first participating object to inject the specified failure into the specified service using a fault injection tool; Monitor the response operations executed by the second participating object in response to the specified failure, obtain the first execution result of the target emergency plan, and generate a simulation execution report of the target emergency scenario based on the emergency process indicated by the target emergency plan and the first execution result.

2. The method according to claim 1, wherein After extracting a group of participating objects from a group of preset objects of the institutional entity according to the participating objects indicated by the target emergency plan, the method further includes: When the execution mode of the target emergency scenario is simulation execution, in a virtual reality scenario, send a second indication message to the virtual body of the first participating object to instruct the first participating object to inject the specified failure into the specified service using the fault injection tool; Obtain the operation execution result of the virtual body of the second participating object in the virtual reality scenario simulating the execution of a preset response operation in response to the specified failure, where the preset response operation is specified by a scenario simulation emergency script of the target emergency scenario and is the response operation that the second participating object is expected to execute in response to the specified failure under the target emergency scenario, and the response operation indicated by the scenario simulation emergency script corresponds to the emergency process indicated by the target emergency plan; Display the operation execution result to a first target object, and when a first plan adjustment message of the target object is obtained, adjust the target emergency plan according to the first plan adjustment message.

3. The method according to claim 1, wherein Before determining the execution mode of the target emergency scenario according to the target emergency plan corresponding to the target emergency scenario, the method further includes: In response to a pre - plan configuration request from a second target object, perform a permission check on the second target object, where the pre - plan configuration request is used to request the configuration of an emergency plan according to specified configuration information; When the second target object has the permission to edit the emergency plan, generate the target emergency plan to be approved according to the specified configuration information; Send a plan approval request corresponding to the target emergency plan to be approved to a third target object, where the third target object is an object with the authority to approve the emergency plan; In the case of receiving an approval passed indication message returned by the third target object in response to the plan approval request, encrypt the target emergency plan through a preset encryption algorithm, and perform keyword recognition on the target emergency plan to obtain retrieval keywords of the target emergency plan, where the retrieval keywords of the target emergency plan are used to retrieve the target emergency plan; Store the target emergency plan and the retrieval keywords of the target emergency plan in a plan library, where the plan library is a database for storing emergency plans.

4. The method according to claim 3, wherein The generating the target emergency plan to be approved according to the specified configuration information includes: Perform a first extraction operation on the specified configuration information to obtain a set of execution steps and a fallback strategy corresponding to each execution step in the set of execution steps, where the fallback strategy corresponding to each execution step is used to indicate the fallback condition of each execution step and the expected fallback result of each execution step; Perform a second extraction operation on the specified configuration information to obtain a stage mark corresponding to each execution step, where the stage mark corresponding to each execution step is used to indicate the business stage to which each execution step belongs in the specified business; Generate the target emergency plan to be approved according to the set of execution steps, the fallback strategy corresponding to each execution step, and the stage mark corresponding to each execution step.

5. The method according to claim 1, wherein After extracting a set of participating objects from a set of preset objects of the institutional entity according to the participating objects indicated by the target emergency plan, the method further includes: In the case that the execution mode of the target emergency scenario is actual execution and all the set of participating objects confirm to participate in the target emergency plan, allocate a corresponding object view to each participating object in the set of participating objects according to the object role of the set of participating objects; Display the object view corresponding to each participating object on the display interface of each participating object, and update the object view corresponding to each participating object in real time according to the execution progress of the target emergency plan; Check whether the data updates in the object views corresponding to each participating object are consistent according to a preset data synchronization verification mechanism, and correct the object views with inconsistent data updates in the object views corresponding to each participating object in the case that there are object views with inconsistent data updates.

6. The method according to claim 1, characterized in that, The emergency process indicated by the target emergency plan includes a set of execution steps; The generating the simulation execution report of the target emergency scenario based on the emergency process indicated by the target emergency plan and the first execution result includes: Parse the first execution result according to the set of execution steps and the set of execution parameters to obtain the parameter values of the set of execution parameters corresponding to each execution step in the set of execution steps, where the set of execution parameters includes at least one of the following: start execution time, end execution time, and process description parameters for describing the execution process of the corresponding execution step. Evaluate the target emergency plan according to the parameter values of the set of execution parameters corresponding to each execution step to obtain a second execution result of the target emergency plan, and generate the simulation execution report based on the second execution result, where the simulation execution report is used to record the second execution result.

7. The method according to claim 6, characterized in that, After generating the simulation execution report of the target emergency scenario based on the emergency process indicated by the target emergency plan and the first execution result, the method further includes: In the case that the simulation execution report indicates that there is an abnormal execution step with abnormal execution among the set of execution steps, update the target emergency plan according to the simulation execution report, and use the difference information between the updated target emergency plan and the target emergency plan before the update to update the target emergency plan stored in the emergency plan library.

8. A simulation device for an emergency scenario, characterized in that, Includes: A determination unit, configured to determine an execution mode of the target emergency scenario according to the target emergency plan corresponding to the target emergency scenario when the target emergency scenario is triggered, where the target emergency scenario is an emergency scenario based on a target emergency plan and corresponding to a specified failure of a specified service of an institutional entity, and the target emergency plan is used to indicate an execution mode, participating objects, and an emergency process of the target emergency scenario; An extraction unit, configured to extract a set of participating objects from a set of preset objects of the institutional entity according to the participating objects indicated by the target emergency plan, where the set of participating objects includes a first participating object that triggers a service failure of the specified service and a second participating object that processes the specified failure; A first sending unit, configured to send first indication information to the first participating object to instruct the first participating object to inject the specified failure into the specified service using a fault injection tool when the execution mode of the target emergency scenario is actual execution and all the set of participating objects confirm to participate in the target emergency plan; A monitoring unit, configured to monitor a response operation executed by the second participating object in response to the specified failure, obtain a first execution result of the target emergency plan, and generate a simulation execution report of the target emergency scenario based on the emergency process indicated by the target emergency plan and the first execution result.

9. A computer-readable storage medium, characterized in that, A computer program is stored in the computer-readable storage medium, where the computer program, when executed by a processor, implements the steps of the method according to any one of claims 1 to 7.

10. An electronic device, comprising a memory, a processor, and a computer program stored on the memory and executable on the processor, characterized in that, The processor, when executing the computer program, implements the steps of the method according to any one of claims 1 to 7.

Citation Information

Patent Citations

  • Emergency response simulation drill scheme generation method, device, medium, and computer equipment

    CN107369123A

  • Fault processing test method, system and device, medium and program product

    CN114492068A

  • Emergency auxiliary processing method, emergency management method, system and computer equipment

    CN117176786A

  • Fault processing method and device for micro-service application, electronic equipment and storage medium

    CN118132313A

  • Emergency drilling method based on augmented reality technology

    CN118244938A