Automatic accurate alarm method and system

By building a mechanism for automated analysis of system logs and classification of error logs on the exchange platform, accurate positioning and problem alerting of upstream and downstream responsible parties is achieved, and the problem lack of real-time alarms and clear error classification in the existing technology is solved, which improves problem solving efficiency and customer satisfaction.

CN119835138APending Publication Date: 2025-04-15CHINA CITIC BANK CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411774499.1
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-12-05
Publication Date
2025-04-15

AI Technical Summary

Technical Problem

The existing technology lacks real-time alarm mechanism in the exchange platform, unclear error classification, fixed transaction routing configuration, single alarm standards and low resource allocation efficiency in the exchange platform, resulting in delayed problem discovery and response time, affecting customer satisfaction and corporate reputation.

Method used

By building a mechanism for automated analysis of system logs and classification of error logs on the exchange platform, accurate positioning and problem alerts are achieved for upstream and downstream responsible parties, and the efficiency of positioning of errors reported between systems and problem solving is improved.

Benefits of technology

It realizes rapid discovery and positioning of problems, improves the efficiency of positioning and problem solving of errors reported between systems, reduces operating costs, and improves customer satisfaction and system stability.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119835138A_ABST
    Figure CN119835138A_ABST
Patent Text Reader

Abstract

The invention relates to an automatic accurate alarm method and system, and the method comprises the steps: constructing an exchange platform for connecting an upstream consumption system and a downstream service system, and enabling the exchange platform to communicate with the upstream consumption system and the downstream service system based on a data transmission plug-in; recording interaction logs between the exchange platform and the upstream consumption system and between the exchange platform and the downstream service system; monitoring the process log, identifying an error code through automatic inspection, extracting an alarm keyword, and outputting transaction information containing the error code in a formatting manner; analyzing an error report log, positioning an error report responsible party according to the error report log in which the alarm keyword is located, and matching an error type in the error report log; according to the method, the problems can be quickly found and positioned, and the efficiency of positioning the errors between the systems and solving the problems is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of computer technology, and in particular to a method and system for automatic and accurate warning. Background Art

[0002] In modern information technology architecture, especially when it comes to financial services, e-commerce, online transactions and other scenarios, the exchange platform, as a key hub connecting different systems, undertakes the important tasks of data transmission and transaction processing. With the growth of business volume and the increase of system complexity, traditional exchange platforms face many challenges.

[0003] CN116467109A discloses a database error processing method, including: obtaining log information generated when the database is executed; extracting an alarm log file from the log information; searching for error keywords in the alarm log file, and determining the name and address of a target trace file according to the error keywords; opening and analyzing the target trace file according to the name and address; and providing corresponding processing according to whether there is an SQL statement in the target trace file.

[0004] Existing error handling methods still have the following shortcomings: Lack of real-time alarm mechanism: Many systems lack an effective real-time alarm mechanism, resulting in delays in problem discovery and response, and are unable to meet rapidly changing business needs. Unclear error classification: Error logs usually contain a lot of information, but lack effective classification and labeling, making error analysis and responsibility location difficult. Fixed routing configuration: In some systems, transaction routing configurations are fixed or difficult to update, which limits the flexibility and scalability of the system. Single alarm standard: Existing alarm systems often use a single threshold standard and cannot adapt to the diverse needs of different business scenarios. Inefficient resource allocation: Due to the lack of an automated error analysis and alarm system, the operation and maintenance team often needs to spend a lot of time on error troubleshooting, resulting in inefficient resource allocation. Affected customer satisfaction: Delayed response and resolution of problems will affect customer experience, which in turn affects customer satisfaction and corporate reputation. Summary of the invention

[0005] In order to address the deficiencies of the prior art, the present invention utilizes an intermediate exchange platform and a unique log structure to automatically analyze each system log. It utilizes a mechanism to automatically analyze system logs and classify error logs and automatically and accurately locate the party responsible for the problem, accurately locate the problem and the upstream and downstream responsible parties of the problem, and inform the upstream and downstream responsible parties of the problem through an alarm mechanism, thereby realizing rapid discovery and location of problems and improving the efficiency of locating errors and solving problems between systems.

[0006] To achieve the above objectives, the first aspect of the present invention provides an automated accurate warning method, which is characterized by comprising:

[0007] S1. Constructing an exchange platform for connecting the upstream consumer system and the downstream service system, the exchange platform establishes communication between the upstream consumer system and the downstream service system based on the data transmission plug-in (DTA);

