CN115774628A - Batch error reporting processing method, batch error reporting processing device and storage medium - Google Patents

Batch error reporting processing method, batch error reporting processing device and storage medium Download PDF

Info

Publication number
CN115774628A
CN115774628A CN202211462435.9A CN202211462435A CN115774628A CN 115774628 A CN115774628 A CN 115774628A CN 202211462435 A CN202211462435 A CN 202211462435A CN 115774628 A CN115774628 A CN 115774628A
Authority
CN
China
Prior art keywords
batch
error reporting
error
information
tasks
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202211462435.9A
Other languages
Chinese (zh)
Inventor
朱翔
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Ping An Bank Co Ltd
Original Assignee
Ping An Bank Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Ping An Bank Co Ltd filed Critical Ping An Bank Co Ltd
Priority to CN202211462435.9A priority Critical patent/CN115774628A/en
Publication of CN115774628A publication Critical patent/CN115774628A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Debugging And Monitoring (AREA)

Abstract

The application discloses a batch error reporting processing method, a batch error reporting processing device and a computer storage medium, wherein the batch error reporting processing method comprises the following steps: acquiring batch error reporting information of batch tasks; acquiring error information classification codes of batch tasks according to error reporting detail keywords of the batch error reporting information; and acquiring a preset processing method according to the error information classification codes, and processing the batch tasks by using the preset processing method. By means of the method, the batch tasks can be classified according to the error reporting detail keywords corresponding to the batch tasks, the processing method for the batch tasks is determined based on the classification result, the batch tasks are processed in batches according to the acquired processing method, the processing efficiency of processing the batch tasks can be improved, error reporting information of manual processing of the batch tasks is replaced through machine learning, and time and labor cost are saved.

Description

