System drill report determination method and device, electronic equipment and storage medium
By automatically obtaining system drill operation data and using prediction models to judge drill conclusions, the problem of heavy data acquisition and manual dependence on conclusion judgment in the existing technology is solved, and the efficiency of system drills and the reliability of reporting is improved.
Patent Information
- Application Number
- CN202411720232.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-11-27
- Publication Date
- 2025-03-21
AI Technical Summary
In existing system drills, the data obtained for the drill run is heavy and error-prone, and the judgment of drill conclusions is heavily dependent on manual experience, resulting in inefficiency and poor reliability.
Use an automated web interaction tool to obtain drill operation data from the drill platform, and use a pre-trained drill conclusion prediction model to automatically judge the drill conclusion, thereby generating and uploading the system drill report.
It improves the overall efficiency of system drill activities and the reliability of drill reports, reduces manual intervention, and improves the efficiency of data acquisition and the accuracy of conclusion judgment.
Smart Images

Figure CN119669013A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of data processing technology, and in particular to a method, device, electronic device and storage medium for determining a system drill report. Background Art
[0002] As an important means of verifying the high availability of the system, system drills play a vital role in identifying and fixing vulnerabilities, improving emergency response capabilities, and ensuring business continuity. Therefore, data center companies inevitably need to conduct system drills frequently in their daily operations. For example, when a system is put into production, there will be the first drill verification; in order to ensure safe and stable operation, regular drills will be conducted at fixed times every year. For these system drill activities, drill conclusions and drill reports need to be formed to provide a data basis for subsequent system rectification. Among them, the drill conclusion is to analyze the obtained drill data to determine whether the system drill has an impact. The drill conclusion is crucial to judging whether the drill is successfully implemented and is an important indicator of the success of the drill; the drill report needs to classify the drill operation data and drill conclusions and enter them into the platform.
[0003] At present, it is usually necessary to manually transcribe the operating data during the system drill, analyze the data, obtain a general drill conclusion, and then obtain a drill report, and then manually upload the drill report to the designated platform. However, this transcription work is not only arduous and error-prone, but also highly repetitive; in addition, the judgment of the drill conclusion is heavily dependent on manual experience, and the accuracy is difficult to guarantee, which leads to low efficiency and poor reliability of the drill work. Summary of the invention
[0004] The present invention provides a system drill report determination method, device, electronic equipment and storage medium to improve the overall efficiency of system drill activities and the reliability of drill reports.
[0005] In a first aspect, an embodiment of the present invention provides a method for determining a system drill report, the method comprising:
[0006] When the target system completes the current drill task, the drill operation data corresponding to the current drill task is obtained from the drill platform based on the automated webpage interaction tool;
[0007] Based on the drill operation data and a pre-trained drill conclusion prediction model, obtaining drill conclusion information corresponding to the current drill task;
[0008] Based on the drill operation data and the drill conclusion information, a drill report file corresponding to the current drill task is determined, and the drill report file is uploaded to the drill platform.
[0009] In a second aspect, an embodiment of the present invention further provides a system exercise report determination device, the device comprising:
[0010] A drill data acquisition module, used to acquire the drill operation data corresponding to the current drill task from the drill platform based on the automated webpage interaction tool when the target system completes the current drill task;
[0011] A drill conclusion determination module, used to obtain drill conclusion information corresponding to the current drill task based on the drill operation data and a pre-trained drill conclusion prediction model;
[0012] The drill report determination module is used to determine the drill report file corresponding to the current drill task based on the drill operation data and the drill conclusion information, and upload the drill report file to the drill platform.
[0013] In a third aspect, an embodiment of the present invention further provides an electronic device, the electronic device comprising:
[0014] one or more processors;
[0015] a storage device for storing one or more programs,
[0016] When one or more programs are executed by one or more processors, the one or more processors implement a system drill report determination method as described in any one of the embodiments of the present invention.
[0017] In a fourth aspect, an embodiment of the present invention further provides a storage medium comprising computer executable instructions, which, when executed by a computer processor, are used to execute a system drill report determination method as described in any one of the embodiments of the present invention.
[0018] The technical solution of the embodiment of the present invention, when the target system completes the current drill task, obtains the drill operation data corresponding to the current drill task from the drill platform based on the automated web page interactive tool, and then obtains the drill conclusion information corresponding to the current drill task based on the drill operation data and the pre-trained drill conclusion prediction model, thereby determining the drill report file corresponding to the current drill task based on the drill operation data and the drill conclusion information, and uploading the drill report file to the drill platform. The technical solution of this embodiment, on the one hand, automatically obtains the drill operation data through the automated web page interactive tool, thereby improving the efficiency of obtaining the drill operation data, and on the other hand, processes the drill operation data through the drill conclusion prediction model to obtain the drill conclusion information, thereby avoiding the problem of poor accuracy and low efficiency of the drill conclusion caused by manual judgment, thereby improving the overall efficiency of the system drill and the reliability of the drill report. BRIEF DESCRIPTION OF THE DRAWINGS
[0019] In order to more clearly illustrate the technical solutions of the exemplary embodiments of the present invention, the following briefly introduces the drawings required to describe the embodiments. Obviously, the drawings introduced are only drawings of a part of the embodiments to be described in the present invention, rather than all the drawings. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.
[0020] Figure 1 A flowchart of a method for determining a system drill report provided by an embodiment of the present invention;
[0021] Figure 2 A flowchart of another method for determining a system drill report provided by an embodiment of the present invention;
[0022] Figure 3 A schematic diagram of the structure of a system drill report determination device provided by an embodiment of the present invention;
[0023] Figure 4 The present invention is a schematic diagram of the structure of an electronic device provided by an embodiment of the present invention. DETAILED DESCRIPTION
[0024] The present invention will be further described in detail below in conjunction with the accompanying drawings and embodiments. It is to be understood that the specific embodiments described herein are only used to explain the present invention, rather than to limit the present invention. It should also be noted that, for ease of description, only parts related to the present invention, rather than all structures, are shown in the accompanying drawings.
[0025] Before introducing the embodiments of the present invention, the application scenarios of the embodiments of the present invention may be described first. This embodiment may be applicable to scenarios in which, after the system completes the drill task, a system drill report is generated and uploaded to a designated storage location. Specifically, system drills, as an important means of verifying the high availability of the system, play a vital role in identifying and repairing vulnerabilities, improving emergency response capabilities, and ensuring business continuity. The technical solution provided by the embodiments of the present invention aims to automatically obtain system drill operation data, determine the drill conclusions based on the drill operation data, and form a drill report, thereby improving the efficiency and reliability of generating drill conclusions and drill reports.
[0026] Embodiment 1
[0027] Figure 1 A flow chart of a method for determining a system drill report provided in an embodiment of the present invention. This embodiment is applicable to a scenario in which, after the system completes a drill task, a system drill report is generated and uploaded to a designated storage location. The method can be executed by a system drill report determination device, which can be implemented in the form of software and / or hardware. The hardware can be an electronic device, such as a mobile terminal, a PC, or a server.
[0028] like Figure 1 As shown, the system exercise report determination method includes:
[0029] S110. When the target system completes the current drill task, the drill operation data corresponding to the current drill task is obtained from the drill platform based on the automated webpage interactive tool.
[0030] Among them, the drill platform is a virtual operating environment or application used to simulate various computer network emergencies and emergency responses. The system can be understood as a service node used to perform specific business functions. The target system is one or more systems managed by the drill platform. For the system, in order to identify and repair vulnerabilities, improve emergency response capabilities and ensure business continuity, various drill tasks can be designed for it. For example, disaster recovery drill tasks, emergency drill tasks, etc. can be designed. The current drill task refers to the drill task that has just been completed.
[0031] Among them, automated web interaction tools refer to the use of automated tools to control the behavior of browsers and simulate the interaction process between users and browsers. Automated web interaction tools are implemented through specialized tools and frameworks that interact according to the HTML structure of web page elements. They can programmatically control browsers without manual intervention and can be integrated into continuous integration pipelines for automatic testing and deployment. Scripts can be written in languages such as Python, JavaScript, Python or Java, and the APIs provided by the automation tools can be used to implement various automation tasks.
[0032] In this embodiment, the drill operation data refers to a variety of system operation data generated by the target system in the process of executing the current drill task. More specifically, the drill operation data may include: drill start time, drill end time, total drill time, drill success attribute information, total business transaction volume affected during the drill, drill success rate within a preset time, system disaster recovery level information, business recovery timeliness index, and at least one of the recovery data integrity index.
[0033] Among them, the drill start time refers to the moment when the target system starts to execute the current drill task. The drill end time refers to the moment when the target system completes the current drill task. The total drill time refers to the total time from the start of the target system to the completion of the current drill task. The drill success attribute information is used to characterize whether the target system has successfully completed the current drill task. For example, the drill success attribute information can represent "1" or "0". "1" means that the target system has successfully completed the current drill task, and "0" means that the target system has not successfully completed the current drill task. The total business transaction volume affected during the drill is used to characterize the number of business transactions affected by the target system in the process of executing the current drill task. The drill success rate within the preset time length is used to characterize the probability value of the target system successfully executing the current drill task within the preset time length. For example, the preset time length can be 30 seconds, 60 seconds, 92 seconds, etc.
[0034] System disaster recovery level information refers to the different levels of business continuity and data security guaranteed by different technical means and strategies in the face of disasters. For example, according to the recovery goals and the required cost investment, disaster recovery can be divided into three main levels: low-level data-level disaster recovery level, medium-level application-level disaster recovery level, and high-level business-level disaster recovery level. The system disaster recovery level information corresponding to the target system is the inherent attribute information of the target system, which is a calibration indicator when deploying and designing the target system. Therefore, the system disaster recovery level information corresponding to the target system can be directly obtained.
[0035] Recovery Time Objective (RTO) refers to how long it takes for an enterprise to restore its business to normal operation after a business interruption. This indicator directly affects the loss and impact of the enterprise during the business interruption. A shorter recovery time objective means that the enterprise can resume business operations faster, thereby reducing losses and impacts. In particular, the RTOs of various disaster recovery solutions vary greatly. Synchronous data replication based on optical channel technology, combined with off-site backup business systems and high-availability management across business centers and backup centers, this disaster recovery solution has the smallest RTO.
[0036] Recovery Point Objective (RPO) refers to how long the enterprise can accept data loss after suffering a business interruption. This indicator reflects the extent of data loss during the business interruption, and also affects the business continuity and customer trust of the enterprise. A smaller recovery point objective means that the enterprise can reduce data loss and ensure business continuity. In particular, RPO is an indicator that reflects the integrity of the recovery data. In the synchronous data replication mode, RPO is equal to the data transmission delay time; in the asynchronous data replication mode, RPO is basically the asynchronous transmission data queue time. In actual applications, considering the data transmission factor, the consistency of the business database and the disaster recovery backup database is different. RPO represents the time difference between the system change number (SCN, which is the timestamp mark used to identify each committed transaction in the Oracle database) of the business database and the disaster recovery backup database. After a disaster occurs, the disaster recovery system is started to complete data recovery. RPO is the amount of data loss in the newly restored business system. The RTO and RPO of different disaster recovery solutions are different.
[0037] It should be noted that multiple different systems can be exercised and managed in the exercise platform, and these systems are target systems. In this embodiment, the processing process for each target system is the same, and any one of the target systems is used as an example for exemplary description.
[0038] Specifically, the user can configure the task to be drilled (that is, the current drill task) for the target system in the drill platform. After the configuration is completed, the target system can execute the current drill task. During the process of the target system executing the current drill task, the drill platform can record the drill operation data corresponding to the target system. Therefore, when the target system completes the current drill task, the drill operation data corresponding to the current drill task of the target system can be obtained from the drill platform according to the pre-set data acquisition method.
[0039] In this embodiment, the drill operation data of at least one target system corresponding to the drill task can be obtained from the drill platform based on the automated webpage interactive tool. For example, an automated webpage interactive tool based on Python language script can be used to simulate the click event of the browser to realize the process of obtaining the drill operation data of the target system from the webpage, thereby saving the time and manpower of the operation and maintenance staff.
[0040] More specifically, based on the automated webpage interactive tool, the specific method of obtaining the drill operation data corresponding to the current drill task from the drill platform may include the following steps:
[0041] S1. Obtain the platform login information of the user corresponding to the target system from the database.
[0042] The platform login information refers to the information required for the user to log in to the drill platform, for example, the platform login information may include an account number and a password.
[0043] In this embodiment, the database pre-stores the platform login information of the responsible user corresponding to each system. According to the identification information corresponding to the target system, the platform login information of the responsible user corresponding to the target system can be queried and obtained from the database.
[0044] S2. Based on the platform login information and the automated web page interactive tool, log in to the drill task management page in the drill platform.
[0045] The drill task management page refers to a page for managing drill tasks of each system.
[0046] In this embodiment, based on the platform login information, the automated web page interaction tool can be used to automatically log in to the drill platform and enter the drill task management page according to the platform login information.
[0047] S3. Access the interface of the target system from the drill task management page based on the automated web page interactive tool to obtain the drill operation data of the drill task from the interface.
[0048] In this embodiment, according to the identification information corresponding to the target system, an automated webpage interaction tool can be used to access the interface of the target system from the drill task management page, thereby obtaining the drill operation data of the drill task from the interface corresponding to the target system.
[0049] S120: Based on the drill operation data and the pre-trained drill conclusion prediction model, obtain drill conclusion information corresponding to the current drill task.
[0050] Among them, the drill conclusion prediction model is a model used to process and analyze the drill operation data of the current drill task to determine the drill conclusion information of the current drill task. Optionally, the drill conclusion prediction model can be a neural network model, for example, it can be a graph neural network model. The drill conclusion information is the information of the execution result of the current drill task, for example, the drill conclusion information can be the successful execution information of the drill task or the failed execution of the drill task.
[0051] Specifically, the drill operation data may be input into a pre-trained drill conclusion prediction model, and the drill conclusion prediction model processes and analyzes the drill operation data to obtain drill conclusion information corresponding to the current drill task.
[0052] S130: Based on the drill operation data and the drill conclusion information, determine the drill report file corresponding to the current drill task, and upload the drill report file to the drill platform.
[0053] Among them, the drill report file is a document that comprehensively records and summarizes the current drill tasks.
[0054] Specifically, the drill operation data and the drill conclusion information corresponding to the current drill task can be filled into the specified drill report template according to the pre-set data format to obtain the drill report file corresponding to the current drill task. Thus, the obtained drill report file can be uploaded to the drill platform so that the drill report file can be viewed from the drill platform later.
[0055] Exemplarily, the drill report file may include drill operation data (i.e., drill start time, drill end time, total drill time, drill success attribute information, total business transaction volume affected during the drill, drill success rate within a preset time, system disaster recovery level information, business recovery timeliness index, and recovery data integrity index) and drill conclusion information. In addition, the drill report file may also include: basic drill information, drill operation log, drill execution unit related information, drill summary information, drill-induced problem information, and attachments involved in the drill. Among them, the basic drill information may include, but is not limited to: drill task name, drill plan number, drill scenario number, drill scenario name, planned drill time, summary report number, application system name, drill module information, and change order number information and change content information used to characterize the basic information of the drill change. The drill operation log includes the basic information corresponding to each operation step during the execution of the current drill task (for example, scenario number, job name), job status (used to indicate whether the current operation step is executed successfully), execution start time, execution end time, total time consumed, disposal stage information, and operation content information.
[0056] Optionally, a specific implementation method of uploading the drill report file to the drill platform may include: uploading the drill report file to the drill platform based on an automated web page interactive tool.
[0057] In this embodiment, an automated webpage interaction tool can also be used to simulate a browser click event to automatically upload the drill report file to a specified location in the drill platform. In addition, the information content in the drill report file can be displayed in a display interface specified in the drill platform, such as a drill report display interface, through a pre-set interface display method.
[0058] On the basis of the above embodiment, it may also include: synchronously uploading the exercise task plan information and exercise scheme information of the target system corresponding to the current exercise task to the exercise platform through an automated web page interactive tool.
[0059] Among them, the drill task plan information is the task execution plan information corresponding to the current drill task. Optionally, the drill task plan information may include but is not limited to: drill task name, drill task type, drill organization information, drill task leading department information, drill task cooperating department information, whether the drill task is within the plan, drill task application system, drill task scenario information, drill task scenario description text, etc. The drill plan information is the drill plan information to be adopted corresponding to the current drill task. Optionally, the drill plan information may include but is not limited to: drill task name, drill plan number, drill scenario number, drill scenario name, planned drill time, drill plan number, application system name, drill review method, drill location, expected drill start time, expected drill end time, expected total drill time, drill implementation department information, drill recovery indicator target information (for example, it may include RTO recovery time target and RPO recovery time target).
[0060] In this embodiment, the drill task plan information and drill scheme information of the current drill task can be information content pre-configured or written by the responsible user. Here, these information contents can be obtained through the automated web page interactive tool, and the drill task plan information and drill scheme information of the current drill task can be synchronously uploaded to the drill platform through the automated web page interactive tool. Similarly, the drill task plan information can also be displayed in the drill plan display interface in the drill platform through a pre-set interface display method; the drill scheme information can be displayed in the drill scheme display interface in the drill platform through a pre-set interface display method.
[0061] The technical solution provided in this embodiment opens up the entire link of system drill activities from data collection, modeling analysis, data conclusion and report entry platform, and effectively solves the problems of heavy, repetitive and error-prone tasks in obtaining drill operation data; at the same time, the predicted drill conclusion is an important reference for measuring whether the drill is carried out, and solves the problem of relying on manual experience to judge whether the drill is carried out and determine the time period of the drill, which improves the judgment accuracy of the drill conclusion and provides a key reference for subsequent emergency and support work of the drill.
[0062] The technical solution of the embodiment of the present invention, when the target system completes the current drill task, obtains the drill operation data corresponding to the current drill task from the drill platform based on the automated web page interactive tool, and then obtains the drill conclusion information corresponding to the current drill task based on the drill operation data and the pre-trained drill conclusion prediction model, thereby determining the drill report file corresponding to the current drill task based on the drill operation data and the drill conclusion information, and uploading the drill report file to the drill platform. The technical solution of this embodiment, on the one hand, automatically obtains the drill operation data through the automated web page interactive tool, thereby improving the efficiency of obtaining the drill operation data, and on the other hand, processes the drill operation data through the drill conclusion prediction model to obtain the drill conclusion information, thereby avoiding the problem of poor accuracy and low efficiency of the drill conclusion caused by manual judgment, thereby improving the overall efficiency of the system drill and the reliability of the drill report.
[0063] Embodiment 2
[0064] Figure 2 A schematic diagram of a method for determining a system exercise report provided by an embodiment of the present invention is provided. Based on the above embodiment, the training process of the exercise conclusion prediction model is described. The specific implementation method can refer to the technical solution of this embodiment. Among them, the technical terms that are the same or corresponding to the above embodiment are not repeated here.
[0065] like Figure 2 As shown, the method specifically comprises the following steps:
[0066] S210: Acquire historical drill operation data corresponding to historical drill tasks of multiple systems, and historical drill conclusions corresponding to each historical drill task.
[0067] Among them, the system refers to any service node used to perform specific business functions. Historical drill tasks refer to drill tasks performed by a system in a historical period. Historical drill operation data refers to a variety of system operation data generated by a system in the process of performing historical drill tasks. Optionally, the historical drill operation data may include the historical drill start time, the historical drill end time, the historical drill total time, the historical drill success attribute information, the total business transaction volume affected during the historical drill, the drill success rate within the historical preset time, the historical system disaster recovery level information, the historical business recovery timeliness index and the historical recovery data integrity index. At least one of the completeness indicators. The historical drill conclusion is used to characterize the information on the execution results of a historical drill task. Optionally, the historical drill conclusion can be a subjective conclusion judged by professionals based on experience.
[0068] In this embodiment, the drill platform can manage drill items corresponding to multiple systems. Each system has executed multiple historical drill tasks in the historical period, and can save the historical drill operation data of these historical drill tasks and the corresponding historical drill tasks. Based on this, for multiple systems managed by the drill platform, the historical drill operation data corresponding to each historical drill task of each system and the corresponding historical drill tasks can be obtained.
[0069] S220: Determine training samples based on the historical exercise operation data of each historical exercise task and the corresponding historical exercise conclusion.
[0070] In this embodiment, in order to obtain a drill conclusion prediction model with high prediction accuracy, it is necessary to train the initial drill conclusion prediction model (ie, the drill conclusion prediction model to be trained) based on a large amount of historical data. Therefore, it is crucial to determine the training samples of the model.
[0071] Specifically, the training samples include multiple training sample sets, each of which includes historical drill operation data and corresponding historical drill conclusions of a historical drill task. In particular, two-thirds of the training sample sets can be used as training sets, and one-third of the training sample sets can be used as test sets for subsequent testing of the drill conclusion prediction model after training.
[0072] S230: Train the exercise conclusion prediction model to be trained based on the training samples to obtain the exercise conclusion prediction model.
[0073] The exercise conclusion prediction model to be trained is an exercise conclusion prediction model whose model parameters are initial parameters. The exercise conclusion prediction model to be trained is a graph neural network model structure.
[0074] In this embodiment, on the basis of obtaining the training samples, the training exercise conclusion prediction model to be trained is trained based on the training samples, and the specific implementation steps of obtaining the exercise conclusion prediction model may include:
[0075] S2301. Input the historical drill operation data in the current training sample into the drill conclusion prediction model to be trained, and output the predicted drill conclusion.
[0076] The current training sample may be any set of training samples.
[0077] In this embodiment, the processing process for each training sample is the same. Here, any one of the training samples is taken as the current training sample, and the current training sample is used as an example for exemplary description. The historical exercise operation data in the current training sample can be input into the exercise conclusion prediction model to be trained. After the exercise conclusion prediction model to be trained processes and analyzes the historical exercise operation data, a predicted exercise conclusion corresponding to the current training sample is obtained.
[0078] S2302: Determine the loss value based on the historical exercise conclusions and the predicted exercise conclusions in the current training sample, and correct the model parameters in the training exercise conclusion prediction model based on the loss value.
[0079] In this embodiment, the loss value is determined based on the difference between the historical exercise conclusion and the corresponding prediction exercise conclusion in the current training sample. Thus, based on the loss value, the model parameters in the training exercise conclusion prediction model to be corrected are corrected.
[0080] S2303. Taking the convergence of the loss function in the exercise conclusion prediction model to be trained as the training goal, and obtaining the exercise conclusion prediction model.
[0081] In this embodiment, the training exercise conclusion prediction model is trained based on each training sample, and the model parameters in the training exercise conclusion prediction model are corrected according to the loss value until the loss function converges to obtain the exercise conclusion prediction model.
[0082] S240: When the target system completes the current drill task, the drill operation data corresponding to the current drill task is obtained from the drill platform based on the automated webpage interactive tool.
[0083] S250: Based on the drill operation data and the pre-trained drill conclusion prediction model, obtain drill conclusion information corresponding to the current drill task.
[0084] S260: Based on the drill operation data and the drill conclusion information, determine the drill report file corresponding to the current drill task, and upload the drill report file to the drill platform.
[0085] The technical solution of the embodiment of the present invention obtains historical drill operation data corresponding to historical drill tasks of multiple systems, as well as historical drill conclusions corresponding to each historical drill task, and then, based on the historical drill operation data of each historical drill task and the corresponding historical drill conclusion, determines the training sample, thereby training the drill conclusion prediction model to be trained based on the training sample to obtain the drill conclusion prediction model, wherein the drill conclusion prediction model to be trained is a graph neural network model structure. The technical solution provided by this embodiment constructs training samples through historical drill data, and uses the training samples to train the graph neural network to obtain a drill conclusion prediction model, so that it has good drill conclusion prediction capabilities.
[0086] Embodiment 3
[0087] Figure 3This is a structural diagram of a system exercise report determination device provided by an embodiment of the present invention. The device includes: an exercise data acquisition module 310, an exercise conclusion determination module 320 and an exercise report determination module 330.
[0088] The drill data acquisition module 310 is used to acquire the drill operation data corresponding to the current drill task from the drill platform based on the automated webpage interaction tool when the target system completes the current drill task;
[0089] A drill conclusion determination module 320, configured to obtain drill conclusion information corresponding to the current drill task based on the drill operation data and a pre-trained drill conclusion prediction model;
[0090] The drill report determination module 330 is used to determine the drill report file corresponding to the current drill task based on the drill operation data and the drill conclusion information, and upload the drill report file to the drill platform.
[0091] Based on the above-mentioned device, optionally, the drill operation data includes: drill start time, drill end time, total drill time, drill success attribute information, total business transaction volume affected during the drill, drill success rate within a preset time period, system disaster recovery level information, business recovery timeliness index and at least one of the recovery data integrity index.
[0092] Based on the above device, optionally, the drill data acquisition module 310 may specifically include:
[0093] A login information acquisition unit, used to acquire platform login information of a responsible user corresponding to the target system from a database;
[0094] A management page login unit, used to log in to the drill task management page in the drill platform based on the platform login information and the automated webpage interaction tool;
[0095] A drill data acquisition unit is used to access the interface of the target system from the drill task management page based on the automated web page interaction tool to acquire the drill operation data of the drill task from the interface.
[0096] On the basis of the above device, optionally, the system exercise report determination device further includes a conclusion prediction model training module; the conclusion prediction model training module includes:
[0097] A historical data acquisition unit, used to acquire historical exercise operation data corresponding to historical exercise tasks of multiple systems, and historical exercise conclusions corresponding to each of the historical exercise tasks;
[0098] A training sample determination unit, configured to determine a training sample based on the historical exercise operation data of each of the historical exercise tasks and the corresponding historical exercise conclusion;
[0099] The conclusion prediction model training unit is used to train the exercise conclusion prediction model to be trained based on the training samples to obtain the exercise conclusion prediction model; wherein the exercise conclusion prediction model to be trained is a graph neural network model structure.
[0100] On the basis of the above-mentioned device, optionally, a conclusion prediction model training unit is specifically used to input the historical exercise operation data in the current training sample into the exercise conclusion prediction model to be trained, and output the predicted exercise conclusion; based on the historical exercise conclusions and the predicted exercise conclusions in the current training sample, determine the loss value, and correct the model parameters in the exercise conclusion prediction model to be trained based on the loss value; take the convergence of the loss function in the exercise conclusion prediction model to be trained as the training goal, and obtain the exercise conclusion prediction model.
[0101] Based on the above device, optionally, the drill report determination module includes a report uploading unit;
[0102] A report uploading unit is used to upload the drill report file to the drill platform based on an automated web page interactive tool.
[0103] Based on the above device, optionally, the report uploading unit is also used to synchronously upload the exercise task plan information and exercise plan information of the target system corresponding to the current exercise task to the exercise platform through an automated web page interactive tool.
[0104] The technical solution of the embodiment of the present invention, when the target system completes the current drill task, obtains the drill operation data corresponding to the current drill task from the drill platform based on the automated web page interactive tool, and then obtains the drill conclusion information corresponding to the current drill task based on the drill operation data and the pre-trained drill conclusion prediction model, thereby determining the drill report file corresponding to the current drill task based on the drill operation data and the drill conclusion information, and uploading the drill report file to the drill platform. The technical solution of this embodiment, on the one hand, automatically obtains the drill operation data through the automated web page interactive tool, thereby improving the efficiency of obtaining the drill operation data, and on the other hand, processes the drill operation data through the drill conclusion prediction model to obtain the drill conclusion information, thereby avoiding the problem of poor accuracy and low efficiency of the drill conclusion caused by manual judgment, thereby improving the overall efficiency of the system drill and the reliability of the drill report.
[0105] The system drill report determination device provided in the embodiment of the present invention can execute the system drill report determination method provided in any embodiment of the present invention, and has the corresponding functional modules and beneficial effects of the execution method.
[0106] It is worth noting that the various units and modules included in the above system are only divided according to functional logic, but are not limited to the above division, as long as the corresponding functions can be achieved; in addition, the specific names of the functional units are only for the convenience of distinguishing each other, and are not used to limit the protection scope of the embodiments of the present invention.
[0107] Embodiment 4
[0108] Figure 4 The present invention is a schematic diagram of the structure of an electronic device provided by an embodiment of the present invention. Figure 4 A block diagram of an exemplary electronic device 40 suitable for implementing exemplary embodiments of the present invention is shown. Figure 4 The electronic device 40 shown is only an example and should not bring any limitation to the functions and scope of use of the embodiments of the present invention.
[0109] like Figure 4 As shown, the electronic device 40 is in the form of a general computing device. The components of the electronic device 40 may include but are not limited to: one or more processors or processing units 401, a system memory 402, and a bus 403 connecting different system components (including the system memory 402 and the processing unit 401).
[0110] Bus 403 represents one or more of several types of bus structures, including a memory bus or memory controller, a peripheral bus, an accelerated graphics port, a processor or a local bus using any of a variety of bus structures. For example, these architectures include but are not limited to Industry Standard Architecture (ISA) bus, Micro Channel Architecture (MAC) bus, Enhanced ISA bus, Video Electronics Standards Association (VESA) local bus and Peripheral Component Interconnect (PCI) bus.
[0111] The electronic device 40 typically includes a variety of computer system readable media. These media can be any available media that can be accessed by the electronic device 40, including volatile and non-volatile media, removable and non-removable media.
[0112] System memory 402 may include computer system readable media in the form of volatile memory, such as random access memory (RAM) 404 and / or cache memory 405. Electronic device 40 may further include other removable / non-removable, volatile / non-volatile computer system storage media. By way of example only, storage system 406 may be used to read and write non-removable, non-volatile magnetic media ( Figure 4not shown, usually called a "hard drive"). Although Figure 4 Not shown in the figure, a disk drive for reading and writing to a removable non-volatile disk (e.g., a "floppy disk"), and an optical disk drive for reading and writing to a removable non-volatile optical disk (e.g., a CD-ROM, a DVD-ROM, or other optical media) may be provided. In these cases, each drive may be connected to bus 403 via one or more data medium interfaces. Memory 402 may include at least one program product having a set (e.g., at least one) of program modules that are configured to perform the functions of various embodiments of the present invention.
[0113] A program / utility 408 having a set (at least one) of program modules 407 may be stored, for example, in memory 402, such program modules 407 including, but not limited to, an operating system, one or more application programs, other program modules, and program data, each of which or some combination may include an implementation of a network environment. Program modules 407 generally perform the functions and / or methods of the embodiments described herein.
[0114] The electronic device 40 may also communicate with one or more external devices 409 (e.g., keyboards, pointing devices, displays 810, etc.), may communicate with one or more devices that enable a user to interact with the electronic device 40, and / or may communicate with any device that enables the electronic device 40 to communicate with one or more other computing devices (e.g., a network card, a modem, etc.). Such communication may be performed via an input / output (I / O) interface 411. Furthermore, the electronic device 40 may also communicate with one or more networks (e.g., a local area network (LAN), a wide area network (WAN), and / or a public network, such as the Internet) via a network adapter 412. As shown, the network adapter 412 communicates with other modules of the electronic device 40 via the bus 403. It should be understood that although Figure 4 Not shown, other hardware and / or software modules may be used in conjunction with the electronic device 40, including but not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives, and data backup storage systems.
[0115] The processing unit 401 executes various functional applications and page processing by running the programs stored in the system memory 402, for example, implementing the system exercise report determination method provided in the embodiment of the present invention.
[0116] Embodiment 5
[0117] An embodiment of the present invention further provides a storage medium containing computer executable instructions, which, when executed by a computer processor, is used to execute a system exercise report determination method, the method comprising:
[0118] When the target system completes the current drill task, the drill operation data corresponding to the current drill task is obtained from the drill platform based on the automated webpage interaction tool;
[0119] Based on the drill operation data and a pre-trained drill conclusion prediction model, obtaining drill conclusion information corresponding to the current drill task;
[0120] Based on the drill operation data and the drill conclusion information, a drill report file corresponding to the current drill task is determined, and the drill report file is uploaded to the drill platform.
[0121] The computer storage medium of the embodiment of the present invention can adopt any combination of one or more computer-readable media. The computer-readable medium can be a computer-readable signal medium or a computer-readable storage medium. The computer-readable storage medium can be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or device, or any combination of the above. More specific examples (non-exhaustive list) of computer-readable storage media include: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above. In this document, a computer-readable storage medium can be any tangible medium containing or storing a program, which can be used by an instruction execution system, device or device or used in combination with it.
[0122] Computer-readable signal media may include data signals propagated in baseband or as part of a carrier wave, which carry computer-readable program code. Such propagated data signals may take a variety of forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the above. Computer-readable signal media may also be any computer-readable medium other than a computer-readable storage medium, which may send, propagate, or transmit a program for use by or in conjunction with an instruction execution system, apparatus, or device.
[0123] Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to wireless, wireline, optical fiber cable, RF, etc., or any suitable combination of the foregoing.
[0124] Computer program code for performing the operation of embodiments of the present invention may be written in one or more programming languages or a combination thereof, including object-oriented programming languages, such as Python, Java, Smalltalk, C++, and conventional procedural programming languages, such as "C" or similar programming languages. The program code may be executed entirely on a user's computer, partially on a user's computer, as an independent software package, partially on a user's computer and partially on a remote computer, or entirely on a remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer via any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computer (e.g., via the Internet using an Internet service provider).
[0125] Note that the above are only preferred embodiments of the present invention and the technical principles used. Those skilled in the art will understand that the present invention is not limited to the specific embodiments herein, and that various obvious changes, readjustments and substitutions can be made by those skilled in the art without departing from the scope of protection of the present invention. Therefore, although the present invention has been described in more detail through the above embodiments, the present invention is not limited to the above embodiments, and may include more other equivalent embodiments without departing from the concept of the present invention, and the scope of the present invention is determined by the scope of the appended claims.
Claims
1. A method for determining a system exercise report, characterized in that: include: When the target system completes the current drill task, the drill operation data corresponding to the current drill task is obtained from the drill platform based on the automated webpage interaction tool; Based on the drill operation data and a pre-trained drill conclusion prediction model, obtaining drill conclusion information corresponding to the current drill task; Based on the drill operation data and the drill conclusion information, a drill report file corresponding to the current drill task is determined, and the drill report file is uploaded to the drill platform.
2. The method according to claim 1, characterized in that The drill operation data includes: drill start time, drill end time, total drill time, drill success attribute information, total business transaction volume affected during the drill, drill success rate within a preset time period, system disaster recovery level information, business recovery timeliness index, and at least one of the recovery data integrity index.
3. The method according to claim 1, characterized in that The step of obtaining the drill operation data corresponding to the current drill task from the drill platform based on the automated webpage interactive tool includes: Obtaining platform login information of the user responsible for the target system from the database; Based on the platform login information and the automated web page interaction tool, log in to the drill task management page in the drill platform; Based on the automated web page interaction tool, the interface of the target system is accessed from the drill task management page to obtain the drill operation data of the drill task from the interface.
4. The method according to claim 1, characterized in that: The method further includes: training to obtain the exercise conclusion prediction model, including: Obtaining historical drill operation data corresponding to historical drill tasks of multiple systems, and historical drill conclusions corresponding to each of the historical drill tasks; Determining training samples based on the historical exercise operation data of each of the historical exercise tasks and the corresponding historical exercise conclusions; The exercise conclusion prediction model to be trained is trained based on the training samples to obtain the exercise conclusion prediction model; wherein the exercise conclusion prediction model to be trained is a graph neural network model structure.
5. The method according to claim 4, characterized in that The training of the exercise conclusion prediction model to be trained based on the training samples to obtain the exercise conclusion prediction model includes: Input the historical exercise operation data in the current training sample into the exercise conclusion prediction model to be trained, and output the predicted exercise conclusion; Based on the historical exercise conclusion and the predicted exercise conclusion in the current training sample, determine the loss value, so as to modify the model parameters in the exercise conclusion prediction model to be trained based on the loss value; The convergence of the loss function in the exercise conclusion prediction model to be trained is taken as the training goal to obtain the exercise conclusion prediction model.
6. The method according to claim 1, characterized in that The step of uploading the drill report file to the drill platform includes: The drill report file is uploaded to the drill platform based on an automated web page interactive tool.
7. The method according to claim 6, characterized in that The method further comprises: The exercise task plan information and exercise scheme information of the target system corresponding to the current exercise task are synchronously uploaded to the exercise platform through an automated web page interactive tool.
8. A system exercise report determination device, characterized in that: The device includes: A drill data acquisition module, used to acquire the drill operation data corresponding to the current drill task from the drill platform based on the automated webpage interaction tool when the target system completes the current drill task; A drill conclusion determination module, used to obtain drill conclusion information corresponding to the current drill task based on the drill operation data and a pre-trained drill conclusion prediction model; The drill report determination module is used to determine the drill report file corresponding to the current drill task based on the drill operation data and the drill conclusion information, and upload the drill report file to the drill platform.
9. An electronic device, characterized in that: The electronic device comprises: at least one processor; and a memory communicatively connected to the at least one processor; wherein, The memory stores a computer program executable by the at least one processor, and the computer program is executed by the at least one processor so that the at least one processor can execute the system exercise report determination method according to any one of claims 1 to 7.
10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer instructions, and the computer instructions are used to enable a processor to implement the system exercise report determination method according to any one of claims 1 to 7 when executed.