[0008] S2. Record the interaction logs between the exchange platform and the upstream consumption system and the downstream service system, including process logs and error logs, and classify the error logs to obtain the error type, error code and description information;

[0009] Specifically, the exchange platform, as a bus system, transmits data between related systems based on the data transfer plug-in DTA (Data Transfer Adapter). Different upstream and downstream related systems connected to the exchange platform need to have corresponding DTAs. Various DTAs are used to communicate with upstream and downstream related systems through the exchange platform. The upstream consumer system and downstream service system connected to the exchange platform are two different DTA processes. The logs of the interaction between the exchange platform and the upstream consumer system and the downstream service system are also recorded in the two processes respectively.

[0010] S3. Monitor the process log, identify the error code through automated inspection, extract the alarm keywords, and format and output the transaction information containing the error code;

[0011] S4. Analyze the error log, locate the party responsible for the error according to the error log where the alarm keyword is located, and match the error type in the error log;

[0012] S5. Format and output error log information to a custom alarm file to achieve accurate alarms and send problem reports.

[0013] Specifically, the error types are classified, and the error information is classified according to the error types that the system has identified. 21 error types have been identified, and accurate error codes and descriptions are customized for each error type. The alarm keywords in the extraction process log are analyzed and recorded, including the initiator DTA, log printing time, transaction processing time, transaction serial number, transaction code, initiator system code, return error code, error information description, etc. Finally, the recorded information is formatted and output to a customized error log record file.

[0014] In some embodiments, the shared memory of the exchange platform includes a transaction routing configuration to clarify the routing relationship between the transaction code of the upstream consumer system and the downstream service provider system.

[0015] Specifically, the shared memory of the exchange platform is a storage mechanism that allows multiple processes or systems to access the same memory area. This method can increase the speed of data access and reduce the communication overhead between different systems.

[0016] Transaction routing configuration, which is a set of rules or instructions stored in shared memory that define how transaction data is routed between the upstream consumer system (the system that initiates the transaction) and the downstream service system (the system that processes the transaction). Upstream consumer system: refers to the system that initiates the transaction request, which may be a client application, a user interface, or other service system. Downstream service system: refers to the system that receives and processes the transaction request, which is responsible for executing the specific logic of the transaction, such as database updates, messaging, or other business operations.

[0017] In some embodiments, the S4 step further includes extracting the initiator's DAT information, the transaction code and the router configuration within the system to confirm the upstream consumer and downstream service process of the transaction.

[0018] Specifically, DTA is a data transmission adapter responsible for transmitting data between the upstream consumer system and the exchange platform. DTA information usually includes the DTA identifier, version, configuration parameters, etc., which helps to identify and track the starting point of data flow. Transaction code is a code used to identify a specific transaction. Each transaction has a unique transaction code, which helps to quickly identify and locate transaction records. Routing configuration is a set of rules stored in the shared memory of the exchange platform, which defines the data flow between the upstream consumer system and the downstream service system based on the transaction code. These configurations ensure that transaction data can be correctly transmitted from the initiator to the correct destination. By analyzing the initiator's DTA information, transaction code and routing configuration, the system can determine which upstream consumer system initiated the transaction and which downstream service system the transaction should be routed to. This helps to quickly locate the source of the problem when an error occurs.

[0019] In some embodiments, the upstream consumer and downstream service process locate the error log file and error log content of the transaction according to the printing time and / or serial number information of the interaction log.

[0020] Specifically, in the communication process between the exchange platform and the upstream consumer and downstream service providers, interaction logs are generated. These logs record the details of the transaction, including successful and failed transactions. The print time in the interaction log refers to the specific time when the log entry was generated. This timestamp can be used to determine the timing of the transaction, which helps to quickly locate the log record of a specific transaction in a large amount of log data. The print time in the interaction log refers to the specific time when the log entry was generated. This timestamp can be used to determine the timing of the transaction, which helps to quickly locate the log record of a specific transaction in a large amount of log data.

[0021] The error log file (such as ESWT.log) specifically records the error information that occurs during the transaction. By analyzing the print time and / or serial number in the interaction log, the corresponding error log file can be quickly located. Once the corresponding error log file is found, the specific content of the error information of the transaction recorded in the file can be further located.

[0022] In some embodiments, matching the error type in the error log in S4 includes retrieving the alarm keyword and matching the error code according to the retrieved alarm keyword.

[0023] In some embodiments, the S5 step includes but is not limited to outputting the following information: error type, alarm keyword, error cause, and responsible party system code.