Batch error reporting processing method, batch error reporting processing device and storage medium
Technical Field
The present application relates to the field of business processing, and in particular, to a batch error reporting processing method, a batch error reporting processing apparatus, and a computer storage medium.
Background
With the continuous development of economy, the scales of various services in various industries are increasingly huge, so that various service systems are provided for service processing personnel to perform unified management and maintenance on the services. Because the services related to the service system are too numerous, and a large number of tasks related to the services need to be executed, the situation of error processing is inevitable in the process of executing the tasks, and at the moment, service processing personnel are required to process the tasks so that the service activities can normally run.
In an application scenario, most of error reporting information appearing in a business system has overlapping property, that is, the same error reporting information is easy to appear repeatedly, and after each occurrence, the same error reporting information needs to be manually processed by business processing personnel, and only after the error reporting information of a task is processed and completed, other tasks in the business system can be continuously performed, which greatly affects the stable operation of the business. And for the same error reporting information, the manual processing mode is the same processing mode, a large amount of manpower is required to be consumed for repeatedly solving the same error reporting information, and unnecessary waste in labor and time cost is caused.
Disclosure of Invention
The technical problem mainly solved by the application is how to realize automatic processing of error reporting information occurring when a task is executed in a service, and for this reason, the application provides a batch error reporting processing method, a batch error reporting processing device and a computer storage medium.
In order to solve the technical problem, the application adopts a technical scheme that: the method for processing the batch error report is provided, and comprises the following steps: acquiring batch error reporting information of batch tasks; acquiring error information classification codes of batch tasks according to error reporting detail keywords of the batch error reporting information; and acquiring a preset processing method according to the error information classification codes, and processing the batch tasks by using the preset processing method.
Before acquiring batch error reporting information of the batch tasks, the batch error reporting processing method further comprises the following steps: acquiring historical batch error reporting information of batch tasks; and establishing a batch error reporting classification table based on the historical batch error reporting information, wherein the batch error reporting classification table comprises error reporting detail keywords and error information classification codes corresponding to the error reporting detail keywords.
Wherein, according to the error report detail keyword of reporting error information in batches, obtain the error information classification code of batch task, include: and matching error reporting detail keywords of the batch error reporting information with error reporting detail keywords in the batch error reporting classification table to obtain error information classification codes of the batch tasks.
Wherein, match the error reporting detail keyword of batch error reporting information with the error reporting detail keyword in the batch error reporting classification table, obtain the error information classification code of batch task, include: judging whether error detail keywords of the batch error reporting information exist in a batch error reporting classification table or not; if the error information exists, the error information classification code corresponding to the error detail reporting keyword in the batch error reporting classification table is used as the error information classification code of the batch task; if the information does not exist, the nonexistent information is sent to the relevant processing personnel; and acquiring the error information classification code set by the processing personnel as the error information classification code of the batch task.
The batch error reporting processing method further comprises the following steps: and if a plurality of error reporting detail keywords exist in the batch error reporting classification table, taking a plurality of error information classification codes respectively corresponding to the error reporting detail keywords in the batch error reporting classification table as the error information classification codes of the batch tasks.
The preset processing method comprises the following steps: and re-acquiring the batch scripts reported by errors in the batch tasks, and executing the re-acquired batch scripts on the batch tasks.
The batch error reporting processing method further comprises the following steps: and determining a corresponding relation of the batch tasks, wherein the corresponding relation comprises a table and/or a batch script corresponding to the batch tasks, the batch tasks act on the table, and the batch script is used for executing the batch tasks.
The batch error reporting processing method further comprises the following steps: and monitoring the batch tasks to acquire batch error reporting information of the batch tasks in real time.
In order to solve the above technical problem, another technical solution adopted by the present application is: the batch error reporting processing device comprises a processor and a memory, wherein the memory is coupled with the processor, the memory stores program data, and the processor is used for executing the program data to realize the batch error reporting processing method.
In order to solve the above technical problem, another technical solution adopted by the present application is: there is provided a computer-readable storage medium storing program data for implementing the above-described batch error handling method when the program data is executed.
The beneficial effect of this application is: different from the situation of the prior art, the batch error reporting processing method provided by the application is applied to a batch error reporting processing device, and the batch error reporting processing device acquires batch error reporting information of batch tasks; acquiring error information classification codes of batch tasks according to error reporting detail keywords of the batch error reporting information; and acquiring a preset processing method according to the error information classification codes, and processing the batch tasks by using the preset processing method. Through the mode, compared with a conventional batch error reporting processing method, the error reporting detail keyword is determined according to the batch error reporting information of the batch tasks, then the batch tasks are classified through the error reporting detail keyword, and the batch error reporting processing method for processing the error reporting information of the batch tasks according to the classification result can process the repeated batch error reporting information in batches, so that the repeated batch error reporting tasks can be processed quickly, the subsequent batch tasks are prevented from being affected, and the efficiency of batch task execution is improved. The batch error reporting processing method can identify and classify the error reporting information of the batch tasks and process the error reporting information in batch, so that the manpower which needs to pay attention to the batch tasks in real time and process the batch tasks in time when the error reporting occurs is released, the labor and time cost is saved, and the redundant steps in the batch task executing process are reduced.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings needed to be used in the description of the embodiments are briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present application, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
Wherein:
FIG. 1 is a schematic flow chart diagram illustrating an embodiment of a batch error reporting processing method provided in the present application;
FIG. 2 is a schematic code diagram illustrating a batch error report processing apparatus according to an embodiment of the present disclosure;
FIG. 3 is a schematic diagram of error information in the batch error reporting processing method provided in the present application;
FIG. 4 is a schematic structural diagram of a batch error reporting processing apparatus according to a first embodiment of the present disclosure;
FIG. 5 is a schematic structural diagram of a batch error reporting processing apparatus according to a second embodiment of the present application;
FIG. 6 is a schematic structural diagram of an embodiment of a computer-readable storage medium provided in the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present application, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
Referring to fig. 1, fig. 1 is a schematic flowchart illustrating an embodiment of a batch error reporting processing method provided in the present application.
Step 11: and acquiring batch error reporting information of the batch tasks.
In particular, a batch task is a series of similar tasks that need to be performed sequentially or simultaneously. During the execution of the batch tasks, various errors may be caused by problems such as script operation errors, wherein each error corresponds to a type of batch error reporting information.
Specifically, the batch error reporting processing device monitors the process of executing batch tasks in the service system in real time, and when the fact that the batch tasks report errors in the execution process is monitored, the batch error reporting processing device collects the error reporting batch information without difference and stores the error reporting batch information into the database. The batch error reporting information may include an environment for executing the batch tasks, a time for reporting the batch tasks in error, and detailed information of the batch tasks in error.
As shown in fig. 2, fig. 2 is a schematic code diagram used in acquiring batch error reporting information in an embodiment of the batch error reporting processing device provided in the present application, where the batch error reporting processing device may call an interface of a service platform by introducing a request library in Python to acquire all batch error reporting information appearing in a current service platform, and store all acquired batch error reporting information in a database.
Optionally, the batch error reporting processing device may obtain historical batch error reporting information of the batch tasks in addition to the real-time batch error reporting information, and establish the batch error reporting classification table based on the historical batch error reporting information. The batch error reporting classification table comprises error reporting detail keywords and error information classification codes corresponding to the error reporting detail keywords. The error information classification code is used for classifying the batch error information and determining a processing mode of the batch tasks corresponding to the batch error information according to the error information classification code.
The fields in the batch error reporting classification table can also comprise scripts and table names corresponding to the batch tasks, batch task execution environments, detailed information of the batch tasks in error reporting, and time of the batch tasks in error reporting. The batch error reporting classification table established by the batch error reporting processing device based on the historical batch error reporting information can enable service processing personnel to clearly know the specific detail information of the batch tasks with errors, so that manual processing can be timely performed when the batch error reporting processing device cannot process the batch tasks.
Step 12: and acquiring error information classification codes of the batch tasks according to error reporting detail keywords of the batch error reporting information.
Specifically, the batch error reporting processing device classifies the batch tasks according to error reporting detail keywords and batch error reporting details of the batch error reporting information, and manually processes the batch tasks in a mode of manual processing in historical batch error reporting information, wherein the manual processing mode corresponds to the error information classification codes of the batch tasks one to one, so that the subsequent batch error reporting processing device can rapidly process the batch tasks.
Specifically, when the batch error notification processing device acquires the batch error notification information of the real-time batch task in step 11, it searches the acquired batch error notification information according to the error notification detail keyword existing in the batch error notification classification table, and determines whether the error notification detail keyword of the batch error notification information exists in the batch error notification classification table.
Optionally, if a certain error-reporting detail keyword exists in the batch error-reporting classification table, the batch error-reporting processing device automatically sets the batch error-reporting information according to the error-information classification code corresponding to the retrieved error-reporting detail keyword.
Optionally, if the multiple error-reporting detail keywords exist in the batch error-reporting classification table, the multiple error-information classification codes respectively corresponding to the error-reporting detail keywords in the batch error-reporting classification table are used as the error-information classification codes of the batch tasks.
Optionally, if all error-reporting detail keywords of the batch tasks do not exist in the batch error-reporting classification table, sending the nonexistent information to related processing personnel, and acquiring the error information classification code set by the processing personnel as the error information classification code of the batch tasks. For example, the batch error reporting processing device may notify the corresponding service processing personnel in the form of an email to allow the service processing personnel to provide a solution, and the service processing personnel manually sets the batch error reporting classification code of the batch task.
Meanwhile, the batch error reporting processing device can acquire the batch error reporting classification codes set by the service processing personnel and store the new batch error reporting classification codes in the batch error reporting classification table, so that the batch error reporting processing device can automatically process the error reporting information when the same error reporting information appears next time. Through the mode of machine learning, report wrong processing apparatus in batches can replace the manual work to report wrong information in batches and handle, improved the execution efficiency of task in batches.
Step 13: and acquiring a preset processing method according to the error information classification codes, and processing the batch tasks by using the preset processing method.
Specifically, the batch error reporting processing device obtains an automatic solution corresponding to the error information classification code, namely a preset processing method, according to the error information classification code corresponding to the batch task. If one batch task corresponds to a plurality of error information classification codes, a plurality of preset processing methods corresponding to each error information classification code are obtained, and the batch task is processed according to the obtained preset processing methods.
In an embodiment of the present application, as shown in fig. 3, fig. 3 is a schematic diagram of error reporting information in the batch error reporting processing method provided in the present application, where an error reporting detail keyword in the diagram is a syntax error, and no command is found, the batch error reporting processing device may determine an error information classification code corresponding to the error reporting detail keyword according to the error information classification key, and may determine an error reporting of a batch script in an execution process according to information corresponding to the error information classification code in a batch error reporting classification table, so that the batch error reporting processing device may determine that a preset processing method corresponding to the error information classification code is to obtain a latest batch script from a control system, upload a new script to a batch environment under test, that is, a server of a batch task, and re-execute the error reporting script, so as to solve the problem of batch error reporting.
Optionally, the batch error report processing apparatus may further determine a corresponding relationship of the batch tasks, where the corresponding relationship includes a table and/or a batch script corresponding to the batch tasks, the batch tasks act on the table, and the batch script is used to execute the batch tasks. The corresponding relationship may be determined according to the content of the specific batch task, and is not limited herein, but is not limited to a table, a batch script, or the like. After the corresponding relation of the batch tasks is determined, the batch error reporting processing device can immediately position a table or a batch script influenced by the batch tasks according to the error reporting information of the batch tasks so as to quickly solve the problem of batch error reporting.
Different from the situation of the prior art, the batch error reporting processing method provided by the application is applied to a batch error reporting processing device, and the batch error reporting processing device acquires batch error reporting information of batch tasks; acquiring error information classification codes of batch tasks according to error reporting detail keywords of the batch error reporting information; and acquiring a preset processing method according to the error information classification codes, and processing the batch tasks by using the preset processing method. Through the mode, compared with a conventional batch error reporting processing method, the batch error reporting detail keyword is determined according to the batch error reporting information of the batch tasks, then the batch tasks are classified through the error reporting detail keyword, and the error reporting information of the batch tasks is processed according to the classification result. The batch error reporting processing method can identify and classify the error reporting information of the batch tasks and process the error reporting information in batch, so that the manpower which needs to pay attention to the batch tasks in real time and process the batch tasks in time when the error reporting occurs is released, the labor and time cost is saved, and the redundant steps in the batch task executing process are reduced.
The method of the foregoing embodiment may be implemented by using a batch error reporting processing apparatus, which is described below with reference to fig. 4, where fig. 4 is a schematic structural diagram of a first embodiment of the batch error reporting processing apparatus provided in this application.
As shown in fig. 4, the batch error report processing apparatus 40 according to the embodiment of the present disclosure includes an obtaining module 41, a classifying module 42, and a processing module 43.
The obtaining module 41 is configured to obtain batch error reporting information of the batch tasks.
And the classification module 42 is configured to obtain the error information classification code of the batch tasks according to the error reporting detail keyword of the batch error reporting information.
And the processing module 43 is configured to obtain a preset processing method according to the error information classification code, and process the batch tasks by using the preset processing method.
The method of the foregoing embodiment may be implemented by using a batch error reporting processing apparatus, and referring to fig. 5, fig. 5 is a schematic structural diagram of a second embodiment of the batch error reporting processing apparatus provided in this application, where the batch error reporting processing apparatus 50 includes a memory 51 and a processor 52, the memory 51 is used for storing program data, and the processor 52 is used for executing the program data to implement the following method:
acquiring batch error reporting information of batch tasks; acquiring error information classification codes of batch tasks according to error reporting detail keywords of the batch error reporting information; and acquiring a preset processing method according to the error information classification codes, and processing the batch tasks by using the preset processing method.
Referring to fig. 6, fig. 6 is a schematic structural diagram of an embodiment of a computer-readable storage medium 60 provided in the present application, where the computer-readable storage medium 60 stores program data 61, and when the program data 61 is executed by a processor, the method is implemented as follows:
acquiring batch error reporting information of batch tasks; acquiring error information classification codes of batch tasks according to error reporting detail keywords of the batch error reporting information; and acquiring a preset processing method according to the error information classification codes, and processing the batch tasks by using the preset processing method.
Embodiments of the present application may be implemented in software functional units and may be stored in a computer readable storage medium when sold or used as a stand-alone product. Based on such understanding, the technical solution of the present application may be substantially implemented or contributed by the prior art, or all or part of the technical solution may be embodied in a software product, which is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, a server, a network device, or the like) or a processor (processor) to execute all or part of the steps of the method according to the embodiments of the present application. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes.
The above description is only for the purpose of illustrating embodiments of the present application and is not intended to limit the scope of the present application, and all modifications of equivalent structures and equivalent processes, which are made by the contents of the specification and the drawings of the present application or are directly or indirectly applied to other related technical fields, are also included in the scope of the present application.

