Emergency scene simulation method and device, storage medium and electronic equipment
By determining the execution mode in the emergency scenario, extracting the participating objects and using the fault injection tool to simulate the fault, the problems of low accuracy and reliability of the emergency scenario simulation method are solved, and the accuracy and efficiency of the emergency response are improved.
Patent Information
- Application Number
- CN202510806970.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2025-06-17
- Publication Date
- 2025-09-19
- Estimated Expiration
- 2045-06-17
AI Technical Summary
Existing emergency scenario simulation methods have low accuracy and reliability in the event of natural disasters, human errors or technical failures, resulting in slow recovery and low success rate after business interruption, and problems such as information delays and frequent misoperations.
When the target emergency scenario is triggered, the execution method is determined according to the target emergency plan, participating objects are extracted and fault injection tools are used to simulate faults, response operations are monitored and simulation execution reports are generated to ensure the organization and coordination of the emergency response.
It improves the accuracy and reliability of emergency scenario simulation, optimizes the emergency response process, reduces business interruption time and impact, and achieves real-time feedback and continuous optimization.
Smart Images

Figure CN120337599B_ABST
Abstract
Description
Technical Field
[0001] The embodiments of the present application relate to the field of data processing technology, and specifically, to a simulation method and device for emergency scenarios, a storage medium, and an electronic device. Background Art
[0002] To improve business continuity, ensure continuous business operations, and reduce the losses and impacts of business interruptions, it is necessary to preset response measures for failures or disasters. However, the current simulation methods for emergency scenarios proposed to optimize response measures face technical challenges such as slow recovery and low success rates after business interruptions due to natural disasters, human errors, or technical failures. Traditional emergency response simulation methods also have problems such as information delays and frequent misoperations.
[0003] It can be seen that the simulation methods of emergency scenarios in related technologies have problems with 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 to at least solve the problem of low accuracy and reliability of the simulation method of an emergency scenario in the related art.
[0005] According to one aspect of an embodiment of the present application, a method for simulating an emergency scenario is provided, comprising: 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, wherein the target emergency scenario is an emergency scenario set based on a target emergency plan and corresponding to a specified fault of a specified business of an organization entity, and the target emergency plan is used to indicate the execution mode, participating objects, and emergency process of the target emergency scenario; according to the participating objects indicated by the target emergency plan, extracting a group of participating objects from a group of preset objects of the organization entity, wherein the group of participating objects includes a first participating object that triggers the business fault of the specified business and a second participating object that handles the specified fault; when the execution mode of the target emergency scenario is actual execution and all of the group of participating objects confirm participating in the target emergency plan, sending first indication information to the first participating object to instruct the first participating object to use a fault injection tool to inject the specified fault into the specified business; monitoring a response operation performed by the second participating object in response to the specified fault to obtain 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 an embodiment of the present application, a simulation device for an emergency scenario is also provided, including: a determination unit for determining, when a target emergency scenario is triggered, an execution mode of the target emergency scenario according to a target emergency plan corresponding to the target emergency scenario, wherein the target emergency scenario is an emergency scenario corresponding to a specified fault of a specified business of an institutional entity and is set based on a target emergency plan, and the target emergency plan is used to indicate the execution mode, participating objects and emergency process of the target emergency scenario; an extraction unit for 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, wherein the group of participating objects includes the objects that trigger the indicated emergency plan. a first participating object for a business fault of a specified business and a second participating object for processing the specified fault; a first sending unit, used to send a first indication message to the first participating object when the execution mode of the target emergency scenario is actual execution and the group of participating objects all confirm to participate in the target emergency plan, so as to instruct the first participating object to use a fault injection tool to inject the specified fault into the specified business; a first execution unit, used to monitor the response operation performed by the second participating object in response to the specified fault, 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 another aspect of the embodiments of the present application, a computer-readable storage medium is provided, in which a computer program is stored, wherein the computer program is configured to execute the steps of any of the above method embodiments when run.
[0008] According to another aspect of the embodiments of the present application, a computer program product or computer program is provided, the computer program product or computer program including 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 executes the computer instructions, causing the computer device to perform the steps of any of the above-described method embodiments.
[0009] According to another aspect of the embodiments of the present application, an electronic device is provided, including a memory and a processor, wherein the memory stores a computer program, and the processor is configured to execute the steps of any of the above method embodiments through the computer program.
[0010] Through the present application, when the 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, wherein the target emergency scenario is an emergency scenario set 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; 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, wherein a group of participating objects includes a first participating object that triggers the business fault of the specified business and a second participating object that handles the specified fault, so as to ensure the organization and coordination of the emergency response; when the execution method of the target emergency scenario is actual When the target emergency plan is executed and a group of participating objects all 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 use a fault injection tool to inject a specified fault into the specified business and simulate a fault situation in the system; the response operation performed by the second participating object in response to the specified fault is monitored to obtain the 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 execution result of the target emergency plan to achieve real-time feedback and continuous optimization. Therefore, the problem of low accuracy and reliability of the simulation method of the emergency scenario in the related technology can be solved, the simulation process of the emergency scenario is optimized, and the accuracy and reliability of the simulation method of the emergency scenario is improved. BRIEF DESCRIPTION OF THE DRAWINGS
[0011] Figure 1 This is a schematic diagram of an application scenario of a simulation method for an emergency scenario according to an embodiment of the present application.
[0012] Figure 2 It is a flowchart of an optional emergency scenario simulation method according to an embodiment of the present application.
[0013] Figure 3 This is a schematic diagram of an optional method for simulating an emergency scenario according to an embodiment of the present application.
[0014] Figure 4 This is a structural block diagram of an optional emergency scenario simulation device according to an embodiment of the present application.
[0015] Figure 5 This is a block diagram of a computer system structure of an optional electronic device according to an embodiment of the present application. DETAILED DESCRIPTION
[0016] In order to enable those skilled in the art to better understand the present invention, the following will clearly and completely describe the technical solutions in the embodiments of the present invention in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments in the present invention, all other embodiments obtained by ordinary technicians in this field without making creative efforts should fall within the scope of protection of this application.
[0017] It should be noted that the terms "first", "second", etc. in the specification and claims of the present application and the above-mentioned drawings are used to distinguish similar objects and are not necessarily used to describe a specific order or sequential order. It should be understood that the data used in this way can be interchangeable where appropriate, so that the embodiments of the present application described herein can be implemented in a sequence other than those illustrated or described herein. In addition, the terms "including" and "having" and any of their variations are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device comprising a series of steps or units is not necessarily limited to those steps or units clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.
[0018] According to one aspect of the embodiment of the present application, a simulation method for an emergency scenario is provided. Optionally, in this embodiment, the simulation method for an emergency scenario can be applied to, but is not limited to, Figure 1 The hardware environment shown includes a terminal device 102 and a server 104. The server 104 can be connected to the terminal device 102 via a network and can be used to provide services (e.g., application services, etc.) for the terminal device 102 or a client installed on the terminal device 102. A database can be set on the server 104 or independently of the server 104 to provide data storage services for the server 104.
[0019] The aforementioned network may include, but is not limited to, at least one of the following: a wired network and a wireless network. The aforementioned wired network may include, but is not limited to, at least one of the following: a wide area network, a metropolitan area network, or a local area network. The aforementioned wireless network may include, but is not limited to, at least one of the following: Wi-Fi (Wireless Fidelity) and Bluetooth. The terminal device 102 may be, but is not limited to, a personal computer (PC), a mobile phone, a tablet computer, etc. The server 104 may be, but is not limited to, a cloud server, a server cluster, or other server types.
[0020] The emergency scenario simulation method of the embodiment of the present 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. The emergency scenario simulation method of the embodiment of the present application can also be executed by the client installed on the terminal device 102.
[0021] Taking the simulation method of the emergency scenario in this embodiment executed by the terminal device 102 as an example, Figure 2 FIG. 1 is a flow chart of an optional method for simulating an emergency scenario according to an embodiment of the present application, such as Figure 2 As shown, the process of the method may include the following steps:
[0022] Step S202: When a target emergency scenario is triggered, determining an execution method for the target emergency scenario based on a target emergency plan corresponding to the target emergency scenario, wherein the target emergency scenario is an emergency scenario corresponding to a specified fault of a specified business of an organizational entity, set based on a target emergency plan, and the target emergency plan is used to indicate the execution method, participants, and emergency process of the target emergency scenario;
[0023] Step S204: extracting a group of participating objects from a group of preset objects of the organization entity according to the participating objects indicated by the target emergency plan, wherein the group of participating objects includes a first participating object that triggers the business failure of the designated business and a second participating object that handles the designated failure;
[0024] Step S206: When the execution mode of the target emergency scenario is actual execution and all the participants in the group confirm to participate in the target emergency plan, first instruction information is sent to the first participant to instruct the first participant to use the fault injection tool to inject a specified fault into the specified service;
[0025] Step S208: monitor the response operation performed by the second participant in response to the 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.
[0026] The emergency scenario simulation method in this embodiment can be applied to the field of data processing technology, and can be applied to scenarios of simulating emergency plans for sudden computer failures.
[0027] In order to improve the effectiveness of response measures to sudden computer failures caused by various reasons such as natural disasters, human errors or technical failures, and to improve business continuity, there are various emergency scenario simulation methods to optimize relevant emergency measures. Here, business continuity refers to the ability to continuously or quickly restore its key business operations when facing sudden or gradual threats (such as natural disasters, cyber attacks, supply chain disruptions, etc.). Its core goal is to ensure that core functions are maintained during a crisis and to reduce interruption time. Business continuity generally covers a collection of technologies and operating methods, aiming to ensure that information flow can always maintain continuous business operations.
[0028] With technological advancements, various solutions have emerged to guide the construction of business continuity management systems to standardize disaster recovery construction and ensure the effectiveness and reliability of technical solutions. However, in the specific practice of improving business continuity, there are many difficulties. Specifically, in a complex IT (Information Technology) environment, a single failure often triggers a chain reaction. Due to delays in resource allocation and the complexity of the technical recovery process, it is difficult to quickly locate and solve the problem. Therefore, it is necessary to prepare emergency plans in advance so that emergency measures can be taken quickly when the failure actually occurs to avoid serious impact from business interruption. However, due to the imperfection of the plan, insufficient drills and low proficiency of operators, misoperation 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-target scenarios, there is a certain amount of information delay. This information asymmetry may cause the fault to worsen.
[0029] It can be seen that the simulation methods of emergency scenarios in related technologies have problems with low accuracy and reliability. It is difficult to obtain reliable emergency plan rehearsal results, and it is also difficult to further optimize the emergency plan on this basis to reduce the impact of business interruptions when actual failures occur.
[0030] In order to at least partially solve the above technical problems, in this embodiment, when the 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, wherein the target emergency scenario is an emergency scenario set 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; 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, wherein the group of participating objects includes a first participating object that triggers the business fault of the specified business and a second participating object that handles the specified fault, so as to ensure Ensure the organization and coordination of emergency response; when the execution mode of the target emergency scenario is actual execution and a group of participants have confirmed their participation in the target emergency plan, send a first instruction message to the first participant to instruct the first participant to use a fault injection tool to inject a specified fault into the specified business and simulate a fault situation in the system; monitor the response operation performed by the second participant in response to the specified fault 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 of the emergency scenario in the related art can be solved.
[0031] In this embodiment, when the 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, wherein the target emergency scenario is an emergency scenario set based on the target emergency plan and corresponding to the specified fault 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 fault types. The triggering of the target emergency scenario can be manual or automatic. For example, when a predefined fault indicator (such as server crash, network interruption, data loss, etc.) is monitored to exceed the threshold, the corresponding target emergency scenario can be triggered to ensure that when a fault occurs, the organization can respond in time without waiting for manual discovery and confirmation of the fault, thereby 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, participants, emergency process, and 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 may be pre-stored in the emergency plan center.
[0034] Optionally, there are different execution methods for different emergency plans. 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 may include simulated execution and actual execution. For simulated execution, the effectiveness of the emergency process can be simulated and tested in a simulated environment according to the settings of the target emergency plan. For actual execution, it can turn to fault handling and cooperate with the participating objects to actually perform fault injection recovery operations according to the pre-planned processes and resource allocation strategies.
[0035] Optionally, a group of participating objects can be extracted from a group of preset objects of the institutional entity according to the participating objects indicated by the target emergency plan, wherein the group of participating objects includes a first participating object that triggers a business failure of a specified business and a second participating object that handles the specified failure.
[0036] Optionally, the participating objects may be extracted randomly or in a specified manner, or may be obtained by matching and screening the historical data of each object in a set of preset objects based on characteristics such as the business failure type, severity, and impact range.
[0037] For example, based on the availability and status of personnel within the organizational entity, such as work status, suitable participants can be quickly extracted and tasks can be assigned to the participants, reducing response delays caused by information delays or improper personnel deployment.
[0038] Optionally, allocation may also be performed based on historical data. For example, an object in a group of preset objects that has participated in a simulation of an emergency scenario may be allocated as a different participating object from the last time.
[0039] Optionally, when the execution method of the target emergency scenario is actual execution and a group of participating objects all confirm 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 use a fault injection tool to inject a specified fault into the specified business for fault simulation, such as server fault simulation, network attack simulation, etc.
[0040] Correspondingly, the second participant can initiate an emergency response in unknown situations and conduct impact analysis, troubleshooting, and other operations to verify the actual effectiveness of the target emergency plan.
[0041] Optionally, after receiving a signal from a group of participating objects confirming 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 used only to instruct the first participating object to perform fault injection, or it can include information such as the fault type, the injection time point, etc., to ensure the accuracy and safety of the fault simulation process.
[0042] Optionally, the above-mentioned fault injection tool can be used to simulate software-level faults, including but not limited to code errors, data corruption, application crashes, etc., and can also be used to simulate hardware-level faults, including but not limited to disk damage, network interruptions, etc.
[0043] Optionally, the above-mentioned fault injection tool can provide fault parameter configuration options, allowing the first participant to customize the type and severity of the fault, such as setting the simulated data loss amount of the database, operating system error code, etc., so as to simulate a software failure 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, impact range, etc. of the fault, to cope with subsequent troubleshooting and subsequent analysis of emergency response.
[0045] Optionally, after the first participant successfully simulates a specified fault using a fault injection tool, the response operations performed by the second participant in response to the specified fault can be monitored to obtain a first execution result of the target emergency plan, which may include all operations performed by the second participant when attempting to repair or bypass the fault, such as system restart, data recovery, or automated disposal triggered by the emergency process.
[0046] Optionally, the first execution result may include each operation and a corresponding timestamp from the occurrence of the failure to the completion of the recovery. The response operations may be arranged according to the timeline in the first execution result.
[0047] Optionally, the various resources consumed during the response process can also be monitored to assess the cost-effectiveness of the emergency response.
[0048] In this embodiment, 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 can be generated. It can extract key information from the data monitored in the above monitoring process and the log information in the above emergency process, and generate a report according to a preset template to improve the timeliness and consistency of report generation.
[0049] Optionally, emergency response data from various sources can be collected and integrated, compared to the expected processes in the target emergency plan, and gaps and problem areas can be identified and flagged.
[0050] Optionally, after the simulation execution report is generated, it can be presented in a visual form. For example, it can be automatically converted into a chart, a flow chart, or a timeline, etc., so that the data is clear and easy to understand.
[0051] Alternatively, simulation drills for emergency scenarios within an organization can involve cross-departmental and cross-organizational collaboration to simulate complex emergency scenarios and test coordinated response mechanisms and information sharing capabilities. During the drills, computer simulation techniques (desktop exercises use flowcharts, computer simulations, and other techniques to simulate emergency scenarios), fault injection tools (simulation drills use technology to create sudden failure scenarios), and real-world deployments (real-world drills directly execute emergency response operations in a real system environment) can be employed to ensure the immediacy and authenticity of the drills.
[0052] Optionally, emergency scenarios can be simulated based on the "four no's" drill settings to improve the immediacy and authenticity of emergency responses and test the organization's rapid response and adaptability in unknown situations, namely, no advance notice (sudden launch of emergency response), no preset scenarios (simulating unknown failure scenarios), no reliance on scripts (testing handling capabilities), and no preset solutions (testing adaptive decision-making capabilities).
[0053] Optionally, the execution center can be pre-configured to cover the full life cycle management of the simulation process of the entire execution scenario, which may include the following: an execution plan, which is used to plan and manage various business continuity drill plans, including the plan name, execution time, execution location, participating departments, execution method of the emergency plan, execution scope and maintenance management of the status. The execution method of the emergency plan includes simulated execution and actual execution. The execution status of the emergency plan may include five states: not started, pending execution, in execution, completed, and canceled. The default state of a newly created execution plan is not started. When the execution plan is linked to the execution plan and is reviewed 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, and when the execution is canceled, the status is changed to canceled; the emergency plan can be linked to the execution plan upward and the scenario configuration downward. The drill plan supports internal approval and docking with external service process approval. After approval, it can enter the drill implementation stage. The execution plan can be customized by the user and combined with the corresponding execution plan and execution scenario. The emergency plan must at least include: the name of the emergency plan, execution plan, scenario name, execution time, estimated time, status, etc., among which the status includes submitted, pending approval, published, and rejected. The default status of a newly created execution process is submitted. If approval is selected, the status will be changed to pending approval. If approved, it will become published, and if approved, it will become rejected. It needs to be re-edited to initiate the approval process. The published execution plan will create a task in the execution implementation and enter the execution implementation stage; execution implementation is mainly used for process control of emergency scenario simulation, and can execute real switching commands to achieve the ultimate goal of the exercise. The switching process is visualized through multi-dimensional views, and unified data is used between different views to ensure data updates from the same source; execution report: automatically generate switching history records and reports. The execution history records visually display the execution status of each switching process and steps. The report can be automatically generated, and the content includes execution plan information, participant information, application system execution time, execution process execution status, etc.
[0054] According to the embodiments provided by the present application, when a target emergency scenario is triggered, an execution mode of the target emergency scenario is determined according to a target emergency plan corresponding to the target emergency scenario, wherein the target emergency scenario is an emergency scenario set based on a target emergency plan and corresponding to a specified fault of a specified business of an organizational entity, and the target emergency plan is used to indicate the execution mode, 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 set of preset objects of the organizational entity, wherein the group of participating objects includes a first participating object that triggers the business fault of the specified business and a second participating object that handles the specified fault; when the execution mode of the target emergency scenario is actual execution and the group of participating objects all confirm participating in the target emergency plan, first indication information is sent to the first participating object to instruct the first participating object to use a fault injection tool to inject a specified fault into the specified business; a response operation performed by the second participating object in response to the specified fault is monitored to obtain a 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. This can solve the problem of low accuracy and reliability of the simulation method of emergency scenarios in the related art, thereby improving the accuracy and reliability of the simulation method of emergency scenarios.
[0055] In an exemplary embodiment, after extracting a group of participants from a group of preset participants of an institutional entity according to the participants indicated by the target emergency plan, the method further includes:
[0056] When the target emergency scenario is executed in a simulated manner, in the virtual reality scenario, second instruction information is sent to the virtual body of the first participant to instruct the first participant to use a fault injection tool to inject a specified fault into the specified service;
[0057] Obtaining an operation execution result of a virtual body of a second participant in the virtual reality scene performing a preset response operation in response to a specified fault simulation, wherein the preset response operation is specified by a scenario simulation emergency script of a target emergency scenario and is a response operation that the second participant is expected to perform in response to the specified fault 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;
[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 aforementioned embodiment, the execution method of the target emergency scenario may include simulated execution and actual execution. When the execution method of the target emergency scenario is determined to be simulated execution, the system may send a second instruction message 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 business in a virtual environment. By simulating the fault in the VR environment, the effectiveness of the emergency response process and the emergency handling capabilities of the participating objects can be verified without interfering with the actual business.
[0060] Here, virtual reality technology refers to a technology that uses computer technology to simulate a three-dimensional virtual environment and realize multi-sensory immersive interaction for users. Based on this, in emergency response training, a highly simulated business environment can be constructed to simulate various possible fault conditions.
[0061] In a 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. The virtual body of the second participant can receive the corresponding response instructions and start to perform emergency operations to improve the execution efficiency of the emergency plan.
[0062] Obtain an operation execution result of a virtual body of a second participating object in a virtual reality scene performing a preset response operation in response to a specified fault simulation, wherein the preset response operation is specified by a scenario simulation emergency script of a target emergency scenario, and is a response operation that the second participating object is expected to perform in response to the specified fault 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. Here, the scenario simulation emergency script can be a virtual drill plan pre-set according to business continuity goals and emergency plans, which may include a fault scenario description and an expected response process.
[0063] Optionally, by simulating an emergency scenario in a virtual reality scenario, the response of the virtual body of the second participating object to a specified fault can be monitored in real time through a data acquisition module. The data acquisition module may include built-in sensors and data analysis algorithms, so as to track every operation of the participating object, including system operations, decision-making processes, and communication behaviors.
[0064] In this embodiment, the operation execution results can also be displayed to the first target object to make the rehearsal process transparent, so that the first target object can intuitively see the system's recovery efficiency, personnel's response capabilities and the execution of emergency processes under the simulated emergency scenario, so as to evaluate the effectiveness of the current emergency plan. The first target object here can be a pre-set object with the authority to evaluate and adjust the emergency plan, or it can be randomly selected, and this is not limited in this embodiment.
[0065] Optionally, pre-set data analysis and machine learning algorithms can be used to identify inefficiencies and potential loopholes in plans and processes and present them to the first target audience.
[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. This adjustment can be carried out in real time or after the process of the target emergency plan is completed. Through continuous adjustment and optimization, the probability of risk scenarios that can be covered by the emergency plan can be increased, and the emergency response capability of the institutional entity can be gradually improved to achieve higher business continuity.
[0067] Through this embodiment, by completing the simulation of the emergency scenario in a 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 method further includes:
[0069] In response to a contingency plan configuration request from the second target object, performing permission verification on the second target object, wherein the contingency plan configuration request is used to request configuration of an emergency plan according to specified configuration information;
[0070] If the second target object has the emergency plan editing authority, generate a target emergency plan for approval according to the specified configuration information;
[0071] Sending a plan approval request corresponding to the target emergency plan to be approved to a third target object, wherein the third target object is an object with emergency plan approval authority;
[0072] Upon receiving an approval indication message returned by the third target object in response to the plan approval request, encrypting the target emergency plan using a preset encryption algorithm, performing keyword recognition on the target emergency plan, and obtaining a search keyword for the target emergency plan, wherein the search keyword for the target emergency plan is used to search for the target emergency plan;
[0073] The target emergency plan and the search keywords of the target emergency plan are stored in a plan library, wherein the plan library is a database for storing emergency plans.
[0074] Optionally, a plan center may be pre-set to store emergency plans.
[0075] Optionally, the above-mentioned plan center can be set to allow multiple people to write structured plans online, including inserting elements, organizational structure, and visualizing disposal scenarios. By configuring the plan emergency organization, the disposal process scenarios can be associated with the event type and level respectively.
[0076] Optionally, the plan center can be composed of three functions: plan editing, plan library, and historical plans.
[0077] Here, plan editing can be used to realize the electronic management of emergency plans, and combined with plan classification to realize the addition, online editing, release, review, revocation and deactivation of plans, and combined with user authority management to realize the control of plan-related permissions.
[0078] Optionally, in response to a contingency plan configuration request from the second target object, a permissions check can be performed on the second target object. The contingency plan configuration request is used to request that the emergency plan be configured according to specified configuration information. That is, through identity authentication and authorization mechanisms, when the second target object initiates a contingency plan configuration request, the requestor's permissions can first be verified. This permissions check is based on user roles and the permission management module, ensuring that only personnel with appropriate permissions can edit and configure the contingency plan, thereby improving the integrity and accuracy of the contingency 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 plan can be templated or highly customized.
[0080] Optionally, a plan approval request may be sent to a third target object (a manager with plan approval authority) to ensure the quality and compliance of the plan.
[0081] Optionally, when reviewing emergency plan information, sensitive information can be encrypted using a special encryption algorithm. Specifically, upon receiving approval from the third target object, the target emergency plan can be encrypted using a preset encryption algorithm to protect sensitive information within the plan from unauthorized access. Furthermore, user permissions themselves can also be encrypted using a preset encryption algorithm to prevent permission leaks.
[0082] Optionally, for different emergency plans, different encryption algorithms can be automatically selected based on data security requirements and performance considerations. The encrypted plans are stored in the plan library, and their contents can only be read after decryption.
[0083] Optionally, natural language processing (NLP) technology can be used to automatically scan the plan text and extract keywords related to the plan theme, such as "data recovery", "network security", "emergency evacuation", "communication protocol", etc. The extracted keywords will be stored and associated with the plan for subsequent retrieval and indexing. Therefore, through keywords, plans for specific topics or scenarios can be quickly located, improving the efficiency of the use of the plan library and the timeliness and accuracy of emergency response.
[0084] Optionally, the plan can be downloaded from the plan library to the local computer for review through the plan download function.
[0085] Optionally, the above-mentioned plan center may further include a historical plan module for managing abandoned plan documents and for viewing the plan history.
[0086] Through this embodiment, by generating a target emergency plan according to the specified configuration information based on the authority and storing the plan and keywords in the plan library, the flexibility of using the target emergency plan and the efficiency of calling the target emergency plan can be improved.
[0087] In an exemplary embodiment, generating a target emergency plan for approval 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 rollback policy corresponding to each execution step in the set of execution steps, wherein the rollback policy corresponding to each execution step is used to indicate a rollback condition for each execution step and an expected rollback result for each execution step;
[0089] Performing a second extraction operation on the specified configuration information to obtain a phase tag corresponding to each execution step, wherein the phase tag corresponding to each execution step is used to indicate the business phase to which each execution step belongs in the specified business;
[0090] According to a set of execution steps, the fallback strategy corresponding to each execution step and the stage mark corresponding to each execution step, a target emergency plan for approval is generated.
[0091] In this embodiment, a scenario center can be pre-set to arrange scenarios through visualization capabilities, providing usable scenarios for plans, emergency response, disaster switching, and drills, which can include scenario configuration, stage library, process library, and step library.
[0092] Optionally, the step library can provide management of emergency plan step information, define timeout periods, associate data center applications, and implement switching and rollback capabilities by configuring step rollback information. This rollback can include "atomic steps" of automated execution, that is, after the simulation implementation of the emergency scenario begins, the atomic steps are executed in sequence according to the choreographed process sequence (if the execution is successful, the execution continues; if the step fails, the overall orchestration stops). The tasks associated with the automation platform drive the execution of automation commands by calling the API (Application Programming Interface) interface of the automation platform; it can also include a rollback mode in which the process can be skipped or rolled back before the response step confirmation operation can be continued.
[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, wherein 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, the NLP model can be used to extract the execution steps and related fallback conditions through semantic analysis and entity recognition. For example, NLP can recognize the instruction "turn off service A and then turn on service B", and can also capture fallback strategies such as "if service B cannot be started, 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 to identify specific parameters, operation sequences, and conditional branches, and extract execution steps and fallback strategies.
[0095] Optionally, the above scenario center may also include a process library for providing management of process information, which can add, edit, view, delete, verify, clone, import, and export process information through visual orchestration, and can select steps in the step library through a visual page; and the above scenario center may also include a stage library for marking the simulation process of the emergency scenario and the business execution stage to which the steps belong, providing management of stage information in the emergency scenario, and can add, view, edit, enable, disable, and delete stage information in a visual manner.
[0096] Here, a second extraction operation can be performed on the specified configuration information to obtain a stage mark corresponding to each execution step, wherein 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. It can be achieved by deeply parsing the specified configuration information to identify the business stage related to each execution step. For example, through regular expression matching technology, keywords or phrases marking business stages can be extracted from the document, such as "preparation stage", "execution stage", "recovery stage", etc.
[0097] In the case where there are no keywords or phrases that directly mark the business stage in the specified configuration information, natural language processing (NLP) technology can be used to perform semantic understanding and data analysis based on the context and context of the specified configuration information. By building a knowledge graph of business continuity, information such as operation steps, resource dependencies, time series and business stages can be associated, so that the position and role of each execution step in the overall business process can be analyzed, and the correct stage markers can be assigned.
[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 specified configuration information to extract the execution steps, the fallback strategy of the execution steps and the stage mark 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 participants of an 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 of the group of participating objects according to their object roles;
[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 have confirmed 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 of the 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 established steps based on the switching plan.
[0107] Specifically, the operation view can mainly display including but not limited to the following contents: operation steps, including data backup, system upgrade, function verification, etc.; object allocation, clarifying the object corresponding to each operation step; time nodes, that is, the time nodes corresponding to each step; emergency measures, including detailed emergency measures and plans for possible abnormal situations.
[0108] For example, the command view can focus on overall command and coordination to ensure communication and collaboration between various objects, as well as the overall progress and quality control of the simulation process of emergency scenarios. It can mainly display but not be limited to the following contents: object coordination, which is used to regulate information exchange and collaboration between various objects to avoid information islands or communication barriers; progress control, which is used to track the progress of the simulation process of the entire emergency scenario in real time; quality control, which is used to monitor and evaluate each link in the simulation process of the emergency scenario; decision transmission: when an abnormal situation occurs during the simulation process of the emergency scenario, the corresponding solution can be quickly sent down to ensure that the switching process can proceed smoothly.
[0109] For example, the management view can focus on overall planning and decision-making, be responsible for determining the simulation goals, directions and priorities of this emergency scenario, and provide necessary resources and support for the process. It can mainly display but not be limited to the following contents: goal setting, that is, the goals and expected results 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, real-time control and coordination within the command view can be ensured through a two-person review mechanism to ensure operational safety. Real-time notifications such as personnel calls and disaster declarations can be directly sent through the command view. Multi-screen collaboration allows for real-time, synchronized display of process execution progress in the scenario view. Upon completion of a step in the operation view, the process status panel in the management view is automatically updated. Visualized control operations, including one-click start, pause, resume, and termination, can be used to send notifications.
[0111] Optionally, the above-mentioned different object views can be visualized and information transmitted based on the same data source. For example, based on a real-time communication protocol, two-way real-time information exchange between the server and the client can be realized, thereby ensuring that the display interface of the participating objects can immediately reflect the latest status changes at any time when the target emergency plan is executed.
[0112] Optionally, by establishing a data push mechanism, the updated view information can be actively pushed to the client of each participating object. Here, an event-driven architecture can be built, in which changes in the execution progress of the emergency plan can be monitored. Once a change occurs, updates are immediately pushed to all subscribers.
[0113] Optionally, to ensure data consistency, a preset data synchronization verification mechanism, such as a consensus algorithm, can be used to check whether the data updates in the object view corresponding to each participating object are consistent.
[0114] Optionally, you can also automatically track the data change history by adding a version number to each data item, and when there is a data update conflict, automatically select the latest version or merge the changes based on the version number and preset conflict resolution rules to correct data update inconsistencies.
[0115] Optionally, data integrity can be verified using a checksum, allowing for quick detection of errors or tampering in data transmission. Once an inconsistency is detected, a request can be made to resend the data or restore it from the most recent consistent state to ensure data accuracy. Alternatively, based on an event log that records detailed information about all data changes, including the time, person who made the change, and what was changed, in the event of inconsistent data updates, the data change process can be replayed by replaying the event log and correcting it to the last consistent state.
[0116] Based on this, if there is an object view with inconsistent data update among the object views corresponding to each participating object, the object view with inconsistent data update can be corrected.
[0117] For example, Figure 3 As shown, in this embodiment, visual command can be achieved through operation views, command views and management views. In addition, systematic management can be achieved through pre-set execution centers, plan centers and scenario centers. The execution centers, plan centers and scenario centers may include contents similar to those in the aforementioned embodiments, thereby enabling normalized drills.
[0118] Through this embodiment, by assigning different object views to different objects and performing synchronous data updates, the real-time nature of information transmission and data consistency can be improved, thereby improving the accuracy and reliability of the emergency scenario simulation method.
[0119] In an exemplary embodiment, the emergency process indicated by the target emergency plan includes a set of execution steps;
[0120] Generate a simulation execution report for the target emergency scenario based on the emergency process and first execution results indicated by the target emergency plan, including:
[0121] Parsing the first execution result according to a set of execution steps and a set of execution parameters to obtain parameter values of a set of execution parameters corresponding to each execution step in the set of execution steps, wherein the set of execution parameters includes at least one of the following: a start execution time, an end execution time, and a process description parameter for describing an execution process of the corresponding execution step;
[0122] The target emergency plan is evaluated according to the parameter values of a set of execution parameters corresponding to each execution step to obtain a second execution result of the target emergency plan, and a simulation execution report is generated based on the second execution result, wherein the simulation 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 parameter values of a set of execution parameters corresponding to each execution step in a set of execution steps. For example, the start execution time, end execution time and key parameters in 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 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 above-mentioned process description parameters for describing the execution process of the corresponding execution steps may include: plan effectiveness, which is used to evaluate the operability, clarity and coverage of the emergency plan; organizational structure and responsibilities, which is used to review the rationality of the emergency management organizational structure and the distribution of responsibilities; resource allocation, which is used to evaluate the adequacy and availability of resources such as personnel, tools, and information; training and drills, which are used to check the effectiveness of training plans and the quality of drill activities; information communication, which is used to evaluate the effectiveness of information transmission mechanisms in emergency situations; compliance, which is used to ensure compliance with relevant requirements; continuous improvement mechanism, which is used to establish feedback and improvement mechanisms to enhance emergency response capabilities, and to determine whether problem analysis and goal setting can be carried out based on the evaluation results to continuously evaluate and improve.
[0126] Optionally, the target emergency plan can be evaluated based on the parameter values of a set of execution parameters corresponding to each execution step to obtain a second execution result of the target emergency plan, and a simulation execution report can be generated based on the second execution result, wherein the simulation execution report is used to record the second execution result, and the simulation execution report can be generated by inputting corresponding parameter values according to a pre-stored template.
[0127] Through this embodiment, by automatically analyzing the execution process and results and generating a simulation report, the accuracy of the analysis and the timeliness of the report can be improved, thereby optimizing the emergency process and improving business continuity.
[0128] In an exemplary embodiment, after 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, the method further includes:
[0129] When the simulation execution report indicates that there is an abnormal execution step with an execution exception in a set of execution steps, the target emergency plan is updated according to the simulation execution report, and the difference information between the updated target emergency plan and the target emergency plan before the update is used to update the target emergency plan stored in the plan library.
[0130] Optionally, in response to an abnormal indication, it is possible to determine that there are abnormal execution steps with execution abnormalities, or it is possible to identify abnormal execution steps by processing data in a simulated execution report in real time based on a big data analysis tool, that is, automatically identifying and marking steps in the execution process that deviate from the normal pattern.
[0131] In this embodiment, when the simulation execution report indicates that there is an abnormal execution step with an execution exception in a set of execution steps, the target emergency plan can be updated based on the simulation execution report. For example, the target emergency plan can be modified using the plan editor to add or adjust the processing strategy of the abnormal execution step.
[0132] Optionally, each modification of the plan can be recorded to form a version comparison before and after the update, which is conducive to 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 mode can be used to monitor the plan update event. Once the plan is modified, the plan library update process is immediately triggered.
[0134] Optionally, the differences between the plans before and after the update can be compared based on a difference comparison tool, and the modified parts can be automatically marked.
[0135] Optionally, for plans that are updated multiple times, changes from different versions can be integrated based on version merging tools to avoid version conflicts.
[0136] Through this embodiment, the efficiency and accuracy of emergency plan revision can be improved through abnormal detection and updating of the plan, thereby improving the flexibility and effectiveness of the plan when facing actual emergency scenarios.
[0137] It should be noted that for the aforementioned method embodiments, for the sake of simplicity, they are all expressed as a series of action combinations, but those skilled in the art should be aware that this application is not limited by the order of the actions described, because according to this application, certain steps can be performed in other orders or simultaneously. Secondly, those skilled in the art should also be aware that the embodiments described in the specification are all preferred embodiments, and the actions and modules involved are not necessarily required by this application.
[0138] Through the description of the above implementation methods, those skilled in the art can clearly understand that the method according to the above embodiment can be implemented by means of software plus the necessary general hardware platform, or of course by hardware, but in many cases the former is a better implementation method. Based on this understanding, the technical solution of the present application, 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, Read-Only Memory) / RAM (Random Access Memory, Random Access Memory), a magnetic disk, or an optical disk), and includes a number of instructions for enabling a terminal device (which can be a mobile phone, a computer, a server, or a network device, etc.) to execute the method described in each embodiment of the present application.
[0139] According to another aspect of the embodiments of the present application, a simulation device for an emergency scenario is also provided. The simulation device for the emergency scenario can be used to implement the simulation method for the emergency scenario provided in the above-mentioned embodiments. The description thereof will not be repeated here. As used below, the term "module" refers to 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, the implementation of hardware, or a combination of software and hardware, is also possible and contemplated.
[0140] Figure 4 This is a structural block diagram of an optional emergency scenario simulation device according to an embodiment of the present application, such as Figure 4 As shown in , the simulation device of the emergency scenario includes:
[0141] A determination unit 402 is configured to, when a target emergency scenario is triggered, determine an execution method for the target emergency scenario based on a target emergency plan corresponding to the target emergency scenario, wherein the target emergency scenario is an emergency scenario corresponding to a specified fault of a specified business of an organizational entity, which is set based on a target emergency plan, and the target emergency plan is used to indicate an execution method, participating objects, and emergency process for the target emergency scenario;
[0142] An extraction unit 404 is configured to extract a group of participating objects from a group of preset objects of the organization entity according to the participating objects indicated by the target emergency plan, wherein the group of participating objects includes a first participating object that triggers a business failure of a specified business and a second participating object that handles the specified failure;
[0143] A first sending unit 406 is configured to, when the execution mode of the target emergency scenario is actual execution and a group of participants have confirmed participating in the target emergency plan, send first instruction information to a first participant to instruct the first participant to use a fault injection tool to inject a specified fault into a specified service;
[0144] The first execution unit 408 is used to monitor the response operation performed by the second participating object in response to the 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-mentioned step S202, the extraction unit 404 in this embodiment can be used to execute the above-mentioned step S204, the first sending unit 406 in this embodiment can be used to execute the above-mentioned step S206, and the first execution unit 408 in this embodiment can be used to execute the above-mentioned step S208.
[0146] Through the embodiments provided by the present application, when a target emergency scenario is triggered, an execution mode of the target emergency scenario is determined according to a target emergency plan corresponding to the target emergency scenario, wherein the target emergency scenario is an emergency scenario corresponding to a specified fault of a specified business of an institutional entity and set based on a target emergency plan, and the target emergency plan is used to indicate the execution mode, 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, wherein the group of participating objects includes a first participating object that triggers the business fault of the specified business and a second participating object that handles the specified fault; in the target emergency scenario, When the scenario is executed in the actual execution mode and a group of participating objects confirm their participation in the target emergency plan, a first instruction message is sent to the first participating object to instruct the first participating object to use a fault injection tool to inject a specified fault into the specified business; the response operation performed by the second participating object in response to the specified fault is 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 solves the problem of low accuracy and reliability of the simulation method of the emergency scenario in the related technology, optimizes the simulation process of the emergency scenario, and improves the accuracy and reliability of the simulation method of the emergency scenario.
[0147] In an exemplary embodiment, the above-mentioned device also includes: a second sending unit, which is used 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, and when the execution mode of the target emergency scenario is simulation execution, send a second instruction information to the virtual body of the first participating object in the virtual reality scene to instruct the first participating object to use the fault injection tool to inject a specified fault into the specified business; an acquisition unit, which is used to obtain the operation execution result of the virtual body of the second participating object in the virtual reality scene in response to the specified fault simulation to perform a preset response operation, wherein the preset response operation is specified by the scenario simulation emergency script of the target emergency scenario and is the response operation expected to be performed by the second participating object 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, which is used to display the operation execution result to the first target object, and when the first plan adjustment message of the target object is obtained, adjust the target emergency plan according to the first plan adjustment message.
[0148] In an exemplary embodiment, the apparatus further includes: a verification unit configured to perform permission verification on the second target object in response to a plan configuration request of the second target object before determining the execution mode of the target emergency scenario according to the target emergency plan corresponding to the target emergency scenario, wherein the plan configuration request is used to request that the emergency plan be configured according to specified configuration information; a generation unit configured to generate a target emergency plan to be approved according to the specified configuration information if the second target object has emergency plan editing permission; a third sending unit configured to send a plan approval request corresponding to the target emergency plan to be approved to the third target object, wherein the third target object is an object with emergency plan approval permission; a third execution unit configured to encrypt the target emergency plan using a preset encryption algorithm upon receiving an approval approval indication message returned by the third target object in response to the plan approval request, and perform keyword recognition on the target emergency plan to obtain a retrieval keyword of the target emergency plan, wherein the retrieval keyword of the target emergency plan is used to search the target emergency plan; and a storage unit configured to store the target emergency plan and the retrieval keyword of the target emergency plan in a plan library, wherein the plan library is a database for storing emergency plans.
[0149] In an exemplary embodiment, a generation unit includes: a first execution module, used to perform a first extraction operation on 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, wherein 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; a second execution module, used to perform a second extraction operation on the specified configuration information to obtain a stage mark corresponding to each execution step, wherein 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; a generation module, used to generate a target emergency plan for approval according to a set of execution steps, the fallback strategy corresponding to each execution step and the stage mark corresponding to each execution step.
[0150] In an exemplary embodiment, the above-mentioned device also includes: an allocation unit, which is used 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, and when the execution mode of the target emergency scenario is actual execution and the group of participating objects all confirm to participate in the target emergency plan, assign a corresponding object view to each participating object in a group of participating objects according to the object role of the group of participating objects; a fourth execution unit, which is used 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; a fifth execution unit, which is used to check whether the data update in the object view corresponding to each participating object is consistent according to the preset data synchronization verification mechanism, and if there is an object view with inconsistent data update in the object view corresponding to each participating object, correct the object view with inconsistent data update.
[0151] In an exemplary embodiment, the emergency process indicated by the target emergency plan includes a set of execution steps; the first execution unit includes: a parsing module, which is used to parse the first execution result according to the set of execution steps and the set of execution parameters, and obtain parameter values of a set of execution parameters corresponding to each execution step in the set of execution steps, wherein 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; a third execution module, which is used to evaluate the target emergency plan according to the parameter values of the set of execution parameters corresponding to each execution step, obtain a second execution result of the target emergency plan, and generate a simulation execution report based on the second execution result, wherein the simulation execution report is used to record the second execution result.
[0152] In an exemplary embodiment, the above-mentioned device also includes: an updating unit, which is used to 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. When the simulation execution report indicates that there is an abnormal execution step with an execution abnormality in a set of execution steps, the target emergency plan is updated according to the simulation execution report, and the difference information between the updated target emergency plan and the target emergency plan before the update is used to update the target emergency plan stored in the plan library.
[0153] It should be noted that the above modules can be implemented through software or hardware. For the latter, it can be implemented in the following ways, but not limited to: the above modules are all located in the same processor; or the above modules are located in different processors in any combination.
[0154] According to another aspect of the embodiments of the present application, a computer-readable storage medium is provided. The computer-readable storage medium includes a stored program, wherein the program executes the steps of any of the above method embodiments when it is run.
[0155] In an exemplary embodiment, the computer-readable storage medium may include, but is not limited to, various media capable of storing computer programs, such as a USB flash drive, a ROM, a RAM, a mobile hard disk, a magnetic disk, or an optical disk.
[0156] According to another aspect of the embodiments of the present application, an electronic device is provided, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor is configured to execute the steps of any of the above-described method embodiments through the computer program. In an exemplary embodiment, the electronic device may further comprise a transmission device and an input / output device, wherein the transmission device is connected to the processor, and the input / output device is connected to the processor.
[0157] For specific examples in this embodiment, reference may be made to the examples described in the above embodiments and exemplary implementation modes, and this embodiment will not be described in detail here.
[0158] According to another aspect of an embodiment of the present application, a computer program product is also provided, which includes a computer program / instruction, which contains program code for executing the method shown in the flowchart. In such an embodiment, the computer program can be downloaded and installed from the network via the communication portion 509, and / or installed from the removable medium 511. When the computer program is executed by the central processing unit 501, the various functions provided by the embodiments of the present application are performed. The serial numbers of the above embodiments of the present application are for description only and do not represent the advantages or disadvantages of the embodiments.
[0159] Figure 5The following schematically shows a block diagram of a computer system structure of an electronic device for implementing an embodiment of the present application. Figure 5 As shown, computer system 500 includes a CPU (Central Processing Unit) 501, which can perform various appropriate actions and processes according to programs stored in ROM 502 or programs loaded from storage 508 into RAM 503. Random access memory 503 also stores various programs and data required for system operation. CPU 501, read-only memory 502, and random access memory 503 are connected to each other via bus 504. An I / O (Input / Output) interface 505 is also connected to bus 504.
[0160] The following components are connected to the I / O interface 505: an input section 506 including a keyboard, mouse, and the like; an output section 507 including devices such as a CRT (Cathode Ray Tube), an LCD (Liquid Crystal Display), and speakers; a storage section 508 including devices such as a hard disk; and a communication section 509 including a network interface card such as a local area network card or a modem. The communication section 509 performs communication processing via a network such as the Internet. A drive 510 is also connected to the I / O interface 505 as needed. Removable media 511, such as a magnetic disk, an optical disk, a magneto-optical disk, or a semiconductor memory, is installed in the drive 510 as needed, so that computer programs read from the removable media can be installed in the storage section 508 as needed.
[0161] In particular, according to an embodiment of the present application, the processes described in the various method flow charts can be implemented as computer software programs. For example, an embodiment of the present application includes a computer program product comprising a computer program carried on a computer-readable medium, the computer program containing program code for executing the methods shown in the flow charts. In such an embodiment, the computer program can be downloaded and installed from a network via the communication portion 509 and / or installed from a removable medium 511. When the computer program is executed by the central processing unit 501, the various functions defined in the system of the present application are performed.
[0162] It should be noted that Figure 5 The computer system 500 of the electronic device shown is only an example and should not bring any limitation to the functions and scope of use of the embodiments of the present application.
[0163] Obviously, those skilled in the art should understand that the modules or steps of the present application described above can be implemented using a general-purpose computing device, they can be concentrated on a single computing device, or distributed across a network composed of multiple computing devices, they can be implemented using program code executable by the computing device, and 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 performed in a different order than herein, or they can be fabricated into separate integrated circuit modules, or multiple modules or steps can be fabricated into a single integrated circuit module for implementation. Thus, the present application is not limited to any specific combination of hardware and software.
[0164] The above are only preferred embodiments of the present application and are not intended to limit the present application. For those skilled in the art, various modifications and variations of the present application are possible. Any modifications, equivalent substitutions, improvements, etc. made within the principles of the present application shall be included in the scope of protection of the present application.
Claims
1. A method for simulating an emergency scenario, characterized in that: include: When a target emergency scenario is triggered, determining the execution method of the target emergency scenario according to the target emergency plan corresponding to the target emergency scenario, wherein the target emergency scenario is an emergency scenario corresponding to a specified failure of a specified business of an organizational entity, which is set based on the target emergency plan, and the target emergency plan is used to indicate the execution method, participating objects, and emergency process of the target emergency scenario; Extracting a group of participants from a set of preset objects of the organization entity according to the participants indicated by the target emergency plan, including: matching and screening based on historical data of each preset object in the set of preset objects according to characteristics of the business fault type, severity, and impact scope, wherein the group of participants includes a first participant that triggers the business fault of the designated business and a second participant that handles the designated fault; When the execution mode of the target emergency scenario is actual execution and the group of participants all confirm participating in the target emergency plan, sending first instruction information to the first participant to instruct the first participant to use a fault injection tool to inject the specified fault into the specified service; monitoring a response operation performed by the second participant in response to the designated fault to obtain 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; The method further includes: 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, wherein 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; performing a second extraction operation on the specified configuration information to obtain a stage mark corresponding to each execution step, wherein 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; generating the target emergency plan for approval according to the set of execution steps, the fallback strategy corresponding to each execution step and the stage mark corresponding to each execution step.
2. The method according to claim 1, characterized in that After extracting a group of participants from a group of preset participants of the institutional entity according to the participants indicated by the target emergency plan, the method further includes: When the target emergency scenario is executed in a simulated manner, in the virtual reality scenario, second instruction information is sent to the virtual body of the first participant to instruct the first participant to use the fault injection tool to inject the specified fault into the specified service; Obtaining an operation execution result of a virtual body of the second participant in the virtual reality scene performing a preset response operation in response to the specified fault simulation, wherein 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 participant is expected to perform in response to the specified fault 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; The operation execution result is displayed to the first target object, and when a first plan adjustment message of the target object is obtained, the target emergency plan is adjusted according to the first plan adjustment message.
3. The method according to claim 1, characterized in that 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 contingency plan configuration request from a second target object, performing an authority check on the second target object, wherein the contingency plan configuration request is used to request that an emergency plan be configured according to the specified configuration information; If the second target object has emergency plan editing authority, generating the target emergency plan to be approved according to the specified configuration information; Sending a plan approval request corresponding to the target emergency plan to be approved to a third target object, wherein the third target object is an object with emergency plan approval authority; Upon receiving an approval indication message returned by the third target object in response to the plan approval request, encrypting the target emergency plan using a preset encryption algorithm, and performing keyword recognition on the target emergency plan to obtain a search keyword for the target emergency plan, wherein the search keyword for the target emergency plan is used to search for the target emergency plan; The target emergency plan and the search keywords of the target emergency plan are stored in a plan library, wherein the plan library is a database for storing emergency plans.
4. The method according to claim 1, wherein After extracting a group of participants from a group of preset participants of the institutional entity according to the participants indicated by the target emergency plan, the method further includes: When the execution mode of the target emergency scenario is actual execution and all the participants in the group of participants confirm participating in the target emergency plan, assigning a corresponding object view to each participant in the group of participants according to the object role of the participant; Displaying an object view corresponding to each participating object on a 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; 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.
5. The method according to claim 1, wherein The emergency process indicated by the target emergency plan includes a set of execution steps; The generating of 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 includes: Parsing the first execution result according to the set of execution steps and the set of execution parameters to obtain parameter values of the set of execution parameters corresponding to each execution step in the set of execution steps, wherein the set of execution parameters includes at least one of the following: a start execution time, an end execution time, and a process description parameter for describing an execution process of the corresponding execution step; The target emergency plan is evaluated 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 based on the second execution result, the simulation execution report is generated, wherein the simulation execution report is used to record the second execution result.
6. The method according to claim 5, characterized in that After 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, the method further includes: When the simulation execution report indicates that there is an abnormal execution step with an execution exception in the set of execution steps, the target emergency plan is updated according to the simulation execution report, and the target emergency plan stored in the plan library is updated using the difference information between the updated target emergency plan and the target emergency plan before the update.
7. A simulation device for emergency scenarios, characterized in that: include: 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, wherein the target emergency scenario is an emergency scenario corresponding to a specified fault of a specified business of an organizational entity and is set based on a target emergency plan, and the target emergency plan is used to indicate an execution mode, participating objects, and 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, including: matching and screening based on historical data of each preset object in the group of preset objects according to characteristics of the business fault type, severity, and impact scope, wherein the group of participating objects includes a first participating object that triggers the business fault of the specified business and a second participating object that handles the specified fault; A first sending unit is configured to, when the execution mode of the target emergency scenario is actual execution and the group of participants all confirm participating in the target emergency plan, send first instruction information to the first participant to instruct the first participant to use a fault injection tool to inject the specified fault into the specified service; a monitoring unit, configured to monitor a response operation performed by the second participant in response to the designated fault, 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; In which, the device also includes: a first execution module, used to 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, wherein 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; a second execution module, used to perform a second extraction operation on the specified configuration information, to obtain a stage mark corresponding to each execution step, wherein 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; a generation module, used to generate the target emergency plan for approval according to the set of execution steps, the fallback strategy corresponding to each execution step and the stage mark corresponding to each execution step.
8. A computer-readable storage medium, characterized in that The computer-readable storage medium stores a computer program, wherein the computer program implements the steps of the method according to any one of claims 1 to 6 when executed by a processor.
9. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein: When the processor executes the computer program, the steps of the method according to any one of claims 1 to 6 are implemented.
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
Fault processing method and device for micro-service application, electronic equipment and storage medium
CN118132313A
Emergency drilling method based on augmented reality technology
CN118244938A
Emergency plan drilling platform, method, device, equipment and storage medium
CN119578687A