[0024] Specifically, by analyzing the error log content, the specific cause of the error can be determined, such as network problems, system failures, configuration errors, etc. This helps to take targeted measures to solve the problem. According to the error log content and the routing configuration within the system, the responsible party for the error can be determined, that is, whether the problem is caused by the upstream consumer or the downstream service party. Through the above positioning and analysis process, the system can generate an alarm report containing information such as error type, alarm keywords, error cause, and responsible party system code, and send it to the relevant responsible party through the automated alarm module to achieve accurate alarms.

[0025] In some embodiments, the precise alarm includes monitoring the responsible party system and error code in the custom alarm file, and adding alarm rules for the error code, wherein the alarm rules include setting a trigger alarm threshold and an alarm time frequency.

[0026] Specifically, the alarm monitoring system monitors the responsible party's system and error code in the custom alarm file; adds alarm rules for the error code, and presets the triggering alarm threshold and alarm time frequency in the alarm rules; starts counting from the last alarm time, and automatically triggers the alarm when the number of occurrences of the system's error code in the custom alarm file meets the alarm threshold condition, and sends a problem report to inform the responsible party of the system problem and the cause of the error.

[0027] In a second aspect, the present invention further provides an automated accurate warning system, characterized in that it includes:

[0028] An interactive communication module, used to construct an exchange platform for connecting an upstream consumption system and a downstream service system, wherein the exchange platform establishes communication between the upstream consumption system and the downstream service system based on a data transmission plug-in (DTA);

[0029] A log recording module, used to record the interaction logs between the exchange platform and the upstream consumption system and the downstream service system, including process logs and error logs, and to classify the error logs and obtain error types, error codes and description information;

[0030] A patrol monitoring module is used to monitor the process log, identify error codes through automated patrol, extract alarm keywords, and format and output transaction information containing error codes;

[0031] An error analysis module is used to analyze the error log, locate the party responsible for the error according to the error log where the alarm keyword is located, and match the error type in the error log;

[0032] The automatic alarm module is used to format and output error log information to a custom alarm file to achieve accurate alarms and send problem reports.

[0033] A third aspect also provides an electronic device, characterized in that it includes a processor and a memory;

[0034] The memory is used to store computer programs;

[0035] The processor is configured to execute the method according to any one of claims 1 to 7 by calling a stored computer program.

[0036] The fourth aspect also includes a computer program product, comprising a computer program and / or instructions, characterized in that when the computer program and / or instructions are executed by a processor, the steps of the method described in any one of claims 1 to 7 are implemented.

[0037] The beneficial effects of the present invention are: improving the efficiency of problem location; by automatically analyzing process logs and error logs, the system can quickly identify and locate errors that occur during the transaction process, significantly reducing the time and workload of manual troubleshooting.

[0038] Accurate error classification and responsibility location: The system can not only identify errors, but also accurately classify errors and determine the responsible party based on information such as error type, error code, and alarm keywords, providing a clear direction for rapid problem resolution.

[0039] Real-time alarms and notifications: The automated alarm mechanism can be triggered immediately when an error occurs, and the relevant responsible parties can be notified in real time through custom alarm files, speeding up the response to problems.

[0040] Customized alarm rules: The system allows users to set alarm rules as needed, including alarm thresholds and time frequencies, providing flexibility and adaptability to meet the needs of different scenarios.

[0041] Enhanced data security: The communication mechanism established through the Data Transfer Plug-in (DTA) ensures the secure transmission of data between the exchange platform and upstream and downstream systems.

[0042] Improve system stability and reliability: The automated and accurate alarm system reduces system downtime and enhances the stability and reliability of the entire transaction processing system by timely detecting and responding to errors.

[0043] Optimize resource allocation: The system can automatically assign problem-solving tasks based on error type and responsible party, optimizing the use of human resources and improving the work efficiency of the operation and maintenance team.

[0044] Support system scalability: The transaction routing configuration contained in the shared memory of the exchange platform is easy to update and maintain, supports system expansion, and can adapt to future business growth and changes.

[0045] Reduce operating costs: The automated and precise alarm mechanism reduces potential losses caused by untimely error handling, thereby reducing the company's operating costs.

[0046] Improve customer satisfaction: Rapid problem-solving capabilities improve service response speed and quality, thereby increasing customer satisfaction and loyalty. BRIEF DESCRIPTION OF THE DRAWINGS

[0047] Figure 1 This is a flow chart of the method for automated and accurate warning of the present invention.

[0048] Figure 2 The figure is a flow chart of the method for automatically analyzing error logs according to the present invention.