Claims (10)

1. A batch error reporting processing method is characterized by comprising the following steps:
acquiring batch error reporting information of batch tasks;
acquiring error information classification codes of the batch tasks according to error reporting detail keywords of the batch error reporting information;
and acquiring a preset processing method according to the error information classification codes, and processing the batch tasks by using the preset processing method.
2. The batch error reporting processing method of claim 1,
before the obtaining of the batch error reporting information of the batch tasks, the batch error reporting processing method further includes:
acquiring historical batch error reporting information of the batch tasks;
and establishing a batch error reporting classification table based on the historical batch error reporting information, wherein the batch error reporting classification table comprises error reporting detail keywords and error information classification codes corresponding to the error reporting detail keywords.
3. The batch error reporting processing method according to claim 2,
the step of obtaining the error information classification code of the batch tasks according to the error reporting detail keyword of the batch error reporting information comprises the following steps:
and matching the error reporting detail keywords of the batch error reporting information with the error reporting detail keywords in the batch error reporting classification table to obtain the error information classification codes of the batch tasks.
4. The batch error reporting processing method according to claim 3,
the matching the error reporting detail keywords of the batch error reporting information with the error reporting detail keywords in the batch error reporting classification table to obtain the error information classification codes of the batch tasks includes:
judging whether error detail keywords of the batch error reporting information exist in the batch error reporting classification table or not;
if so, taking the error information classification code corresponding to the error detail reporting keyword in the batch error reporting classification table as the error information classification code of the batch task;
if the information does not exist, the nonexistent information is sent to the relevant processing personnel;
and acquiring the error information classification code set by the processing personnel as the error information classification code of the batch task.
5. The batch error reporting processing method of claim 4,
the batch error reporting processing method further comprises the following steps:
and if a plurality of error reporting detail keywords exist in the batch error reporting classification table, taking a plurality of error information classification codes respectively corresponding to the error reporting detail keywords in the batch error reporting classification table as the error information classification codes of the batch tasks.
6. The batch error reporting processing method of claim 1,
the preset processing method comprises the following steps: and re-acquiring the batch scripts reported by errors in the batch tasks, and executing the re-acquired batch scripts on the batch tasks.
7. The batch error reporting processing method of claim 1,
the batch error reporting processing method further comprises the following steps:
and determining the corresponding relation of the batch tasks, wherein the corresponding relation comprises a table and/or a batch script corresponding to the batch tasks, the batch tasks act on the table, and the batch script is used for executing the batch tasks.
8. The batch error reporting processing method of claim 1,
the batch error reporting processing method further comprises the following steps:
and monitoring the batch tasks to acquire batch error reporting information of the batch tasks in real time.
9. A batch error handling apparatus, comprising a memory and a processor coupled to the memory;
wherein the memory is used for storing program data, and the processor is used for executing the program data to realize the batch error processing method of any one of claims 1 to 8.
10. A computer storage medium for storing program data, which when executed by a computer, implements the batch error handling method of any one of claims 1 to 8.
CN202211462435.9A 2022-11-16 2022-11-16 Batch error reporting processing method, batch error reporting processing device and storage medium Pending CN115774628A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211462435.9A CN115774628A (en) 2022-11-16 2022-11-16 Batch error reporting processing method, batch error reporting processing device and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211462435.9A CN115774628A (en) 2022-11-16 2022-11-16 Batch error reporting processing method, batch error reporting processing device and storage medium

