Abnormality processing method and device, computer equipment and storage medium
Through automated inspection processing methods, the current time is obtained to determine whether the inspection time is reached, the inspection document acquisition strategy is called and exceptions are identified, which solves the problem of difficulty in discovering system exceptions in the existing technology and improves the stability and reliability of the system.
Patent Information
- Application Number
- CN202510319154.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-03-14
- Publication Date
- 2025-06-17
AI Technical Summary
The prior art is difficult to detect and prevent potential abnormalities in the business system in advance, resulting in the inability to fully guarantee system stability and reliability.
By obtaining the current time and determining whether the inspection time of the target system has been reached, calling the inspection document to obtain the inspection strategy, analyzing and processing the target functional modules, identifying exceptions and generating notification information for feedback processing.
It realizes automated exception inspection and handling of the target system, and promptly detects and handles exceptions, thereby improving the stability and reliability of the system.
Smart Images

Figure CN120162218A_ABST
Abstract
Description
Technical Field
[0001] This application relates to the technical field of data processing, and can be applied to fields such as fintech and digital healthcare, and particularly relates to an exception handling method, apparatus, computer device, and storage medium. Background Art
[0002] Currently, in the financial and medical fields, business systems, as the core systems provided by companies for daily operations to external users, their stability and reliability are crucial for the business development of companies and user trust. These business systems not only involve a large amount of data processing and transaction operations, but also are directly related to the property safety, health information, and privacy protection of users.
[0003] However, in practical applications, these business systems often face various potential exceptions and risks. For example, the system may often display error messages, resulting in blocked user operations; or the system may be inaccessible, preventing users from obtaining the required services or information in a timely manner; more seriously, transaction data may be incorrect, which not only affects the property rights and interests of users, but may also cause immeasurable losses to the reputation and business operations of the company.
[0004] In the prior art, although there are already various monitoring and detection means to monitor the operating status of business systems, these means often only alarm and handle after an exception occurs, and cannot detect and prevent potential system exceptions in advance. This lag makes the system stability unable to be fully guaranteed, and the user trust and satisfaction with the system are also greatly reduced. Moreover, with the continuous development and complexity of the business in the financial and medical fields, the scale and complexity of business systems are also increasing continuously, which further increases the difficulty of system maintenance and fault troubleshooting. Traditional monitoring and detection methods have been difficult to meet the high requirements of current business systems for stability and reliability.
[0005] Therefore, there is an urgent need for a technical means that can detect and warn potential exceptions in business systems in advance to ensure the stability and reliability of business systems. Summary of the Invention
[0006] The purpose of the embodiments of this application is to propose an exception handling method, apparatus, computer device, and storage medium to solve the technical problem that the existing monitoring and detection methods have been difficult to meet the high requirements of current business systems for stability and reliability.
[0007] In a first aspect, an exception handling method is provided, including:
[0008] Obtain the current time, and determine whether the current time has reached the patrol time corresponding to the target functional module of the target system;
[0009] If so, call the inspection document corresponding to the target system;
[0010] Obtain the inspection strategy corresponding to the target function module based on the inspection document;
[0011] Analyze and process the target function module based on the inspection strategy to obtain the corresponding inspection result;
[0012] Perform anomaly recognition on the inspection result to determine whether there is an anomaly in the inspection result;
[0013] If there is an anomaly in the inspection result, extract the anomaly data from the inspection result and generate the corresponding anomaly notification information based on the anomaly data;
[0014] Perform the corresponding anomaly feedback processing based on the anomaly notification information.
[0015] In a second aspect, an anomaly processing device is provided, including:
[0016] A first judgment module, configured to obtain the current time and judge whether the current time reaches the inspection time corresponding to the target function module of the target system;
[0017] A call module, configured to, if so, call the inspection document corresponding to the target system;
[0018] A first acquisition module, configured to obtain the inspection strategy corresponding to the target function module based on the inspection document;
[0019] An analysis module, configured to analyze and process the target function module based on the inspection strategy to obtain the corresponding inspection result;
[0020] A second judgment module, configured to perform anomaly recognition on the inspection result to determine whether there is an anomaly in the inspection result;
[0021] A processing module, configured to, if there is an anomaly in the inspection result, extract the anomaly data from the inspection result and generate the corresponding anomaly notification information based on the anomaly data;
[0022] A feedback module, configured to perform the corresponding anomaly feedback processing based on the anomaly notification information.
[0023] In a third aspect, a computer device is provided, including a memory, a processor, and a computer program stored in the memory and executable on the processor. When the processor executes the computer program, the steps of the above anomaly processing method are implemented.
[0024] Fourthly, a computer-readable storage medium is provided. The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the steps of the above-mentioned exception handling method are implemented.
[0025] In the solution implemented by the above-mentioned exception handling method, device, computer device and storage medium, the current time can be obtained, and it can be judged whether the current time reaches the patrol time corresponding to the target function module of the target system; if so, the patrol document corresponding to the target system is called; then the patrol strategy corresponding to the target function module is obtained based on the patrol document; after that, the target function module is analyzed and processed based on the patrol strategy to obtain the corresponding patrol result; subsequently, the patrol result is subjected to anomaly recognition to judge whether there is an anomaly in the patrol result; if there is an anomaly in the patrol result, the anomaly data is extracted from the patrol result, and the corresponding anomaly notification information is generated based on the anomaly data; finally, the corresponding anomaly feedback processing is performed based on the anomaly notification information. When this application detects that the current time reaches the patrol time corresponding to the target function module of the target system, it will automatically call the patrol document corresponding to the target system, obtain the patrol strategy corresponding to the target function module based on the patrol document, then analyze and process the target function module based on the use of the patrol strategy to obtain the corresponding patrol result, and when an anomaly is detected by performing anomaly recognition on the patrol result and it is detected that there is an anomaly in the anomaly result, the anomaly data is extracted from the patrol result, and the corresponding anomaly notification information is generated based on the anomaly data, and then the corresponding anomaly feedback processing is performed based on the anomaly notification information. In this way, this application can automatically and accurately implement the anomaly patrol processing for the target system based on the use of the patrol document and the patrol strategy, and can discover and handle anomalies in a timely manner, thereby effectively improving the stability and reliability of the target system. BRIEF DESCRIPTION OF THE DRAWINGS
[0026] In order to more clearly illustrate the solutions in this application, the following will briefly introduce the drawings required for the description of the embodiments of this application. Obviously, the drawings in the following description are some embodiments of this application. For those of ordinary skill in the art, other drawings can be obtained based on these drawings without creative efforts.
[0027] Figure 1 It is an exemplary system architecture diagram to which this application can be applied;
[0028] Figure 2 It is a flowchart of an embodiment of the exception handling method according to this application;
[0029] Figure 3 It is a schematic structural diagram of an embodiment of the exception handling device according to this application;
[0030] Figure 4 It is a schematic structural diagram of an embodiment of a computer device according to the present application. Detailed implementation manners
[0031] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as commonly understood by those of ordinary skill in the technical field to which this application belongs; the terms used in the specification of this application are only for the purpose of describing specific embodiments and are not intended to limit this application; the terms "including" and "having" and any variations thereof in the specification and claims of this application and the above drawings are intended to cover non-exclusive inclusion. The terms "first", "second", etc. in the specification and claims of this application or the above drawings are used to distinguish different objects and not to describe a specific order.
[0032] Referring to "embodiments" herein means that a particular feature, structure, or characteristic described in connection with the embodiments can be included in at least one embodiment of this application. The phrase appears in various places in the specification and does not necessarily refer to the same embodiment, nor is it an independent or alternative embodiment mutually exclusive with other embodiments. Those skilled in the art will explicitly and implicitly understand that the embodiments described herein can be combined with other embodiments.
[0033] In order to enable those skilled in the art of this technology to better understand the solutions of this application, the technical solutions in the embodiments of this application will be clearly and completely described below with reference to the drawings.
[0034] As Figure 1 shown, the system architecture 100 may include a terminal device 101, a network 102, and a server 103. The terminal device 101 may be a laptop computer 1011, a tablet computer 1012, or a mobile phone 1013. The network 102 is a medium for providing a communication link between the terminal device 101 and the server 103. The network 102 may include various connection types, such as wired, wireless communication links, or fiber optic cables, etc.
[0035] The user can use the terminal device 101 to interact with the server 103 through the network 102 to receive or send messages, etc. Various communication client applications may be installed on the terminal device 101, such as a web browser application, a shopping application, a search application, an instant messaging tool, an email client, a social platform software, etc.
[0036] The terminal device 101 can be various electronic devices with a display screen and supporting web browsing. In addition to the laptop computer 1011, the tablet computer 1012, or the mobile phone 1013, the terminal device 101 can also be an e-book reader, an MP3 player (Moving Picture Experts Group Audio Layer III), an MP4 (Moving Picture Experts Group Audio Layer IV) player, a laptop portable computer, a desktop computer, and so on.
[0037] The server 103 can be a server providing various services, such as a background server supporting the pages displayed on the terminal device 101.
[0038] It should be noted that the exception handling method provided by the embodiments of the present application is generally executed by the server / terminal device. Correspondingly, the exception handling device is generally arranged in the server / terminal device.
[0039] It should be understood that Figure 1 the numbers of the terminal devices, the network, and the server in
[0040] Continue to refer to Figure 2 , which shows a flowchart of an embodiment of the exception handling method according to the present application. According to different requirements, the order of the steps in this flowchart can be changed, and some steps can be omitted. The exception handling method provided by the embodiments of the present application can be applied to any scenario that requires product recommendation. Then, this exception handling method can be applied to the products in these scenarios. For example, product recommendation in the financial insurance field. The described exception handling method includes the following steps:
[0041] Step S201, obtain the current time, and determine whether the current time has reached the inspection time corresponding to the target function module of the target system.
[0042] In this embodiment, the electronic device on which the exception handling method runs (such as Figure 1The server / terminal device shown can obtain the inspection time through a wired connection method or a wireless connection method. It should be noted that the above wireless connection method can include, but is not limited to, 3G / 4G / 5G connection, WiFi connection, Bluetooth connection, WiMAX connection, Zigbee connection, UWB (ultra wideband) connection, and other currently known or future-developed wireless connection methods. The execution subject of this application can specifically be an electronic device with a target system built-in. This application can be applied to business scenarios for abnormal inspection and processing of business systems in the financial field or the medical field.
[0043] In the financial field, the above target system can include a bank management system, a securities trading system, an insurance information management system, a trust management system, a self-developed system of a fintech company, and so on. The above bank management system is used for the management and coordination of various internal bank operations, including functional modules such as deposit, loan, remittance, and financial management. The above securities trading system is used to provide professional services for securities investment activities, including functional modules such as trading and information query of financial products such as stocks and bonds. The above insurance information management system is used for the management of medical insurance funds, the management of medical insurance designated institutions, the settlement and reimbursement of medical insurance expenses, and so on. The above trust management system is used to manage trust business, including the acquisition of property rights, the benefit management of beneficiaries, and so on. The above self-developed system of a fintech company is a system self-developed according to the business needs of the fintech company and can include functional modules such as risk assessment, intelligent investment advisor, and payment settlement.
[0044] In the medical field, the above target system can include a hospital information management system, an electronic medical record system, a medical imaging system, a telemedicine system, a mobile medical system, and so on. The above hospital information management system is used for the management of various internal hospital information, including patient management, registration and charging, doctor scheduling, drug management, and so on. The above electronic medical record system is used to record, manage, and share electronic medical record information of patients. The above medical imaging system is used for the storage, retrieval, transmission, and display of digital medical images. The above telemedicine system supports remote consultation, remote medical education, and remote health management. The above mobile medical system realizes the interactive communication and remote medical services between doctors and patients through the mobile Internet and intelligent devices.
[0045] Among them, the above-mentioned target function modules may include the computer-side function modules (PC side), application-side function modules (APP side), and interface function modules of the target system. Specifically, the above-mentioned computer-side function modules (PC side) may include the function modules of all computer-side web pages or desktop applications in the target system, such as user login, product browsing, shopping cart management, order payment, etc. The above-mentioned application-side function modules (APP side) may include all function modules of the mobile application on the mobile phone in the target system, such as user registration, product search, personal information management, online payment, etc. The above-mentioned interface function modules may include all API interfaces providing data interaction in the target system, including user authentication interfaces, product information interfaces, order processing interfaces, etc. In addition, the above-mentioned patrol time refers to the processing time for abnormal patrol processing of the target function modules in the target system. There is no specific limitation on the selection of this patrol time, which can be set according to actual business needs. Preferably, the idle time period of the target system can be adopted, so as to avoid affecting the normal operation of the target system and further improve the operation stability and intelligence of the target system.
[0046] In addition, by means of scheduled tasks, various functions and business processes of the business system are patrolled, so that the present application can discover some hidden defects in the system prior to users, thereby reducing various risks that may occur in the business system and lead to losses.
[0047] Step S202, if yes, call the patrol document corresponding to the target system.
[0048] In this embodiment, if it is detected that the current time reaches the patrol time corresponding to the target function module of the target system, the patrol document corresponding to the above-mentioned target system is automatically called. Among them, the construction process of the patrol document includes: pre-identifying the function modules of all computer-side web pages or desktop applications (computer-side function modules), and describing each function module in detail, including its function, location, access path, etc. And identifying all function modules of the mobile application on the mobile phone (application-side function modules), and recording the operation steps and expected results of each function module. And listing all API interfaces providing data interaction (interface function modules), including user authentication interfaces, product information interfaces, order processing interfaces, etc. And recording the URL, request method (GET, POST, etc.), request parameters, return value format, etc. of each interface. Then, the function modules in each category are sorted out in detail, and all function points to be patrolled are listed to ensure no omission. Subsequently, a patrol document template is formulated, including key information fields such as function point description, normal status, access method, expected results, etc. And fill in the patrol document containing each function point according to the patrol document template, while ensuring the accuracy and integrity of the information.
[0049] Step S203: Obtain the inspection strategy corresponding to the target function module based on the inspection document.
[0050] In this embodiment, after classifying the target system according to different platforms or different functions into a computer - end function module, an application - end function module, and an interface function module, different inspection strategies can be further adopted to regularly inspect whether various functions are normal. Among them, for the specific processing steps of the inspection strategies for various different target function modules, this application will further describe the details in subsequent specific embodiments and will not elaborate too much here.
[0051] Step S204: Analyze and process the target function module based on the inspection strategy to obtain the corresponding inspection result.
[0052] In this embodiment, for the specific implementation process of analyzing and processing the target function module based on the inspection strategy to obtain the corresponding inspection result, this application will further describe the details in subsequent specific embodiments and will not elaborate too much here.
[0053] Step S205: Perform anomaly identification on the inspection result to determine whether there is an anomaly in the inspection result.
[0054] In this embodiment, for the specific implementation process of performing anomaly identification on the inspection result to determine whether there is an anomaly in the inspection result, this application will further describe the details in subsequent specific embodiments and will not elaborate too much here.
[0055] Step S206: If there is an anomaly in the inspection result, extract the anomaly data from the inspection result and generate a corresponding anomaly notification message based on the anomaly data.
[0056] In this embodiment, the above - mentioned anomaly data refers to the data that shows anomalies in the above - mentioned inspection result. The corresponding anomaly notification message can be generated by filling the above - mentioned anomaly data into a preset anomaly notification template. Among them, the content of the above - mentioned anomaly notification template is not specifically limited and can be written according to the actual business requirements of anomaly notification reminders.
[0057] Step S207: Perform corresponding anomaly feedback processing based on the anomaly notification message.
[0058] In this embodiment, for the specific implementation process of performing corresponding anomaly feedback processing based on the anomaly notification message, this application will further describe the details in subsequent specific embodiments and will not elaborate too much here.
[0059] This application first obtains the current time and determines whether the current time has reached the inspection time corresponding to the target function module of the target system; if so, it calls the inspection document corresponding to the target system; then it obtains the inspection strategy corresponding to the target function module based on the inspection document; after that, it analyzes and processes the target function module based on the inspection strategy to obtain the corresponding inspection result; subsequently, it performs anomaly identification on the inspection result to determine whether there is an anomaly in the inspection result; if there is an anomaly in the inspection result, it extracts the anomaly data from the inspection result and generates the corresponding anomaly notification information based on the anomaly data; finally, it performs the corresponding anomaly feedback processing based on the anomaly notification information. When this application detects that the current time has reached the inspection time corresponding to the target function module of the target system, it will automatically call the inspection document corresponding to the target system, obtain the inspection strategy corresponding to the target function module based on the inspection document, then analyze and process the target function module based on the use of the inspection strategy to obtain the corresponding inspection result, and when it performs anomaly identification on the inspection result and detects that there is an anomaly in the anomaly result, it will extract the anomaly data from the inspection result and generate the corresponding anomaly notification information, and then perform the corresponding anomaly feedback processing based on the anomaly notification information. In this way, this application can automatically and accurately implement the anomaly inspection processing for the target system based on the use of the inspection document and the inspection strategy, and can detect and handle anomalies in a timely manner, thereby effectively improving the stability and reliability of the target system.
[0060] In some alternative implementation manners, step S204 includes the following steps:
[0061] If the target function module is a computer-side function module, a preset test tool is called.
[0062] In this embodiment, the above test tool can adopt an automated test tool.
[0063] Based on the test tool and the inspection document, a first inspection script corresponding to the computer-side function module is constructed.
[0064] In this embodiment, the above inspection document will also include a detailed description of the inspection script corresponding to the above computer-side function module (PC side), including the writing specifications of the script, the design ideas of test cases, the specific implementation of test steps, etc. The corresponding first inspection script can be written using the test tool according to the detailed description of the inspection script corresponding to the above computer-side function module stored in the above inspection document to simulate the operations of users on the PC-side web page or desktop application. Among them, the first inspection script covers all key operations that users may perform, such as logging in, browsing products, adding to the shopping cart, submitting an order, etc.
[0065] Run the first inspection script to traverse all the first function points corresponding to the computer - side function module by simulating user operations, and obtain the corresponding first function detection results.
[0066] In this embodiment, the first inspection script can be started regularly to traverse all the first function points corresponding to the computer - side function module by simulating user operations. For example, check the page loading speed, whether page elements are correctly displayed, whether form submissions are successful, etc., so as to obtain the corresponding first function detection results.
[0067] Specifically, the PC - side inspection is to inspect the business processing processes of the system. By sorting out various business processes in the inspection document and listing them one by one in the document according to the process sequence, including text and pictures, etc., it is used to judge whether the function is normal or whether there are errors in the corresponding process in the future. And the PC - side inspection function is to regularly access the corresponding function processes in the business system, access each page one by one according to the process sequence, and compare the results returned by accessing the corresponding function processes with the functions in the document one by one to check for abnormalities. Subsequently, classify the importance of each function process, and notify the corresponding person in charge to handle the abnormal results in different ways according to different importance levels.
[0068] Take the first function detection result as the inspection result.
[0069] In this embodiment, the corresponding inspection result can be obtained by integrating all the first function detection results obtained. In addition, if during the inspection process of the computer - side function module, situations such as page loading timeouts, abnormal element displays, form submission failures, etc. are found, they are regarded as abnormalities. Furthermore, the abnormal information can be recorded, including the type of abnormality, occurrence time, page URL, etc., and the abnormal page can be automatically screenshot and saved. And according to the abnormal level, notify the relevant person in charge to handle it by email or phone, etc.
[0070] If the target function module is detected as a computer - side function module in this application, a preset test tool is called; then a first inspection script corresponding to the computer - side function module is constructed based on the test tool and the inspection document; then the first inspection script is run to traverse all first function points corresponding to the computer - side function module by simulating user operations, and a corresponding first function detection result is obtained; subsequently, the first function detection result is used as the inspection result. When the target function module is detected as a computer - side function module in this application, a first inspection script corresponding to the computer - side function module will be intelligently constructed based on the use of the test tool and the inspection document, and then by running the first inspection script, all first function points corresponding to the computer - side function module are traversed by simulating user operations, a corresponding first function detection result is obtained and used as the inspection result, so that the inspection and analysis processing of the computer - side function module can be completed quickly and accurately, effectively improving the processing efficiency of the inspection and analysis of the computer - side function module and ensuring the accuracy of the obtained inspection result.
[0071] In some alternative implementation manners of this embodiment, step S204 includes the following steps:
[0072] If the target function module is an application - side function module, a second inspection script corresponding to the application - side function module is constructed based on the inspection document.
[0073] In this embodiment, the above - mentioned inspection document also includes a detailed description of the inspection script corresponding to the above - mentioned application - side function module (APP side), including the writing specification of the script, the design idea of the test case, the specific implementation of the test steps, etc. The corresponding second inspection script can be written using an automated test tool according to the detailed description of the inspection script corresponding to the above - mentioned computer - side function module stored in the above - mentioned inspection document to simulate the operations of users on the mobile application of the mobile phone. Among them, the above - mentioned second inspection script covers all key operations that users may perform, such as registration, login, searching for goods, purchasing goods, etc.
[0074] Run the second inspection script to traverse all second function points corresponding to the application - side function module by simulating user operations, and obtain a corresponding second function detection result.
[0075] In this embodiment, the above - mentioned second inspection script can be started regularly to traverse all second function points corresponding to the above - mentioned application - side function module by simulating user operations, such as checking whether the page jump is correct, whether the data is loaded in time, whether the interactive feedback is accurate, etc., so as to obtain the corresponding second function detection result.
[0076] Specifically, the patrol on the APP side, i.e., the mobile phone side, is a function for detecting in advance the corresponding measures that may occur during the user's operation of accessing the system using a mobile phone. It is mainly classified according to the various function modules in the patrol document for subsequent patrol. Subsequently, according to the classification results, the corresponding regular inspection function is used to imitate the way of manual clicking, and each function is clicked in a cyclic manner from front to back, and the abnormalities occurring during the clicking are recorded. The abnormalities during the clicking are notified to the corresponding personnel for handling according to the degree of importance.
[0077] Use the second function detection result as the patrol result.
[0078] In this embodiment, the corresponding patrol result can be obtained by integrating all the second function detection results obtained. In addition, if it is found that the page jump fails, the data loading times out, the interactive feedback is abnormal, etc., it is regarded as an abnormality. Furthermore, the abnormal information is recorded, including the abnormal type, occurrence time, function module, etc., and the abnormal page is automatically captured and saved. And according to the abnormal level, the relevant person in charge is notified to handle it by means of email or phone, etc.
[0079] If the target function module detected by this application is an application-side function module, a second patrol script corresponding to the application-side function module is constructed based on the patrol document; then the second patrol script is run to traverse all the second function points corresponding to the application-side function module by simulating user operations, and the corresponding second function detection results are obtained; subsequently, the second function detection results are used as the patrol results. When this application detects that the target function module is an application-side function module, it will intelligently construct a second patrol script corresponding to the application-side function module based on the use of the patrol document, and then by running the second patrol script, traverse all the second function points corresponding to the application-side function module by simulating user operations, obtain the corresponding second function detection results and use them as the patrol results, so that the patrol analysis and processing of the application-side function module can be completed quickly and accurately, effectively improving the processing efficiency of the patrol analysis of the application-side function module and ensuring the accuracy of the obtained patrol results.
[0080] In some optional implementation manners, step S204 includes the following steps:
[0081] If the target function module is an interface function module, obtain interface information from the patrol document.
[0082] In this embodiment, the above interface function module also stores the interface information of the API interface for providing data interaction. The interface information may include information such as URL, request method (GET, POST, etc.), request parameters, and return value format.
[0083] Construct a corresponding interface access task based on the interface information.
[0084] In this embodiment, a timing task, i.e., an interface access task, can be set according to the above interface information. This timing task regularly accesses the interface through a simulated HTTP request tool.
[0085] Execute the interface access task to obtain the corresponding interface access result.
[0086] In this embodiment, by executing the above interface access task and recording the access results of each corresponding interface, including access time, request parameters, return values, whether it is successful, etc., and using them as the corresponding inspection results.
[0087] Specifically, during the interface inspection process, read the interface part in the inspection document, set corresponding timing tasks according to the input parameters, access methods (GET, POST, etc.), return values, etc., and regularly access the corresponding interfaces. Then, perform real-time checks on the results of the interface access. For the results with abnormal returns, according to the importance of the interface, remind relevant personnel to handle the abnormality in a timely manner by phone or email (using phone reminders for those with a high degree of importance and email reminders for those with a low degree of importance), so as to discover abnormal situations in the interface earlier than users and handle the abnormalities in advance to avoid uncontrollable impacts.
[0088] Use the interface access result as the inspection result.
[0089] In this embodiment, the generated inspection results can be saved to a log file for subsequent analysis and processing. In addition, if it is found that the interface returns error codes, data format abnormalities, response timeouts, etc., it is regarded as an abnormality. Furthermore, record the abnormal information, including the abnormal type, occurrence time, interface URL, etc. And according to the abnormal level, notify the relevant person in charge to handle it by email or phone, etc. At the same time, the abnormal information can be integrated into the problem tracking system for subsequent follow-up and processing.
[0090] If this application detects that the target function module is an interface function module, obtain the interface information from the inspection document; then construct a corresponding interface access task based on the interface information; then execute the interface access task to obtain the corresponding interface access result; subsequently, use the interface access result as the inspection result. When this application detects that the target function module is an interface function module, it will intelligently obtain the interface information from the inspection document, construct a corresponding interface access task based on the interface information, then execute the interface access task, obtain the corresponding interface access result and use it as the corresponding inspection result, so as to achieve fast and accurate completion of the inspection analysis and processing of the interface function module, effectively improving the processing efficiency of the inspection analysis of the interface function module and ensuring the accuracy of the obtained inspection results.
[0091] In some alternative implementations, step S205 includes the following steps:
[0092] Obtain the expected result corresponding to the target function module from the inspection document.
[0093] In this embodiment, the inspection document further contains expected results respectively corresponding to the inspection processing of different target function modules.
[0094] Compare the inspection result with the expected result, and determine whether there is specific data in the inspection result that does not conform to the expected result.
[0095] In this embodiment, the inspection result of the generated target function module can be compared with the obtained expected result to obtain a corresponding comparison result, and then according to the comparison result, it can be detected whether there is specific data in the above inspection result that does not conform to the above expected result.
[0096] If so, determine that there is an abnormality in the inspection result.
[0097] In this embodiment, if it is detected that there is specific data in the inspection result that does not conform to the expected result, it indicates that there is a situation in the above inspection result that does not conform to the above expected result, and then it is determined that there is an abnormality in the inspection result.
[0098] If not, determine that there is no abnormality in the inspection result.
[0099] In this embodiment, if it is detected that there is no specific data in the inspection result that does not conform to the expected result, it indicates that there is no situation in the above inspection result that does not conform to the above expected result, and then it is determined that there is no abnormality in the inspection result.
[0100] This application obtains the expected result corresponding to the target function module from the inspection document; subsequently, compares the inspection result with the expected result to determine whether there is specific data in the inspection result that does not conform to the expected result; if so, determines that there is an abnormality in the inspection result; if not, determines that there is no abnormality in the inspection result. This application obtains the expected result corresponding to the target function module from the inspection document, then compares the inspection result with the expected result to obtain a comparison result, and then through the analysis of this comparison result, it can efficiently and accurately complete the abnormality recognition of the inspection result to determine whether there is an abnormality in the inspection result, effectively ensuring the accuracy of the generated abnormality recognition result.
[0101] In some alternative implementations of this embodiment, step S207 includes the following steps:
[0102] Obtain a preset exception classification rule.
[0103] In this embodiment, the above exception classification rule can be constructed according to actual business requirements. The rule content of the exception classification rule may include: First, determine the exception type according to the specific manifestation of the exception, such as interface return error code, page loading failure, data inconsistency, etc. Then evaluate the impact degree of the exception on the business system, including the user impact scope, business interruption time, etc., and classify the exception into three levels: high priority, medium priority, and low priority according to the impact degree and urgency.
[0104] Perform exception classification on the exception data based on the exception classification rule to obtain a target exception level corresponding to the exception data.
[0105] In this embodiment, the exception classification process for the above exception data can be performed according to the rule content of the above exception classification rule, so as to obtain a target exception level corresponding to the above exception data. Among them, the target exception level can include three levels: high priority, medium priority, and low priority. Exemplarily, the above exception data can be abnormal financial data, such as abnormal transaction data, payment data, loan data, etc. Or, the above exception data can also be abnormal medical data, such as abnormal personal health records, prescriptions, inspection reports and other data.
[0106] Obtain a target notification policy corresponding to the target exception level.
[0107] In this embodiment, for different exception levels, there are respectively corresponding notification policies for various exception levels. Specifically, for high-priority exceptions, immediately notify the relevant person in charge by phone to ensure that the relevant person in charge can respond quickly and take measures. For medium-priority exceptions, notify the relevant person in charge by email. Require the exception to be processed within a specified time and the processing result to be replied. For low-priority exceptions, record them in the problem tracking system. Regularly follow up the processing progress to ensure that the problem is solved in a timely manner.
[0108] Perform corresponding exception feedback processing on the exception notification information based on the target notification policy.
[0109] In this embodiment, the corresponding exception feedback processing for the above exception notification information can be performed according to the selected policy content of the above target notification policy. In this application, the inspection results are notified to relevant personnel for processing in different ways, so that important functions can be restored faster and important businesses are not affected greatly.
[0110] This application obtains a preset anomaly classification rule; then classifies the anomaly data based on the anomaly classification rule to obtain a target anomaly level corresponding to the anomaly data; then obtains a target notification policy corresponding to the target anomaly level; subsequently, performs corresponding anomaly feedback processing on the anomaly notification information based on the target notification policy. By obtaining a preset anomaly classification rule, classifying the anomaly data based on the use of the anomaly classification rule to obtain a target anomaly level corresponding to the anomaly data, further obtaining a target notification policy corresponding to the target anomaly level, and performing corresponding anomaly feedback processing on the anomaly notification information based on the use of the target notification policy, this application can effectively improve the processing standardization, intelligence, and accuracy of the anomaly feedback processing of the anomaly notification information, which is beneficial for relevant personnel to discover and handle anomalies in a timely manner, thereby improving the stability and reliability of the target system.
[0111] In some alternative implementation manners of this embodiment, the above electronic device may further perform the following steps:
[0112] Determine whether the target system has been updated.
[0113] In this embodiment, by detecting the version of the target system, if it is detected that the version information of the target system is different from the previously stored last version information, it can be determined that the target system has been updated. Among them, in the financial field, the above target system may include a bank management system, a securities trading system, an insurance information management system, a trust management system, a self-developed system of a fintech company, and so on. In the medical field, the above target system may include a hospital information management system, an electronic medical record system, a medical imaging system, a telemedicine system, a mobile medical system, and so on.
[0114] If so, obtain the update content of the target system.
[0115] In this embodiment, after the target system is updated, the update content can be identified, including the addition of new functions, the modification of old functions, the change of interface parameters, and so on.
[0116] Perform corresponding update processing on the patrol document based on the update content.
[0117] In this embodiment, the patrol document can be updated accordingly according to the above update content to ensure that the function of the patrol is the latest version. Among them, by formulating corresponding rules, it is stipulated that in the version update of the business system, the updated functions need to be written into the patrol document according to the corresponding format. Specifically, for newly added functions, new function point descriptions and patrol documents are added; for modified functions, the function point descriptions and expected results are updated; for changes in interface parameters, the interface request parameters and return value formats are updated. In addition, after the update of the patrol document is completed, it can be reviewed by the project leader or the test team. The review content includes the accuracy, integrity, consistency, etc. of the patrol document. And after the review is passed, the project leader or the designated person confirms the patrol document and releases it for the patrol team to use.
[0118] This application determines whether the target system has been updated; if so, obtains the update content of the target system; subsequently, based on the update content, corresponding update processing is performed on the patrol document. After this application detects that the target system has been updated, it will automatically and intelligently obtain the update content of the target system, and then perform corresponding update processing on the patrol document based on the update content, so as to effectively ensure that the function of the patrol is the latest function, and it can also make the newly launched functions be effectively patrolled, which is beneficial to further improving the processing accuracy of the patrol processing of the target system.
[0119] In some alternative implementation manners, the obtained user information has obtained the consent of the user and complies with the provisions of relevant laws and relevant policies.
[0120] In addition, the non-company software tools or components that appear in the embodiments of this application are only for illustrative introduction and do not represent actual use.
[0121] It should be understood that the magnitudes of the sequence numbers of the steps in the above embodiments do not mean the order of execution. The execution order of each process should be determined according to its function and internal logic, and should not constitute any limitation to the implementation process of the embodiments of the present invention.
[0122] It should be emphasized that to further ensure the privacy and security of the above abnormal data, the above abnormal data can also be stored in a node of a blockchain.
[0123] This application uses the method of regular inspections to periodically check whether there are any abnormalities in the various functional modules of the business system. If there are abnormalities, relevant personnel will be notified in real time for repair, thereby effectively reducing the business impact and minimizing the risk of potential business losses. Moreover, through this application, abnormalities can be detected in a timely manner, and the abnormalities can also be processed promptly according to the degree of impact of the abnormalities. Once an abnormality occurs, relevant personnel will be notified to handle it in a timely manner through different methods according to the importance of the impact of the abnormality, thereby reducing the impact of the abnormality and making the system more robust and stable.
[0124] The blockchain referred to in this application is a new application model of computer technologies such as distributed data storage, peer-to-peer transmission, consensus mechanism, and encryption algorithms. Blockchain, in essence, is a decentralized database, a series of data blocks generated by using cryptographic methods. Each data block contains information about a batch of network transactions, which is used to verify the validity of the information (anti-counterfeiting) and generate the next block. The blockchain can include the blockchain underlying platform, the platform product service layer, and the application service layer, etc.
[0125] The embodiments of this application can acquire and process relevant data based on artificial intelligence technology. Among them, Artificial Intelligence (AI) is the theory, method, technology, and application system that uses digital computers or machines controlled by digital computers to simulate, extend, and expand human intelligence, perceive the environment, acquire knowledge, and use knowledge to obtain the best results.
[0126] The basic technologies of artificial intelligence generally include technologies such as sensors, dedicated artificial intelligence chips, cloud computing, distributed storage, big data processing technology, operation / interaction systems, and mechatronics. The software technologies of artificial intelligence mainly include several major directions such as computer vision technology, robotics, biometric technology, speech processing technology, natural language processing technology, and machine learning / deep learning.
[0127] Those of ordinary skill in the art can understand that all or part of the processes in implementing the methods of the above embodiments can be completed by instructing relevant hardware through computer-readable instructions. These computer-readable instructions can be stored in a computer-readable storage medium. When the program is executed, it can include the processes of the embodiments of the above various methods. Among them, the aforementioned storage medium can be a non-volatile storage medium such as a magnetic disk, an optical disk, a Read-Only Memory (ROM), or a Random Access Memory (RAM), etc.
[0128] It should be understood that although the steps in the flowchart of the accompanying drawings are shown sequentially according to the indication of the arrows, these steps are not necessarily executed sequentially in the order indicated by the arrows. Unless otherwise clearly stated in this document, there is no strict order restriction for the execution of these steps, and they can be executed in other orders. Moreover, at least a part of the steps in the flowchart of the accompanying drawings may include multiple sub-steps or multiple stages. These sub-steps or stages are not necessarily executed at the same time, but can be executed at different times, and their execution order is not necessarily sequential, but can be executed alternately or in turn with at least a part of other steps or sub-steps or stages of other steps.
[0129] Further referring to Figure 3 , as an implementation of the method described above Figure 2 , this application provides an embodiment of an exception handling device. This device embodiment corresponds to Figure 2 the method embodiment shown, and this device can be specifically applied to various electronic devices.
[0130] As Figure 3 shown, the exception handling device 300 described in this embodiment includes: a first judgment module 301, a call module 302, a first acquisition module 303, an analysis module 304, a second judgment module 305, a processing module 306, and a feedback module 307. Among them:
[0131] The first judgment module 301 is configured to obtain the current time and judge whether the current time reaches the patrol time corresponding to the target function module of the target system;
[0132] The call module 302 is configured to, if so, call the patrol document corresponding to the target system;
[0133] The first acquisition module 303 is configured to obtain the patrol strategy corresponding to the target function module based on the patrol document;
[0134] The analysis module 304 is configured to perform analysis and processing on the target function module based on the patrol strategy to obtain a corresponding patrol result;
[0135] The second judgment module 305 is configured to perform exception identification on the patrol result and judge whether there is an exception in the patrol result;
[0136] The processing module 306 is configured to, if there is an exception in the patrol result, extract the exception data from the patrol result and generate a corresponding exception notification message based on the exception data;
[0137] The feedback module 307 is configured to perform corresponding exception feedback processing based on the exception notification message.
[0138] In this embodiment, the operations respectively performed by the above-mentioned modules or units correspond one by one to the steps of the exception handling method in the foregoing embodiment, and will not be elaborated herein.
[0139] In some alternative implementation manners of this embodiment, the analysis module 304 includes:
[0140] A calling sub-module, configured to call a preset test tool if the target function module is a computer-side function module;
[0141] A first construction sub-module, configured to construct a first inspection script corresponding to the computer-side function module based on the test tool and the inspection document;
[0142] A first processing sub-module, configured to run the first inspection script to traverse all first function points corresponding to the computer-side function module by simulating user operations, so as to obtain a corresponding first function detection result;
[0143] A first determination sub-module, configured to use the first function detection result as the inspection result.
[0144] In this embodiment, the operations respectively performed by the above-mentioned modules or units correspond one by one to the steps of the exception handling method in the foregoing embodiment, and will not be elaborated herein.
[0145] In some alternative implementation manners of this embodiment, the analysis module 304 includes:
[0146] A second construction sub-module, configured to construct a second inspection script corresponding to the application-side function module based on the inspection document if the target function module is an application-side function module;
[0147] A second processing sub-module, configured to run the second inspection script to traverse all second function points corresponding to the application-side function module by simulating user operations, so as to obtain a corresponding second function detection result;
[0148] A second determination sub-module, configured to use the second function detection result as the inspection result.
[0149] In this embodiment, the operations respectively performed by the above-mentioned modules or units correspond one by one to the steps of the exception handling method in the foregoing embodiment, and will not be elaborated herein.
[0150] In some alternative implementation manners of this embodiment, the analysis module 304 includes:
[0151] A first acquisition sub-module, configured to obtain interface information from the inspection document if the target function module is an interface function module;
[0152] A third construction sub-module, configured to construct a corresponding interface access task based on the interface information;
[0153] An execution sub-module, configured to execute the interface access task to obtain a corresponding interface access result;
[0154] A third determination sub-module, configured to use the interface access result as the inspection result.
[0155] In this embodiment, the operations respectively performed by the above-mentioned modules or units correspond one by one to the steps of the exception handling method in the foregoing embodiment, and will not be elaborated herein.
[0156] In some alternative implementation manners of this embodiment, the second determination module 305 includes:
[0157] A second acquisition sub-module, configured to acquire an expected result corresponding to the target function module from the inspection document;
[0158] A judgment sub-module, configured to compare the inspection result with the expected result, and judge whether there is specific data in the inspection result that does not conform to the expected result;
[0159] A first determination sub-module, configured to, if so, determine that there is an exception in the inspection result;
[0160] A second determination sub-module, configured to, if not, determine that there is no exception in the inspection result.
[0161] In this embodiment, the operations respectively performed by the above-mentioned modules or units correspond one by one to the steps of the exception handling method in the foregoing embodiment, and will not be elaborated herein.
[0162] In some alternative implementation manners of this embodiment, the feedback module 307 includes:
[0163] A third acquisition sub-module, configured to acquire a preset exception classification rule;
[0164] A classification sub-module, configured to perform exception classification on the exception data based on the exception classification rule to obtain a target exception level corresponding to the exception data;
[0165] A fourth acquisition sub-module, configured to acquire a target notification policy corresponding to the target exception level;
[0166] A third processing sub-module, configured to perform corresponding exception feedback processing on the exception notification information based on the target notification policy.
[0167] In this embodiment, the operations respectively performed by the above-mentioned modules or units correspond one by one to the steps of the exception handling method in the foregoing embodiment, and will not be elaborated herein.
[0168] In some alternative implementation manners of this embodiment, the exception handling device further includes:
[0169] A third determination module, configured to determine whether the target system has been updated;
[0170] An acquisition module, configured to, if so, acquire the update content of the target system;
[0171] An update module, configured to perform corresponding update processing on the inspection document based on the update content.
[0172] In this embodiment, the operations respectively performed by the foregoing modules or units correspond one by one to the steps of the exception handling method in the foregoing embodiment, and will not be elaborated herein.
[0173] To solve the above technical problems, an embodiment of the present application further provides a computer device. Specifically, please refer to Figure 4 , Figure 4 which is the basic structural block diagram of the computer device in this embodiment.
[0174] The computer device 4 includes a memory 41, a processor 42, and a network interface 43 that are communicatively connected to each other through a system bus. It should be noted that only the computer device 4 with components 41-43 is shown in the figure, but it should be understood that it is not required to implement all the shown components, and more or fewer components can be alternatively implemented. Among them, those skilled in the art of the present technology can understand that a computer device here is a device that can automatically perform numerical calculations and / or information processing according to pre-set or stored instructions, and its hardware includes but is not limited to a microprocessor, an application specific integrated circuit (ASIC), a field-programmable gate array (FPGA), a digital signal processor (DSP), an embedded device, etc.
[0175] The computer device may be a desktop computer, a notebook, a palm computer, a cloud server, and other computing devices. The computer device can perform human-computer interaction with a user through a keyboard, a mouse, a remote control, a touchpad, a voice control device, or the like.
[0176] The memory 41 at least includes one type of readable storage medium, and the readable storage medium includes flash memory, hard disk, multimedia card, card-type memory (such as SD or DX memory, etc.), random access memory (RAM), static random access memory (SRAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), programmable read-only memory (PROM), magnetic memory, magnetic disk, optical disc, etc. In some embodiments, the memory 41 may be an internal storage unit of the computer device 4, such as the hard disk or memory of the computer device 4. In other embodiments, the memory 41 may also be an external storage device of the computer device 4, such as a plug-in hard disk, Smart Media Card (SMC), Secure Digital (SD) card, FlashCard, etc. equipped on the computer device 4. Of course, the memory 41 may also include both the internal storage unit and the external storage device of the computer device 4. In this embodiment, the memory 41 is generally used to store the operating system and various application software installed in the computer device 4, such as computer-readable instructions of the exception handling method. In addition, the memory 41 may also be used to temporarily store various data that have been output or will be output.
[0177] In some embodiments, the processor 42 may be a central processing unit (CPU), controller, microcontroller, microprocessor, or other data processing chip. The processor 42 is generally used to control the overall operation of the computer device 4. In this embodiment, the processor 42 is used to run the computer-readable instructions stored in the memory 41 or process data, such as running the computer-readable instructions of the exception handling method.
[0178] The network interface 43 may include a wireless network interface or a wired network interface, and the network interface 43 is generally used to establish a communication connection between the computer device 4 and other electronic devices.
[0179] Compared with the prior art, the embodiments of the present application mainly have the following beneficial effects:
[0180] In the embodiment of the present application, by obtaining the current time and determining whether the current time reaches the inspection time corresponding to the target function module of the target system; if so, calling the inspection document corresponding to the target system; then obtaining the inspection strategy corresponding to the target function module based on the inspection document; thereafter, analyzing and processing the target function module based on the inspection strategy to obtain the corresponding inspection result; subsequently, performing anomaly identification on the inspection result to determine whether there is an anomaly in the inspection result; if there is an anomaly in the inspection result, extracting the anomaly data from the inspection result and generating the corresponding anomaly notification information based on the anomaly data; and finally, performing the corresponding anomaly feedback processing based on the anomaly notification information. When the present application detects that the current time reaches the inspection time corresponding to the target function module of the target system, it will automatically call the inspection document corresponding to the target system, obtain the inspection strategy corresponding to the target function module based on the inspection document, then analyze and process the target function module based on the use of the inspection strategy to obtain the corresponding inspection result, and when performing anomaly identification on the inspection result and detecting that there is an anomaly in the anomaly result, it will extract the anomaly data from the inspection result and generate the corresponding anomaly notification information, and then perform the corresponding anomaly feedback processing based on the anomaly notification information. Thus, the present application can automatically and accurately implement the anomaly inspection processing for the target system based on the use of the inspection document and the inspection strategy, and can timely discover and handle anomalies, thereby effectively improving the stability and reliability of the target system.
[0181] The present application also provides another implementation manner, that is, providing a computer-readable storage medium storing computer-readable instructions that can be executed by at least one processor, so that the at least one processor executes the steps of the anomaly processing method as described above.
[0182] Compared with the prior art, the embodiments of the present application mainly have the following beneficial effects:
[0183] In the embodiments of the present application, by obtaining the current time and determining whether the current time reaches the inspection time corresponding to the target function module of the target system; if so, calling the inspection document corresponding to the target system; then obtaining the inspection strategy corresponding to the target function module based on the inspection document; then analyzing and processing the target function module based on the inspection strategy to obtain the corresponding inspection result; subsequently, performing anomaly recognition on the inspection result to determine whether there is an anomaly in the inspection result; if there is an anomaly in the inspection result, extracting the anomaly data from the inspection result and generating the corresponding anomaly notification information based on the anomaly data; and finally, performing the corresponding anomaly feedback processing based on the anomaly notification information. When the present application detects that the current time reaches the inspection time corresponding to the target function module of the target system, it will automatically call the inspection document corresponding to the target system, obtain the inspection strategy corresponding to the target function module based on the inspection document, then analyze and process the target function module based on the use of the inspection strategy to obtain the corresponding inspection result, and when performing anomaly recognition on the inspection result and detecting that there is an anomaly in the anomaly result, it will extract the anomaly data from the inspection result and generate the corresponding anomaly notification information based on the anomaly data, and then perform the corresponding anomaly feedback processing based on the anomaly notification information. Thus, based on the use of the inspection document and the inspection strategy, the present application can automatically and accurately implement the anomaly inspection processing for the target system, and can timely discover and handle anomalies, thereby effectively improving the stability and reliability of the target system.
[0184] Through the description of the above embodiments, those skilled in the art can clearly understand that the above embodiment methods can be implemented by means of software plus a necessary general hardware platform, and of course, they can also be implemented by hardware, but in many cases, the former is a better implementation method. Based on such an understanding, the technical solution of the present application, in essence, or the part that contributes to the prior art can be embodied in the form of a software product. The computer software product is stored in a storage medium (such as ROM / RAM, magnetic disk, optical disk), and includes several instructions for causing a terminal device (which can be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) to execute the methods described in the various embodiments of the present application.
[0185] Obviously, the embodiments described above are only a part of the embodiments of this application, rather than all embodiments. The accompanying drawings show the preferred embodiments of this application, but do not limit the patent scope of this application. This application can be implemented in many different forms. On the contrary, the purpose of providing these embodiments is to make the understanding of the disclosed content of this application more thorough and comprehensive. Although this application has been described in detail with reference to the foregoing embodiments, for those skilled in the art, they can still modify the technical solutions described in the foregoing specific embodiments, or perform equivalent replacements on some of the technical features. Any equivalent structure made by using the content of the specification and drawings of this application, directly or indirectly applied in other related technical fields, is similarly within the scope of patent protection of this application.
Claims
1. An exception handling method, characterized in that: The steps include: Get the current time, and determine whether the current time reaches the patrol time corresponding to the target function module of the target system; If so, calling the inspection document corresponding to the target system; Acquire a patrol strategy corresponding to the target functional module based on the patrol document; Analyze and process the target functional module based on the inspection strategy to obtain corresponding inspection results; Performing abnormality identification on the inspection results to determine whether there are abnormalities in the inspection results; If there is an abnormality in the inspection result, extract the abnormal data from the inspection result, and generate corresponding abnormal notification information based on the abnormal data; Corresponding exception feedback processing is performed based on the exception notification information.
2. The exception handling method according to claim 1, characterized in that: The step of analyzing and processing the target functional module based on the patrol strategy to obtain the corresponding patrol result specifically includes: If the target functional module is a computer-side functional module, a preset testing tool is called; Constructing a first inspection script corresponding to the computer-side functional module based on the test tool and the inspection document; Running the first patrol script to traverse all first function points corresponding to the computer-side function module by simulating user operations to obtain corresponding first function detection results; The first function detection result is used as the patrol result.
3. The exception handling method according to claim 1, characterized in that: The step of analyzing and processing the target functional module based on the patrol strategy to obtain the corresponding patrol result specifically includes: If the target functional module is an application-side functional module, constructing a second inspection script corresponding to the application-side functional module based on the inspection document; Running the second patrol script to traverse all second function points corresponding to the application-side function module by simulating user operations to obtain corresponding second function detection results; The second function detection result is used as the patrol result.
4. The exception handling method according to claim 1, characterized in that: The step of analyzing and processing the target functional module based on the patrol strategy to obtain the corresponding patrol result specifically includes: If the target functional module is an interface functional module, obtaining interface information from the inspection document; Constructing a corresponding interface access task based on the interface information; Execute the interface access task and obtain the corresponding interface access result; The interface access result is used as the patrol result.
5. The exception handling method according to claim 1, characterized in that: The step of identifying anomalies in the inspection results and determining whether there are anomalies in the inspection results specifically includes: Acquire the expected result corresponding to the target functional module from the inspection document; Compare the inspection result with the expected result to determine whether there is any specific data in the inspection result that does not meet the expected result; If so, determining that there is an abnormality in the inspection result; If not, it is determined that there is no abnormality in the inspection result.
6. The exception handling method according to claim 1, characterized in that: The step of performing corresponding abnormal feedback processing based on the abnormal notification information specifically includes: Get the preset exception classification rules; Based on the abnormal classification rule, the abnormal data is classified as abnormal to obtain a target abnormal level corresponding to the abnormal data; Obtaining a target notification strategy corresponding to the target abnormality level; Based on the target notification strategy, corresponding exception feedback processing is performed on the exception notification information.
7. The exception handling method according to claim 1, characterized in that: The exception handling method further includes: Determine whether the target system has been updated; If yes, obtaining the updated content of the target system; The patrol document is updated accordingly based on the updated content.
8. An exception handling device, characterized in that: include: The first judgment module is used to obtain the current time and judge whether the current time reaches the patrol time corresponding to the target function module of the target system; A calling module, for calling the inspection document corresponding to the target system if yes; A first acquisition module, configured to acquire a patrol strategy corresponding to the target functional module based on the patrol document; An analysis module, used for analyzing and processing the target functional module based on the patrol strategy to obtain a corresponding patrol result; A second judgment module is used to identify abnormalities in the inspection results and judge whether there are abnormalities in the inspection results; A processing module, configured to extract abnormal data from the inspection result if there is an abnormality in the inspection result, and generate corresponding abnormal notification information based on the abnormal data; A feedback module is used to perform corresponding abnormal feedback processing based on the abnormal notification information.
9. A computer device, characterized in that: The method comprises a memory and a processor, wherein the memory stores computer-readable instructions, and the processor implements the steps of the exception handling method according to any one of claims 1 to 7 when executing the computer-readable instructions.
10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer-readable instructions, and when the computer-readable instructions are executed by a processor, the steps of the exception handling method according to any one of claims 1 to 7 are implemented.