[0049] Figure 3 This is a schematic diagram of the system structure of the automatic and accurate alarm of the present invention. DETAILED DESCRIPTION

[0050] In order to make the purpose, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, rather than all of the embodiments. The components of the embodiments of the present invention generally described and shown in the drawings here can be arranged and designed in various different configurations. Therefore, the following detailed description of the embodiments of the present invention provided in the drawings is not intended to limit the scope of the claimed invention, but merely represents selected embodiments of the present invention. Based on the embodiments in the present invention, all other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of the present invention.

[0051] It should be noted that similar reference numerals and letters represent similar items in the following drawings, so once an item is defined in one drawing, it does not need to be further defined and explained in the subsequent drawings. At the same time, in the description of the present invention, the terms "first", "second", etc. are only used to distinguish the description and cannot be understood as indicating or implying relative importance.

[0052] The first aspect of the present invention relates to a process of steps as follows Figure 1 An automated accurate warning method is shown, comprising:

[0053] S1. Constructing an exchange platform for connecting the upstream consumer system and the downstream service system, the exchange platform establishes communication between the upstream consumer system and the downstream service system based on the data transmission plug-in (DTA);

[0054] S2. Record the interaction logs between the exchange platform and the upstream consumption system and the downstream service system, including process logs and error logs, and classify the error logs to obtain the error type, error code and description information;

[0055] S3. Monitor the process log, identify the error code through automated inspection, extract the alarm keywords, and format and output the transaction information containing the error code;

[0056] S4. Analyze the error log, locate the party responsible for the error according to the error log where the alarm keyword is located, and match the error type in the error log;

[0057] S5. Format and output error log information to a custom alarm file to achieve accurate alarms and send problem reports.

[0058] The logs of the exchange platform's interaction with the upstream consumer system and the downstream service system are recorded in two processes respectively. After the transaction is processed, the process log (mons.log) of the transaction will be recorded in the upstream consumer system log directory, which contains alarm keywords such as transaction process number, transaction processing time, transaction code, serial number, initiator system code, system error code, etc. Based on this special log structure, the exchange platform can query the error log information (ESWT.log) under the upstream consumer and downstream service processes according to the keywords provided in the process log, and locate the responsible party for the problem as the upstream consumer system or the downstream service system. Then, the error cause can be analyzed by analyzing the error log content, so as to accurately locate the problem and automatically send the problem alarm information to the responsible party system.

[0059] According to the error types that the system has identified, the error information is classified. 21 error types have been identified, and precise error codes and description information are customized for each error type. The details are as follows:

[0060] Custom error codes

[0061]

[0062] NESB305="Message illegal parsing failed" #MONS

[0063] NESB306 = "Message label length exceeds limit" #MONS

[0064] NESB401="Failed to send message" #MONS

[0065] Monitor the error code of the exchange platform. The error codes defined by the exchange platform include S1R3002 and S1R3005. Through automated inspection, identify the transaction logs with error codes S1R3002 and S1R3005 recorded in the process log (mons.log). Analyze and extract the alarm keywords in the process log, record the initiator DTA, log printing time, transaction processing time, transaction serial number, transaction code, initiator system code, return error code, error information description and other information, and format the obtained alarm keywords and output them to the custom error log record file.

[0066] Analyze the error logs under the consumer process. Specific error log analysis and precise positioning are as follows: Figure 2 As shown, the error log of the exchange platform is recorded in the error log file (ESWT.log) in the corresponding process folder. The error logs of the upstream consumer and the downstream service provider are recorded in the corresponding processes respectively. The log analysis process is as follows:

[0067] The consumer and service process of the transaction are determined based on the extracted initiator DTA information, transaction code and the routing configuration within the system. Transaction code: The transaction code is a code used to uniquely identify a specific transaction. In the routing configuration, the transaction code is used to determine which downstream service system the transaction data should be sent to. Routing logic: The logic in the routing configuration defines the routing rules based on the transaction code. For example, if a transaction code is "X", then all transactions with this transaction code should be routed to a specific downstream service system "Y".

[0068] According to the log printing time, serial number and other information, the error log files (ESWT.log) of the upstream consumer and downstream service processes are analyzed respectively to locate the error log files and log contents recorded in the transaction.

[0069] Retrieve possible log keywords and match custom error codes based on the retrieved log keywords.

[0070] Analyze the process where the log keyword appears in the error log file and the error logic of the log keyword to locate the system responsible for the error. Keyword: "Destination application request failed", the service error log needs to be parsed according to the routing information. In the error log file under the service process, the keyword "connection address...failed" is parsed, and the matching error code is NESB205 = "connection to service failed", and the responsible system is the service system COFP.

[0071] Because the exchange platform is an intermediate system, the responsible system can be located as the upstream consumer system or downstream service system of the exchange platform according to the process where the error occurs.

[0072] Format and output error type, alarm keyword, error cause, responsible party system code and other information to the specified custom alarm file.

[0073] Through the automatic inspection of the process log (mons.log) and the analysis of the error log file (ESWT.log), the error code, error cause, alarm keyword, responsible party system, etc. are located, and the error code, alarm keyword, error cause, responsible party system code and other information are formatted and output to the specified custom alarm file. The precise alarm implementation method is as follows:

[0074] The alarm monitoring system monitors the responsible party system and error code in the custom alarm file;

[0075] Add an alarm rule for the error code. The alarm rule presets the trigger alarm threshold and alarm time frequency.

[0076] Statistics are collected from the last alarm time. When the number of occurrences of the system error code in the custom alarm file meets the alarm threshold, an alarm is automatically triggered. When the keyword NESB205 meets the preset alarm threshold, an alarm is triggered and a problem report is sent to inform the responsible party of the system problem and the cause of the error.

[0077] Another aspect of the present invention also relates to an automatic and accurate warning system, the structure of which is as follows: Figure 3 As shown, including:

[0078] An interactive communication module, used to construct an exchange platform for connecting an upstream consumption system and a downstream service system, wherein the exchange platform establishes communication between the upstream consumption system and the downstream service system based on a data transmission plug-in (DTA);

[0079] A log recording module, used to record the interaction logs between the exchange platform and the upstream consumption system and the downstream service system, including process logs and error logs, and to classify the error logs and obtain error types, error codes and description information;

[0080] A patrol monitoring module is used to monitor the process log, identify error codes through automated patrol, extract alarm keywords, and format and output transaction information containing error codes;

[0081] An error analysis module is used to analyze the error log, locate the party responsible for the error according to the error log where the alarm keyword is located, and match the error type in the error log;

[0082] The automatic alarm module is used to format and output error log information to a custom alarm file to achieve accurate alarms and send problem reports.

[0083] By using this system, the above-mentioned operation processing method can be executed and the corresponding technical effects can be achieved.

[0084] An embodiment of the present invention also provides an electronic device for executing the above method. As an implementation device of the method, the electronic device has at least a processor and a memory, and in particular, the memory stores data and related computer programs required for executing the method, such as storing related programs for automated precise alarms, etc., and the processor calls the data and programs in the memory to execute all the steps of the implementation method and obtains the corresponding technical effects.

[0085] Preferably, the electronic device may include a bus architecture, the bus may include any number of interconnected buses and bridges, and the bus will include various circuits linked together by one or more processors and memories. The bus may also link together various other circuits such as peripherals, voltage regulators, and power management circuits, which are all well known in the art and are therefore not further described herein. The bus interface provides an interface between the bus and the receiver and transmitter. The receiver and transmitter may be the same component, i.e., a transceiver, providing a unit for communicating with various other systems over a transmission medium. The processor is responsible for managing the bus and general processing, while the memory may be used to store data used by the processor when performing operations.

[0086] In addition, the electronic device may further include components such as a communication module, an input unit, an audio processor, a display, and a power supply. The processor (or controller, operation control) used may include a microprocessor or other processor device and / or a logic device, which receives input and controls the operation of various components of the electronic device; the memory may be one or more of a cache, a flash memory, a hard drive, a removable medium, a volatile memory, a non-volatile memory, or other suitable devices, which may store the above-mentioned related data information, and may also store a program for executing related information, and the processor may execute the program stored in the memory to realize information storage or processing, etc.; the input unit is used to provide input to the processor, for example, it may be a key or a touch input device; the power supply is used to provide power to the electronic device; the display is used to display display objects such as images and text, for example, it may be an LCD display. The communication module is a transmitter / receiver that sends and receives signals via an antenna. The communication module (transmitter / receiver) is coupled to the processor to provide input signals and receive output signals, which may be the same as the case of a conventional mobile communication terminal. Based on different communication technologies, multiple communication modules may be provided in the same electronic device, such as a cellular network module, a Bluetooth module and / or a wireless local area network module, etc. The communication module (transmitter / receiver) is also coupled to a speaker and a microphone via an audio processor to provide an audio output via the speaker and receive an audio input from the microphone, thereby realizing a common telecommunication function. The audio processor may include any suitable buffer, decoder, amplifier, etc. In addition, the audio processor is also coupled to a central processor, so that recording can be performed on the machine through the microphone, and the sound stored on the machine can be played through the speaker.

[0087] Those skilled in the art will appreciate that embodiments of the present invention may be provided as methods, systems, or computer program products. Therefore, the present invention may take the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware. Moreover, the present invention may take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.

[0088] The present invention is described with reference to flowcharts and / or block diagrams of methods, devices (systems), and computer program products according to embodiments of the present invention. It should be understood that each process and / or block in the flowchart and / or block diagram, as well as the combination of processes and / or blocks in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to produce a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A system that specifies the functions of a box or boxes.

[0089] These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing device to work in a specific manner, so that the instructions stored in the computer-readable memory produce a product including an instruction system, which is implemented in the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.

[0090] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps of the functions specified in a box or multiple boxes. Although the preferred embodiments of the present invention have been described, those skilled in the art may make additional changes and modifications to these embodiments once they know the basic creative concept. Therefore, the attached claims are intended to be interpreted as including the preferred embodiments and all changes and modifications that fall within the scope of the present invention.

[0091] The above is only a preferred specific embodiment of the present invention, but the protection scope of the present invention is not limited thereto. Any changes or substitutions that can be easily thought of by a person skilled in the art within the technical scope disclosed by the present invention should be included in the protection scope of the present invention. Therefore, the protection scope of the present invention should be based on the protection scope of the claims.

Claims

1. An automated and accurate warning method, characterized in that: include: S1. Constructing an exchange platform for connecting the upstream consumer system and the downstream service system, the exchange platform establishes communication between the upstream consumer system and the downstream service system based on the data transmission plug-in (DTA); S2. Record the interaction logs between the exchange platform and the upstream consumption system and the downstream service system, including process logs and error logs, and classify the error logs to obtain the error type, error code and description information; S3. Monitor the process log, identify the error code through automated inspection, extract the alarm keywords, and format and output the transaction information containing the error code; S4. Analyze the error log, locate the party responsible for the error according to the error log where the alarm keyword is located, and match the error type in the error log; S5. Format and output error log information to a custom alarm file to achieve accurate alarms and send problem reports.

2. The method according to claim 1, characterized in that The shared memory of the exchange platform includes transaction routing configuration to clarify the routing relationship between the transaction code of the upstream consumer system and the downstream service provider system.

3. The method according to claim 2, characterized in that The S4 step further includes extracting the DAT information of the initiator, the transaction code and the router configuration within the system to confirm the upstream consumer and downstream service process of the transaction.

4. The method according to claim 3, characterized in that The upstream consumer and downstream service process locate the transaction error log file and error log content according to the printing time and / or serial number information of the interaction log.

5. The method according to claim 1, characterized in that The matching of the error type in the error log in S4 includes retrieving the alarm keyword and matching the error code according to the retrieved alarm keyword.

6. The method according to claim 1, characterized in that The step S5 includes but is not limited to outputting the following information: error type, alarm keyword, error cause, and responsible party system code.

7. The method according to any one of claims 1 to 6, characterized in that: The precise alarm includes monitoring the responsible party system and error code in the custom alarm file, and adding alarm rules for the error code. The alarm rules include setting the triggering alarm threshold and the alarm time frequency.

8. An automated and accurate warning system, characterized in that: include: An interactive communication module, used to construct an exchange platform for connecting an upstream consumption system and a downstream service system, wherein the exchange platform establishes communication between the upstream consumption system and the downstream service system based on a data transmission plug-in (DTA); A log recording module, used to record the interaction logs between the exchange platform and the upstream consumption system and the downstream service system, including process logs and error logs, and to classify the error logs and obtain error types, error codes and description information; A patrol monitoring module is used to monitor the process log, identify error codes through automated patrol, extract alarm keywords, and format and output transaction information containing error codes; An error analysis module is used to analyze the error log, locate the party responsible for the error according to the error log where the alarm keyword is located, and match the error type in the error log; The automatic alarm module is used to format and output error log information to a custom alarm file to achieve accurate alarms and send problem reports.

9. An electronic device, characterized in that: including a processor and a memory; The memory is used to store computer programs; The processor is configured to execute the method according to any one of claims 1 to 7 by calling a stored computer program.

10. A computer program product comprising a computer program and / or instructions, characterized in that: When the computer program and / or the instructions are executed by a processor, the steps of the method according to any one of claims 1 to 7 are implemented.