Abnormal information processing method and device, equipment and storage medium
Patent Information
- Application Number
- CN202310307876.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-03-27
- Publication Date
- 2026-09-08
- Estimated Expiration
- 2043-03-27
AI Technical Summary
同时日志信息记录java堆栈信息及自定义错误码,无法关联用户当次请求报文,明确具体操作人、操作时间、请求报文、请求地址、请求类型等信息,增加了排查相关问题的难度
[0020] This invention discloses a method, apparatus, device, and storage medium for processing abnormal information. The method includes: acquiring business request information and abnormal status information; wherein the abnormal status information includes any one of the following: business-level status information, system-level status information, or conversion/operation-level status information; generating log information based on the business request information; wherein the log information includes a log identifier; acquiring corresponding initial abnormal information based on the abnormal status information; wherein the abnormal status information corresponds one-to-one with the abnormal information; and adding the log identifier to the initial abnormal information to generate target abnormal information. Using this method, abnormal information is associated with request message information, providing comprehensive problem analysis data for subsequent applications and improving problem response and resolution efficiency.
Smart Images

Figure CN116340097B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of computer technology, and in particular to a method, apparatus, device and storage medium for processing abnormal information. Background Technology
[0002] SpringMVC and SpringBoot are two commonly used frameworks in the Java technology stack. Aspect-oriented programming is one of the core technologies in these two frameworks. This technology allows aspect logic to be woven into all business requests, enabling common operations such as logging and unified processing.
[0003] Current technology requires third-party platforms to explicitly log error messages in abnormal scenarios. Pushing the system's logs to a third-party logging platform, which then configures rules to match the logs and issue alerts based on error messages, is problematic. While the logs record Java stack traces and custom error codes, they cannot be linked to the specific user's request message, clearly identifying the operator, time, request message, request address, and request type, increasing the difficulty of troubleshooting related issues. Summary of the Invention
[0004] This invention provides a method, apparatus, device, and storage medium for processing abnormal information, which can associate abnormal information with request message information, providing comprehensive problem analysis data for subsequent applications and improving problem response and resolution efficiency.
[0005] In a first aspect, embodiments of the present invention provide a method for processing abnormal information, the method comprising:
[0006] Obtain business request information and abnormal status information; wherein, the abnormal status information includes any one of the following: business-level status information, system-level status information, or conversion and operation-level status information;
[0007] Log information is generated based on business request information; wherein, the log information includes a log identifier;
[0008] Based on the abnormal state information, the corresponding initial abnormal information is obtained; wherein, the abnormal state information corresponds one-to-one with the abnormal information.
[0009] The log identifier is added to the initial exception information to generate the target exception information.
[0010] Secondly, embodiments of the present invention also provide an apparatus for processing abnormal information, the apparatus comprising:
[0011] The information acquisition module is used to acquire business request information and abnormal status information; wherein, the abnormal status information includes any one of the following: business-level status information, system-level status information, or conversion and operation-level status information;
[0012] A log information generation module is used to generate log information based on business request information; wherein, the log information includes a log identifier;
[0013] An initial anomaly information acquisition module is used to acquire corresponding initial anomaly information based on the anomaly state information; wherein, the anomaly state information corresponds one-to-one with the anomaly information.
[0014] The target anomaly information generation module is used to add the log identifier to the initial anomaly information to generate target anomaly information.
[0015] Thirdly, embodiments of this disclosure also provide an electronic device, the electronic device comprising:
[0016] One or more processors;
[0017] Storage device for storing one or more programs.
[0018] When the one or more programs are executed by the one or more processors, the one or more processors implement the exception information processing method provided in the embodiments of this disclosure.
[0019] Fourthly, embodiments of this disclosure also provide a storage medium containing computer-executable instructions, which, when executed by a computer processor, are used to perform a method for processing exception information provided in embodiments of this disclosure.
[0020] This invention discloses a method, apparatus, device, and storage medium for processing abnormal information. The method includes: acquiring business request information and abnormal status information; wherein the abnormal status information includes any one of the following: business-level status information, system-level status information, or conversion / operation-level status information; generating log information based on the business request information; wherein the log information includes a log identifier; acquiring corresponding initial abnormal information based on the abnormal status information; wherein the abnormal status information corresponds one-to-one with the abnormal information; and adding the log identifier to the initial abnormal information to generate target abnormal information. Using this method, abnormal information is associated with request message information, providing comprehensive problem analysis data for subsequent applications and improving problem response and resolution efficiency. Attached Figure Description
[0021] The above and other features, advantages, and aspects of the embodiments of this disclosure will become more apparent from the accompanying drawings and the following detailed description. Throughout the drawings, the same or similar reference numerals denote the same or similar elements. It should be understood that the drawings are schematic, and the originals and elements are not necessarily drawn to scale.
[0022] Figure 1 A flowchart illustrating an abnormal information processing method provided in an embodiment of this disclosure;
[0023] Figure 2 This is a schematic diagram of the structure of an abnormal information processing device provided in an embodiment of the present disclosure;
[0024] Figure 3 This is a schematic diagram of the structure of an electronic device provided in an embodiment of this disclosure. Detailed Implementation
[0025] Embodiments of this disclosure will now be described in more detail with reference to the accompanying drawings. While some embodiments of this disclosure are shown in the drawings, it should be understood that this disclosure can be implemented in various forms and should not be construed as limited to the embodiments set forth herein. Rather, these embodiments are provided to provide a more thorough and complete understanding of this disclosure. It should be understood that the accompanying drawings and embodiments of this disclosure are for illustrative purposes only and are not intended to limit the scope of protection of this disclosure.
[0026] It should be understood that the steps described in the method embodiments of this disclosure may be performed in different orders and / or in parallel. Furthermore, the method embodiments may include additional steps and / or omit the steps shown. The scope of this disclosure is not limited in this respect.
[0027] The term "comprising" and its variations as used herein are open-ended inclusions, meaning "including but not limited to". The term "based on" means "at least partially based on". The term "one embodiment" means "at least one embodiment"; the term "another embodiment" means "at least one additional embodiment"; the term "some embodiments" means "at least some embodiments". Definitions of other terms will be given in the description below.
[0028] It should be noted that the concepts of "first" and "second" mentioned in this disclosure are used only to distinguish different devices, modules or units, and are not used to limit the order of functions performed by these devices, modules or units or their interdependencies.
[0029] It should be noted that the terms "a" and "a plurality of" used in this disclosure are illustrative rather than restrictive, and those skilled in the art should understand that, unless otherwise expressly indicated in the context, they should be understood as "one or more".
[0030] The names of messages or information exchanged between multiple devices in the embodiments of this disclosure are for illustrative purposes only and are not intended to limit the scope of such messages or information.
[0031] It is understood that before using the technical solutions disclosed in the various embodiments of this disclosure, users should be informed of the types, scope of use, and usage scenarios of the personal information involved in this disclosure in an appropriate manner in accordance with relevant laws and regulations, and user authorization should be obtained.
[0032] For example, upon receiving a user's active request, a prompt message is sent to the user to explicitly inform them that the requested operation will require the acquisition and use of the user's personal information. This allows the user to independently choose whether to provide personal information to the software or hardware, such as the electronic device, application, server, or storage medium performing the operations of this disclosed technical solution, based on the prompt message.
[0033] As an optional but non-limiting implementation, in response to a user's active request, sending a prompt message to the user can be done via a pop-up window, where the prompt message can be presented in text format. Furthermore, the pop-up window can also include a selection control allowing the user to choose "agree" or "disagree" to provide personal information to the electronic device.
[0034] It is understood that the above notification and user authorization process are merely illustrative and do not constitute a limitation on the implementation of this disclosure. Other methods that comply with relevant laws and regulations may also be applied to the implementation of this disclosure.
[0035] It is understood that the data involved in this technical solution (including but not limited to the data itself, the acquisition or use of the data) shall comply with the requirements of relevant laws, regulations and related provisions.
[0036] Example 1
[0037] Figure 1 This is a flowchart of an abnormal information processing method provided by an embodiment of the present disclosure. The embodiment of the present disclosure is applicable to the processing of abnormal information. The method can be executed by an abnormal information processing device, which can be implemented in the form of software and / or hardware, or optionally, by an electronic device, such as a mobile terminal, a PC, or a server.
[0038] like Figure 1 As shown in the embodiments of this disclosure, a method for processing abnormal information may specifically include the following steps:
[0039] S110. Obtain business request information and abnormal status information.
[0040] The abnormal status information includes any of the following: business-level status information, system-level status information, or conversion and operation-level status information.
[0041] In this embodiment, the business request information can be the corresponding request message information generated based on a user's operation on the system on the page. This information may include: request address, request parameters, operator, request protocol, message format, request type, etc. The abnormal status information can be the status code information of the abnormal information, which can be classified into business-level status information, system-level status information, or conversion / operation-level status information.
[0042] Specifically, it retrieves business request information and abnormal status information from the system. Abnormal status information includes any of the following: business-level status information, system-level status information, or transformation / computation-level status information.
[0043] S120. Generate log information based on business request information.
[0044] The log information includes the log identifier.
[0045] Specifically, when a user triggers a business request, the process first retrieves the request, then parses it to obtain request information. This request information may include: request address, request parameters, operator, request protocol, message format, and request type. Next, a log identifier is added to the request information to obtain log information. This log identifier is generated during the user's business request process, with one identifier corresponding to one request message. The log information includes: log identifier, request address, request protocol, message type, request message, operator, and operation time.
[0046] Optionally, the method for generating log information based on business request information can be: obtaining the business request triggered by the user; parsing the business request to obtain business request information; and adding a log identifier to the business request information to obtain log information.
[0047] Specifically, when a user triggers a business request, the system retrieves the aforementioned business request, parses it, and obtains the corresponding business request information. Finally, a log identifier is added to the business request information to obtain log information.
[0048] S130. Obtain the corresponding initial exception information based on the exception status information.
[0049] Among them, the abnormal status information corresponds one-to-one with the abnormal information.
[0050] In this embodiment, the exception information can be a list of exceptions thrown by problems encountered during program development. These exceptions can be categorized into business logic exceptions, system-level exceptions, and transformation / operation-level exceptions. Specifically, business logic exceptions are exceptions thrown by business logic problems encountered during program development, such as business function logic that the system cannot handle. System-level exceptions are exceptions thrown by system problems encountered during program development. Transformation / operation-level exceptions are exceptions thrown by transformation / operation problems encountered during program development. The exception information includes exception status information, and there is a one-to-one correspondence between the exception status information and the exception information. Business logic exceptions correspond to business-level status information, system-level exceptions correspond to system-level status information, and transformation / operation-level exceptions correspond to transformation / operation-level status information.
[0051] Specifically, when a system malfunction is detected, the system generates and outputs initial exception information based on the exception logic type. This initial exception information includes exception state information. Then, the corresponding initial exception information is extracted based on the exception state information.
[0052] Optionally, the method for obtaining the corresponding initial exception information based on the exception status information can be as follows: when an exception is detected in the system operation, obtain the exception logic type; generate initial exception information according to the exception logic type; wherein, the exception information includes exception status information; output the initial exception information; and extract the output initial exception information based on the exception status information.
[0053] In this embodiment, the type of exception logic can include any one of the following: business logic problems, system problems, or conversion operation problems in program development.
[0054] Specifically, when a system malfunction is detected, the current exception logic type is first obtained. Then, based on the exception logic type, corresponding initial exception information is generated and output. This initial exception information includes exception status information, and the output initial exception information is extracted based on the exception status information. The initial exception information may include: exception identifier, exception type, stack address, operating user, and time information.
[0055] S140. Add the log identifier to the initial exception information to generate the target exception information.
[0056] The exception information includes: exception identifier, log identifier, exception type, stack trace, user, and time information.
[0057] In this embodiment, the log identifier is obtained from the log information, and then the log identifier is added to the initial exception information to generate the target exception information. The target exception information may include: exception identifier, log identifier, exception type, stack address, operating user, and time information.
[0058] Optionally, the log identifier can be added to the initial exception information in the following ways: obtain the log identifier from the log information; or add the log identifier to the initial exception information to generate the target exception information.
[0059] Specifically, the log identifier generated from the above log information is obtained, and then the log identifier is added to the initial exception information to generate the identified exception information. The target exception information may include: exception identifier, log identifier, exception type, stack trace, operating user, and time information.
[0060] This disclosure provides a method for processing abnormal information. The method includes: acquiring business request information and abnormal status information; wherein the abnormal status information includes any one of the following: business-level status information, system-level status information, or transformation / operation-level status information; generating log information based on the business request information; wherein the log information includes a log identifier; acquiring corresponding initial abnormal information based on the abnormal status information; wherein the abnormal status information and the abnormal information correspond one-to-one; adding the log identifier to the initial abnormal information to generate target abnormal information. Using this method, abnormal information is associated with request message information, providing comprehensive problem analysis data for subsequent applications and improving problem response and resolution efficiency.
[0061] Optionally, after generating the target anomaly information, the method further includes: querying the target anomaly information and the corresponding log information based on the log identifier, and displaying the queried target anomaly information and log information on the same page.
[0062] Specifically, based on the log identifier, query the target anomaly information and the corresponding log information, and display the queried target anomaly information and log information on the same page.
[0063] For example, Table 1 records the exception and log information for a single call. As shown in Table 1, the first row contains exception information, including: exception ID, log identifier, exception type, stack trace, operator, and time information. The second row contains log information, including: log flag, request address, request protocol, message type, request message, operator, and operation time. The log identifier allows you to query the specific request message information for this exception, thereby obtaining the specific time of the exception, the requested interface address, the operator, and specific parameter information.
[0064] Table 1
[0065]
[0066] In this embodiment, by recording and displaying the abnormal information and request message information during the user request process, the time, user, request address, and specific message information of the specific system abnormality can be located, which is conducive to quickly locating system problems and greatly improving the efficiency of problem solving.
[0067] Example 2
[0068] Figure 2 A schematic diagram of an anomaly information processing device is also provided as an embodiment of the present invention, such as... Figure 2 As shown, the device includes: an information acquisition module 210, a log information generation module 220, an initial abnormal information acquisition module 230, and a target abnormal information generation module 240.
[0069] The information acquisition module 210 is used to acquire business request information and abnormal status information; wherein, the abnormal status information includes any one of the following: business-level status information, system-level status information, or conversion and operation-level status information;
[0070] The log information generation module 220 is used to generate log information based on business request information; wherein, the log information includes a log identifier;
[0071] The initial anomaly information acquisition module 230 is used to acquire corresponding initial anomaly information based on the anomaly state information; wherein, the anomaly state information corresponds one-to-one with the anomaly information.
[0072] The target anomaly information generation module 240 is used to add the log identifier to the initial anomaly information to generate target anomaly information.
[0073] The technical solution provided in this disclosure uses this method to associate abnormal information with request message information, providing comprehensive problem analysis data for subsequent applications and improving problem response and resolution efficiency.
[0074] Furthermore, after generating the target anomaly information, the device also includes:
[0075] The target anomaly information and corresponding log information are queried based on the log identifier, and the queried target anomaly information and log information are displayed on the same page.
[0076] Furthermore, the initial exception information acquisition module 230 can be used for:
[0077] When a system malfunction is detected, the exception logic type is obtained;
[0078] Initial exception information is generated based on the exception logic type; wherein, the exception information includes the exception status information;
[0079] Output the initial exception information;
[0080] The initial abnormal information is extracted and output based on the abnormal state information.
[0081] Furthermore, the log information generation module 220 can also be used for:
[0082] Get the business request triggered by the user;
[0083] The business request is parsed to obtain the business request information;
[0084] Add a log identifier to the business request information to obtain log information.
[0085] Furthermore, the target anomaly information generation module 240 can be used for:
[0086] Obtain the log identifier from the log information;
[0087] The log identifier is added to the initial exception information to generate the target exception information.
[0088] Furthermore, the device also includes:
[0089] The exception information includes: exception identifier, log identifier, exception type, stack trace address, operating user, and time information; the log information includes: log identifier, request address, request protocol, message type, request message, operator, and operation time.
[0090] The above-described apparatus can execute the methods provided in all the foregoing embodiments of the present invention, and has the corresponding functional modules and beneficial effects for executing the above methods. Technical details not described in detail in this embodiment can be found in the methods provided in all the foregoing embodiments of the present invention.
[0091] Example 3
[0092] Figure 3 A schematic diagram of the structure of an electronic device 10 that can be used to implement embodiments of the present invention is provided. The electronic device is intended to represent various forms of digital computers, such as laptop computers, desktop computers, workstations, personal digital assistants, servers, blade servers, mainframe computers, and other suitable computers. The electronic device may also represent various forms of mobile devices, such as personal digital processors, cellular phones, smartphones, wearable devices (e.g., helmets, glasses, watches, etc.), and other similar computing devices. The components shown herein, their connections and relationships, and their functions are merely illustrative and are not intended to limit the implementation of the invention described and / or claimed herein.
[0093] like Figure 3The electronic device 10 includes at least one processor 11 and a memory, such as a read-only memory (ROM) 12 or a random access memory (RAM) 13, communicatively connected to the at least one processor 11. The memory stores computer programs executable by the at least one processor. The processor 11 can perform various appropriate actions and processes based on the computer programs stored in the ROM 12 or loaded from storage unit 18 into the RAM 13. The RAM 13 may also store various programs and data required for the operation of the electronic device 10. The processor 11, ROM 12, and RAM 13 are interconnected via a bus 14. An input / output (I / O) interface 15 is also connected to the bus 14.
[0094] Multiple components in electronic device 10 are connected to I / O interface 15, including: input unit 16, such as keyboard, mouse, etc.; output unit 17, such as various types of displays, speakers, etc.; storage unit 18, such as disk, optical disk, etc.; and communication unit 19, such as network card, modem, wireless transceiver, etc. Communication unit 19 allows electronic device 10 to exchange information / data with other devices through computer networks such as the Internet and / or various telecommunications networks.
[0095] Processor 11 can be a variety of general-purpose and / or special-purpose processing components with processing and computing capabilities. Some examples of processor 11 include, but are not limited to, a central processing unit (CPU), a graphics processing unit (GPU), various special-purpose artificial intelligence (AI) computing chips, various processors running machine learning model algorithms, a digital signal processor (DSP), and any suitable processor, controller, microcontroller, etc. Processor 11 performs the various methods and processes described above, such as methods for handling exception information.
[0096] In some embodiments, the exception information processing method may be implemented as a computer program tangibly contained in a computer-readable storage medium, such as storage unit 18. In some embodiments, part or all of the computer program may be loaded and / or installed on electronic device 10 via ROM 12 and / or communication unit 19. When the computer program is loaded into RAM 13 and executed by processor 11, one or more steps of the exception information processing method described above may be performed. Alternatively, in other embodiments, processor 11 may be configured to perform the exception information processing method by any other suitable means (e.g., by means of firmware).
[0097] Various embodiments of the systems and techniques described above herein can be implemented in digital electronic circuit systems, integrated circuit systems, field-programmable gate arrays (FPGAs), application-specific integrated circuits (ASICs), application-specific standard products (ASSPs), systems-on-a-chip (SoCs), payload-programmable logic devices (CPLDs), computer hardware, firmware, software, and / or combinations thereof. These various embodiments may include implementations in one or more computer programs that can be executed and / or interpreted on a programmable system including at least one programmable processor, which may be a dedicated or general-purpose programmable processor, capable of receiving data and instructions from a storage system, at least one input device, and at least one output device, and transmitting data and instructions to the storage system, the at least one input device, and the at least one output device.
[0098] Computer programs used to implement the methods of the present invention may be written in any combination of one or more programming languages. These computer programs may be provided to a processor of a general-purpose computer, a special-purpose computer, or other programmable data processing device, such that when executed by the processor, the computer programs cause the functions / operations specified in the flowcharts and / or block diagrams to be performed. The computer programs may be executed entirely on a machine, partially on a machine, or as a standalone software package, partially on a machine and partially on a remote machine, or entirely on a remote machine or server.
[0099] In the context of this invention, a computer-readable storage medium can be a tangible medium that may contain or store a computer program for use by or in conjunction with an instruction execution system, apparatus, or device. A computer-readable storage medium may include, but is not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor systems, apparatus, or devices, or any suitable combination thereof. Alternatively, a computer-readable storage medium may be a machine-readable signal medium. More specific examples of machine-readable storage media include electrical connections based on one or more wires, portable computer disks, hard disks, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), optical fibers, portable compact disk read-only memory (CD-ROM), optical storage devices, magnetic storage devices, or any suitable combination thereof.
[0100] To provide interaction with a user, the systems and techniques described herein can be implemented on an electronic device having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to the user; and a keyboard and pointing device (e.g., a mouse or trackball) through which the user provides input to the electronic device. Other types of devices can also be used to provide interaction with the user; for example, feedback provided to the user can be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user can be received in any form (including sound input, voice input, or tactile input).
[0101] The systems and technologies described herein can be implemented in computing systems that include backend components (e.g., as data servers), or computing systems that include middleware components (e.g., application servers), or computing systems that include frontend components (e.g., user computers with graphical user interfaces or web browsers through which users can interact with implementations of the systems and technologies described herein), or any combination of such backend, middleware, or frontend components. The components of the system can be interconnected via digital data communication of any form or medium (e.g., communication networks). Examples of communication networks include local area networks (LANs), wide area networks (WANs), blockchain networks, and the Internet.
[0102] A computing system can include clients and servers. Clients and servers are generally located far apart and typically interact through communication networks. The client-server relationship is created by computer programs running on the respective computers and having a client-server relationship with each other. The server can be a cloud server, also known as a cloud computing server or cloud host, which is a hosting product within the cloud computing service system to address the shortcomings of traditional physical hosts and VPS services, such as high management difficulty and weak business scalability.
[0103] It should be understood that the various forms of processes shown above can be used, with steps reordered, added, or deleted. For example, the steps described in this invention can be executed in parallel, sequentially, or in different orders, as long as the desired result of the technical solution of this invention can be achieved, and this is not limited herein.
[0104] The specific embodiments described above do not constitute a limitation on the scope of protection of this invention. Those skilled in the art should understand that various modifications, combinations, sub-combinations, and substitutions can be made according to design requirements and other factors. Any modifications, equivalent substitutions, and improvements made within the spirit and principles of this invention should be included within the scope of protection of this invention.
Claims
1. A method for processing abnormal information, characterized in that, include: Obtain business request information and abnormal status information; wherein, the abnormal status information includes any one of the following: business-level status information, system-level status information, or conversion and operation-level status information; Log information is generated based on business request information; wherein, the log information includes a log identifier; one log identifier corresponds to one business request message; When a system malfunction is detected, the exception logic type is obtained; wherein, the exception logic type includes any one of the following: business logic problem in program development, system problem, or conversion operation problem; Initial exception information is generated based on the exception logic type; wherein, the exception information includes the exception status information; Output the initial exception information; The initial abnormal information is extracted and output based on the abnormal state information; wherein, the abnormal state information corresponds one-to-one with the abnormal information. Add the log identifier to the initial exception information to generate the target exception information; The target anomaly information and corresponding log information are queried based on the log identifier, and the queried target anomaly information and log information are displayed on the same page; wherein, the anomaly information includes: anomaly identifier, log identifier, anomaly type, stack trace address, operating user, and time information; the log information includes: log identifier, request address, request protocol, message type, request message, operator, and operation time; The step of generating log information based on business request information includes: obtaining a business request triggered by a user; parsing the business request to obtain business request information; and adding a log identifier to the business request information to obtain log information.
2. The method according to claim 1, characterized in that, Adding the log identifier to the initial exception information includes: Obtain the log identifier from the log information; The log identifier is added to the initial exception information to generate the target exception information.
3. An apparatus for processing abnormal information, characterized in that, include: The information acquisition module is used to acquire business request information and abnormal status information; wherein, the abnormal status information includes any one of the following: business-level status information, system-level status information, or conversion and operation-level status information; The log information generation module is used to generate log information based on business request information; wherein, the log information includes a log identifier; one log identifier corresponds to one business request message; An anomaly detection module is used to obtain the anomaly logic type when an anomaly is detected in the system operation; wherein, the anomaly logic type includes any one of the following: business logic problem in program development, system problem, or conversion operation problem; An initial exception information acquisition module is used to generate initial exception information based on the exception logic type; wherein, the exception information includes the exception status information; An initial exception information output module is used to output the initial exception information; An initial anomaly information extraction module is used to extract the initial anomaly information output based on the anomaly state information; wherein, the anomaly state information corresponds one-to-one with the anomaly information. The target anomaly information generation module is used to add the log identifier to the initial anomaly information to generate target anomaly information; The device is further configured to query the target anomaly information and the corresponding log information based on the log identifier, and display the queried target anomaly information and log information on the same page; wherein, the anomaly information includes: anomaly identifier, log identifier, anomaly type, stack trace address, operating user, and time information; the log information includes: log identifier, request address, request protocol, message type, request message, operator, and operation time; The log information generation module is specifically used to acquire user-triggered business requests; parse the business requests to obtain business request information; and add log identifiers to the business request information to obtain log information.
4. An electronic device, characterized in that, The electronic device includes: At least one processor; and A memory communicatively connected to the at least one processor; wherein, The memory stores a computer program that can be executed by the at least one processor, the computer program being executed by the at least one processor to enable the at least one processor to perform the method for processing abnormal information according to any one of claims 1-2.
5. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores computer instructions that, when executed by a processor, implement the method for processing abnormal information as described in any one of claims 1-2.
Citation Information
Patent Citations
An abnormality detection and positioning method and device, a computer device and a storage medium
CN108683562A