Publications (1)

Publication Number Publication Date
CN115774628A true CN115774628A (en) 2023-03-10

Family

ID=85389702

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211462435.9A Pending CN115774628A (en) 2022-11-16 2022-11-16 Batch error reporting processing method, batch error reporting processing device and storage medium

Country Status (1)

Country Link
CN (1) CN115774628A (en)

Similar Documents

Publication Publication Date Title
CN110704231A (en) Fault processing method and device
CN108521339B (en) Feedback type node fault processing method and system based on cluster log
CN111736875A (en) Version updating monitoring method, device, equipment and computer storage medium
CN111355610A (en) Exception handling method and device based on edge network
CN113282461A (en) Alarm identification method and device for transmission network
CN110096419A (en) Acquisition methods, interface log management server and the service server of interface log
CN111427676A (en) Robot process automation task processing method and device
CN111367782B (en) Regression testing data automatic generation method and device
US5826104A (en) Batch program status via tape data set information for dynamically determining the real time status of a batch program running in a main frame computer system
CN109639456B (en) Improvement method for automatic alarm and automatic processing platform for alarm data
CN114138601A (en) Service alarm method, device, equipment and storage medium
CN111835566A (en) System fault management method, device and system
CN117313012A (en) Fault management method, device, equipment and storage medium of service orchestration system
CN115774628A (en) Batch error reporting processing method, batch error reporting processing device and storage medium
CN116644219A (en) Method and device for detecting and processing goods delivery abnormality
CN110347741B (en) System for effectively improving output result data quality in big data processing process and control method thereof
CN113656210A (en) Processing method and device for error reporting information, server and readable storage medium
CN111951944B (en) Method and platform for assisting management engineer
CN113676356A (en) Alarm information processing method and device, electronic equipment and readable storage medium
CN111722977A (en) System inspection method and device and electronic equipment
CN116433197B (en) Information reporting method, device, reporting end and storage medium
CN112596887B (en) Analysis method for batch delay and related device
CN116185787B (en) Self-learning type monitoring alarm method, device, equipment and storage medium
CN112632281B (en) Fusion delimitation method and device based on early warning complaint data
CN114969012A (en) Data monitoring method and device, computer equipment and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination