Fault location method and device for batch operation information
By dividing batch operation information into a three-layer structure, faults can be quickly located, solving the problem of low efficiency in traditional operation and maintenance, and improving fault location efficiency and enterprise response speed.
Patent Information
- Application Number
- CN202110826556.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-07-21
- Publication Date
- 2024-11-19
- Estimated Expiration
- 2041-07-21
AI Technical Summary
In traditional operation and maintenance scenarios, the efficiency of processing batch operation information is low, which makes it difficult to locate faults and quickly determine the root cause, potentially leading to losses for enterprises.
The batch operation information is divided into a three-layer structure: batch operation information layer, subtask information layer, and execution API information layer. By removing redundant information and JSON syntax, faults can be quickly located.
It improves the processing efficiency of maintenance workers, enables them to quickly locate faults, reduces corporate losses, and lowers the risk of fault maintenance.
Smart Images

Figure CN113626237B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of computers, and in particular to a method for locating faults in batch operation information. Background Art
[0002] In traditional operation and maintenance scenarios, when handling faults, operation and maintenance workers usually need to analyze batch operation information such as CLI text information. The amount of information is often huge and the processing efficiency is very low, resulting in very low efficiency in fault handling by operation and maintenance personnel.
[0003] In an actual production environment, each CLI return message is likely to contain a large amount of return information generated by subtasks in parallel. The complex information relationship makes understanding efficiency even lower.
[0004] When operation and maintenance failures occur, staff often need to spend a lot of time querying and reading these CLI text messages one by one, which may lead to the inability to quickly determine the root cause of emergency problems, the inability to quickly resolve the faults, and may even cause greater corporate losses. Summary of the invention
[0005] An object of the present invention is to provide a method and device for locating faults of batch operation information.
[0006] According to one aspect of the present invention, a method for locating a fault in batch operation information is provided, the method comprising:
[0007] Remove redundant sub-item information and JSON syntax from the batch operation information to obtain the batch operation information layer, including: batch operation parameter information and the names of each subtask;
[0008] From the batch operation information, obtain the subtask information layer, including: the execution parameter information of each subtask corresponding to the name of the subtask and the name of each execution API under the subtask;
[0009] From the batch operation information, obtain the execution API information layer, including: the execution parameter information and execution information of each execution API corresponding to the name of the execution API;
[0010] Fault location is performed based on the batch operation information layer, subtask information layer, and execution API information layer.
[0011] Furthermore, in the above method, fault location is performed based on the batch operation information layer, the subtask information layer and the execution API information layer, including:
[0012] When a batch operation failure is found, enter the batch operation information layer, learn the parameter information of the batch operation in the batch operation information layer, and find the subtask with the failure by the name of the subtask;
[0013] Based on the subtask with the fault, enter the subtask information layer, and after understanding the execution parameter information of the subtask in the subtask information layer, locate the specific execution API with the fault through the name of each execution API;
[0014] Based on the execution API having a fault, the execution API information layer is entered, and based on the execution parameter information and execution information of the execution API in the execution API information layer, the fault cause of the batch operation is obtained.
[0015] Furthermore, in the above method, the parameter information of the batch operation includes:
[0016] The status, result, event name, UUID, start time, and completion time of the batch operation.
[0017] Furthermore, in the above method, the execution parameter information of each subtask includes:
[0018] Subtask status, result, task name, UUID, start time, and completion time.
[0019] Furthermore, in the above method, the execution parameter information of each execution API includes:
[0020] The status, result, API name, UUID, start time, and completion time of the API execution.
[0021] Furthermore, in the above method, the execution information of each execution API includes:
[0022] The request and response information of the API execution in raw JSON format.
[0023] According to another aspect of the present invention, a batch operation information fault location device is also provided, wherein the device comprises:
[0024] The first device is used to remove redundant sub-item information and JSON syntax from the batch operation information to obtain a batch operation information layer, including: parameter information of the batch operation and the name of each subtask;
[0025] The second device is used to obtain a subtask information layer from the batch operation information, including: execution parameter information of each subtask corresponding to the name of the subtask and the name of each execution API under the subtask;
[0026] The third device is used to obtain the execution API information layer from the batch operation information, including: the execution parameter information and execution information of each execution API corresponding to the name of the execution API;
[0027] The fourth device is used to locate the fault based on the batch operation information layer, the subtask information layer and the execution API information layer.
[0028] Furthermore, in the above-mentioned equipment, the fourth device is used to enter the batch operation information layer when a batch operation failure is found, and after understanding the parameter information of the batch operation in the batch operation information layer, find the subtask with the failure through the name of the subtask; based on the subtask with the failure, enter the subtask information layer, understand the execution parameter information of the subtask in the subtask information layer, and locate the specific execution API with the failure through the name of each execution API; based on the execution API with the failure, enter the execution API information layer, and obtain the cause of the batch operation failure based on the execution parameter information and execution information of the execution API in the execution API information layer.
[0029] According to another aspect of the present invention, there is also provided a computing-based device, comprising:
[0030] Processor; and
[0031] a memory arranged to store computer executable instructions which, when executed, cause the processor to:
[0032] Remove redundant sub-item information and JSON syntax from the batch operation information to obtain the batch operation information layer, including: batch operation parameter information and the names of each subtask;
[0033] From the batch operation information, obtain the subtask information layer, including: the execution parameter information of each subtask corresponding to the name of the subtask and the name of each execution API under the subtask;
[0034] From the batch operation information, obtain the execution API information layer, including: the execution parameter information and execution information of each execution API corresponding to the name of the execution API;
[0035] Fault location is performed based on the batch operation information layer, subtask information layer, and execution API information layer.
[0036] According to another aspect of the present invention, there is further provided a computer-readable storage medium having computer-executable instructions stored thereon, wherein when the computer-executable instructions are executed by a processor, the processor is caused to:
[0037] Remove redundant sub-item information and JSON syntax from the batch operation information to obtain the batch operation information layer, including: batch operation parameter information and the names of each subtask;
[0038] From the batch operation information, obtain the subtask information layer, including: the execution parameter information of each subtask corresponding to the name of the subtask and the name of each execution API under the subtask;
[0039] From the batch operation information, obtain the execution API information layer, including: the execution parameter information and execution information of each execution API corresponding to the name of the execution API;
[0040] Fault location is performed based on the batch operation information layer, subtask information layer, and execution API information layer.
[0041] Compared with the prior art, the present invention can not only ensure that important information in the batch operation information is not missed, but also avoid the problem that the amount of information in the batch operation information is too large, the fault location takes a long time, and the fault cannot be repaired in time. The present invention splits the batch operation information into a batch operation information layer, a subtask information layer, and an execution API information layer. Among them, in the batch operation information layer, the batch information layer that has been combed and refined removes redundant sub-item information and json syntax, which is convenient for quickly locating key information, and clearly understanding the subtask structure of the operation, and quickly determining the fault location. Through the information combing of the subtask information layer, you can quickly understand the content of the current subtask, understand the execution API volume and various states of the subtask, and quickly determine the fault location. In the execution API information layer, you can quickly understand the basic information of the current API, and at the same time, you can query the most detailed records of the entire API execution, which is convenient for fine-grained troubleshooting of the cause of the fault.
[0042] By optimizing the structure of batch operation information, the present invention can make the information type and logical relationship clearer and is applicable to various scenarios, thereby greatly improving the efficiency of operation and maintenance workers in processing information. In particular, in the scenario of handling faults, the faults can be quickly located and analyzed, which greatly improves the resolution efficiency and helps enterprises greatly reduce losses.
[0043] The present invention can clearly display the structural relationship between information at each level through hierarchical processing of information. At the same time, it can effectively highlight key information while retaining complete information, improve the efficiency of operation and maintenance work, and greatly reduce the risk of enterprise failure maintenance. BRIEF DESCRIPTION OF THE DRAWINGS
[0044] Other features, objects and advantages of the present invention will become more apparent from the detailed description of non-limiting embodiments made with reference to the following drawings:
[0045] Figure 1 A schematic diagram showing a method for locating a fault in batch operation information according to an embodiment of the present invention;
[0046] Figure 2A schematic diagram showing the logical relationship of a method for locating a fault of batch operation information according to an embodiment of the present invention.
[0047] The same or similar reference numerals in the drawings represent the same or similar components. DETAILED DESCRIPTION
[0048] The present invention is further described in detail below in conjunction with the accompanying drawings.
[0049] In a typical configuration of the present application, the terminal, the device of the service network and the trusted party all include one or more processors (CPU), input / output interfaces, network interfaces and memories.
[0050] The memory may include non-permanent storage in a computer-readable medium, random access memory (RAM) and / or non-volatile memory in the form of read-only memory (ROM) or flash RAM. The memory is an example of a computer-readable medium.
[0051] Computer readable media include permanent and non-permanent, removable and non-removable media that can be implemented by any method or technology to store information. Information can be computer readable instructions, data structures, program modules or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technology, compact disk read-only memory (CD-ROM), digital versatile disk (DVD) or other optical storage, magnetic cassettes, magnetic tape disk storage or other magnetic storage devices or any other non-transmission media that can be used to store information that can be accessed by a computing device. As defined herein, computer readable media does not include non-transitory media such as modulated data signals and carrier waves.
[0052] like Figure 1 and 2 As shown, the present invention provides a method for locating a fault of batch operation information, the method comprising:
[0053] Step S1, removing redundant sub-item information and json syntax from the batch operation information to obtain a batch operation information layer, including: batch operation parameter information and the names of each subtask;
[0054] Here, the obtained batch operation parameter information and the names of each subtask are used as the batch operation information layer, which is used to help operation and maintenance workers quickly understand the basic information of the current batch operation, the batch execution workload and the corresponding results;
[0055] Step S2, obtaining a subtask information layer from the batch operation information, including: execution parameter information of each subtask corresponding to the name of the subtask and the name of each execution API under the subtask;
[0056] Step S3, obtaining an execution API information layer from the batch operation information, including: execution parameter information and execution information of each execution API corresponding to the name of the execution API;
[0057] Step S4, performing fault location based on the batch operation information layer, the subtask information layer and the execution API information layer.
[0058] Here, the batch operation information often contains a huge amount of information, usually of many types. The present invention summarizes different types of information into three layers of information structure: batch operation information layer, subtask information layer, and execution API information layer.
[0059] The logical relationship between the three layers of information: batch operation information layer, subtask information layer, and execution API information layer, is as follows: Figure 2 shown.
[0060] With the gradual improvement of production efficiency tools, people will merge more and more tedious or repetitive operations, which helps to simplify the operation and maintenance work. However, this also means that the CLI text information generated in the operation and maintenance work is becoming more and more large and complex. In order to ensure the readability of complex CLI text information, the present invention will deeply understand the structural principles of CLI text information, refine and sort out such large-volume information, and structurally split the information containing multi-level relationships, so that key information can be found as quickly as possible when reading, and the information structure can be quickly understood and problems can be efficiently located.
[0061] The present invention can not only ensure that important information in the batch operation information is not missed, but also avoid the problem that the amount of information in the batch operation information is too large, the fault location takes a long time, and the fault cannot be repaired in time. The present invention splits the batch operation information into a batch operation information layer, a subtask information layer, and an execution API information layer. Among them, in the batch operation information layer, the batch information layer that has been combed and refined removes redundant sub-item information and json syntax, which is convenient for quickly locating key information, and clearly understanding the subtask structure of the operation, and quickly determining the fault location. Through the information combing of the subtask information layer, you can quickly understand the content of the current subtask, understand the execution API volume and various states of the subtask, and quickly determine the fault location. In the execution API information layer, you can quickly understand the basic information of the current API, and at the same time, you can query the most detailed records of the entire API execution, which is convenient for fine-grained troubleshooting of the cause of the fault.
[0062] By optimizing the structure of batch operation information, the present invention can make the information type and logical relationship clearer and is applicable to various scenarios, thereby greatly improving the efficiency of operation and maintenance workers in processing information. In particular, in the scenario of handling faults, the faults can be quickly located and analyzed, which greatly improves the resolution efficiency and helps enterprises greatly reduce losses.
[0063] The present invention can clearly display the structural relationship between information at each level through hierarchical processing of information. At the same time, it can effectively highlight key information while retaining complete information, improve the efficiency of operation and maintenance work, and greatly reduce the risk of enterprise failure maintenance.
[0064] In an embodiment of a method for locating a fault of batch operation information of the present invention, the parameter information of the batch operation includes:
[0065] The status, result, event name, UUID, start time, and completion time of the batch operation.
[0066] Here, the parameter information of the batch operation includes parameter information directly related to the batch operation, such as status / result, event name, UUID, start / completion time, etc. At the same time, the json format syntax is filtered to refine the key fields of the parameter information of the batch operation.
[0067] In an embodiment of the method for locating a fault in batch operation information of the present invention, the execution parameter information of each subtask includes:
[0068] Subtask status, result, task name, UUID, start time, and completion time.
[0069] Here, the basic information of the subtask includes parameter information directly related to the execution of the subtask, such as status / result, task name, UUID, start / completion time, etc. At the same time, the JSON format syntax is filtered to refine the key fields of the subtask.
[0070] In an embodiment of the method for locating a fault in batch operation information of the present invention, the execution parameter information of each execution API includes:
[0071] The status, result, API name, UUID, start time, and completion time of the API execution.
[0072] In an embodiment of the method for locating a fault in batch operation information of the present invention, the execution information of each execution API includes:
[0073] The request and response information of the API execution in raw JSON format.
[0074] Here, the request and response information of each API execution are recorded in the original JSON format to retain the most complete process information.
[0075] Specifically, the following will combine Figure 1 , detailing the internal structure of the three information layers.
[0076] 1. Batch operation information layer:
[0077] The batch operation information layer is used to help operation and maintenance workers quickly understand the basic information of the current batch operation, the batch execution workload and the corresponding results. The batch operation information layer is divided into two parts:
[0078] 1. Basic information: contains parameter information directly related to the batch operation, such as status / result, event name, UUID, start / end time, etc. At the same time, the JSON format syntax is filtered to refine the key fields;
[0079] 2. Subtask information: contains all subtask items included in the current batch operation, and displays an overview in the form of an array;
[0080] After the batch information layer is sorted and refined, redundant sub-item information and JSON syntax are removed, which makes it easier to quickly locate key information, clearly understand the sub-task structure of the operation, and quickly determine the fault location.
[0081] 2. Subtask information layer:
[0082] Select a subtask to enter the subtask information layer. The subtask information layer is divided into two parts:
[0083] 1. Basic information: contains parameter information directly related to the execution of the subtask, such as status / result, task name, UUID, start / completion time, etc. At the same time, the JSON format syntax is filtered to refine the key fields;
[0084] 2. Execution API information: Contains the names of all APIs executed in the current subtask, displayed in the form of entries.
[0085] By combing through the information at the subtask information layer, operation and maintenance workers can quickly understand the content of the current subtask, the execution API volume and various states of the subtask, and quickly determine the fault location.
[0086] Execution API Information Layer
[0087] Select an execution API to enter the execution API information layer. The execution API information layer is divided into two parts:
[0088] 1. Basic information: Contains parameter information directly related to the API execution, such as status / result, API name, UUID, start / end time, etc. At the same time, the JSON format syntax is filtered to refine the key fields. If there is a fault field, the cause of the fault needs to be extracted;
[0089] 2. Detailed execution information: contains the request and return information of the API execution, using the original JSON format to retain the most complete process information;
[0090] In the execution API information layer, you can quickly understand the basic information of the current API, and at the same time query the most detailed records of the entire API execution, which is convenient for fine-grained troubleshooting of fault causes.
[0091] In an embodiment of the method for locating a fault in batch operation information of the present invention, step S4, based on the batch operation information layer, the subtask information layer and the execution API information layer, performs fault locating, including:
[0092] Step S41, when a batch operation failure is found, the batch operation information layer is entered, and after the parameter information of the batch operation is learned in the batch operation information layer, the subtask with the failure is found by the name of the subtask;
[0093] Step S42, based on the subtask with the fault, enter the subtask information layer, after understanding the execution parameter information of the subtask in the subtask information layer, locate the specific execution API with the fault through the name of each execution API;
[0094] Step S3, based on the execution API having a fault, entering the execution API information layer, and obtaining the fault cause of the batch operation based on the execution parameter information and execution information of the execution API in the execution API information layer.
[0095] Specifically, taking a common complex operation and maintenance failure scenario as an example, when a batch operation failure is found, the execution information of the operation can be quickly queried; at this time, the first layer (batch operation information layer) is entered through the fault location method, and after understanding the basic information of the batch operation in the current information layer, the subtask with the failure is found through the subtask information; one of the failed subtasks is selected, and the second layer (subtask information layer) is entered at this time. After understanding the basic information of the subtask in the current information layer, the specific API execution record with the failure is located through the execution API list; a failed execution API is selected, and the third layer (execution API information layer) is entered at this time. The basic information and failure cause of the API execution can be quickly understood in the current information layer. If a more detailed analysis of the failure is required, the most complete execution record can be queried in the detailed execution information for analysis.
[0096] According to another aspect of the present invention, a batch operation information fault location device is also provided, wherein the device comprises:
[0097] The first device is used to remove redundant sub-item information and JSON syntax from the batch operation information to obtain a batch operation information layer, including: parameter information of the batch operation and the name of each subtask;
[0098] The second device is used to obtain a subtask information layer from the batch operation information, including: execution parameter information of each subtask corresponding to the name of the subtask and the name of each execution API under the subtask;
[0099] The third device is used to obtain the execution API information layer from the batch operation information, including: the execution parameter information and execution information of each execution API corresponding to the name of the execution API;
[0100] The fourth device is used to locate the fault based on the batch operation information layer, the subtask information layer and the execution API information layer.
[0101] Furthermore, in the above-mentioned equipment, the fourth device is used to enter the batch operation information layer when a batch operation failure is found, and after understanding the parameter information of the batch operation in the batch operation information layer, find the subtask with the failure through the name of the subtask; based on the subtask with the failure, enter the subtask information layer, understand the execution parameter information of the subtask in the subtask information layer, and locate the specific execution API with the failure through the name of each execution API; based on the execution API with the failure, enter the execution API information layer, and obtain the cause of the batch operation failure based on the execution parameter information and execution information of the execution API in the execution API information layer.
[0102] According to another aspect of the present invention, there is also provided a computing-based device, comprising:
[0103] Processor; and
[0104] a memory arranged to store computer executable instructions which, when executed, cause the processor to:
[0105] Remove redundant sub-item information and JSON syntax from the batch operation information to obtain the batch operation information layer, including: batch operation parameter information and the names of each subtask;
[0106] From the batch operation information, obtain the subtask information layer, including: the execution parameter information of each subtask corresponding to the name of the subtask and the name of each execution API under the subtask;
[0107] From the batch operation information, obtain the execution API information layer, including: the execution parameter information and execution information of each execution API corresponding to the name of the execution API;
[0108] Fault location is performed based on the batch operation information layer, subtask information layer, and execution API information layer.
[0109] According to another aspect of the present invention, there is further provided a computer-readable storage medium having computer-executable instructions stored thereon, wherein when the computer-executable instructions are executed by a processor, the processor is caused to:
[0110] Remove redundant sub-item information and JSON syntax from the batch operation information to obtain the batch operation information layer, including: batch operation parameter information and the names of each subtask;
[0111] From the batch operation information, obtain the subtask information layer, including: the execution parameter information of each subtask corresponding to the name of the subtask and the name of each execution API under the subtask;
[0112] From the batch operation information, obtain the execution API information layer, including: the execution parameter information and execution information of each execution API corresponding to the name of the execution API;
[0113] Fault location is performed based on the batch operation information layer, subtask information layer, and execution API information layer.
[0114] For details of the various device and storage medium embodiments of the present invention, please refer to the corresponding parts of the various method embodiments, which will not be repeated here.
[0115] Obviously, those skilled in the art can make various changes and modifications to the present application without departing from the spirit and scope of the present application. Thus, if these modifications and variations of the present application fall within the scope of the claims of the present application and their equivalents, the present application is also intended to include these modifications and variations.
[0116] It should be noted that the present invention can be implemented in software and / or a combination of software and hardware, for example, can be implemented using an application specific integrated circuit (ASIC), a general purpose computer or any other similar hardware device. In one embodiment, the software program of the present invention can be executed by a processor to implement the steps or functions described above. Similarly, the software program of the present invention (including related data structures) can be stored in a computer readable recording medium, for example, a RAM memory, a magnetic or optical drive or a floppy disk and the like. In addition, some steps or functions of the present invention can be implemented using hardware, for example, as a circuit that cooperates with a processor to perform each step or function.
[0117] In addition, a part of the present invention may be applied as a computer program product, such as a computer program instruction, which, when executed by a computer, can call or provide the method and / or technical solution according to the present invention through the operation of the computer. The program instruction for calling the method of the present invention may be stored in a fixed or removable recording medium, and / or transmitted through a data stream in a broadcast or other signal-bearing medium, and / or stored in a working memory of a computer device that runs according to the program instruction. Here, according to an embodiment of the present invention, a device is included, the device including a memory for storing computer program instructions and a processor for executing program instructions, wherein, when the computer program instruction is executed by the processor, the device is triggered to run the method and / or technical solution based on the aforementioned multiple embodiments of the present invention.
[0118] It is obvious to those skilled in the art that the present invention is not limited to the details of the exemplary embodiments described above, and that the present invention can be implemented in other specific forms without departing from the spirit or essential features of the present invention. Therefore, from any point of view, the embodiments should be regarded as exemplary and non-restrictive, and the scope of the present invention is defined by the appended claims rather than the above description, and it is intended that all changes falling within the meaning and scope of the equivalent elements of the claims are included in the present invention. Any figure mark in the claims should not be regarded as limiting the claims involved. In addition, it is obvious that the word "comprising" does not exclude other units or steps, and the singular does not exclude the plural. Multiple units or devices stated in the device claim can also be implemented by one unit or device through software or hardware. The words first, second, etc. are used to indicate names, and do not indicate any particular order.
Claims
1. A method for locating faults in batch operation information. in, The method includes: Remove redundant sub-item information and JSON syntax from the batch operation information to obtain the batch operation information layer, including: batch operation parameter information and the names of each subtask; From the batch operation information, obtain the subtask information layer, including: the execution parameter information of each subtask corresponding to the name of the subtask and the name of each execution API under the subtask; From the batch operation information, obtain the execution API information layer, including: the execution parameter information and execution information of each execution API corresponding to the name of the execution API; Perform fault location based on the batch operation information layer, subtask information layer, and execution API information layer; Among them, based on the batch operation information layer, subtask information layer and execution API information layer, fault location is performed, including: When a batch operation failure is found, enter the batch operation information layer, learn the parameter information of the batch operation in the batch operation information layer, and find the subtask with the failure by the name of the subtask; Based on the subtask with the fault, enter the subtask information layer, and after understanding the execution parameter information of the subtask in the subtask information layer, locate the specific execution API with the fault through the name of each execution API; Based on the execution API having a fault, the execution API information layer is entered, and based on the execution parameter information and execution information of the execution API in the execution API information layer, the fault cause of the batch operation is obtained.
2. The method according to claim 1, in, The parameter information of the batch operation includes: The status, result, event name, UUID, start time, and completion time of the batch operation.
3. The method according to claim 1, in, The execution parameter information of each subtask includes: Subtask status, result, task name, UUID, start time, and completion time.
4. The method according to claim 1, in, Execution parameter information for each execution API, including: The status, result, API name, UUID, start time, and completion time of the API execution.
5. The method according to claim 1, in, Execution information for each executed API, including: The request and response information of the API execution in raw JSON format.
6. A fault location device for batch operation information, in, The equipment includes: The first device is used to remove redundant sub-item information and JSON syntax from the batch operation information to obtain a batch operation information layer, including: parameter information of the batch operation and the name of each subtask; The second device is used to obtain a subtask information layer from the batch operation information, including: execution parameter information of each subtask corresponding to the name of the subtask and the name of each execution API under the subtask; The third device is used to obtain the execution API information layer from the batch operation information, including: the execution parameter information and execution information of each execution API corresponding to the name of the execution API; A fourth device is used to locate the fault based on the batch operation information layer, the subtask information layer and the execution API information layer; Among them, the fourth device is used to enter the batch operation information layer when a batch operation failure is found, and after understanding the parameter information of the batch operation in the batch operation information layer, find the subtask with the failure through the name of the subtask; based on the subtask with the failure, enter the subtask information layer, understand the execution parameter information of the subtask in the subtask information layer, and locate the specific execution API with the failure through the name of each execution API; based on the execution API with the failure, enter the execution API information layer, and obtain the cause of the batch operation failure based on the execution parameter information and execution information of the execution API in the execution API information layer.
7. A computing-based device, in, include: processor; as well as a memory arranged to store computer executable instructions which, when executed, cause the processor to: Remove redundant sub-item information and JSON syntax from the batch operation information to obtain the batch operation information layer, including: batch operation parameter information and the names of each subtask; From the batch operation information, obtain the subtask information layer, including: the execution parameter information of each subtask corresponding to the name of the subtask and the name of each execution API under the subtask; From the batch operation information, obtain the execution API information layer, including: the execution parameter information and execution information of each execution API corresponding to the name of the execution API; Perform fault location based on the batch operation information layer, subtask information layer, and execution API information layer; Among them, based on the batch operation information layer, subtask information layer and execution API information layer, fault location is performed, including: When a batch operation failure is found, enter the batch operation information layer, learn the parameter information of the batch operation in the batch operation information layer, and find the subtask with the failure by the name of the subtask; Based on the subtask with the fault, enter the subtask information layer, and after understanding the execution parameter information of the subtask in the subtask information layer, locate the specific execution API with the fault through the name of each execution API; Based on the execution API having a fault, the execution API information layer is entered, and based on the execution parameter information and execution information of the execution API in the execution API information layer, the fault cause of the batch operation is obtained.
8. A computer-readable storage medium having computer-executable instructions stored thereon, in, The computer executable instructions, when executed by a processor, cause the processor to: Remove redundant sub-item information and JSON syntax from the batch operation information to obtain the batch operation information layer, including: batch operation parameter information and the names of each subtask; From the batch operation information, obtain the subtask information layer, including: the execution parameter information of each subtask corresponding to the name of the subtask and the name of each execution API under the subtask; From the batch operation information, obtain the execution API information layer, including: the execution parameter information and execution information of each execution API corresponding to the name of the execution API; Perform fault location based on the batch operation information layer, subtask information layer, and execution API information layer; Among them, based on the batch operation information layer, subtask information layer and execution API information layer, fault location is performed, including: When a batch operation failure is found, enter the batch operation information layer, learn the parameter information of the batch operation in the batch operation information layer, and find the subtask with the failure by the name of the subtask; Based on the subtask with the fault, enter the subtask information layer, and after understanding the execution parameter information of the subtask in the subtask information layer, locate the specific execution API with the fault through the name of each execution API; Based on the execution API having a fault, the execution API information layer is entered, and based on the execution parameter information and execution information of the execution API in the execution API information layer, the fault cause of the batch operation is obtained.
